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

SPCSSAttr* sp_css_attr_from_object ( SPObject object,
guint const   flags 
)
Precondition:
object != NULL
flags in {IFSET, ALWAYS}.

Definition at line 4195 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)  ),
                         NULL);
    SPStyle const *const style = SP_OBJECT_STYLE(object);
    if (style == NULL)
        return NULL;
    return sp_css_attr_from_style(style, flags);
}

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