Lines Matching refs:grid
23 #include "display/canvas-grid.h"
155 // generate new xy grid with the correct settings
159 Inkscape::XML::Node *newnode = xml_doc->createElement("inkscape:grid");
186 // SPDocumentUndo::done(doc, SP_VERB_DIALOG_NAMEDVIEW, _("Create new grid from pre0.46 grid settings"));
262 // backwards compatibility with grid settings (pre 0.46)
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,
618 Inkscape::CanvasGrid* grid = NULL;
619 //check if namedview already has an object for this grid
622 grid = (*it);
627 if (!grid) {
628 //create grid object
634 grid = Inkscape::CanvasGrid::NewGrid(nv, repr, nv->document, gridtype);
635 nv->grids.push_back(grid);
641 grid->createCanvasItem(*it);
645 grid->createCanvasItem(desktop);
648 return grid;
654 if (!strcmp(child->name(), "inkscape:grid")) {
688 if (!strcmp(child->name(), "inkscape:grid")) {
739 if (!strcmp(child->name(), "inkscape:grid")) {
1165 * Returns the first grid it could find that isEnabled(). Returns NULL, if none is enabled