Searched refs:new_unit (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/ui/widget/
H A Dunit-menu.cpp117 Unit const * new_unit = unit_table.getUnit(new_unit_abbr); local
121 new_unit->factor < 0.0000001) {
126 return old_factor / new_unit->factor;
H A Dscalar-unit.cpp231 Inkscape::Util::Unit const *new_unit = unit_table.getUnit(abbr); member in class:Inkscape::UI::Widget::Inkscape::Util
235 if (old_unit->type == UNIT_TYPE_DIMENSIONLESS && new_unit->type == UNIT_TYPE_LINEAR) {
237 } else if (old_unit->type == UNIT_TYPE_LINEAR && new_unit->type == UNIT_TYPE_DIMENSIONLESS) {
/inkscape/src/
H A Dsp-namedview.cpp555 Inkscape::Util::Unit const *new_unit = px; member in class:Inkscape::Util
566 new_unit = req_unit;
573 this->display_units = new_unit;
579 Inkscape::Util::Unit const *new_unit = NULL; member in class:Inkscape::Util
590 new_unit = req_unit;
597 this->page_size_units = new_unit;
/inkscape/src/widgets/
H A Dstroke-style.cpp574 Inkscape::Util::Unit const *new_unit = unitSelector->getUnit(); member in class:Inkscape::Inkscape::Util
575 if (new_unit->type == Inkscape::Util::UNIT_TYPE_DIMENSIONLESS) {
578 widthSpin->set_value(Inkscape::Util::Quantity::convert(widthSpin->get_value(), _old_unit, new_unit));
579 _old_unit = new_unit;

Completed in 833 milliseconds