Code

Filter effects dialog:
[inkscape.git] / src / seltrans.h
index 74734cdd876e6189e20efddc8a1a22973380b3b8..d3cbcbd5750861cfb3210631a3aeeaf43443cf0e 100644 (file)
@@ -18,6 +18,7 @@
 #include <libnr/nr-point.h>
 #include <libnr/nr-matrix.h>
 #include <libnr/nr-rect.h>
+#include "knot.h"
 #include "forward.h"
 #include "selcue.h"
 #include "message-context.h"
@@ -84,7 +85,10 @@ public:
     bool isGrabbed() {
         return _grabbed;    
     }
-    
+       bool centerIsVisible() {
+               return ( _chandle && SP_KNOT_IS_VISIBLE (_chandle) );
+       }
+
 private:
     void _updateHandles();
     void _updateVolatileState();