oa::ui::GlyphInfo

Struct published by the oa::Ui struct.

StRust public API

Declaration

pub struct GlyphInfo { pub codepoint: u32, pub atlas_x: f32, pub atlas_y: f32, pub atlas_w: f32, pub atlas_h: f32, pub bearing_x: f32, pub bearing_y: f32, pub advance: f32, pub ink_w: f32, pub ink_h: f32, pub raster_size: f32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> GlyphInfo
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &GlyphInfo) -> bool

Associated Functions

fn default() -> GlyphInfo

Public Data Members

codepointu32field
atlas_xf32field
atlas_yf32field
atlas_wf32field
atlas_hf32field
bearing_xf32field
bearing_yf32field
advancef32field
ink_wf32field
ink_hf32field
raster_sizef32field

Public Method Documentation

fn clone( &self ) -> GlyphInfo
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &GlyphInfo ) -> bool
No public source comment is attached to this declaration.
fn default() -> GlyphInfo
No public source comment is attached to this declaration.