diff --git a/src/seltrans.h b/src/seltrans.h
index 74734cdd876e6189e20efddc8a1a22973380b3b8..58a6d5d29b4fb6e1be2ccaa674f1a47448f6b499 100644 (file)
--- a/src/seltrans.h
+++ b/src/seltrans.h
#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"
bool isGrabbed() {
return _grabbed;
}
-
+ bool centerIsVisible() {
+ return ( _chandle && SP_KNOT_IS_VISIBLE (_chandle) );
+ }
+
private:
void _updateHandles();
void _updateVolatileState();
gdouble _strokewidth;
NR::Matrix _current;
NR::Point _opposite; ///< opposite point to where a scale is taking place
-
+
NR::Point _opposite_for_specpoints;
NR::Point _opposite_for_bboxpoints;
NR::Point _origin_for_specpoints;
SPCanvasItem *_l[4];
guint _sel_changed_id;
guint _sel_modified_id;
- GSList *_stamp_cache;
+ GSList *_stamp_cache;
NR::Point _origin; ///< position of origin for transforms
NR::Point _point; ///< original position of the knot being used for the current transform