/inkscape/src/ |
H A D | satisfied-guide-cns.cpp | 12 SPNamedView const &nv = *desktop.getNamedView(); local 13 for(std::vector<SPGuide *>::const_iterator it = nv.guides.begin(); it != nv.guides.end(); ++it) {
|
H A D | sp-metadata.cpp | 126 SPObject *nv; local 130 nv = sp_item_group_get_child_by_name( document->getRoot(), NULL, 132 g_assert (nv != NULL); 134 return (SPMetadata *)nv;
|
H A D | sp-namedview.cpp | 53 static void sp_namedview_setup_guides(SPNamedView * nv); 54 static void sp_namedview_lock_guides(SPNamedView * nv); 102 static void sp_namedview_generate_old_grid(SPNamedView * /*nv*/, SPDocument *document, Inkscape::XML::Node *repr) { 255 //g_object_set(G_OBJECT(g), "color", nv->guidecolor, "hicolor", nv->guidehicolor, NULL); 617 sp_namedview_add_grid(SPNamedView *nv, Inkscape::XML::Node *repr, SPDesktop *desktop) { argument 620 for(std::vector<Inkscape::CanvasGrid *>::const_iterator it=nv->grids.begin();it!=nv->grids.end();++it ) { 630 if (!nv->document) { 634 grid = Inkscape::CanvasGrid::NewGrid(nv, rep 781 SPNamedView *nv = desktop->namedview; local 861 SPNamedView *nv = desktop->namedview; local 940 sp_namedview_setup_guides(SPNamedView *nv) argument 947 sp_namedview_lock_guides(SPNamedView *nv) argument 1077 SPObject *nv = sp_item_group_get_child_by_name(document->getRoot(), NULL, "sodipodi:namedview"); local [all...] |
H A D | desktop.cpp | 152 SPDesktop::init (SPNamedView *nv, SPCanvas *aCanvas, Inkscape::UI::View::EditWidgetInterface *widget) argument 165 namedview = nv; 1728 SPNamedView *nv=SP_NAMEDVIEW(obj); local 1731 if (nv->pagecheckerboard) { 1734 desktop->canvas->setBackgroundColor(nv->pagecolor); 1738 if (nv->showborder) { 1742 ((CtrlRect *) desktop->page_border)->setColor(nv->bordercolor, false, 0x00000000); 1743 if (nv->pageshadow) { 1744 ((CtrlRect *) desktop->page_border)->setShadow(nv->pageshadow, nv [all...] |
H A D | document.cpp | 588 SPNamedView const* nv = sp_document_namedview(this, NULL); local 589 return nv ? nv->getDisplayUnit() : unit_table.getUnit("px"); 597 SPNamedView const* nv = sp_document_namedview(this, NULL); local 598 return nv ? nv->getSVGUnit() : *unit_table.getUnit("px"); 800 SPNamedView *nv = sp_document_namedview(this, NULL); local 808 if (with_margins && nv) { 809 if (nv != NULL) { 810 margin_top = nv [all...] |
H A D | main.cpp | 1633 Inkscape::XML::Node *nv = sp_repr_lookup_name (doc->rroot, "sodipodi:namedview"); local 1634 if (nv && nv->attribute("pagecolor")){ 1635 bgcolor = sp_svg_read_color(nv->attribute("pagecolor"), 0xffffff00); 1637 if (nv && nv->attribute("inkscape:pageopacity")){ 1639 sp_repr_get_double (nv, "inkscape:pageopacity", &opacity);
|
/inkscape/src/display/ |
H A D | nr-3dutils.cpp | 34 gdouble nv = norm(v); local 35 //TODO test nv == 0 37 v[j] /= nv;
|
H A D | canvas-axonomgrid.cpp | 157 CanvasAxonomGrid::CanvasAxonomGrid (SPNamedView * nv, Inkscape::XML::Node * in_repr, SPDocument * in_doc) argument 158 : CanvasGrid(nv, in_repr, in_doc, GRID_AXONOMETRIC)
|
H A D | canvas-grid.cpp | 146 CanvasGrid::CanvasGrid(SPNamedView * nv, Inkscape::XML::Node * in_repr, SPDocument *in_doc, GridType type) argument 155 namedview = nv; 253 CanvasGrid::NewGrid(SPNamedView * nv, Inkscape::XML::Node * repr, SPDocument * doc, GridType gridtype) argument 263 return dynamic_cast<CanvasGrid*>(new CanvasXYGrid(nv, repr, doc)); 265 return dynamic_cast<CanvasGrid*>(new CanvasAxonomGrid(nv, repr, doc)); 463 CanvasXYGrid::CanvasXYGrid (SPNamedView * nv, Inkscape::XML::Node * in_repr, SPDocument * in_doc) argument 464 : CanvasGrid(nv, in_repr, in_doc, GRID_RECTANGULAR)
|
/inkscape/src/ui/dialog/ |
H A D | print.cpp | 70 Inkscape::XML::Node *nv = sp_repr_lookup_name (junk->_doc->rroot, "sodipodi:namedview"); local 71 if (nv && nv->attribute("pagecolor")){ 72 bgcolor = sp_svg_read_color(nv->attribute("pagecolor"), 0xffffff00); 74 if (nv && nv->attribute("inkscape:pageopacity")){ 76 sp_repr_get_double (nv, "inkscape:pageopacity", &opacity);
|
H A D | transformation.cpp | 204 SPNamedView *nv = dt->getNamedView(); local 205 if (nv->display_units) { 206 _units_move.setUnit(nv->display_units->abbr);
|
H A D | document-properties.cpp | 1369 SPNamedView *nv = dt->getNamedView(); local 1378 for(std::vector<Inkscape::CanvasGrid *>::const_iterator it = nv->grids.begin(); it != nv->grids.end(); ++it) { 1412 SPNamedView *nv = dt->getNamedView(); local 1413 (void)nv; 1448 SPNamedView *nv = dt->getNamedView(); local 1454 _rcb_checkerboard.setActive (nv->pagecheckerboard); 1455 _rcp_bg.setRgba32 (nv->pagecolor); 1456 _rcb_canb.setActive (nv->showborder); 1457 _rcb_bord.setActive (nv 1651 SPNamedView *nv = dt->getNamedView(); local [all...] |
/inkscape/src/ui/widget/ |
H A D | page-sizer.cpp | 339 SPNamedView *nv = dt->getNamedView(); local 341 if (nv->page_size_units) { 342 _dimensionUnits.setUnit(nv->page_size_units->abbr); 343 } else if (nv->display_units) { 344 _dimensionUnits.setUnit(nv->display_units->abbr); 709 SPNamedView *nv; local 713 && (nv = sp_document_namedview(doc, 0)) 714 && (nv_repr = nv->getRepr())) { 833 SPNamedView *nv = dt->getNamedView(); local 836 ss << _("User units per ") << nv 924 SPNamedView *nv = dt->getNamedView(); local [all...] |
/inkscape/src/xml/ |
H A D | event.h | 171 Inkscape::Util::ptr_shared<char> nv, 174 oldval(ov), newval(nv) {} 196 Inkscape::Util::ptr_shared<char> nv, 198 : Event(repr, next), oldval(ov), newval(nv) {} 169 EventChgAttr(Node *repr, GQuark k, Inkscape::Util::ptr_shared<char> ov, Inkscape::Util::ptr_shared<char> nv, Event *next) argument 194 EventChgContent(Node *repr, Inkscape::Util::ptr_shared<char> ov, Inkscape::Util::ptr_shared<char> nv, Event *next) argument
|
/inkscape/src/extension/implementation/ |
H A D | script.cpp | 773 SPNamedView *nv = sp_document_namedview(mydoc, NULL); local 777 if ( nv != NULL) 779 if( nv->default_layer_id != 0 ) { 784 layer = document->getObjectById(g_quark_to_string(nv->default_layer_id));
|
/inkscape/src/ui/ |
H A D | clipboard.cpp | 1184 Inkscape::XML::Node *nv = sp_repr_lookup_name (_clipboardSPDoc->rroot, "sodipodi:namedview"); local 1185 if (nv && nv->attribute("pagecolor")) { 1186 bgcolor = sp_svg_read_color(nv->attribute("pagecolor"), 0xffffff00); 1188 if (nv && nv->attribute("inkscape:pageopacity")) { 1190 sp_repr_get_double(nv, "inkscape:pageopacity", &opacity);
|
/inkscape/src/extension/internal/ |
H A D | wmf-print.cpp | 151 Inkscape::XML::Node *nv = sp_repr_lookup_name(doc->rroot, "sodipodi:namedview"); local 152 if (nv) { 153 const char *p1 = nv->attribute("pagecolor");
|
H A D | emf-print.cpp | 154 Inkscape::XML::Node *nv = sp_repr_lookup_name(doc->rroot, "sodipodi:namedview"); local 155 if (nv) { 156 const char *p1 = nv->attribute("pagecolor");
|
/inkscape/src/ui/tools/ |
H A D | flood-tool.cpp | 775 SPNamedView *nv = desktop->getNamedView(); local 776 bgcolor = nv->pagecolor;
|
/inkscape/src/widgets/ |
H A D | desktop-widget.cpp | 1089 SPNamedView *nv = dtw->desktop->getNamedView(); local 1090 Inkscape::XML::Node *repr = nv->getRepr(); 1092 if ( down != nv->lockguides ) { 1093 nv->lockguides = down; 1811 SPNamedView *nv=SP_NAMEDVIEW(obj); local 1814 this->dt2r = 1. / nv->display_units->factor; 1815 this->ruler_origin = Geom::Point(0,0); //nv->gridorigin; Why was the grid origin used here? 1817 sp_ruler_set_unit(SP_RULER (this->vruler), nv->getDisplayUnit()); 1818 sp_ruler_set_unit(SP_RULER (this->hruler), nv->getDisplayUnit()); 1848 tracker->setActiveUnit( nv [all...] |
H A D | toolbox.cpp | 1575 SPNamedView *nv = dt->getNamedView(); local 1576 if (nv == NULL) { 1581 SPDocument *doc = nv->document; 1582 Inkscape::XML::Node *repr = nv->getRepr(); 1600 v = nv->snap_manager.snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_BBOX_CATEGORY); 1604 v = nv->snap_manager.snapprefs.isSnapButtonEnabled(Inkscape::SNAPTARGET_BBOX_EDGE); 1608 v = nv->snap_manager.snapprefs.isSnapButtonEnabled(Inkscape::SNAPTARGET_BBOX_CORNER); 1612 v = nv->snap_manager.snapprefs.isTargetSnappable(Inkscape::SNAPTARGET_NODE_CATEGORY); 1616 v = nv->snap_manager.snapprefs.isSnapButtonEnabled(Inkscape::SNAPTARGET_PATH); 1620 v = nv 1934 SPNamedView *nv = desktop->getNamedView(); local [all...] |