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.
pub fn draw_layout_with(
ctx: &mut RenderContext,
l: &TextLayout,
tr: Rect,
m: Affine,
paras: &[(usize, ParaState)],
)Draw a laid-out text block with per-paragraph animation states.