Skip to main content

render_with_strategy

Function render_with_strategy 

Source
fn render_with_strategy<S: RenderStrategy>(
    commands: &[AnalogDrawingCommand],
    render_ctx: &RenderContext,
    strategy: &mut S,
    ctx: &mut DrawingContext<'_>,
)
Expand description

Render commands using the given strategy.