Searched refs:conversion (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/ui/widget/
H A Dscalar-unit.cpp131 double conversion = _unit_menu->getConversion(units); local
132 Scalar::setValue(number / conversion);
148 double conversion = _unit_menu->getConversion(unit_name); local
149 return conversion * Scalar::getValue();
240 double conversion = _unit_menu->getConversion(lastUnits); local
241 convertedVal = Scalar::getValue() / conversion;
/inkscape/src/ui/dialog/
H A Dtransformation.cpp590 double conversion = _units_move.getConversion("px"); local
591 _scalar_move_horizontal.setValue(x / conversion);
592 _scalar_move_vertical.setValue(y / conversion);
1036 double conversion = _units_move.getConversion("px"); local
1045 _scalar_move_horizontal.setValue((x - bbox->min()[Geom::X]) / conversion);
1046 _scalar_move_vertical.setValue(( y - bbox->min()[Geom::Y]) / conversion);
1049 _scalar_move_horizontal.setValue((bbox->min()[Geom::X] + x) / conversion);
1050 _scalar_move_vertical.setValue(( bbox->min()[Geom::Y] + y) / conversion);

Completed in 17 milliseconds