Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_style_merge_paint_prop_from_dying_parent ( SPStyle style,
SPIPaint child,
SPIPaint const &  parent 
) [static]

Todo:
I haven't given this much attention. See comments below about currentColor, colorProfile, and relative URIs.

Definition at line 1500 of file style.cpp.

References SPIPaint::currentcolor, SPIPaint::inherit, and SPIPaint::set.

Referenced by sp_style_merge_from_dying_parent().

{
    /** \todo
     * I haven't given this much attention.  See comments below about
     * currentColor, colorProfile, and relative URIs.
     */
    if (!child.set || child.inherit || child.currentcolor) {
        sp_style_merge_ipaint(style, &child, &parent);
        child.set = parent.set;
        child.inherit = parent.inherit;
    }
}


Generated by  Doxygen 1.6.0   Back to index