Logo Search packages:      
Sourcecode: inkscape version File versions

SPKnot Struct Reference

#include <knot.h>

List of all members.

Detailed Description

Desktop-bound visual control object.

A knot is a draggable object, with callbacks to change something by dragging it, visuably represented by a canvas item (mostly square).

Definition at line 39 of file knot.h.

Public Member Functions

void setAnchor (guint i)
void setCursor (GdkCursor *normal, GdkCursor *mouseover, GdkCursor *dragging)
void setFill (guint32 normal, guint32 mouseover, guint32 dragging)
void setImage (guchar *normal, guchar *mouseover, guchar *dragging)
void setMode (guint i)
void setPixbuf (gpointer p)
void setShape (guint i)
void setSize (guint i)
void setStroke (guint32 normal, guint32 mouseover, guint32 dragging)

Public Attributes

gulong _event_handler_id
GtkAnchorType anchor
GdkCursor * cursor [SP_KNOT_VISIBLE_STATES]
NR::Point drag_origin
guint flags
NR::Point grabbed_rel_pos
guchar * image [SP_KNOT_VISIBLE_STATES]
SPKnotModeType mode
gpointer pixbuf
NR::Point pos
double pressure
GdkCursor * saved_cursor
SPKnotShapeType shape
guint size
guint32 stroke [SP_KNOT_VISIBLE_STATES]
gchar * tip

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index