Searched defs:defs (Results 1 - 18 of 18) sorted by relevance

/inkscape/src/
H A Dsp-root.h46 * Primary \<defs\> element where we put new defs (patterns, gradients etc.).
48 * At the time of writing, this is chosen as the first \<defs\> child of
51 SPDefs *defs; member in class:SPRoot
H A Dfilter-chemistry.cpp95 SPDefs *defs = document->getDefs(); local
112 // Append the new filter node to defs
113 defs->appendChild(repr);
201 SPDefs *defs = document->getDefs(); local
238 // Append the new filter node to defs
239 defs->appendChild(repr);
265 SPDefs *defs = document->getDefs(); local
283 // Append the new filter node to defs
284 defs->appendChild(repr);
393 SPDefs *defs local
[all...]
H A Dpersp3d.cpp165 SPDefs *defs = document->getDefs(); local
208 /* Append the new persp3d to defs */
209 defs->getRepr()->addChild(repr, NULL);
212 return reinterpret_cast<Persp3D *>( defs->get_child_by_repr(repr) );
H A Dgradient-chemistry.cpp143 SPDefs *defs = document->getDefs(); local
164 /* Append the new private gradient to defs */
165 defs->getRepr()->appendChild(repr);
249 SPObject *defs = doc->getDefs(); local
253 (gr->parent != SP_OBJECT(defs)) ||
1509 SPDefs *defs = document->getDefs(); local
1528 defs->getRepr()->addChild(repr, NULL);
H A Dsp-item-group.cpp51 #include "sp-defs.h"
398 SPObject *defs = root->defs; local
515 Inkscape::XML::Node *last_def = defs->getRepr()->lastChild();
519 defs->getRepr()->addChild(repr, last_def);
650 if ( SPDefs *defs = dynamic_cast<SPDefs *>(o) ) { // select symbols from defs, ignore clips, masks, patterns
651 for (SPObject *defschild = defs->firstChild() ; defschild ; defschild = defschild->getNext() ) {
660 in coordinates for draws but nothing in defs is changed
H A Ddocument.cpp231 return root->defs;
243 // If not, return the first perspective in defs (which may be NULL of none exists)
260 for (SPObject *i = root->defs->firstChild(); i; i = i->getNext() ) {
425 if (!document->root->defs) {
426 Inkscape::XML::Node *r = rdoc->createElement("svg:defs");
429 g_assert(document->root->defs);
1676 * Paste SVG defs from the document retrieved from the clipboard or imported document into the active document.
1684 std::vector<Inkscape::XML::Node const *> defsNodes = sp_repr_lookup_name_many(root, "svg:defs");
1688 for (std::vector<Inkscape::XML::Node const *>::iterator defs = defsNodes.begin(); defs !
1693 importDefsNode(SPDocument *source, Inkscape::XML::Node *defs, Inkscape::XML::Node *target_defs) argument
[all...]
/inkscape/src/extension/
H A Dpatheffect.cpp45 Inkscape::XML::Node * defs = doc->getDefs()->getRepr(); local
53 Inkscape::XML::Node * prefs = sp_repr_lookup_child(defs, "id", &(patheffect[1]));
/inkscape/src/helper/
H A Dstock-items.cpp74 SPDefs *defs = current_doc->getDefs(); local
77 defs->getRepr()->addChild(mark_repr, NULL);
118 SPDefs *defs = current_doc->getDefs(); local
121 defs->getRepr()->addChild(pat_repr, NULL);
161 SPDefs *defs = current_doc->getDefs(); local
164 defs->getRepr()->addChild(pat_repr, NULL);
200 SPDefs *defs = doc->getDefs(); local
201 if (!defs) {
207 for ( SPObject *child = defs->firstChild(); child; child = child->getNext() )
219 for ( SPObject *child = defs
[all...]
/inkscape/src/ui/tools/
H A Dbox3d-tool.cpp114 /* Create a default perspective in document defs if none is present (which can happen, among other
115 * circumstances, after 'vacuum defs' or when a pre-0.46 file is opened).
118 SPDefs *defs = document->getDefs(); local
121 for ( SPObject *child = defs->firstChild(); child; child = child->getNext() ) {
H A Dmeasure-tool.cpp43 #include "sp-defs.h"
701 SPDefs *defs = doc->getDefs(); local
712 SPItem *marker = SP_ITEM(defs->appendChildRepr(rmarker));
/inkscape/src/extension/param/
H A Dparameter.cpp373 Inkscape::XML::Node * defs = doc->getDefs()->getRepr(); local
378 for (Inkscape::XML::Node * child = defs->firstChild();
391 defs->appendChild(params);
/inkscape/share/extensions/
H A Ddxf_input.py293 block = inkex.etree.SubElement(defs, 'symbol', {'id': vals[groups['2']][0].replace(" ", "_")})
297 block = defs # initiallize with dummy
363 defs = inkex.etree.SubElement(doc.getroot(), 'defs', {}) variable
364 marker = inkex.etree.SubElement(defs, 'marker', {'id': 'DistanceX', 'orient': 'auto', 'refX': '0.0', 'refY': '0.0', 'style': 'overflow:visible'})
366 pattern = inkex.etree.SubElement(defs, 'pattern', {'id': 'Hatch', 'patternUnits': 'userSpaceOnUse', 'width': '8', 'height': '8', 'x': '0', 'y': '0'})
451 block = defs # initiallize with dummy
480 if block != defs: # in a BLOCK
/inkscape/src/widgets/
H A Dstroke-marker-selector.cpp35 #include "sp-defs.h"
123 * so listen to changes in all defs and check if the number of markers has changed here
324 * Returns a list of markers in the defs of the given source document as a GSList object
333 SPDefs *defs = source->getDefs(); local
334 if (!defs) {
338 for ( SPObject *child = defs->firstChild(); child; child = child->getNext() )
478 Inkscape::XML::Node *defsrepr = sandbox->getObjectById("defs")->getRepr();
582 " <defs id=\"defs\" />"
/inkscape/src/extension/internal/
H A Demf-inout.h140 Glib::ustring defs; member in struct:Inkscape::Extension::Internal::emf_callback_data
163 // both of these end up in <defs> under the names shown here. These structures allow duplicates to be avoided.
H A Dwmf-inout.h138 Glib::ustring defs; member in struct:Inkscape::Extension::Internal::wmf_callback_data
157 // both of these end up in <defs> under the names shown here. These structures allow duplicates to be avoided.
/inkscape/src/ui/dialog/
H A Dsymbols.cpp56 #include "sp-defs.h"
296 SPDefs *defs = currentDocument->getDefs(); local
297 sigc::connection defsModifiedConn = defs->connectModified(sigc::mem_fun(*this, &SymbolsDialog::defsModified));
537 tmpSVGOutput += " <defs>\n";
571 tmpSVGOutput += " </defs>\n";
802 // BUG: Symbols don't work if defined outside of <defs>. Causes Inkscape
862 // BUG: <symbol> must be inside <defs>
868 " <defs id=\"defs\">"
870 " </defs>"
[all...]
H A Dsvg-fonts-dialog.cpp818 SPDefs *defs = document->getDefs(); local
828 // Append the new font node to defs
829 defs->getRepr()->appendChild(repr);
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp539 // Append clipPath to defs and get id
737 // Append the pattern to defs
812 Inkscape::XML::Node *defs = _doc->getDefs()->getRepr(); local
813 defs->appendChild(gradient);
1692 * \brief Creates a <mask> with the specified width and height and adds to <defs>
1693 * If we're not the top-level SvgBuilder, creates a <defs> too and adds the mask to it.
1703 // Append mask to defs
1710 Inkscape::XML::Node *defs = _root->firstChild(); local
1711 if ( !( defs && !strcmp(defs
[all...]

Completed in 132 milliseconds