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

/inkscape/src/ui/widget/
H A Dscalar-unit.cpp232 Inkscape::Util::Unit const *old_unit = unit_table.getUnit(lastUnits); 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/widgets/
H A Dtext-toolbar.cpp601 int old_unit = GPOINTER_TO_INT( g_object_get_data(tbl, "lineheight_unit")); local
631 if ((unit->abbr == "" || unit->abbr == "em") && old_unit == SP_CSS_UNIT_EX) {
633 } else if ((unit->abbr) == "ex" && (old_unit == SP_CSS_UNIT_EM || old_unit == SP_CSS_UNIT_NONE) ) {
635 } else if ((unit->abbr == "" || unit->abbr == "em") && old_unit == SP_CSS_UNIT_PERCENT) {
637 } else if ((unit->abbr) == "%" && (old_unit == SP_CSS_UNIT_EM || old_unit == SP_CSS_UNIT_NONE) ) {
639 } else if ((unit->abbr) == "ex" && old_unit == SP_CSS_UNIT_PERCENT) {
641 } else if ((unit->abbr) == "%" && old_unit == SP_CSS_UNIT_EX) {
660 if (old_unit
[all...]

Completed in 18 milliseconds