Searched refs:SPKnot (Results 1 - 18 of 18) sorted by relevance

/inkscape/src/
H A Dknot.h5 * Declarations for SPKnot: Desktop-bound visual control object.
31 #define SP_KNOT(obj) (dynamic_cast<SPKnot*>(static_cast<SPKnot*>(obj)))
32 #define SP_IS_KNOT(obj) (dynamic_cast<const SPKnot*>(static_cast<const SPKnot*>(obj)) != NULL)
41 class SPKnot { class
43 SPKnot(SPDesktop *desktop, char const *tip);
44 virtual ~SPKnot();
79 sigc::signal<void, SPKnot *, unsigned int> click_signal;
80 sigc::signal<void, SPKnot*, unsigne
[all...]
H A Dknotholder.h5 * KnotHolder - Hold SPKnot list and manage signals
40 class SPKnot;
52 void knot_moved_handler(SPKnot *knot, Geom::Point const &p, unsigned int state);
53 void knot_clicked_handler(SPKnot *knot, unsigned int state);
54 void knot_ungrabbed_handler(SPKnot *knot, unsigned int);
90 void knot_clicked_handler(SPKnot *knot, guint state, gpointer data);
91 void knot_moved_handler(SPKnot *knot, Geom::Point const *p, guint state, gpointer data);
92 void knot_ungrabbed_handler(SPKnot *knot, unsigned int state, KnotHolder *kh);
H A Dknot.cpp2 * SPKnot implementation
54 void knot_ref(SPKnot* knot) {
58 void knot_unref(SPKnot* knot) {
65 static int sp_knot_handler(SPCanvasItem *item, GdkEvent *event, SPKnot *knot);
67 SPKnot::SPKnot(SPDesktop *desktop, gchar const *tip) function in class:SPKnot
128 SPKnot::~SPKnot() {
176 void SPKnot::startDragging(Geom::Point const &p, gint x, gint y, guint32 etime) {
197 static int sp_knot_handler(SPCanvasItem */*item*/, GdkEvent *event, SPKnot *kno
[all...]
H A Dseltrans.h32 class SPKnot;
75 int handleRequest(SPKnot *knot, Geom::Point *position, unsigned int state, SPSelTransHandle const &handle);
76 void handleGrab(SPKnot *knot, unsigned int state, SPSelTransHandle const &handle);
77 void handleClick(SPKnot *knot, unsigned int state, SPSelTransHandle const &handle);
78 void handleNewEvent(SPKnot *knot, Geom::Point *position, unsigned int state, SPSelTransHandle const &handle);
183 SPKnot *knots[NUMHANDS];
H A Dknot-holder-entity.h24 class SPKnot;
73 SPKnot *knot;
H A Dknotholder.cpp2 * Container for SPKnot visual handles.
106 const SPKnot *knot = (*i)->knot;
117 KnotHolder::knot_clicked_handler(SPKnot *knot, guint state)
178 KnotHolder::knot_moved_handler(SPKnot *knot, Geom::Point const &p, guint state)
205 KnotHolder::knot_ungrabbed_handler(SPKnot */*knot*/, guint)
H A Dseltrans.cpp58 static void sp_sel_trans_handle_grab(SPKnot *knot, guint state, SPSelTransHandle const* data);
59 static void sp_sel_trans_handle_ungrab(SPKnot *knot, guint state, SPSelTransHandle const* data);
60 static void sp_sel_trans_handle_click(SPKnot *knot, guint state, SPSelTransHandle const* data);
61 static void sp_sel_trans_handle_new_event(SPKnot *knot, Geom::Point const &position, guint32 state, SPSelTransHandle const* data);
62 static gboolean sp_sel_trans_handle_request(SPKnot *knot, Geom::Point *p, guint state, SPSelTransHandle const *data);
66 static gboolean sp_sel_trans_handle_event(SPKnot *knot, GdkEvent *event, SPSelTransHandle const*)
653 knots[i] = new SPKnot(_desktop, _(info.tip));
673 static void sp_sel_trans_handle_grab(SPKnot *knot, guint state, SPSelTransHandle const* data)
680 static void sp_sel_trans_handle_ungrab(SPKnot *knot, guint /*state*/, SPSelTransHandle const* /*data*/)
685 static void sp_sel_trans_handle_new_event(SPKnot *kno
[all...]
H A Dgradient-drag.h32 class SPKnot;
83 SPKnot *knot;
H A Dvanishing-point.h130 SPKnot *knot;
H A Dvanishing-point.cpp89 vp_knot_moved_handler (SPKnot *knot, Geom::Point const &ppointer, guint state, gpointer data)
211 vp_knot_grabbed_handler (SPKnot */*knot*/, unsigned int /*state*/, gpointer data)
220 vp_knot_ungrabbed_handler (SPKnot *knot, guint /*state*/, gpointer data)
282 this->knot = new SPKnot(SP_ACTIVE_DESKTOP, NULL);
H A Dknot-holder-entity.cpp37 knot = new SPKnot(desktop, tip);
H A Dgradient-drag.cpp736 static void gr_knot_moved_handler(SPKnot *knot, Geom::Point const &ppointer, guint state, gpointer data)
999 static void gr_knot_moved_midpoint_handler(SPKnot */*knot*/, Geom::Point const &ppointer, guint state, gpointer data)
1037 SPKnot *drgknot = drg->knot;
1061 static void gr_knot_grabbed_handler(SPKnot */*knot*/, unsigned int /*state*/, gpointer data)
1071 static void gr_knot_ungrabbed_handler(SPKnot *knot, unsigned int state, gpointer data)
1108 static void gr_knot_clicked_handler(SPKnot */*knot*/, guint state, gpointer data)
1178 static void gr_knot_doubleclicked_handler(SPKnot */*knot*/, guint /*state*/, gpointer data)
1387 SPKnot *knot = handle->knot;
1396 SPKnot *knot = handle->knot;
1594 this->knot = new SPKnot(paren
[all...]
/inkscape/src/ui/tools/
H A Dconnector-tool.h25 class SPKnot;
52 typedef std::map<SPKnot *, int> SPKnotList;
95 SPKnot *active_handle;
98 SPKnot *selected_handle;
101 SPKnot *clickedhandle;
104 SPKnot *endpt_handle[2];
H A Dmeasure-tool.h31 class SPKnot;
65 void knotStartMovedHandler(SPKnot */*knot*/, Geom::Point const &ppointer, guint state);
66 void knotEndMovedHandler(SPKnot */*knot*/, Geom::Point const &ppointer, guint state);
67 void knotClickHandler(SPKnot *knot, guint state);
68 void knotUngrabbedHandler(SPKnot */*knot*/, unsigned int /*state*/);
73 SPKnot *knot_start;
74 SPKnot *knot_end;
H A Dconnector-tool.cpp125 static void cc_select_handle(SPKnot* knot);
126 static void cc_deselect_handle(SPKnot* knot);
353 cc_select_handle(SPKnot* knot)
363 cc_deselect_handle(SPKnot* knot)
959 cc_generic_knot_handler(SPCanvasItem *, GdkEvent *event, SPKnot *knot)
1013 endpt_handler(SPKnot */*knot*/, GdkEvent *event, ConnectorTool *cc)
1062 SPKnot *knot = new SPKnot(desktop, 0);
1180 SPKnot *knot = new SPKnot(thi
[all...]
H A Dmeasure-tool.cpp349 this->knot_start = new SPKnot(desktop, N_("Measure start, <b>Shift+Click</b> for position dialog"));
355 this->knot_end = new SPKnot(desktop, N_("Measure end, <b>Shift+Click</b> for position dialog"));
456 void MeasureTool::knotClickHandler(SPKnot *knot, guint state)
467 void MeasureTool::knotStartMovedHandler(SPKnot */*knot*/, Geom::Point const &ppointer, guint state)
488 void MeasureTool::knotEndMovedHandler(SPKnot */*knot*/, Geom::Point const &ppointer, guint state)
509 void MeasureTool::knotUngrabbedHandler(SPKnot */*knot*/, unsigned int state)
/inkscape/src/ui/dialog/
H A Dknot-properties.h38 static void showDialog(SPDesktop *desktop, const SPKnot *pt, Glib::ustring const unit_name);
43 SPKnot *_knotpoint;
64 void _setPt(const SPKnot *pt);
H A Dknot-properties.cpp113 void KnotPropertiesDialog::showDialog(SPDesktop *desktop, const SPKnot *pt, Glib::ustring const unit_name)
184 void KnotPropertiesDialog::_setPt(const SPKnot *pt)
186 _knotpoint = const_cast<SPKnot *>(pt);

Completed in 1175 milliseconds