summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fcd0cf8)
raw | patch | inline | side by side (parent: fcd0cf8)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 3 Mar 2007 17:21:20 +0000 (17:21 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 3 Mar 2007 17:21:20 +0000 (17:21 +0000) |
src/sp-flowtext.cpp | patch | blob | history |
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index b589bb64d6dc298255e35351470bfd009faee566..daa9f808a2db1c0046de3741ef94af7094330fe9 100644 (file)
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
group->rebuildLayout();
- // pass the bbox of the flowtext object as paintbox (used for paintserver fills)
NRRect paintbox;
sp_item_invoke_bbox(group, &paintbox, NR::identity(), TRUE);
for (SPItemView *v = group->display; v != NULL; v = v->next) {
group->_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 flowtext object as paintbox (used for paintserver fills)
group->layout.show(NR_ARENA_GROUP(v->arenaitem), &paintbox);
}
}
@@ -379,6 +380,8 @@ sp_flowtext_show(SPItem *item, NRArena *arena, unsigned/* key*/, unsigned /*flag
NRArenaGroup *flowed = NRArenaGroup::create(arena);
nr_arena_group_set_transparent(flowed, FALSE);
+ nr_arena_group_set_style(flowed, group->style);
+
// pass the bbox of the flowtext object as paintbox (used for paintserver fills)
NRRect paintbox;
sp_item_invoke_bbox(item, &paintbox, NR::identity(), TRUE);