/inkscape/src/ui/tools/ |
H A D | tool-base.h | 52 void sp_event_context_discard_delayed_snap_event(ToolBase *ec); 123 void sp_event_context_snap_delay_handler(ToolBase *ec, gpointer const dse_item, gpointer const dse_item2, GdkEventMotion *event, DelayedSnapEvent::DelayedSnapEventOrigin origin); 199 ToolPrefObserver(Glib::ustring const &path, ToolBase *ec) argument 201 , ec(ec) 206 ec->set(val); 210 ToolBase * const ec; member in class:Inkscape::UI::Tools::ToolBase::ToolPrefObserver 239 void sp_event_context_read(ToolBase *ec, gchar const *key); 241 gint sp_event_context_root_handler(ToolBase *ec, GdkEvent *event); 242 gint sp_event_context_virtual_root_handler(ToolBase *ec, GdkEven [all...] |
H A D | tool-base.cpp | 938 void sp_event_context_read(ToolBase *ec, gchar const *key) { argument 939 g_return_if_fail(ec != NULL); 940 g_return_if_fail(SP_IS_EVENT_CONTEXT(ec)); 944 Inkscape::Preferences::Entry val = prefs->getEntry(ec->pref_observer->observed_path + '/' + key); 945 ec->set(val); 1183 sp_event_context_get_shape_editor(ToolBase *ec) { argument 1184 return ec->shape_editor; 1234 * @param ec Pointer to the event context. 1240 void sp_event_context_snap_delay_handler(ToolBase *ec, argument 1247 if (!ec 1326 ToolBase *ec = dse->getEventContext(); local 1425 sp_event_context_discard_delayed_snap_event(ToolBase *ec) argument [all...] |
H A D | text-tool.h | 94 bool sp_text_paste_inline(ToolBase *ec); 95 Glib::ustring sp_text_get_selected_text(ToolBase const *ec); 96 SPCSSAttr *sp_text_get_style_at_cursor(ToolBase const *ec); 97 bool sp_text_delete_selection(ToolBase *ec);
|
H A D | freehand-base.h | 127 void spdc_endpoint_snap_rotation(ToolBase const *const ec, Geom::Point &p, Geom::Point const &o, guint state); 129 void spdc_endpoint_snap_free(ToolBase const *ec, Geom::Point &p, boost::optional<Geom::Point> &start_of_line, guint state); 140 void spdc_create_single_dot(ToolBase *ec, Geom::Point const &pt, char const *tool, guint event_state);
|
H A D | gradient-tool.cpp | 450 ToolBase *ec = SP_EVENT_CONTEXT(rc); local 453 double tolerance = (double) ec->tolerance; 455 SPStop *newstop = ec->get_drag()->addStopNearPoint (item, mouse_p, tolerance/desktop->current_zoom()); 460 ec->get_drag()->updateDraggers(); 461 ec->get_drag()->local_change = true; 462 ec->get_drag()->selectByStop(newstop); 886 ToolBase *ec = SP_EVENT_CONTEXT(&rc); local 894 if (ec->item_to_select) { 896 vector = sp_gradient_vector_for_object(document, desktop, ec->item_to_select, fill_or_stroke); 927 if (ec [all...] |
H A D | text-tool.cpp | 393 ToolBase *ec = SP_EVENT_CONTEXT(tc); local 396 Inkscape::XML::Document *xml_doc = ec->desktop->doc()->getReprDoc(); 401 sp_desktop_apply_style_tool(ec->desktop, rtext, "/tools/text", true); 416 SPItem *text_item = SP_ITEM(ec->desktop->currentLayer()->appendChildRepr(rtext)); 419 ec->desktop->getSelection()->set(text_item); 421 text_item->transform = SP_ITEM(ec->desktop->currentLayer())->i2doc_affine().inverse(); 425 DocumentUndo::done(ec->desktop->getDocument(), SP_VERB_CONTEXT_TEXT, 1263 bool sp_text_paste_inline(ToolBase *ec) argument 1265 if (!SP_IS_TEXT_CONTEXT(ec)) 1268 TextTool *tc = SP_TEXT_CONTEXT(ec); 1336 sp_text_get_selected_text(ToolBase const *ec) argument 1347 sp_text_get_style_at_cursor(ToolBase const *ec) argument 1368 sp_text_delete_selection(ToolBase *ec) argument 1403 ToolBase *ec = SP_EVENT_CONTEXT(this); local [all...] |
H A D | freehand-base.cpp | 588 void spdc_endpoint_snap_rotation(ToolBase const *const ec, Geom::Point &p, Geom::Point const &o, argument 594 SnapManager &m = ec->desktop->namedview->snap_manager; 595 m.setup(ec->desktop); 617 void spdc_endpoint_snap_free(ToolBase const * const ec, Geom::Point& p, boost::optional<Geom::Point> &start_of_line, guint const /*state*/) argument 619 SPDesktop *dt = ec->desktop; 928 void spdc_create_single_dot(ToolBase *ec, Geom::Point const &pt, char const *tool, guint event_state) { argument 932 SPDesktop *desktop = ec->desktop;
|
H A D | mesh-tool.cpp | 303 ToolBase *ec = SP_EVENT_CONTEXT(rc); local 306 double tolerance = (double) ec->tolerance; 308 ec->get_drag()->addStopNearPoint (item, mouse_p, tolerance/desktop->current_zoom()); 313 ec->get_drag()->updateDraggers(); 933 ToolBase *ec = SP_EVENT_CONTEXT(&rc); local 942 if (ec->item_to_select) { 944 vector = sp_gradient_vector_for_object(document, desktop, ec->item_to_select, fill_or_stroke);
|
/inkscape/src/display/ |
H A D | canvas-arena.cpp | 158 GdkEventCrossing ec; local 159 ec.window = gtk_widget_get_window (GTK_WIDGET (item->canvas)); 160 ec.send_event = TRUE; 161 ec.subwindow = ec.window; 162 ec.time = GDK_CURRENT_TIME; 163 ec.x = arena->c[Geom::X]; 164 ec.y = arena->c[Geom::Y]; 167 ec.type = GDK_LEAVE_NOTIFY; 168 sp_canvas_arena_send_event (arena, (GdkEvent *) &ec); 277 GdkEventCrossing ec; local [all...] |
/inkscape/src/ |
H A D | context-fns.h | 37 Geom::Point setup_for_drag_start(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase* ec, GdkEvent *ev);
|
H A D | context-fns.cpp | 217 Geom::Point Inkscape::setup_for_drag_start(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase* ec, GdkEvent *ev) argument 219 ec->xp = static_cast<gint>(ev->button.x); 220 ec->yp = static_cast<gint>(ev->button.y); 221 ec->within_tolerance = true; 224 ec->item_to_select = Inkscape::UI::Tools::sp_event_context_find_item(desktop, p, ev->button.state & GDK_MOD1_MASK, TRUE); 225 return ec->desktop->w2d(p);
|
H A D | persp3d.cpp | 144 Inkscape::UI::Tools::ToolBase *ec = INKSCAPE.active_event_context(); local 145 if (SP_IS_BOX3D_CONTEXT(ec)) { 146 Inkscape::UI::Tools::Box3dTool *bc = SP_BOX3D_CONTEXT(ec);
|
H A D | vanishing-point.cpp | 637 Inkscape::UI::Tools::ToolBase *ec = INKSCAPE.active_event_context(); local 638 g_assert (ec != NULL); 639 if (ec->shape_editor != NULL) { 640 ec->shape_editor->update_knotholder();
|
/inkscape/src/widgets/ |
H A D | lpe-toolbar.cpp | 70 ToolBase *ec = desktop->event_context; local 71 if (!SP_IS_LPETOOL_CONTEXT(ec)) { 105 ToolBase *ec = selection->desktop()->event_context; local 106 if (SP_IS_LPETOOL_CONTEXT(ec)) { 107 lpetool_update_measuring_items(SP_LPETOOL_CONTEXT(ec)); 114 ToolBase *ec = selection->desktop()->event_context; 115 if (!SP_IS_LPETOOL_CONTEXT(ec)) { 118 LpeTool *lc = SP_LPETOOL_CONTEXT(ec); 278 static void lpetool_toolbox_watch_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 409 static void lpetool_toolbox_watch_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObjec argument [all...] |
H A D | mesh-toolbar.cpp | 328 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context; local 329 if (SP_IS_MESH_CONTEXT(ec)) { 330 tool = static_cast<MeshTool*>(ec); 360 static void mesh_toolbox_watch_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 571 static void mesh_toolbox_watch_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObject* holder) argument 579 if (SP_IS_MESH_CONTEXT(ec)) {
|
H A D | node-toolbar.cpp | 72 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context; local 73 if (INK_IS_NODE_TOOL(ec)) { 74 tool = static_cast<NodeTool*>(ec); 324 static void node_toolbox_watch_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 622 static void node_toolbox_watch_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObject* holder) argument 628 if (INK_IS_NODE_TOOL(ec)) {
|
H A D | arc-toolbar.cpp | 299 static void arc_toolbox_check_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 402 static void arc_toolbox_check_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObject* holder) argument 406 if (SP_IS_ARC_CONTEXT(ec)) {
|
H A D | box3d-toolbar.cpp | 284 static void box3d_toolbox_check_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 419 static void box3d_toolbox_check_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObject* holder) argument 422 if (SP_IS_BOX3D_CONTEXT(ec)) {
|
H A D | measure-toolbar.cpp | 65 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context; local 66 if (SP_IS_MEASURE_CONTEXT(ec)) { 67 tool = static_cast<MeasureTool*>(ec);
|
H A D | rect-toolbar.cpp | 291 static void rect_toolbox_watch_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 402 static void rect_toolbox_watch_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObject* holder) argument 408 if (dynamic_cast<Inkscape::UI::Tools::RectTool *>(ec)) {
|
H A D | star-toolbar.cpp | 437 static void star_toolbox_watch_ec(SPDesktop* dt, Inkscape::UI::Tools::ToolBase* ec, GObject* holder); 578 static void star_toolbox_watch_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolBase* ec, GObject* holder) argument 582 if (dynamic_cast<Inkscape::UI::Tools::StarTool const*>(ec) != NULL) {
|
/inkscape/src/ui/tool/ |
H A D | selector.cpp | 52 bool event(Inkscape::UI::Tools::ToolBase *ec, GdkEvent *e) { argument 53 return _eventHandler(ec, e);
|
/inkscape/src/live_effects/ |
H A D | effect.cpp | 490 Inkscape::UI::Tools::ToolBase *ec = desktop->event_context; local 491 Inkscape::UI::Tools::PenTool *pc = SP_PEN_CONTEXT(ec); 497 ec->desktop->messageStack()->flash(Inkscape::INFORMATION_MESSAGE,
|
/inkscape/src/extension/implementation/ |
H A D | script.cpp | 704 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context; local 705 if (INK_IS_NODE_TOOL(ec)) { 706 tool = static_cast<Inkscape::UI::Tools::NodeTool*>(ec);
|
/inkscape/src/ui/dialog/ |
H A D | objects.cpp | 2089 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context; local 2090 if (INK_IS_NODE_TOOL(ec)) { 2091 tool = static_cast<NodeTool*>(ec); 2103 Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context; local 2104 if (INK_IS_NODE_TOOL(ec)) { 2105 tool = static_cast<NodeTool*>(ec);
|