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

static void sp_style_merge_from_decl_list ( SPStyle *const   style,
CRDeclaration const *const   decl_list 
) [static]

decl_list != NULL

Definition at line 1197 of file style.cpp.

References sp_style_merge_style_from_decl().

Referenced by sp_style_merge_from_style_string().

    // read the decls from end to start, using head recursion, so that latter declarations override
    // (Ref: http://www.w3.org/TR/REC-CSS2/cascade.html#cascading-order point 4.)
    // because sp_style_merge_style_from_decl only sets properties that are unset
    if (decl_list->next) {
        sp_style_merge_from_decl_list(style, decl_list->next);
    sp_style_merge_style_from_decl(style, decl_list);

Generated by  Doxygen 1.6.0   Back to index