summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-context.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-context.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-context.h')
-rw-r--r--src/display/drawing-context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/drawing-context.h b/src/display/drawing-context.h
index 8d2e7d68a..4ada79057 100644
--- a/src/display/drawing-context.h
+++ b/src/display/drawing-context.h
@@ -64,6 +64,9 @@ public:
void rectangle(Geom::Rect const &r) {
cairo_rectangle(_ct, r.left(), r.top(), r.width(), r.height());
}
+ void rectangle(Geom::IntRect const &r) {
+ cairo_rectangle(_ct, r.left(), r.top(), r.width(), r.height());
+ }
void newPath() { cairo_new_path(_ct); }
void newSubpath() { cairo_new_sub_path(_ct); }
void path(Geom::PathVector const &pv);