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

Inkscape::XML::Node * SPObject::updateRepr ( unsigned int  flags = SP_OBJECT_WRITE_EXT ) [inherited]

Updates the object's repr based on the object's state.

This method updates the the repr attached to the object to reflect the object's current state; see the three-argument version for details.

flagsobject write flags that apply to this update
the updated repr

Update this object's XML node with flags value.

Definition at line 1240 of file sp-object.cpp.

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

Referenced by SPItem::setExplicitlyHidden(), sp_filter_write(), sp_item_write_transform(), and sp_selection_apply_affine().

    if (!SP_OBJECT_IS_CLONED(this)) {
        Inkscape::XML::Node *repr=SP_OBJECT_REPR(this);
        if (repr) {
            return updateRepr(repr->document(), repr, flags);
        } else {
            g_critical("Attempt to update non-existent repr");
            return NULL;
    } else {
        /* cloned objects have no repr */
        return NULL;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index