/inkscape/src/ |
H A D | knot-ptr.cpp | 4 #include "knot-ptr.h" 8 void knot_deleted_callback(void* knot) { argument 9 if (std::find(deleted_knots.begin(), deleted_knots.end(), knot) == deleted_knots.end()) { 10 deleted_knots.push_back(knot); 14 void knot_created_callback(void* knot) { argument 15 std::list<void*>::iterator it = std::find(deleted_knots.begin(), deleted_knots.end(), knot); 21 void check_if_knot_deleted(void* knot) { argument 22 if (std::find(deleted_knots.begin(), deleted_knots.end(), knot) != deleted_knots.end()) { 23 g_warning("Accessed knot after it was freed at %p", knot); [all...] |
H A D | sp-offset.h | 63 Geom::Point knot; member in class:SPOffset
|
H A D | knot-holder-entity.h | 20 #include "knot.h" 43 knot(NULL), 61 /* the get/set/click handlers are virtual functions; each handler class for a knot 73 SPKnot *knot; member in class:KnotHolderEntity 82 /** Connection to \a knot's "moved" signal. */ 84 /** Connection to \a knot's "clicked" signal. */ 86 /** Connection to \a knot's "ungrabbed" signal. */
|
H A D | gradient-drag.h | 73 This class holds together a visible on-canvas knot and a list of draggables that need to 74 be moved when the knot moves. Normally there's one draggable in the list, but there may 83 SPKnot *knot; member in struct:GrDragger 85 // position of the knot, desktop coords 87 // position of the knot before it began to drag; updated when released
|
H A D | knotholder.cpp | 21 #include "knot.h" 23 #include "knot-holder-entity.h" 89 mgr.updateItem(e->knot->item); 106 const SPKnot *knot = (*i)->knot; local 108 if (knot && (knot->flags & SP_KNOT_MOUSEOVER)) { 117 KnotHolder::knot_clicked_handler(SPKnot *knot, guint state) argument 124 if (e->knot == knot) { 178 knot_moved_handler(SPKnot *knot, Geom::Point const &p, guint state) argument [all...] |
H A D | vanishing-point.h | 19 #include "knot.h" 130 SPKnot *knot; member in struct:Box3D::VPDragger 132 // position of the knot, desktop coords 134 // position of the knot before it began to drag; updated when released
|
H A D | knot.cpp | 23 #include "knot.h" 24 #include "knot-ptr.h" 54 void knot_ref(SPKnot* knot) { argument 55 knot->ref_count++; 58 void knot_unref(SPKnot* knot) { argument 59 if (--knot->ref_count < 1) { 60 delete knot; 65 static int sp_knot_handler(SPCanvasItem *item, GdkEvent *event, SPKnot *knot); 171 // FIXME: cannot snap to destroyed knot (lp:1309050) 197 static int sp_knot_handler(SPCanvasItem */*item*/, GdkEvent *event, SPKnot *knot) argument 377 sp_knot_handler_request_position(GdkEvent *event, SPKnot *knot) argument [all...] |
H A D | vanishing-point.cpp | 52 // knot shapes corresponding to GrPointType enum 89 vp_knot_moved_handler (SPKnot *knot, Geom::Point const &ppointer, guint state, gpointer data) argument 195 knot->moveto(p); 211 vp_knot_grabbed_handler (SPKnot */*knot*/, unsigned int /*state*/, gpointer data) 220 vp_knot_ungrabbed_handler (SPKnot *knot, guint /*state*/, gpointer data) argument 224 dragger->point_original = dragger->point = knot->pos; 229 (*i).set_pos (knot->pos); 274 knot(NULL), 281 // create the knot 282 this->knot [all...] |
H A D | seltrans.cpp | 31 #include "knot.h" 58 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*) argument 73 /* stamping mode: both mode(show content and outline) operation with knot */ 74 if (!SP_KNOT_IS_GRABBED(knot)) { 77 SPDesktop *desktop = knot 673 sp_sel_trans_handle_grab(SPKnot *knot, guint state, SPSelTransHandle const* data) argument 680 sp_sel_trans_handle_ungrab(SPKnot *knot, guint , SPSelTransHandle const* ) argument 685 sp_sel_trans_handle_new_event(SPKnot *knot, Geom::Point const& position, guint state, SPSelTransHandle const *data) argument 694 sp_sel_trans_handle_request(SPKnot *knot, Geom::Point *position, guint state, SPSelTransHandle const *data) argument 701 sp_sel_trans_handle_click(SPKnot *knot, guint state, SPSelTransHandle const* data) argument 731 handleGrab(SPKnot *knot, guint , SPSelTransHandle const &handle) argument 755 handleNewEvent(SPKnot *knot, Geom::Point *position, guint state, SPSelTransHandle const &handle) argument 788 handleRequest(SPKnot *knot, Geom::Point *position, guint state, SPSelTransHandle const &handle) argument [all...] |
H A D | gradient-drag.cpp | 43 #include "knot.h" 80 // knot shapes corresponding to GrPointType enum (in sp-gradient.h) 385 // add the knot 398 // add the knot 410 // add the knot 736 static void gr_knot_moved_handler(SPKnot *knot, Geom::Point const &ppointer, guint state, gpointer data) argument 810 knot->moveto(p); 895 knot->moveto(p); 922 // the draglimits are between knot(lowest_i - 1) and knot(highest_ 1071 gr_knot_ungrabbed_handler(SPKnot *knot, unsigned int state, gpointer data) argument 1387 SPKnot *knot = handle->knot; local 1396 SPKnot *knot = handle->knot; local [all...] |
/inkscape/src/ui/tools/ |
H A D | connector-tool.cpp | 97 #include "knot.h" 125 static void cc_select_handle(SPKnot* knot); 126 static void cc_deselect_handle(SPKnot* knot); 353 cc_select_handle(SPKnot* knot) argument 355 knot->setShape(SP_KNOT_SHAPE_SQUARE); 356 knot->setSize(10); 357 knot->setAnchor(SP_ANCHOR_CENTER); 358 knot->setFill(0x0000ffff, 0x0000ffff, 0x0000ffff); 359 knot->updateCtrl(); 363 cc_deselect_handle(SPKnot* knot) argument 959 cc_generic_knot_handler(SPCanvasItem *, GdkEvent *event, SPKnot *knot) argument 1062 SPKnot *knot = new SPKnot(desktop, 0); local 1078 G_CALLBACK(cc_generic_knot_handler), knot); local 1180 SPKnot *knot = new SPKnot(this->desktop, local 1198 G_CALLBACK(cc_generic_knot_handler), knot); local 1246 SPKnot *knot = new SPKnot(cc->desktop, 0); local [all...] |
H A D | tool-base.cpp | 57 #include "knot.h" 58 #include "knot-ptr.h" 882 * Returns true if we're hovering above a knot (needed because we don't want to pre-snap in that case). 1236 * @param dse_item2 Another pointer, storing a reference to a knot or controlpoint. 1356 gpointer knot = dse->getItem2(); local 1357 check_if_knot_deleted(knot); 1358 if (knot && SP_IS_KNOT(knot)) { 1359 sp_knot_handler_request_position(dse->getEvent(), SP_KNOT(knot));
|
H A D | measure-tool.cpp | 38 #include "ui/dialog/knot-properties.h" 55 #include "knot.h" 61 #include "knot-enums.h" 441 //This function is used to reverse the Measure, I do it in two steps because when move the knot the 456 void MeasureTool::knotClickHandler(SPKnot *knot, guint state) argument 463 Inkscape::UI::Dialogs::KnotPropertiesDialog::showDialog(desktop, knot, unit_name); 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)
|