summaryrefslogtreecommitdiff
path: root/SharedGraphics/Painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'SharedGraphics/Painter.h')
-rw-r--r--SharedGraphics/Painter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/SharedGraphics/Painter.h b/SharedGraphics/Painter.h
index e98e7c9fe4..f5a66690f8 100644
--- a/SharedGraphics/Painter.h
+++ b/SharedGraphics/Painter.h
@@ -52,6 +52,8 @@ public:
void translate(int dx, int dy) { m_translation.move_by(dx, dy); }
void translate(const Point& delta) { m_translation.move_by(delta); }
+ Point translation() const { return m_translation; }
+
GraphicsBitmap* target() { return m_target.ptr(); }
private: