diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-02-27 16:30:05 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-02-27 16:37:20 +0000 |
commit | e20f1a0c76f2185760ca3a7466e25de6beedeaac (patch) | |
tree | 32ad057b69e5e4541002677389dba3202640670a | |
parent | 102ddd37bb329d41241f434ede0f9cba8424e71e (diff) |
[in-fill] Close the path, cf fill()
In order for in-fill treat the path equivalently to a fill, we need to
close the path after interpretation.
-rw-r--r-- | src/cairo-path-in-fill.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-path-in-fill.c b/src/cairo-path-in-fill.c index 431f005b..21cd0bdb 100644 --- a/src/cairo-path-in-fill.c +++ b/src/cairo-path-in-fill.c @@ -244,6 +244,8 @@ _cairo_path_fixed_in_fill (cairo_path_fixed_t *path, &in_fill); assert (status == CAIRO_STATUS_SUCCESS); + _cairo_in_fill_close_path (&in_fill); + switch (fill_rule) { case CAIRO_FILL_RULE_EVEN_ODD: *is_inside = in_fill.winding & 1; |