Type Alias ClipList

Source
pub type ClipList<'a> = TableRef<'a, ClipListMarker>;
Expand description

ClipList table

Aliased Type§

pub struct ClipList<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> ClipList<'a>

Source

pub fn format(&self) -> u8

Set to 1.

Source

pub fn num_clips(&self) -> u32

Number of Clip records.

Source

pub fn clips(&self) -> &'a [Clip]

Clip records. Sorted by startGlyphID.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for ClipList<'a>

Source§

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

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