pub fn measure(&mut self) -> TextLayoutMetrics {
        self.layout_pending();

        self.metrics.pos = Coord2(self.x_off as _, self.y_off as _);
        self.metrics.clone()
    }
///
/// Measures the text that's been laid out so far
///
/// (Note that this will perform a layout so it's usually best to call before converting to drawing instructions or glyphs)
///
Measures the text that's been laid out so far
(Note that this will perform a layout so it's usually best to call before converting to drawing instructions or glyphs)
Measures the text that ' s been laid out so far ( Note that this will perform a layout so it ' s usually best to call before converting to drawing instructions or glyphs )
pub fn measure(&mut self) -> TextLayoutMetrics {
        self.layout_pending();
        self.metrics.pos = Coord2(self.x_off as _, self.y_off as _);
        self.metrics.clone()
    }
pub fn measure ( & mut self ) -> TextLayoutMetrics { self . layout_pending ( ) ; self . metrics . pos = Coord2 ( self . x_off as _ , self . y_off as _ ) ; self . metrics . clone ( ) }
Measures the text that's been laid out so far
(Note that this will perform a layout so it's usually best to call before converting to drawing instructions or glyphs)
Measures the text that ' s been laid out so far ( Note that this will perform a layout so it ' s usually best to call before converting to drawing instructions or glyphs )
&mut self