pub type PaintComposite<'a> = TableRef<'a, PaintCompositeMarker>;
Expand description
PaintComposite table
Aliased Type§
pub struct PaintComposite<'a> {
pub(crate) shape: PaintCompositeMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: PaintCompositeMarker
§data: FontData<'a>
Implementations§
Source§impl PaintComposite<'_>
impl PaintComposite<'_>
fn v1_closure(&self, c: &mut Colrv1ClosureContext<'_>)
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
.