summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-image.h
diff options
context:
space:
mode:
authorJasper van de Gronde <jasper.vandegronde@gmail.com>2013-03-21 11:15:43 +0000
committerJaspervdg <th.v.d.gronde@hccnet.nl>2013-03-21 11:15:43 +0000
commit6febb5a75ac5b7d8b41c4cf6c49799c094b98199 (patch)
treea80e69c84cf2bb678abcd1e859c4cdb796ca8f00 /src/display/drawing-image.h
parentKeys. Bug #253552 (Repeat effect shortcut). (diff)
downloadinkscape-6febb5a75ac5b7d8b41c4cf6c49799c094b98199.tar.gz
inkscape-6febb5a75ac5b7d8b41c4cf6c49799c094b98199.zip
Handle bitmap downsampling ourselves, see bug #804162 in launchpad.
(bzr r12227)
Diffstat (limited to 'src/display/drawing-image.h')
-rw-r--r--src/display/drawing-image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/drawing-image.h b/src/display/drawing-image.h
index 306096d0e..593185c97 100644
--- a/src/display/drawing-image.h
+++ b/src/display/drawing-image.h
@@ -45,6 +45,9 @@ protected:
cairo_surface_t *_surface;
SPStyle *_style;
+ cairo_surface_t *_new_surface; // Part of hack around Cairo bug
+ Geom::Point _rescaledSize; // Part of hack around Cairo bug
+
// TODO: the following three should probably be merged into a new Geom::Viewbox object
Geom::Rect _clipbox; ///< for preserveAspectRatio
Geom::Point _origin;