diff options
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; |