summaryrefslogtreecommitdiffstats
path: root/Drawer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Drawer.h')
-rw-r--r--Drawer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Drawer.h b/Drawer.h
index bfebe10..236c72a 100644
--- a/Drawer.h
+++ b/Drawer.h
@@ -21,7 +21,7 @@ class Drawer {
Window *window;
float scale;
- float xTranslate, yTranslate;
+ float xCenter, yCenter;
// prevent shallow copy
Drawer(const Drawer &w);
@@ -59,12 +59,12 @@ class Drawer {
float getImageWidth() const;
float getImageHeight() const;
- float getXTranslate() const {
- return xTranslate;
+ float getXCenter() const {
+ return xCenter;
}
- float getYTranslate() const {
- return yTranslate;
+ float getYCenter() const {
+ return yCenter;
}
float getScale() const {