Function rsvg::filter_func::drop_shadow_primitives
source · pub fn drop_shadow_primitives(
dx: f64,
dy: f64,
std_deviation: NumberOptionalNumber<f64>,
color: Color
) -> Vec<ResolvedPrimitive>
Expand description
Creates the filter primitives required for a feDropShadow
effect.
Both the drop-shadow()
filter function and the feDropShadow
element need to create
a sequence of filter primitives (blur, offset, etc.) to build the drop shadow. This
function builds that sequence.