diff options
Diffstat (limited to 'src/cairo-path-bounds.c')
-rw-r--r-- | src/cairo-path-bounds.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cairo-path-bounds.c b/src/cairo-path-bounds.c index d17d9a207..f505fe137 100644 --- a/src/cairo-path-bounds.c +++ b/src/cairo-path-bounds.c @@ -41,14 +41,14 @@ typedef struct _cairo_path_bounder { - cairo_point_t current_point; + cairo_point_double_t current_point; cairo_bool_t has_extents; - cairo_box_t extents; + cairo_box_double_t extents; } cairo_path_bounder_t; static cairo_status_t _cairo_path_bounder_move_to (void *closure, - const cairo_point_t *point) + const cairo_point_double_t *point) { cairo_path_bounder_t *bounder = closure; @@ -66,7 +66,7 @@ _cairo_path_bounder_move_to (void *closure, static cairo_status_t _cairo_path_bounder_line_to (void *closure, - const cairo_point_t *point) + const cairo_point_double_t *point) { cairo_path_bounder_t *bounder = closure; @@ -78,9 +78,9 @@ _cairo_path_bounder_line_to (void *closure, static cairo_status_t _cairo_path_bounder_curve_to (void *closure, - const cairo_point_t *b, - const cairo_point_t *c, - const cairo_point_t *d) + const cairo_point_double_t *b, + const cairo_point_double_t *c, + const cairo_point_double_t *d) { cairo_path_bounder_t *bounder = closure; @@ -100,7 +100,7 @@ _cairo_path_bounder_close_path (void *closure) cairo_bool_t _cairo_path_bounder_extents (const cairo_path_fixed_t *path, - cairo_box_t *extents) + cairo_box_double_t *extents) { cairo_path_bounder_t bounder; cairo_status_t status; @@ -205,8 +205,8 @@ _cairo_path_fixed_stroke_extents (const cairo_path_fixed_t *path, cairo_bool_t _cairo_path_fixed_extents (const cairo_path_fixed_t *path, - cairo_box_t *box) + cairo_box_double_t *box) { - *box = path->extents; + /* TODO *box = path->extents; */ return path->has_extents; } |