diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-11 15:36:11 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:33 +0100 |
commit | 30e5fa0ce06b2572f09f3d47ee10b692f18ba0ae (patch) | |
tree | 6ad69675b51a8b19df9a8e3e82ba51d748d5c02d /src/cairoint.h | |
parent | 3fcac1ef21de9526bc1abca902db5755abe463ae (diff) |
[polygon] Return status from path ops
This tidies the common case which was to call, for example,
_cairo_polygon_line_to(); _cairo_polygon_status();
Diffstat (limited to 'src/cairoint.h')
-rw-r--r-- | src/cairoint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index 9fd789da..2afb6904 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -2267,15 +2267,15 @@ _cairo_polygon_add_external_edge (void *polygon, const cairo_point_t *p1, const cairo_point_t *p2); -cairo_private void +cairo_private cairo_status_t _cairo_polygon_move_to (cairo_polygon_t *polygon, const cairo_point_t *point); -cairo_private void +cairo_private cairo_status_t _cairo_polygon_line_to (cairo_polygon_t *polygon, const cairo_point_t *point); -cairo_private void +cairo_private cairo_status_t _cairo_polygon_close (cairo_polygon_t *polygon); #define _cairo_polygon_status(P) ((cairo_polygon_t *) (P))->status |