pub type PaintVarTransform<'a> = TableRef<'a, PaintVarTransformMarker>;
Expand description
PaintVarTransform table
Aliased Type§
pub struct PaintVarTransform<'a> {
pub(crate) shape: PaintVarTransformMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: PaintVarTransformMarker
§data: FontData<'a>
Implementations§
Source§impl PaintVarTransform<'_>
impl PaintVarTransform<'_>
fn v1_closure(&self, c: &mut Colrv1ClosureContext<'_>)
Source§impl<'a> PaintVarTransform<'a>
impl<'a> PaintVarTransform<'a>
Sourcepub fn paint_offset(&self) -> Offset24
pub fn paint_offset(&self) -> Offset24
Offset to a Paint subtable.
Sourcepub fn transform_offset(&self) -> Offset24
pub fn transform_offset(&self) -> Offset24
Offset to a VarAffine2x3 table.
Sourcepub fn transform(&self) -> Result<VarAffine2x3<'a>, ReadError>
pub fn transform(&self) -> Result<VarAffine2x3<'a>, ReadError>
Attempt to resolve transform_offset
.