pub fn draw(
        &mut self,
        gfx: &mut Graphics,
        text: &str,
        color: Color,
        offset: Vector,
    ) -> crate::Result<Vector> {
        self.draw_wrapping(gfx, text, None, color, offset)
    }
/// Draw some text to the screen with a given color at a given position, returning the text
/// extents
///
/// This method will not wrap but will respect newlines. To wrap, use
/// [`FontRenderer::draw_wrapping`]. The returned value is how far the text extended past the
/// offset, e.g. the furthest right and furthest down position.
Draw some text to the screen with a given color at a given position, returning the text
extents

This method will not wrap but will respect newlines.
Draw some text to the screen with a given color at a given position returning the text extents This method will not wrap but will respect newlines .
pub fn draw(
        &mut self,
        gfx: &mut Graphics,
        text: &str,
        color: Color,
        offset: Vector,
    ) -> crate::Result<Vector> {
        self.draw_wrapping(gfx, text, None, color, offset)
    }
pub fn draw ( & mut self , gfx : & mut Graphics , text : & str , color : Color , offset : Vector , ) -> crate :: Result < Vector > { self . draw_wrapping ( gfx , text , None , color , offset ) }
Draw some text to the screen with a given color at a given position, returning the text
extents
Draw some text to the screen with a given color at a given position returning the text extents
&mut self
gfx
&mut Graphics
text
&str
color
Color
offset
Vector
&mut self
gfx
&mut Graphics
text
&str
color
Color
offset
Vector