diff options
author | Carl Worth <cworth@cworth.org> | 2006-08-18 07:56:52 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-08-18 07:59:20 -0700 |
commit | 861f1cb4f70cdbd7702eaf642b999a21ad01037d (patch) | |
tree | 1ee7897c5599231ea106fbdd0695a060445684de /src | |
parent | c2d92d4397f7ed7a8b7fdfa24a4e339ecb0d6d69 (diff) | |
parent | fbb1758ba8384650157b2bbbc93d161b0c2a05f0 (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.c | 3 |
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) { /* |