Skip to main content

draw_layout_with

Function draw_layout_with 

Source
pub fn draw_layout_with(
    ctx: &mut RenderContext,
    l: &TextLayout,
    tr: Rect,
    m: Affine,
    paras: &[(usize, ParaState)],
)
Expand description

Draw a laid-out text block with per-paragraph animation states.