Type Alias read_fonts::tables::colr::PaintColrGlyph

source ·
pub type PaintColrGlyph<'a> = TableRef<'a, PaintColrGlyphMarker>;
Expand description

Aliased Type§

struct PaintColrGlyph<'a> { /* private fields */ }

Implementations§

source§

impl<'a> PaintColrGlyph<'a>

source

pub fn format(&self) -> u8

Set to 11.

source

pub fn glyph_id(&self) -> GlyphId

Glyph ID for a BaseGlyphList base glyph.

Trait Implementations§

source§

impl<'a> Debug for PaintColrGlyph<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for PaintColrGlyph<'a>

source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for PaintColrGlyph<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.