diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-01-27 17:34:00 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-01-27 17:34:00 -0500 |
commit | 5de25951a43f51cade42549ae60e52ffb391d61e (patch) | |
tree | 4ab1599f312cbcbcac44ada7fca83e292afecae5 /src/cairo-path-fixed.c | |
parent | 8d2e24479a1efbeeddced3574c1d9e92b8ee578d (diff) |
Preserve current-point in copy_path()/append_path() sequence
Fixes path-currentpoint test.
Diffstat (limited to 'src/cairo-path-fixed.c')
-rw-r--r-- | src/cairo-path-fixed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c index 14913fd09..4bbf496f0 100644 --- a/src/cairo-path-fixed.c +++ b/src/cairo-path-fixed.c @@ -847,6 +847,9 @@ _cairo_path_fixed_interpret (const cairo_path_fixed_t *path, } } cairo_path_foreach_buf_end (buf, path); + if (path->needs_move_to && path->has_current_point) + return (*move_to) (closure, &path->current_point); + return CAIRO_STATUS_SUCCESS; } |