summaryrefslogtreecommitdiff
path: root/src/cairo-path-bounds.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-03-18 14:28:53 +0000
committerCarl Worth <cworth@cworth.org>2005-03-18 14:28:53 +0000
commitc629df861673bd9e60cf7a3babd83f0f5bb257f0 (patch)
tree8effbf0ea8832e0b1ae20d890af77ce508da0474 /src/cairo-path-bounds.c
parent987a13b814d2d84cff719a817f9f73a5b7aa38f2 (diff)
downloadcairo-c629df861673bd9e60cf7a3babd83f0f5bb257f0.tar.gz
* src/cairo.c: (cairo_copy_path), (cairo_copy_path_flat), (cairo_append_path): Rename cairo_copy_path_data, cairop_copy_path_data_flat, and cairo_append_path_data to cairo_copy_path, cairo_copy_path_flat, and cairo_append_path.
Add new cairo_path_t, containing a cairo_path_data_t array and an explicit length. Remove CAIRO_PATH_END_PATH terminator from cairo_path_data_t. Rename the internal path object from cairo_path_t to cairo_path_real_t.
Diffstat (limited to 'src/cairo-path-bounds.c')
-rw-r--r--src/cairo-path-bounds.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo-path-bounds.c b/src/cairo-path-bounds.c
index 7c5772a82..63b3d7a40 100644
--- a/src/cairo-path-bounds.c
+++ b/src/cairo-path-bounds.c
@@ -151,7 +151,9 @@ _cairo_path_bounder_close_path (void *closure)
/* XXX: Perhaps this should compute a PixRegion rather than 4 doubles */
cairo_status_t
-_cairo_path_bounds (cairo_path_t *path, double *x1, double *y1, double *x2, double *y2)
+_cairo_path_bounds (cairo_path_real_t *path,
+ double *x1, double *y1,
+ double *x2, double *y2)
{
cairo_status_t status;