/inkscape/src/live_effects/parameter/ |
H A D | unit.cpp | 48 return g_strdup(unit->abbr.c_str()); 66 return unit->abbr.c_str(); 79 unit_menu->setUnit(unit->abbr);
|
/inkscape/src/ui/widget/ |
H A D | unit-menu.cpp | 56 append(u.abbr); 82 return getUnit()->abbr;
|
H A D | unit-tracker.cpp | 93 if (storedUnit && (!unit->abbr.compare(storedUnit))) { 104 void UnitTracker::setActiveUnitByAbbr(gchar const *abbr) argument 106 Inkscape::Util::Unit const *u = unit_table.getUnit(abbr); 122 gtk_list_store_set(_store, &iter, COLUMN_STRING, u ? u->abbr.c_str() : "NULL", -1); 129 gtk_list_store_set(_store, &iter, COLUMN_STRING, u ? u->abbr.c_str() : "NULL", -1); 209 gchar *abbr; local 210 gtk_tree_model_get(GTK_TREE_MODEL(_store), &iter, COLUMN_STRING, &abbr, -1); local 211 Inkscape::Util::Unit const *unit = unit_table.getUnit(abbr);
|
H A D | scalar-unit.cpp | 228 Glib::ustring abbr = _unit_menu->getUnitAbbr(); local 229 _suffix->set_label(abbr); 231 Inkscape::Util::Unit const *new_unit = unit_table.getUnit(abbr); 245 lastUnits = abbr;
|
H A D | unit-tracker.h | 41 void setActiveUnitByAbbr(gchar const *abbr);
|
H A D | preferences-widget.cpp | 354 prefs->setDoubleUnit(_prefs_path, getValue(getUnit()->abbr), getUnit()->abbr); 468 Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit"); local 469 if (abbr == "cm") { 471 } else if (abbr == "in") { 473 } else if (abbr == "mm") { 475 } else if (abbr == "pc") { 477 } else if (abbr == "pt") { 479 } else if (abbr == "px") {
|
H A D | page-sizer.cpp | 342 _dimensionUnits.setUnit(nv->page_size_units->abbr); 344 _dimensionUnits.setUnit(nv->display_units->abbr); 578 _unit = w.unit->abbr; 611 _dimensionWidth.setUnit(w.unit->abbr); 613 _dimensionHeight.setUnit(h.unit->abbr); 836 ss << _("User units per ") << nv->display_units->abbr << "." ; 895 if (_unit != _dimensionUnits.getUnit()->abbr) return; 904 _unit = _dimensionUnits.getUnit()->abbr;
|
H A D | style-swatch.cpp | 348 _sw_unit? _sw_unit->abbr.c_str() : "px");
|
H A D | selected-style.cpp | 505 if (mi && mi->get_label() == _sw_unit->abbr) { 1158 _sw_unit? _sw_unit->abbr.c_str() : "px",
|
/inkscape/src/util/ |
H A D | units.cpp | 160 abbr(), 169 Glib::ustring const &abbr, 175 , abbr(abbr) 224 char const *astr = abbr.c_str(); 279 _unit_map[make_unit_code(u.abbr.c_str())] = new Unit(u); 281 _primary_unit[u.type] = u.abbr; 285 Unit const *UnitTable::getUnit(char const *abbr) const 287 UnitCodeMap::const_iterator f = _unit_map.find(make_unit_code(abbr)); 350 Glib::ustring abbr; local 165 Unit(UnitType type, double factor, Glib::ustring const &name, Glib::ustring const &name_plural, Glib::ustring const &abbr, Glib::ustring const &description) argument [all...] |
H A D | units.h | 48 Glib::ustring const &abbr, 70 Glib::ustring abbr; member in class:Inkscape::Util::Unit 169 /** Returns the default unit abbr for the given type */
|
/inkscape/src/widgets/ |
H A D | text-toolbar.cpp | 512 return (unit->abbr == "" || unit->abbr == "em" || unit->abbr == "ex" || unit->abbr == "%"); 537 temp_stream << 1 << unit->abbr; 547 osfs << gtk_adjustment_get_value(adj) << unit->abbr; 614 temp_stream << 1 << unit->abbr; 631 if ((unit->abbr == "" || unit->abbr == "em") && old_unit == SP_CSS_UNIT_EX) { 633 } else if ((unit->abbr) [all...] |
H A D | lpe-toolbar.cpp | 184 prefs->setString("/tools/lpetool/unit", unit->abbr); 289 prefs->setString("/tools/lpetool/unit", unit->abbr);
|
H A D | paintbucket-toolbar.cpp | 88 prefs->setString("/tools/paintbucket/offsetunits", unit->abbr);
|
H A D | measure-toolbar.cpp | 140 Glib::ustring const unit = tracker->getActiveUnit()->abbr;
|
H A D | stroke-style.cpp | 207 unitSelector->setUnit(desktop->getNamedView()->display_units->abbr); 922 unitSelector->setUnit(SP_ACTIVE_DESKTOP->getNamedView()->display_units->abbr);
|
H A D | ruler.cpp | 451 g_value_set_string (value, priv->unit->abbr.c_str());
|
/inkscape/src/ui/dialog/ |
H A D | guides.cpp | 63 _angle_unit_status = _spin_angle.getUnit()->abbr; 229 _unit_menu.setUnit( _desktop->namedview->display_units->abbr );
|
H A D | document-properties.cpp | 1466 _rum_deflt.setUnit (nv->display_units->abbr); 1470 Glib::ustring doc_w_unit = unit_table.getUnit(dt->getDocument()->getRoot()->width.unit)->abbr; 1478 Glib::ustring doc_h_unit = unit_table.getUnit(dt->getDocument()->getRoot()->height.unit)->abbr; 1689 os << doc_unit->abbr;
|
H A D | transformation.cpp | 206 _units_move.setUnit(nv->display_units->abbr);
|
/inkscape/src/ui/tools/ |
H A D | lpe-tool.cpp | 418 arc_length = g_strdup_printf("%.2f %s", lengthval, unit->abbr.c_str()); 456 gchar *arc_length = g_strdup_printf("%.2f %s", lengthval, unit->abbr.c_str());
|
/inkscape/src/extension/internal/ |
H A D | metafile-inout.cpp | 196 os << doc_unit->abbr;
|
/inkscape/src/ |
H A D | verbs.cpp | 1851 Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit"); local 1852 if (dt->namedview->display_units && (dt->namedview->display_units->abbr == abbr))
|
/inkscape/src/display/ |
H A D | canvas-axonomgrid.cpp | 413 _rumg->setUnit (gridunit->abbr); 455 _rumg.setUnit (gridunit->abbr);
|
H A D | canvas-grid.cpp | 760 _rumg->setUnit (gridunit->abbr); 809 _rumg.setUnit (gridunit->abbr);
|