Type Alias read_fonts::tables::sbix::GlyphData
source · pub type GlyphData<'a> = TableRef<'a, GlyphDataMarker>;
Expand description
Glyph data table
Aliased Type§
struct GlyphData<'a> { /* private fields */ }
Implementations§
source§impl<'a> GlyphData<'a>
impl<'a> GlyphData<'a>
sourcepub fn origin_offset_x(&self) -> i16
pub fn origin_offset_x(&self) -> i16
The horizontal (x-axis) position of the left edge of the bitmap graphic in relation to the glyph design space origin.
sourcepub fn origin_offset_y(&self) -> i16
pub fn origin_offset_y(&self) -> i16
The vertical (y-axis) position of the bottom edge of the bitmap graphic in relation to the glyph design space origin.
sourcepub fn graphic_type(&self) -> Tag
pub fn graphic_type(&self) -> Tag
Indicates the format of the embedded graphic data: one of ’jpg ’, ’png ’ or ‘tiff’, or the special format ‘dupe’.