Searched defs:unit_type (Results 1 - 5 of 5) sorted by relevance

/inkscape/src/ui/widget/
H A Dunit-menu.cpp32 bool UnitMenu::setUnitType(UnitType unit_type) argument
35 UnitTable::UnitMap m = unit_table.units(unit_type);
40 _type = unit_type;
41 set_active_text(unit_table.primary(unit_type));
46 bool UnitMenu::resetUnitType(UnitType unit_type) argument
50 return setUnitType(unit_type);
H A Dscalar-unit.cpp26 UnitType unit_type,
40 _unit_menu->setUnitType(unit_type);
91 void ScalarUnit::setUnitType(UnitType unit_type) argument
94 _unit_menu->setUnitType(unit_type);
98 void ScalarUnit::resetUnitType(UnitType unit_type) argument
101 _unit_menu->resetUnitType(unit_type);
25 ScalarUnit(Glib::ustring const &label, Glib::ustring const &tooltip, UnitType unit_type, Glib::ustring const &suffix, Glib::ustring const &icon, UnitMenu *unit_menu, bool mnemonic) argument
H A Dunit-tracker.cpp28 UnitTracker::UnitTracker(UnitType unit_type) : argument
42 UnitTable::UnitMap m = unit_table.units(unit_type);
H A Dpreferences-widget.cpp321 double default_value, UnitType unit_type, Glib::ustring const &default_unit)
324 _is_percent = (unit_type == UNIT_TYPE_DIMENSIONLESS);
326 resetUnitType(unit_type);
319 init(Glib::ustring const &prefs_path, double lower, double upper, double step_increment, double default_value, UnitType unit_type, Glib::ustring const &default_unit) argument
/inkscape/src/extension/internal/
H A Dimage-resolution.cpp144 int unit_type; local
147 png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type);
149 if (unit_type == PNG_RESOLUTION_METER) {

Completed in 341 milliseconds