Logo Search packages:      
Sourcecode: inkscape version File versions

static Inkscape::XML::Node * sp_feOffset_write ( SPObject object,
Inkscape::XML::Node repr,
guint  flags 
) [static]

Writes its settings to an incoming repr object, if any.

Definition at line 144 of file sp-feoffset.cpp.

References Inkscape::XML::Node::mergeFrom().

{
    // Inkscape-only object, not copied during an "plain SVG" dump:
    if (flags & SP_OBJECT_WRITE_EXT) {
        if (repr) {
            // is this sane?
            repr->mergeFrom(SP_OBJECT_REPR(object), "id");
        } else {
            repr = SP_OBJECT_REPR(object)->duplicate();
        }
    }

    if (((SPObjectClass *) feOffset_parent_class)->write) {
        ((SPObjectClass *) feOffset_parent_class)->write(object, repr, flags);
    }

    return repr;
}


Generated by  Doxygen 1.6.0   Back to index