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

void LivePathEffectObject::livepatheffect_build ( SPObject object,
SPDocument document,
Inkscape::XML::Node repr 
) [static, private]

Virtual build: set livepatheffect attributes from its associated XML node.

Definition at line 96 of file lpeobject.cpp.

References Inkscape::XML::Node::addListener(), and sp_object_read_attr().

Referenced by livepatheffect_class_init().

{
#ifdef LIVEPATHEFFECT_VERBOSE
    g_message("Build livepatheffect");
#endif
    g_assert(object != NULL);
    g_assert(SP_IS_OBJECT(object));

    if (((SPObjectClass *) livepatheffect_parent_class)->build)
        (* ((SPObjectClass *) livepatheffect_parent_class)->build)(object, document, repr);

    sp_object_read_attr(object, "effect");

    if (repr) {
        repr->addListener (&livepatheffect_repr_events, object);
    }

    /* Register ourselves, is this necessary? */
//    sp_document_add_resource(document, "path-effect", object);
}

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