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

void sp_style_read_from_object ( SPStyle style,
SPObject object 

Read style properties from object's repr.

1. Reset existing object style 2. Load current effective object style 3. Load i attributes from immediate parent (which has to be up-to-date)

Definition at line 678 of file style.cpp.

References sp_style_read().

    g_return_if_fail(style != NULL);
    g_return_if_fail(object != NULL);

    Inkscape::XML::Node *repr = SP_OBJECT_REPR(object);
    g_return_if_fail(repr != NULL);

    sp_style_read(style, object, repr);

Generated by  Doxygen 1.6.0   Back to index