/inkscape/src/ui/widget/ |
H A D | notebook-page.cpp | 15 # include <gtkmm/grid.h>
|
H A D | anchor-selector.h | 21 #include <gtkmm/grid.h>
|
H A D | color-icc-selector.h | 10 #include <gtkmm/grid.h>
|
H A D | color-notebook.h | 23 #include <gtkmm/grid.h>
|
H A D | color-wheel-selector.h | 20 #include <gtkmm/grid.h>
|
H A D | color-scales.h | 9 #include <gtkmm/grid.h>
|
H A D | page-sizer.h | 30 # include <gtkmm/grid.h>
|
H A D | preferences-widget.h | 35 #include <gtkmm/grid.h>
|
/inkscape/share/extensions/ |
H A D | grid_polar.py | 5 ##This extension allows you to draw a polar grid in Inkscape. 133 # Embed grid in group 140 grid = inkex.etree.SubElement(self.current_layer, 'g', g_attribs) 150 'MajorDivCircle'+str(i)+':R'+str(i*dr), grid) 156 'MinorDivCircle'+str(i)+':Log'+str(j), grid) 161 'MinorDivCircle'+str(i)+':R'+str(i*dr), grid) 166 self.options.a_divs_th, 'RadialGridline'+str(i), grid) 171 self.options.a_divs_th, 'RadialGridline'+str(i), grid) 178 self.options.a_divs_th, 'RadialGridline'+str(i), grid) 187 self.options.a_subdivs_th, 'RadialMinorGridline'+str(i), grid) [all...] |
H A D | grid_cartesian.py | 5 ##This extension allows you to draw a Cartesian grid in Inkscape. 137 #find the pixel dimensions of the overall grid 141 # Embed grid in group 149 grid = inkex.etree.SubElement(self.current_layer, 'g', g_attribs) 153 majglx = inkex.etree.SubElement(grid, 'g', g_attribs) 157 majgly = inkex.etree.SubElement(grid, 'g', g_attribs) 162 minglx = inkex.etree.SubElement(grid, 'g', g_attribs) 167 mminglx = inkex.etree.SubElement(grid, 'g', g_attribs) 172 mingly = inkex.etree.SubElement(grid, 'g', g_attribs) 177 mmingly = inkex.etree.SubElement(grid, ' [all...] |
H A D | grid_isometric.py | 5 #This extension allow you to draw a isometric grid with inkscape 8 #These grid are used for isometric view in mechanical drawing or piping schematic 94 #Can't generate a grid too flat 99 #Find the pixel dimensions of the overall grid 103 #Embed grid in group 111 grid = inkex.etree.SubElement(self.current_layer, 'g', g_attribs) 115 majglx = inkex.etree.SubElement(grid, 'g', g_attribs) 118 majgly = inkex.etree.SubElement(grid, 'g', g_attribs) 121 majglz = inkex.etree.SubElement(grid, 'g', g_attribs) 125 minglx = inkex.etree.SubElement(grid, ' [all...] |
/inkscape/src/display/ |
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-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.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...] |
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
|
/inkscape/src/ui/dialog/ |
H A D | document-metadata.h | 26 # include <gtkmm/grid.h>
|
H A D | guides.h | 21 #include <gtkmm/grid.h>
|
H A D | polar-arrange-tab.h | 25 #include <gtkmm/grid.h>
|
H A D | calligraphic-profile-rename.cpp | 21 # include <gtkmm/grid.h>
|
H A D | layer-properties.h | 24 #include <gtkmm/grid.h>
|
H A D | align-and-distribute.h | 30 #include <gtkmm/grid.h>
|
/inkscape/src/widgets/ |
H A D | stroke-style.h | 28 #include <gtkmm/grid.h>
|
/inkscape/src/ |
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...] |
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...] |