pub type PaintColrLayers<'a> = TableRef<'a, PaintColrLayersMarker>;
Expand description
PaintColrLayers table
Aliased Type§
pub struct PaintColrLayers<'a> {
pub(crate) shape: PaintColrLayersMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: PaintColrLayersMarker
§data: FontData<'a>
Implementations§
Source§impl PaintColrLayers<'_>
impl PaintColrLayers<'_>
fn v1_closure(&self, c: &mut Colrv1ClosureContext<'_>)
Source§impl<'a> PaintColrLayers<'a>
impl<'a> PaintColrLayers<'a>
Sourcepub fn num_layers(&self) -> u8
pub fn num_layers(&self) -> u8
Number of offsets to paint tables to read from LayerList.
Sourcepub fn first_layer_index(&self) -> u32
pub fn first_layer_index(&self) -> u32
Index (base 0) into the LayerList.