Searched refs:gridtype (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/display/
H A Dcanvas-grid.h76 static CanvasGrid* NewGrid(SPNamedView * nv, Inkscape::XML::Node * repr, SPDocument *doc, GridType gridtype);
77 static void writeNewGridToRepr(Inkscape::XML::Node * repr, SPDocument * doc, GridType gridtype);
119 GridType gridtype; member in class:Inkscape::CanvasGrid
H A Dcanvas-grid.cpp147 : visible(true), gridtype(type)
174 return _(grid_name[gridtype]);
180 return grid_svgname[gridtype];
186 return gridtype;
231 CanvasGrid::writeNewGridToRepr(Inkscape::XML::Node * repr, SPDocument * doc, GridType gridtype) argument
234 if (gridtype > GRID_MAXTYPENR) return;
241 newnode->setAttribute("type", getSVGName(gridtype));
250 * Creates a new CanvasGrid object of type gridtype
253 CanvasGrid::NewGrid(SPNamedView * nv, Inkscape::XML::Node * repr, SPDocument * doc, GridType gridtype) argument
261 switch (gridtype) {
[all...]
/inkscape/src/
H A Dsp-namedview.h98 void writeNewGrid(SPDocument *document,int gridtype);
H A Dsp-namedview.cpp629 Inkscape::GridType gridtype = Inkscape::CanvasGrid::getGridTypeFromSVGName(repr->attribute("type")); local
634 grid = Inkscape::CanvasGrid::NewGrid(nv, repr, nv->document, gridtype);
770 void SPNamedView::writeNewGrid(SPDocument *document,int gridtype) argument
773 Inkscape::CanvasGrid::writeNewGridToRepr(this->getRepr(),document,static_cast<Inkscape::GridType>(gridtype));

Completed in 20 milliseconds