diff options
| author | Niko Kiirala <niko@kiirala.com> | 2006-10-10 22:00:49 +0000 |
|---|---|---|
| committer | kiirala <kiirala@users.sourceforge.net> | 2006-10-10 22:00:49 +0000 |
| commit | 74a0339ad123e319085e18f616e5e0aaa70f426f (patch) | |
| tree | 082a60e4a84e3893bb7b263857ba66130361c8bc /src/sp-image.cpp | |
| parent | undo annotations (diff) | |
| download | inkscape-74a0339ad123e319085e18f616e5e0aaa70f426f.tar.gz inkscape-74a0339ad123e319085e18f616e5e0aaa70f426f.zip | |
Filtering now works with text and image objects
(bzr r1794)
Diffstat (limited to 'src/sp-image.cpp')
| -rw-r--r-- | src/sp-image.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 5804089e6..301c6f8d5 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -996,6 +996,7 @@ sp_image_show (SPItem *item, NRArena *arena, unsigned int key, unsigned int flag if (image->pixbuf) { pixskip = gdk_pixbuf_get_n_channels (image->pixbuf) * gdk_pixbuf_get_bits_per_sample (image->pixbuf) / 8; rs = gdk_pixbuf_get_rowstride (image->pixbuf); + nr_arena_image_set_style(NR_ARENA_IMAGE(ai), SP_OBJECT_STYLE(SP_OBJECT(item))); if (image->aspect_align == SP_ASPECT_NONE) nr_arena_image_set_pixels (NR_ARENA_IMAGE (ai), gdk_pixbuf_get_pixels (image->pixbuf), @@ -1116,6 +1117,7 @@ sp_image_update_canvas_image (SPImage *image) for (v = item->display; v != NULL; v = v->next) { pixskip = gdk_pixbuf_get_n_channels (image->pixbuf) * gdk_pixbuf_get_bits_per_sample (image->pixbuf) / 8; rs = gdk_pixbuf_get_rowstride (image->pixbuf); + nr_arena_image_set_style (NR_ARENA_IMAGE(v->arenaitem), SP_OBJECT_STYLE(SP_OBJECT(image))); if (image->aspect_align == SP_ASPECT_NONE) { nr_arena_image_set_pixels (NR_ARENA_IMAGE (v->arenaitem), gdk_pixbuf_get_pixels (image->pixbuf), |
