Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

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

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

Definition at line 233 of file turbulence.cpp.

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

    /* TODO: Don't just clone, but create a new repr node and write all
     * relevant values into it */
    if (!repr) {
        repr = SP_OBJECT_REPR(object)->duplicate(doc);

    if (((SPObjectClass *) feTurbulence_parent_class)->write) {
        ((SPObjectClass *) feTurbulence_parent_class)->write(object, doc, repr, flags);

    /* turbulence doesn't take input */
    repr->setAttribute("in", 0);

    return repr;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index