Lines Matching defs:namedview
2 * <sodipodi:namedview> implementation
35 #include "sp-namedview.h"
613 * add a grid item from SVG-repr. Check if this namedview already has a gridobject for this one! If desktop=null, add grid-canvasitem to all desktops of this namedview,
619 //check if namedview already has an object for this grid
781 SPNamedView *nv = desktop->namedview;
861 SPNamedView *nv = desktop->namedview;
890 Inkscape::XML::Node *view = desktop->namedview->getRepr();
1003 void sp_namedview_show_grids(SPNamedView * namedview, bool show, bool dirty_document)
1005 namedview->grids_visible = show;
1007 SPDocument *doc = namedview->document;
1008 Inkscape::XML::Node *repr = namedview->getRepr();
1012 sp_repr_set_boolean(repr, "showgrid", namedview->grids_visible);
1077 SPObject *nv = sp_item_group_get_child_by_name(document->getRoot(), NULL, "sodipodi:namedview");
1085 nv = sp_item_group_get_child_by_name(document->getRoot(), nv, "sodipodi:namedview");
1116 * Gets page fitting margin information from the namedview node in the XML.
1117 * \param nv_repr reference to this document's namedview
1150 * Returns namedview's default unit.
1167 Inkscape::CanvasGrid * sp_namedview_get_first_enabled_grid(SPNamedView *namedview)
1169 for(std::vector<Inkscape::CanvasGrid *>::const_iterator it=namedview->grids.begin();it!=namedview->grids.end();++it ) {