read_fonts::tables::colr

Type Alias 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) -> GlyphId16

Glyph ID for a BaseGlyphList base glyph.

Trait Implementations§

Source§

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

Source§

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

Read an instance of Self from the provided data, performing validation. Read more