Searched defs:grid (Results 1 - 7 of 7) sorted by relevance
/inkscape/src/display/ |
H A D | canvas-axonomgrid.h | 13 #include "canvas-grid.h" 40 bool scaled; /**< Whether the grid is in scaled mode */ 67 CanvasAxonomGridSnapper(CanvasAxonomGrid *grid, SnapManager *sm, Geom::Coord const d); 79 CanvasAxonomGrid *grid; member in class:Inkscape::CanvasAxonomGridSnapper
|
H A D | canvas-grid.h | 2 * Cartesian grid item for the Inkscape canvas. 49 /** All the variables that are tracked for a grid specific canvas item. */ 51 CanvasGrid *grid; // the owning grid object member in struct:Inkscape::GridCanvasItem 90 Geom::Point origin; /**< Origin of the grid */ 138 Geom::Point spacing; /**< Spacing between elements of the grid */ 139 bool scaled[2]; /**< Whether the grid is in scaled mode, which can 162 CanvasXYGridSnapper(CanvasXYGrid *grid, SnapManager *sm, Geom::Coord const d); 173 CanvasXYGrid *grid; member in class:Inkscape::CanvasXYGridSnapper
|
H A D | canvas-axonomgrid.cpp | 24 # include <gtkmm/grid.h> 37 #include "display/canvas-grid.h" 236 // Legacy grid not in 'user units' 249 // Legacy grid not in 'user units' 262 // Legacy grid not in 'user units' 321 gridunit = unit_table.getUnit(value); // Display unit identifier in grid menu 359 _("_Origin X:"), _("X coordinate of grid origin"), "originx", 362 _("O_rigin Y:"), _("Y coordinate of grid origin"), "originy", 374 _("Minor grid line _color:"), _("Minor grid lin 651 CanvasAxonomGridSnapper(CanvasAxonomGrid *grid, SnapManager *sm, Geom::Coord const d) argument [all...] |
H A D | canvas-grid.cpp | 2 * Cartesian grid implementation. 24 # include <gtkmm/grid.h> 38 #include "display/canvas-grid.h" 60 N_("Rectangular grid"), 61 N_("Axonometric grid") 89 griditem->grid = NULL; 108 if ( gridcanvasitem->grid && gridcanvasitem->grid->isVisible() ) { 110 gridcanvasitem->grid->Render(buf); 122 if (gridcanvasitem->grid) { 996 CanvasXYGridSnapper(CanvasXYGrid *grid, SnapManager *sm, Geom::Coord const d) argument [all...] |
/inkscape/src/ |
H A D | desktop-events.cpp | 36 #include "display/canvas-grid.h" 128 Inkscape::CanvasGrid * grid = sp_namedview_get_first_enabled_grid(desktop->namedview); local 129 if (grid){ 130 if (grid->getGridType() == Inkscape::GRID_AXONOMETRIC ) { 131 Inkscape::CanvasAxonomGrid *axonomgrid = dynamic_cast<Inkscape::CanvasAxonomGrid *>(grid);
|
H A D | snap.cpp | 28 #include "display/canvas-grid.h" 169 // It will snap to the grid for which we find the closest snap. This might be a different 170 // grid than to which the objects were initially aligned. I don't see an easy way to fix 176 Inkscape::CanvasGrid *grid = (*it); local 177 const Inkscape::Snapper* snapper = grid->snapper; 179 // To find the nearest multiple of the grid pitch for a given translation t, we 180 // will use the grid snapper. Simply snapping the value t to the grid will do, but 181 // only if the origin of the grid is at (0,0). If it's not then compensate for this 183 Geom::Point const t_offset = t + grid [all...] |
H A D | sp-namedview.cpp | 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; local 619 //check if namedview already has an object for this grid [all...] |
Completed in 26 milliseconds