Type Alias read_fonts::tables::colr::PaintComposite
source · pub type PaintComposite<'a> = TableRef<'a, PaintCompositeMarker>;
Expand description
PaintComposite table
Aliased Type§
struct PaintComposite<'a> { /* private fields */ }
Implementations§
source§impl<'a> PaintComposite<'a>
impl<'a> PaintComposite<'a>
sourcepub fn source_paint_offset(&self) -> Offset24
pub fn source_paint_offset(&self) -> Offset24
Offset to a source Paint table.
sourcepub fn source_paint(&self) -> Result<Paint<'a>, ReadError>
pub fn source_paint(&self) -> Result<Paint<'a>, ReadError>
Attempt to resolve source_paint_offset
.
sourcepub fn composite_mode(&self) -> CompositeMode
pub fn composite_mode(&self) -> CompositeMode
A CompositeMode enumeration value.
sourcepub fn backdrop_paint_offset(&self) -> Offset24
pub fn backdrop_paint_offset(&self) -> Offset24
Offset to a backdrop Paint table.
sourcepub fn backdrop_paint(&self) -> Result<Paint<'a>, ReadError>
pub fn backdrop_paint(&self) -> Result<Paint<'a>, ReadError>
Attempt to resolve backdrop_paint_offset
.