diff options
author | Carl Worth <cworth@cworth.org> | 2005-03-23 13:52:54 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-03-23 13:52:54 +0000 |
commit | f218c14b9da7950b49bdab76965db22ec470d5de (patch) | |
tree | 974739c1793cbeaf63388eff8957adc84c226107 /src/cairo_ft_font.c | |
parent | 0ba7a082afa91476129f2cbdbc48360b4f83efec (diff) |
Rename cairo_path_real_t to cairo_path_fixed_t and fix all _cairo_path functions to be named as _cairo_path_fixed functions.
Track name change of cairo_path_real_t and _cairo_path_fixed functions.
Diffstat (limited to 'src/cairo_ft_font.c')
-rw-r--r-- | src/cairo_ft_font.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/cairo_ft_font.c b/src/cairo_ft_font.c index 7036f26a..fa55cd76 100644 --- a/src/cairo_ft_font.c +++ b/src/cairo_ft_font.c @@ -1054,14 +1054,14 @@ _cairo_ft_font_show_glyphs (void *abstract_font, static int _move_to (FT_Vector *to, void *closure) { - cairo_path_real_t *path = closure; + cairo_path_fixed_t *path = closure; cairo_point_t point; point.x = _cairo_fixed_from_26_6 (to->x); point.y = _cairo_fixed_from_26_6 (to->y); - _cairo_path_close_path (path); - _cairo_path_move_to (path, &point); + _cairo_path_fixed_close_path (path); + _cairo_path_fixed_move_to (path, &point); return 0; } @@ -1069,13 +1069,13 @@ _move_to (FT_Vector *to, void *closure) static int _line_to (FT_Vector *to, void *closure) { - cairo_path_real_t *path = closure; + cairo_path_fixed_t *path = closure; cairo_point_t point; point.x = _cairo_fixed_from_26_6 (to->x); point.y = _cairo_fixed_from_26_6 (to->y); - _cairo_path_line_to (path, &point); + _cairo_path_fixed_line_to (path, &point); return 0; } @@ -1083,12 +1083,12 @@ _line_to (FT_Vector *to, void *closure) static int _conic_to (FT_Vector *control, FT_Vector *to, void *closure) { - cairo_path_real_t *path = closure; + cairo_path_fixed_t *path = closure; cairo_point_t p0, p1, p2, p3; cairo_point_t conic; - _cairo_path_get_current_point (path, &p0); + _cairo_path_fixed_get_current_point (path, &p0); conic.x = _cairo_fixed_from_26_6 (control->x); conic.y = _cairo_fixed_from_26_6 (control->y); @@ -1102,8 +1102,8 @@ _conic_to (FT_Vector *control, FT_Vector *to, void *closure) p2.x = p3.x + 2.0/3.0 * (conic.x - p3.x); p2.y = p3.y + 2.0/3.0 * (conic.y - p3.y); - _cairo_path_curve_to (path, - &p1, &p2, &p3); + _cairo_path_fixed_curve_to (path, + &p1, &p2, &p3); return 0; } @@ -1111,7 +1111,7 @@ _conic_to (FT_Vector *control, FT_Vector *to, void *closure) static int _cubic_to (FT_Vector *control1, FT_Vector *control2, FT_Vector *to, void *closure) { - cairo_path_real_t *path = closure; + cairo_path_fixed_t *path = closure; cairo_point_t p0, p1, p2; p0.x = _cairo_fixed_from_26_6 (control1->x); @@ -1123,7 +1123,7 @@ _cubic_to (FT_Vector *control1, FT_Vector *control2, FT_Vector *to, void *closur p2.x = _cairo_fixed_from_26_6 (to->x); p2.y = _cairo_fixed_from_26_6 (to->y); - _cairo_path_curve_to (path, &p0, &p1, &p2); + _cairo_path_fixed_curve_to (path, &p0, &p1, &p2); return 0; } @@ -1132,7 +1132,7 @@ static cairo_status_t _cairo_ft_font_glyph_path (void *abstract_font, cairo_glyph_t *glyphs, int num_glyphs, - cairo_path_real_t *path) + cairo_path_fixed_t *path) { int i; cairo_ft_font_t *font = abstract_font; @@ -1176,7 +1176,7 @@ _cairo_ft_font_glyph_path (void *abstract_font, DOUBLE_TO_26_6(glyphs[i].y)); FT_Outline_Decompose (&glyph->outline, &outline_funcs, path); } - _cairo_path_close_path (path); + _cairo_path_fixed_close_path (path); cairo_ft_font_unlock_face (abstract_font); |