diff options
author | Carl Worth <cworth@cworth.org> | 2003-12-08 13:38:26 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2003-12-08 13:38:26 +0000 |
commit | 08553e75b7db97a3176e40768231c88f9b8eeabd (patch) | |
tree | e320ffc5a85e16d3fbdbf0a82c6d8dbe6fa2c820 /src/cairo_pen.c | |
parent | 6aff3cbf96dca64e755075add11acc7fc35d6ebd (diff) |
Clean up cairo_path_callbacks to have move_to, line_to, curve_to, abd close_path instead of add_edge, add_spline, and done_sub_path. Much, much nicer.
Provide cairo_polygon_move_to and cairo_polygon_line_to instead of cairo_polygon_add_point.
Track change in cairo_polygon interface.
Diffstat (limited to 'src/cairo_pen.c')
-rw-r--r-- | src/cairo_pen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo_pen.c b/src/cairo_pen.c index dd054372d..0bb5debd9 100644 --- a/src/cairo_pen.c +++ b/src/cairo_pen.c @@ -288,7 +288,7 @@ _cairo_pen_stroke_spline_half (cairo_pen_t *pen, while (i != stop) { hull_point.x = point[i].x + pen->vertices[active].point.x; hull_point.y = point[i].y + pen->vertices[active].point.y; - status = _cairo_polygon_add_point (polygon, &hull_point); + status = _cairo_polygon_line_to (polygon, &hull_point); if (status) return status; |