From 74a0339ad123e319085e18f616e5e0aaa70f426f Mon Sep 17 00:00:00 2001 From: Niko Kiirala Date: Tue, 10 Oct 2006 22:00:49 +0000 Subject: Filtering now works with text and image objects (bzr r1794) --- src/sp-text.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp-text.cpp') diff --git a/src/sp-text.cpp b/src/sp-text.cpp index c9811ec6e..3059cf22d 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -248,6 +248,7 @@ sp_text_update (SPObject *object, SPCtx *ctx, guint flags) sp_item_invoke_bbox(text, &paintbox, NR::identity(), TRUE); for (SPItemView* v = text->display; v != NULL; v = v->next) { text->_clearFlow(NR_ARENA_GROUP(v->arenaitem)); + nr_arena_group_set_style(NR_ARENA_GROUP(v->arenaitem), SP_OBJECT_STYLE(object)); // pass the bbox of the text object as paintbox (used for paintserver fills) text->layout.show(NR_ARENA_GROUP(v->arenaitem), &paintbox); } @@ -273,6 +274,7 @@ sp_text_modified (SPObject *object, guint flags) sp_item_invoke_bbox(text, &paintbox, NR::identity(), TRUE); for (SPItemView* v = text->display; v != NULL; v = v->next) { text->_clearFlow(NR_ARENA_GROUP(v->arenaitem)); + nr_arena_group_set_style(NR_ARENA_GROUP(v->arenaitem), SP_OBJECT_STYLE(object)); text->layout.show(NR_ARENA_GROUP(v->arenaitem), &paintbox); } } -- cgit v1.2.3