summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
authorNiko Kiirala <niko@kiirala.com>2006-10-10 22:00:49 +0000
committerkiirala <kiirala@users.sourceforge.net>2006-10-10 22:00:49 +0000
commit74a0339ad123e319085e18f616e5e0aaa70f426f (patch)
tree082a60e4a84e3893bb7b263857ba66130361c8bc /src/sp-text.cpp
parentundo annotations (diff)
downloadinkscape-74a0339ad123e319085e18f616e5e0aaa70f426f.tar.gz
inkscape-74a0339ad123e319085e18f616e5e0aaa70f426f.zip
Filtering now works with text and image objects
(bzr r1794)
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}
}