diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-07-10 03:37:31 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2011-07-10 03:37:31 +0000 |
| commit | 0d0a5d5453e43fb95e7ff54a59666f72b1c3178d (patch) | |
| tree | af86f2ce7bd63bcd49ae98ad4b6b432adc467f81 /src | |
| parent | Implement handling of the clip-rule property. Partially based on (diff) | |
| download | inkscape-0d0a5d5453e43fb95e7ff54a59666f72b1c3178d.tar.gz inkscape-0d0a5d5453e43fb95e7ff54a59666f72b1c3178d.zip | |
Remove irrelevant clip-rule handling bit from NRArenaGroup.
(bzr r10347.1.9)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/nr-arena-group.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/display/nr-arena-group.cpp b/src/display/nr-arena-group.cpp index 714c4ecff..1a67a8404 100644 --- a/src/display/nr-arena-group.cpp +++ b/src/display/nr-arena-group.cpp @@ -237,23 +237,11 @@ nr_arena_group_clip (cairo_t *ct, NRArenaItem *item, NRRectL *area) NRArenaGroup *group = NR_ARENA_GROUP (item); unsigned int ret = item->state; - cairo_save(ct); - - // handle clip-rule - if (group->style) { - if (group->style->clip_rule.computed == SP_WIND_RULE_EVENODD) { - cairo_set_fill_rule(ct, CAIRO_FILL_RULE_EVEN_ODD); - } else { - cairo_set_fill_rule(ct, CAIRO_FILL_RULE_WINDING); - } - } - for (NRArenaItem *child = group->children; child != NULL; child = child->next) { ret = nr_arena_item_invoke_clip (ct, child, area); if (ret & NR_ARENA_ITEM_STATE_INVALID) break; } - cairo_restore(ct); return ret; } |
