summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-surface.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-08-09 05:51:45 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-08-09 05:51:45 +0000
commit74b91362758052e0f03bb819663a4606f08e4c69 (patch)
treed3c1c2e8620b067383f8014b055fe81fb34b6326 /src/display/drawing-surface.h
parentTurn off debug message spam (diff)
downloadinkscape-74b91362758052e0f03bb819663a4606f08e4c69.tar.gz
inkscape-74b91362758052e0f03bb819663a4606f08e4c69.zip
Use cache even if only part of the redraw region is clean
(bzr r10347.1.28)
Diffstat (limited to 'src/display/drawing-surface.h')
-rw-r--r--src/display/drawing-surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/drawing-surface.h b/src/display/drawing-surface.h
index fd46d66ba..f3af33002 100644
--- a/src/display/drawing-surface.h
+++ b/src/display/drawing-surface.h
@@ -63,10 +63,9 @@ public:
void markDirty(Geom::IntRect const &area = Geom::IntRect::infinite());
void markClean(Geom::IntRect const &area = Geom::IntRect::infinite());
- bool isClean(Geom::IntRect const &area) const;
void scheduleTransform(Geom::IntRect const &new_area, Geom::Affine const &trans);
void prepare();
- bool paintFromCache(DrawingContext &ct, Geom::IntRect const &area);
+ void paintFromCache(DrawingContext &ct, Geom::OptIntRect &area);
protected:
cairo_region_t *_clean_region;
@@ -74,6 +73,7 @@ protected:
Geom::Affine _pending_transform;
private:
static cairo_rectangle_int_t _convertRect(Geom::IntRect const &r);
+ static Geom::IntRect _convertRect(cairo_rectangle_int_t const &r);
};
} // end namespace Inkscape