Lines Matching refs:nv_units
797 Inkscape::Util::Unit const *nv_units = unit_table.getUnit("px");
799 nv_units = unit_table.getUnit(root->height.unit);
810 margin_top = nv->getMarginLength("fit-margin-top", nv_units, unit_table.getUnit("px"), w, h, false);
811 margin_left = nv->getMarginLength("fit-margin-left", nv_units, unit_table.getUnit("px"), w, h, true);
812 margin_right = nv->getMarginLength("fit-margin-right", nv_units, unit_table.getUnit("px"), w, h, true);
813 margin_bottom = nv->getMarginLength("fit-margin-bottom", nv_units, unit_table.getUnit("px"), w, h, false);
814 margin_top = Inkscape::Util::Quantity::convert(margin_top, nv_units, "px");
815 margin_left = Inkscape::Util::Quantity::convert(margin_left, nv_units, "px");
816 margin_right = Inkscape::Util::Quantity::convert(margin_right, nv_units, "px");
817 margin_bottom = Inkscape::Util::Quantity::convert(margin_bottom, nv_units, "px");
826 Inkscape::Util::Quantity(Inkscape::Util::Quantity::convert(rect_with_margins.width(), "px", nv_units), nv_units),
827 Inkscape::Util::Quantity(Inkscape::Util::Quantity::convert(rect_with_margins.height(), "px", nv_units), nv_units)