summaryrefslogtreecommitdiffstats
path: root/src/flood-context.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-08-15 01:19:33 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-08-15 01:19:33 +0000
commit2f3d79db2fad212c8aa1bff7bb13132a34541aff (patch)
treeec16b5e4cdd3d69dd6a0ee35b48e0379b679d4f2 /src/flood-context.cpp
parentCompletely remove NRPixBlock (diff)
downloadinkscape-2f3d79db2fad212c8aa1bff7bb13132a34541aff.tar.gz
inkscape-2f3d79db2fad212c8aa1bff7bb13132a34541aff.zip
Make nr_arena_invoke_render expect an already transformed context,
to remove a limitation to integer translations imposed by NRRectL (bzr r9508.1.68)
Diffstat (limited to 'src/flood-context.cpp')
-rw-r--r--src/flood-context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index dab0a33fa..9e78c8d52 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -830,6 +830,7 @@ static void sp_flood_do_flood_fill(SPEventContext *event_context, GdkEvent *even
cairo_surface_t *s = cairo_image_surface_create_for_data(
px, CAIRO_FORMAT_ARGB32, width, height, stride);
cairo_t *ct = cairo_create(s);
+ // cairo_translate not necessary here - surface origin is at 0,0
SPNamedView *nv = sp_desktop_namedview(desktop);
guint32 bgcolor = nv->pagecolor;