summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-08-18 07:56:52 -0700
committerCarl Worth <cworth@cworth.org>2006-08-18 07:59:20 -0700
commit861f1cb4f70cdbd7702eaf642b999a21ad01037d (patch)
tree1ee7897c5599231ea106fbdd0695a060445684de /src
parentc2d92d4397f7ed7a8b7fdfa24a4e339ecb0d6d69 (diff)
parentfbb1758ba8384650157b2bbbc93d161b0c2a05f0 (diff)
Merge branch 'jrmuizel-stroking-fixes' into cairo
Conflicts: test/dash-caps-joins-ps-argb32-ref.png test/degenerate-path-ps-argb32-ref.png test/degenerate-path.c
Diffstat (limited to 'src')
-rw-r--r--src/cairo-path-stroke.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-path-stroke.c b/src/cairo-path-stroke.c
index 051d0689..792fbfa0 100644
--- a/src/cairo-path-stroke.c
+++ b/src/cairo-path-stroke.c
@@ -699,6 +699,8 @@ _cairo_stroker_line_to_dashed (void *closure, cairo_point_t *point)
cairo_point_t *p2 = point;
cairo_slope_t slope;
+ stroker->has_sub_path = stroker->dash_on;
+
if (p1->x == p2->x && p1->y == p2->y)
return CAIRO_STATUS_SUCCESS;
@@ -758,6 +760,7 @@ _cairo_stroker_line_to_dashed (void *closure, cairo_point_t *point)
return status;
}
}
+ stroker->has_sub_path = TRUE;
}
if (remain) {
/*