diff options
Diffstat (limited to 'Drawer.h')
-rw-r--r-- | Drawer.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 { |