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

SPCSSAttr* sp_css_attr_from_object ( SPObject object,
guint const   flags 

object != NULL

flags in {IFSET, ALWAYS}.

Definition at line 4000 of file style.cpp.

References sp_css_attr_from_style().

Referenced by file_import(), and take_style_from_item().

    g_return_val_if_fail(((flags == SP_STYLE_FLAG_IFSET) ||
                          (flags == SP_STYLE_FLAG_ALWAYS)  ),
    SPStyle const *const style = SP_OBJECT_STYLE(object);
    if (style == NULL)
        return NULL;
    return sp_css_attr_from_style(style, flags);

Generated by  Doxygen 1.6.0   Back to index