Lines Matching defs:nv
588 SPNamedView const* nv = sp_document_namedview(this, NULL);
589 return nv ? nv->getDisplayUnit() : unit_table.getUnit("px");
597 SPNamedView const* nv = sp_document_namedview(this, NULL);
598 return nv ? nv->getSVGUnit() : *unit_table.getUnit("px");
800 SPNamedView *nv = sp_document_namedview(this, NULL);
808 if (with_margins && nv) {
809 if (nv != NULL) {
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);
835 if(nv) {
837 nv->translateGuides(tr2);
838 nv->translateGrids(tr2);
841 nv->scrollAllDesktops(-tr2[0], tr2[1], false);