Searched defs:dt (Results 1 - 25 of 35) sorted by relevance

12

/inkscape/src/ui/
H A Dtools-switch.cpp141 tools_isactive(SPDesktop *dt, unsigned num) argument
144 if (dynamic_cast<ToolBase *>(dt->event_context)) {
145 return dt->event_context->pref_observer->observed_path == tool_names[num];
152 tools_active(SPDesktop *dt) argument
154 return tools_prefpath2num(dt->event_context->pref_observer->observed_path.data());
158 tools_switch(SPDesktop *dt, int num) argument
160 dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, gettext( tool_msg[num] ) );
161 if (dt) {
163 dt->_tool_changed.emit(num);
166 dt
143 g_assert( num < G_N_ELEMENTS(tool_names) ); if (dynamic_cast<ToolBase *>(dt->event_context) argument
173 tools_switch_by_item(SPDesktop *dt, SPItem *item, Geom::Point const p) argument
[all...]
H A Dshape-editor.cpp34 ShapeEditor::ShapeEditor(SPDesktop *dt) { argument
35 this->desktop = dt;
H A Duxmanager.cpp101 virtual void setTask(SPDesktop* dt, gint val);
187 void UXManagerImpl::setTask(SPDesktop* dt, gint val) argument
194 if (dtw->desktop == dt) {
/inkscape/src/
H A Dguide-snapper.cpp28 SPDesktop const *dt = _snapmanager->getDesktop(); local
29 double const zoom = dt ? dt->current_zoom() : 1;
H A Drubberband.cpp24 Inkscape::Rubberband::Rubberband(SPDesktop *dt) argument
25 : _desktop(dt), _rect(NULL), _touchpath(NULL), _started(false)
H A Dsp-guide.cpp244 void sp_guide_create_guides_around_page(SPDesktop *dt) argument
246 SPDocument *doc=dt->getDocument();
264 void sp_guide_delete_all_guides(SPDesktop *dt) argument
266 SPDocument *doc=dt->getDocument();
H A Dsp-lpe-item.cpp762 void SPLPEItem::editNextParamOncanvas(SPDesktop *dt) argument
766 lperef->lpeobject->get_lpe()->editNextParamOncanvas(this, dt);
H A Dverbs.cpp953 SPDesktop *dt = sp_action_get_desktop(action); local
957 sp_undo(dt, dt->getDocument());
960 sp_redo(dt, dt->getDocument());
963 sp_selection_cut(dt);
966 sp_selection_copy(dt);
969 sp_selection_paste(dt, false);
972 sp_selection_paste_style(dt);
975 sp_selection_paste_size(dt, tru
1107 SPDesktop *dt = sp_action_get_desktop(action); local
1254 SPDesktop *dt = sp_action_get_desktop(action); local
1479 SPDesktop *dt = sp_action_get_desktop(action); local
1576 SPDesktop *dt = static_cast<SPDesktop*>(sp_action_get_view(action)); local
1613 SPDesktop *dt; local
1825 SPDesktop *dt = sp_action_get_desktop(action); local
1839 SPDesktop *dt = sp_action_get_desktop(action); local
2019 SPDesktop *dt = sp_action_get_desktop(action); local
2134 SPDesktop *dt = sp_action_get_desktop(action); local
2323 SPDesktop *dt = sp_action_get_desktop(action); local
2389 SPDesktop *dt = sp_action_get_desktop(action); local
[all...]
H A Dfile.cpp637 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
638 if (dt != NULL) {
641 dt->messageStack()->flashF(Inkscape::NORMAL_MESSAGE,
647 dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("No unused definitions in &lt;defs&gt;."));
H A Dobject-snapper.cpp63 SPDesktop const *dt = _snapmanager->getDesktop(); local
64 double const zoom = dt ? dt->current_zoom() : 1;
80 SPDesktop const *dt = _snapmanager->getDesktop(); local
81 if (dt == NULL) {
94 g_assert(dt != NULL);
96 if (item && !(dt->itemIsHidden(item) && !clip_or_mask)) {
138 bbox_of_item = item->bounds(bbox_type, item->i2doc_affine() * additional_affine * dt->doc2dt());
475 SPDesktop const *dt = _snapmanager->getDesktop(); local
476 g_assert(dt !
610 SPDesktop const *dt = _snapmanager->getDesktop(); local
[all...]
H A Dsp-namedview.cpp934 SPDesktop *dt = static_cast<SPDesktop*>(desktop); local
936 (*it)->sensitize(dt->getCanvas(), active);
/inkscape/src/display/
H A Ddrawing-pattern.cpp109 Geom::Affine dt = pattern_surface.drawingTransform(); local
111 Geom::Affine initial_transform = idt * _overflow_initial_transform * dt;
112 Geom::Affine step_transform = idt * _overflow_step_transform * dt;
H A Dcanvas-axonomgrid.cpp661 SPDesktop const *dt = _snapmanager->getDesktop(); local
662 double const zoom = dt ? dt->current_zoom() : 1;
689 SPDesktop const *dt = _snapmanager->getDesktop(); local
690 if (dt) {
691 spacing_h /= dt->current_zoom();
692 spacing_v /= dt->current_zoom();
H A Dcanvas-grid.cpp1006 SPDesktop const *dt = _snapmanager->getDesktop(); local
1007 double const zoom = dt ? dt->current_zoom() : 1;
1034 SPDesktop const *dt = _snapmanager->getDesktop(); local
1035 if (dt) {
1036 spacing /= dt->current_zoom();
/inkscape/src/extension/dbus/
H A Ddbus-init.cpp176 dbus_init_desktop_interface (SPDesktop * dt) argument
183 out << dt->dkey;
186 //printf("DKEY: %d\n, NUMBER %d\n NAME: %s\n", dt->dkey, dt->number, name.c_str());
194 doc_interface->target = Inkscape::ActionContext(dt);
196 dt->dbus_document_interface=doc_interface;
204 SPDesktop * dt = sp_file_new_default(); local
208 out << dt->dkey;
/inkscape/src/2geom/
H A Dsolve-bezier.cpp71 double dt = 0; local
77 dt = double(i) / bz.order();
78 left_bound = dt * bz[0] / (bz[0] - bz[i]);
83 if (dt == 0) return;
85 std::cout << "dt = " << dt << std::endl;
/inkscape/src/ui/widget/
H A Dpage-sizer.cpp338 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
339 SPNamedView *nv = dt->getNamedView();
704 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
705 if (!dt) {
725 SPAction *action = verb->get_action(Inkscape::ActionContext(dt));
827 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
828 if (dt) {
829 SPDocument *doc = dt->getDocument();
833 SPNamedView *nv = dt->getNamedView();
921 SPDesktop *dt local
951 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
[all...]
H A Dregistered-widget.h101 SPDesktop* dt = SP_ACTIVE_DESKTOP; local
102 local_repr = reinterpret_cast<SPObject *>(dt->getNamedView())->getRepr();
103 local_doc = dt->getDocument();
H A Dregistered-widget.cpp422 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
423 if (!dt)
425 local_repr = dt->getNamedView()->getRepr();
426 local_doc = dt->getDocument();
/inkscape/src/widgets/
H A Dspray-toolbar.cpp243 SPDesktop *dt = SP_ACTIVE_DESKTOP; local
244 if (Inkscape::UI::Dialog::CloneTiler *ct = get_clone_tiler_panel(dt)){
245 dt->_dlg_mgr->showDialog("CloneTiler");
/inkscape/src/live_effects/parameter/
H A Dpath.cpp208 PathParam::param_editOncanvas(SPItem *item, SPDesktop * dt) argument
213 if (!tools_isactive(dt, TOOLS_NODES)) {
214 tools_switch(dt, TOOLS_NODES);
217 Inkscape::UI::Tools::NodeTool *nt = static_cast<Inkscape::UI::Tools::NodeTool*>(dt->event_context);
/inkscape/src/ui/dialog/
H A Dtransformation.cpp203 SPDesktop *dt = getDesktop(); local
204 SPNamedView *nv = dt->getNamedView();
H A Dxml-tree.cpp833 void XmlTree::on_document_replaced(SPDesktop *dt, SPDocument *doc) argument
838 sel_changed_connection = dt->getSelection()->connectChanged(sigc::hide(sigc::mem_fun(this, &XmlTree::on_desktop_selection_changed)));
H A Ddocument-properties.cpp1368 SPDesktop *dt = getDesktop(); local
1369 SPNamedView *nv = dt->getNamedView();
1411 SPDesktop *dt = getDesktop(); local
1412 SPNamedView *nv = dt->getNamedView();
1447 SPDesktop *dt = getDesktop();
1448 SPNamedView *nv = dt->getNamedView();
1461 SPRoot *root = dt->getDocument()->getRoot();
1462 _rcb_antialias.set_xml_target(root->getRepr(), dt->getDocument());
1469 double doc_w = dt->getDocument()->getRoot()->width.value;
1470 Glib::ustring doc_w_unit = unit_table.getUnit(dt
1632 SPDesktop *dt = getDesktop(); local
[all...]
/inkscape/src/ui/tools/
H A Dfreehand-base.cpp619 SPDesktop *dt = ec->desktop; local
620 SnapManager &m = dt->namedview->snap_manager;
621 Inkscape::Selection *selection = dt->getSelection();
626 m.setup(dt, true, selection->singleItem());

Completed in 96 milliseconds

12