pub type PaintVarRotate<'a> = TableRef<'a, PaintVarRotateMarker>;
Expand description
PaintVarRotate table
Aliased Type§
pub struct PaintVarRotate<'a> {
pub(crate) shape: PaintVarRotateMarker,
pub(crate) data: FontData<'a>,
}
Fields§
§shape: PaintVarRotateMarker
§data: FontData<'a>
Implementations§
Source§impl PaintVarRotate<'_>
impl PaintVarRotate<'_>
fn v1_closure(&self, c: &mut Colrv1ClosureContext<'_>)
Source§impl<'a> PaintVarRotate<'a>
impl<'a> PaintVarRotate<'a>
Sourcepub fn paint_offset(&self) -> Offset24
pub fn paint_offset(&self) -> Offset24
Offset to a Paint subtable.
Sourcepub fn angle(&self) -> F2Dot14
pub fn angle(&self) -> F2Dot14
Rotation angle, 180° in counter-clockwise degrees per 1.0 of value. For variation, use varIndexBase + 0.
Sourcepub fn var_index_base(&self) -> u32
pub fn var_index_base(&self) -> u32
Base index into DeltaSetIndexMap.