diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-12-14 17:56:00 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-12-14 21:03:31 +0100 |
commit | 4aabff8f6740e2027febd97c1863f7ba5a46cb92 (patch) | |
tree | 68b61e103623d644bc8b23a04bb79aad5a13ee83 | |
parent | 5996652364efa4fb4ae6c984ddf6ddad8868782b (diff) |
path-bounder: Update current point after curve_to op
Even if the curve_to is completely within the current extents box, the
current point needs to be updated because the shape of following ops
depends on the position of the current point.
Fixes bug-extents.
-rw-r--r-- | src/cairo-path-bounds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-path-bounds.c b/src/cairo-path-bounds.c index 75308c6ec..2e7b6bdde 100644 --- a/src/cairo-path-bounds.c +++ b/src/cairo-path-bounds.c @@ -131,6 +131,8 @@ _cairo_path_bounder_curve_to (void *closure, else { /* All control points are within the current extents. */ + bounder->current_point = *d; + return CAIRO_STATUS_SUCCESS; } } |