diff options
Diffstat (limited to 'src/display')
| -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; } |
