Struct bmfont::BMFont
[−]
[src]
pub struct BMFont { /* fields omitted */ }
Methods
impl BMFont
[src]
fn new<R>(
source: R,
ordinate_orientation: OrdinateOrientation
) -> Result<BMFont, Error> where
R: Read,
source: R,
ordinate_orientation: OrdinateOrientation
) -> Result<BMFont, Error> where
R: Read,
fn base_height(&self) -> u32
Returns the height of a EM
in pixels.
fn line_height(&self) -> u32
fn pages(&self) -> Vec<String>
fn parse(&self, s: &str) -> Result<Vec<CharPosition>, StringParseError>
Trait Implementations
impl Clone for BMFont
[src]
fn clone(&self) -> BMFont
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more