Lines Matching defs:defs
539 // Append clipPath to defs and get id
737 // Append the pattern to defs
812 Inkscape::XML::Node *defs = _doc->getDefs()->getRepr();
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();
1711 if ( !( defs && !strcmp(defs->name(), "svg:defs") ) ) {
1712 // Create <defs> node
1713 defs = _xml_doc->createElement("svg:defs");
1714 _root->addChild(defs, NULL);
1715 Inkscape::GC::release(defs);
1716 defs = _root->firstChild();
1721 defs->appendChild(mask_node);
1723 return defs->lastChild();