Inkscape
Vector Graphics Editor
|
Create a grid. More...
#include <grid.h>
Static Public Member Functions | |
static void | init () |
Create a grid.
Implementation class of the GIMP gradient plugin.
This mostly just creates a namespace for the GIMP gradient plugin today.
|
overridevirtual |
This actually draws the grid.
module | The effect that was called (unused) |
document | What should be edited. |
Reimplemented from Inkscape::Extension::Implementation::Implementation.
Definition at line 85 of file grid.cpp.
References Inkscape::XML::Node::appendChild(), bounds, Inkscape::XML::Document::createElement(), Inkscape::LayerManager::currentLayer(), SPDesktop::doc(), SPDesktop::doc2dt(), Inkscape::Extension::Extension::get_param_float(), SPDocument::getDocumentScale(), SPObject::getRepr(), SPDocument::getReprDoc(), SPDesktop::getSelection(), Geom::Scale::inverse(), Inkscape::ObjectSet::isEmpty(), SPDesktop::layerManager(), SPDocument::preferredBounds(), Inkscape::GC::release(), scale, Inkscape::XML::Node::setAttribute(), Inkscape::ObjectSet::visualBounds(), and Geom::X.
|
overridevirtual |
Reimplemented from Inkscape::Extension::Implementation::Implementation.
|
static |
Definition at line 188 of file grid.cpp.
References Inkscape::Extension::build_from_mem().
Referenced by Inkscape::Extension::init().
|
overridevirtual |
A function to allocated anything – just an example here.
module | Unused |
Reimplemented from Inkscape::Extension::Implementation::Implementation.
|
overridevirtual |
Reimplemented from Inkscape::Extension::Implementation::Implementation.
|
overridevirtual |
A function to get the preferences for the grid.
module | Module which holds the params |
desktop | The desktop containing the document. |
Uses AutoGUI for creating the GUI.
module | Module which holds the params |
desktop |
Uses AutoGUI for creating the GUI.
Reimplemented from Inkscape::Extension::Implementation::Implementation.
Definition at line 172 of file grid.cpp.
References Inkscape::Extension::Extension::autogui(), SPDesktop::doc(), SPDesktop::getSelection(), and Inkscape::ObjectSet::items().
|
overridevirtual |
Find out information about the file.
Reimplemented from Inkscape::Extension::Implementation::Implementation.