diff options
| author | Martin Owens <doctormo@gmail.com> | 2019-02-24 06:13:39 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2019-02-24 06:13:39 +0000 |
| commit | 89dec29933b82615972ab5cb5691df7a445aac6b (patch) | |
| tree | c3bb2ad8c0beba42805d51f09671a81790e96188 /src/seltrans.h | |
| parent | Make background color affect checkerboard (diff) | |
| download | inkscape-89dec29933b82615972ab5cb5691df7a445aac6b.tar.gz inkscape-89dec29933b82615972ab5cb5691df7a445aac6b.zip | |
Merge in bazaar branch for alignment handles
Diffstat (limited to 'src/seltrans.h')
| -rw-r--r-- | src/seltrans.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/seltrans.h b/src/seltrans.h index fe3a2ffc0..dadef62ef 100644 --- a/src/seltrans.h +++ b/src/seltrans.h @@ -29,7 +29,7 @@ #include "selcue.h" #include "object/sp-item.h" - +#include "display/guideline.h" class SPKnot; class SPDesktop; @@ -63,6 +63,7 @@ public: void scale(Geom::Point &pt, unsigned int state); void skew(SPSelTransHandle const &handle, Geom::Point &pt, unsigned int state); void rotate(Geom::Point &pt, unsigned int state); + void align(guint state, SPSelTransHandle const &handle); int request(SPSelTransHandle const &handle, Geom::Point &pt, unsigned int state); int scaleRequest(Geom::Point &pt, unsigned int state); int stretchRequest(SPSelTransHandle const &handle, Geom::Point &pt, unsigned int state); @@ -124,7 +125,8 @@ private: enum State { STATE_SCALE, //scale or stretch - STATE_ROTATE //rotate or skew + STATE_ROTATE, //rotate or skew + STATE_ALIGN //on canvas align }; SPDesktop *_desktop; |
