Trait TextLayout
piet_common
pub trait TextLayout { fn width(&self) -> f64; }
fn width(&self) -> f64
Measure the advance width of the text.
impl TextLayout for CairoTextLayout