Skip to main content

layout

Function layout 

Source
pub fn layout(
    ctx: &Ctx<'_>,
    shape: &Shape,
    body: &TextBody,
    opts: &Opts<'_>,
) -> TextLayout
Expand description

Lay out a shape’s text body.