summaryrefslogtreecommitdiffstats
path: root/src/desktop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.h')
-rw-r--r--src/desktop.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/desktop.h b/src/desktop.h
index a1281a5b8..9087f8d31 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -426,6 +426,9 @@ public:
Geom::Point doc2dt(Geom::Point const &p) const;
Geom::Point dt2doc(Geom::Point const &p) const;
+ bool is_yaxisdown() const { return _doc2dt[3] > 0; }
+ double yaxisdir() const { return _doc2dt[3]; }
+
void setDocument (SPDocument* doc) override;
bool shutdown() override;
void mouseover() override {}
@@ -455,18 +458,10 @@ private:
_scale = scale;
_update();
}
- void setScale( double scale ) {
- _scale = Geom::Scale(scale, -scale); // Y flip
- _update();
- }
void addScale( Geom::Scale scale) {
_scale *= scale;
_update();
}
- void addScale( double scale ) {
- _scale *= Geom::Scale(scale, -scale); // Y flip?? Check
- _update();
- }
void setRotate( Geom::Rotate rotate ) {
_rotate = rotate;