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.