Searched refs:display_units (Results 1 - 24 of 24) sorted by relevance

/inkscape/src/
H A Dsp-namedview.h68 Inkscape::Util::Unit const *display_units; // Units used for the UI (*not* the same as units of SVG coordinates) member in class:SPNamedView::Inkscape::Util
H A Dsp-guide.cpp491 GString *position_string_x = g_string_new(x_q.string(namedview->display_units).c_str());
492 GString *position_string_y = g_string_new(y_q.string(namedview->display_units).c_str());
H A Dsp-namedview.cpp72 this->display_units = NULL;
573 this->display_units = new_unit;
1155 return display_units ? display_units : unit_table.getUnit("px");
H A Dseltrans.cpp1313 GString *xs = g_string_new(x_q.string(_desktop->namedview->display_units).c_str());
1314 GString *ys = g_string_new(y_q.string(_desktop->namedview->display_units).c_str());
1459 GString *xs = g_string_new(x_q.string(_desktop->namedview->display_units).c_str());
1460 GString *ys = g_string_new(y_q.string(_desktop->namedview->display_units).c_str());
H A Dverbs.cpp1852 if (dt->namedview->display_units && (dt->namedview->display_units->abbr == abbr))
/inkscape/src/ui/widget/
H A Dpage-sizer.cpp343 } else if (nv->display_units) {
344 _dimensionUnits.setUnit(nv->display_units->abbr);
836 ss << _("User units per ") << nv->display_units->abbr << "." ;
842 Inkscape::Util::Quantity::convert( scale[Geom::X], "px", nv->display_units );
854 Inkscape::Util::Quantity::convert( scale[Geom::Y], "px", nv->display_units );
926 double scaleX_inv = Inkscape::Util::Quantity(1.0/value, nv->display_units ).value("px");
H A Dselected-style.cpp499 _sw_unit = desktop->getNamedView()->display_units;
/inkscape/src/ui/dialog/
H A Dguides.cpp228 if (_desktop->namedview->display_units) {
229 _unit_menu.setUnit( _desktop->namedview->display_units->abbr );
H A Dtransformation.cpp205 if (nv->display_units) {
206 _units_move.setUnit(nv->display_units->abbr);
H A Ddocument-properties.cpp1465 if (nv->display_units) {
1466 _rum_deflt.setUnit (nv->display_units->abbr);
H A Dexport.cpp204 unit_selector.setUnit(desktop->getNamedView()->display_units->abbr);
H A Dclonetiler.cpp1110 unit_menu->setUnit(SP_ACTIVE_DESKTOP->getNamedView()->display_units->abbr);
/inkscape/src/ui/tools/
H A Darc-tool.cpp398 GString *xs = g_string_new(rdimx_q.string(desktop->namedview->display_units).c_str());
399 GString *ys = g_string_new(rdimy_q.string(desktop->namedview->display_units).c_str());
H A Drect-tool.cpp414 GString *xs = g_string_new(rdimx_q.string(desktop->namedview->display_units).c_str());
415 GString *ys = g_string_new(rdimy_q.string(desktop->namedview->display_units).c_str());
H A Dspiral-tool.cpp388 GString *rads = g_string_new(q.string(desktop->namedview->display_units).c_str());
H A Dstar-tool.cpp404 GString *rads = g_string_new(q.string(desktop->namedview->display_units).c_str());
H A Dtext-tool.cpp584 GString *xs = g_string_new(x_q.string(desktop->namedview->display_units).c_str());
585 GString *ys = g_string_new(y_q.string(desktop->namedview->display_units).c_str());
H A Dpen-tool.cpp1309 GString *dist = g_string_new(q.string(desktop->namedview->display_units).c_str());
/inkscape/src/widgets/
H A Dstroke-style.cpp207 unitSelector->setUnit(desktop->getNamedView()->display_units->abbr);
208 _old_unit = desktop->getNamedView()->display_units;
922 unitSelector->setUnit(SP_ACTIVE_DESKTOP->getNamedView()->display_units->abbr);
H A Dlpe-toolbar.cpp283 tracker->setActiveUnit(desktop->getNamedView()->display_units);
H A Ddesktop-widget.cpp1741 dtw->dt2r = 1. / namedview->display_units->factor;
1814 this->dt2r = 1. / nv->display_units->factor;
1848 tracker->setActiveUnit( nv->display_units );
1854 gtk_widget_set_tooltip_text(this->hruler_box, gettext(nv->display_units->name_plural.c_str()));
1855 gtk_widget_set_tooltip_text(this->vruler_box, gettext(nv->display_units->name_plural.c_str()));
H A Dnode-toolbar.cpp333 Unit doc_units = *desktop->getNamedView()->display_units;
H A Dselect-toolbar.cpp430 tracker->setActiveUnit( desktop->getNamedView()->display_units );
/inkscape/src/ui/tool/
H A Dnode.cpp570 GString *x = g_string_new(x_q.string(_desktop->namedview->display_units).c_str());
571 GString *y = g_string_new(y_q.string(_desktop->namedview->display_units).c_str());
572 GString *len = g_string_new(len_q.string(_desktop->namedview->display_units).c_str());
1472 GString *x = g_string_new(x_q.string(_desktop->namedview->display_units).c_str());
1473 GString *y = g_string_new(y_q.string(_desktop->namedview->display_units).c_str());

Completed in 692 milliseconds