diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-03-26 22:40:19 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-03-26 22:40:19 +0000 |
| commit | 6a4951d00c495575fd7a1821adb32b3105057c82 (patch) | |
| tree | 583331dbd51f138e1a9b9482aefced11dadadade /src | |
| parent | clarify case for --export-id and --export-drawing (diff) | |
| download | inkscape-6a4951d00c495575fd7a1821adb32b3105057c82.tar.gz inkscape-6a4951d00c495575fd7a1821adb32b3105057c82.zip | |
cosmetic
(bzr r303)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/nr-arena-item.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/display/nr-arena-item.cpp b/src/display/nr-arena-item.cpp index 3bdd88724..7f473ae4d 100644 --- a/src/display/nr-arena-item.cpp +++ b/src/display/nr-arena-item.cpp @@ -675,13 +675,14 @@ nr_arena_item_invoke_clip (NRArenaItem *item, NRRectL *area, NRPixBlock *pb) nr_return_val_if_fail ((pb->area.y1 - pb->area.y0) >= (area->y1 - area->y0), NR_ARENA_ITEM_STATE_INVALID); #ifdef NR_ARENA_ITEM_VERBOSE - printf ("Invoke render %p: %d %d - %d %d, item bbox %d %d - %d %d\n", item, area->x0, area->y0, area->x1, area->y1, (&item->bbox)->x0, (&item->bbox)->y0, (&item->bbox)->x1, (&item->bbox)->y1); + printf ("Invoke clip by %p: %d %d - %d %d, item bbox %d %d - %d %d\n", item, area->x0, area->y0, area->x1, area->y1, (&item->bbox)->x0, (&item->bbox)->y0, (&item->bbox)->x1, (&item->bbox)->y1); #endif if (item->visible && nr_rect_l_test_intersect (area, &item->bbox)) { /* Need render that item */ - if (((NRArenaItemClass *) NR_OBJECT_GET_CLASS (item))->clip) + if (((NRArenaItemClass *) NR_OBJECT_GET_CLASS (item))->clip) { return ((NRArenaItemClass *) NR_OBJECT_GET_CLASS(item))->clip (item, area, pb); + } } return item->state; |
