push_custom_effect_graph
function · ferroui-base · v0.5.0
fn push_custom_effect_graph(canvas: &mut dyn IDrawingContextImpl, effect: &crate::media::effects::ImmutableCustomEffect, bounds: crate::Rect) -> bool
Pushes the graph of the custom effect effect around the content drawn
next on canvas, over bounds (the content and the padding of the
effect, in the coordinates of the canvas): what is under the content and
the layers and effects that wrap it. Returns false, pushing nothing,
when the type of the effect has no graph that loaded
(ImmutableCustomEffect::has_graph); then the caller pushes it as an
effect of the drawing context, which draws the content unchanged.
pop_custom_effect_graph is called after the content with the same
effect and bounds.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.