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.
fn create_pango_layout(
layout_context: &LayoutContext,
props: &FontProperties,
text: &str,
) -> Option<Layout>
Returns None
if the layout would be invalid due to, for example, out-of-bounds font sizes.