Searched refs:grid (Results 1 - 25 of 37) sorted by relevance

12

/inkscape/src/ui/widget/
H A Dnotebook-page.cpp15 # include <gtkmm/grid.h>
H A Danchor-selector.h21 #include <gtkmm/grid.h>
H A Dcolor-icc-selector.h10 #include <gtkmm/grid.h>
H A Dcolor-notebook.h23 #include <gtkmm/grid.h>
H A Dcolor-wheel-selector.h20 #include <gtkmm/grid.h>
H A Dcolor-scales.h9 #include <gtkmm/grid.h>
H A Dpage-sizer.h30 # include <gtkmm/grid.h>
H A Dpreferences-widget.h35 #include <gtkmm/grid.h>
/inkscape/share/extensions/
H A Dgrid_polar.py5 ##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 Dgrid_cartesian.py5 ##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 Dgrid_isometric.py5 #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 Dcanvas-axonomgrid.cpp24 # 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 Dcanvas-axonomgrid.h13 #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 Dcanvas-grid.cpp2 * 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 Dcanvas-grid.h2 * 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 Ddocument-metadata.h26 # include <gtkmm/grid.h>
H A Dguides.h21 #include <gtkmm/grid.h>
H A Dpolar-arrange-tab.h25 #include <gtkmm/grid.h>
H A Dcalligraphic-profile-rename.cpp21 # include <gtkmm/grid.h>
H A Dlayer-properties.h24 #include <gtkmm/grid.h>
H A Dalign-and-distribute.h30 #include <gtkmm/grid.h>
/inkscape/src/widgets/
H A Dstroke-style.h28 #include <gtkmm/grid.h>
/inkscape/src/
H A Dsp-namedview.cpp23 #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 Ddesktop-events.cpp36 #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 Dsnap.cpp28 #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...]

Completed in 538 milliseconds

12