Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

knot.h File Reference
#include <gdk/gdk.h>
#include <gtk/gtkenums.h>
#include "display/display-forward.h"
#include "forward.h"
#include <2geom/point.h>
#include "knot-enums.h"
#include <sigc++/sigc++.h>
Include dependency graph for knot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SPKnot
struct  SPKnotClass
 The SPKnot vtable. More...

Defines

#define SP_IS_KNOT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_KNOT))
#define SP_IS_KNOT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_KNOT))
#define SP_KNOT(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), SP_TYPE_KNOT, SPKnot))
#define SP_KNOT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), SP_TYPE_KNOT, SPKnotClass))
#define SP_KNOT_IS_DRAGGING(k)   ((k->flags & SP_KNOT_DRAGGING) != 0)
#define SP_KNOT_IS_GRABBED(k)   ((k->flags & SP_KNOT_GRABBED) != 0)
#define SP_KNOT_IS_MOUSEOVER(k)   ((k->flags & SP_KNOT_MOUSEOVER) != 0)
#define SP_KNOT_IS_VISIBLE(k)   ((k->flags & SP_KNOT_VISIBLE) != 0)
#define SP_TYPE_KNOT   (sp_knot_get_type())

Functions

gdouble sp_knot_distance (SPKnot *knot, Geom::Point const &p, guint state)
GType sp_knot_get_type ()
void sp_knot_handler_request_position (GdkEvent *event, SPKnot *knot)
void sp_knot_hide (SPKnot *knot)
void sp_knot_moveto (SPKnot *knot, Geom::Point const &p)
SPKnotsp_knot_new (SPDesktop *desktop, gchar const *tip=NULL)
Geom::Point sp_knot_position (SPKnot const *knot)
void sp_knot_request_position (SPKnot *knot, Geom::Point const &pos, guint state)
void sp_knot_set_flag (SPKnot *knot, guint flag, bool set)
void sp_knot_set_position (SPKnot *knot, Geom::Point const &p, guint state)
void sp_knot_show (SPKnot *knot)
void sp_knot_start_dragging (SPKnot *knot, Geom::Point const &p, gint x, gint y, guint32 etime)
void sp_knot_update_ctrl (SPKnot *knot)

Detailed Description

Declarations for SPKnot: Desktop-bound visual control object.

Definition in file knot.h.


Generated by  Doxygen 1.6.0   Back to index