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

void sp_gradient_set_spread ( SPGradient gr,
SPGradientSpread  spread 
)

Set spread property of gradient and emit modified.

Definition at line 742 of file sp-gradient.cpp.

References SPGradient::spread, and SPGradient::spread_set.

{
    if (spread != gr->spread) {
        gr->spread = spread;
        gr->spread_set = TRUE;
        SP_OBJECT(gr)->requestModified(SP_OBJECT_MODIFIED_FLAG);
    }
}


Generated by  Doxygen 1.6.0   Back to index