Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::XML::Node * Inkscape::UI::ClipboardManagerImpl::_copyNode ( Inkscape::XML::Node node,
Inkscape::XML::Document target_doc,
Inkscape::XML::Node parent 
) [private]

Copy a single XML node from one document to another.

node The node to be copied
target_doc The document to which the node is to be copied
parent The node in the target document which will become the parent of the copied node
Pointer to the copied node

Definition at line 757 of file clipboard.cpp.

References Inkscape::XML::Node::appendChild(), Inkscape::XML::Node::duplicate(), and Inkscape::GC::release().

Referenced by _copyGradient(), _copyPattern(), _copySelection(), _copyTextPath(), _copyUsedDefs(), _pasteDefs(), and _pasteDocument().

    Inkscape::XML::Node *dup = node->duplicate(target_doc);
    return dup;

Generated by  Doxygen 1.6.0   Back to index