summaryrefslogtreecommitdiffstats
path: root/src/knot.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-12-03 16:11:45 +0000
committertavmjong-free <tavmjong@free.fr>2016-12-03 16:11:45 +0000
commit30f2c8a062594750f351f823aa78916f8e61bfe7 (patch)
tree4e272161ac02199055fb064e826c68f8bd4204df /src/knot.h
parentprevent use of string concat for compatibility with old cmake (diff)
downloadinkscape-30f2c8a062594750f351f823aa78916f8e61bfe7.tar.gz
inkscape-30f2c8a062594750f351f823aa78916f8e61bfe7.zip
Add triangle knot.
(bzr r15293)
Diffstat (limited to 'src/knot.h')
-rw-r--r--src/knot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/knot.h b/src/knot.h
index e3ad98e66..954ddd8a6 100644
--- a/src/knot.h
+++ b/src/knot.h
@@ -51,6 +51,7 @@ public:
unsigned int flags;
unsigned int size; /**< Always square. */
+ double angle; /**< Angle of mesh handle. */
Geom::Point pos; /**< Our desktop coordinates. */
Geom::Point grabbed_rel_pos; /**< Grabbed relative position. */
Geom::Point drag_origin; /**< Origin of drag. */
@@ -92,6 +93,7 @@ public:
void setAnchor(unsigned int i);
void setMode(unsigned int i);
void setPixbuf(void* p);
+ void setAngle(double i);
void setFill(guint32 normal, guint32 mouseover, guint32 dragging);
void setStroke(guint32 normal, guint32 mouseover, guint32 dragging);