Function rsvg::text::create_pango_layout

source ยท
fn create_pango_layout(
    layout_context: &LayoutContext,
    props: &FontProperties,
    text: &str,
) -> Option<Layout>
Expand description

Returns None if the layout would be invalid due to, for example, out-of-bounds font sizes.