Expand description
Resolution of COLR paints at a location in variation space.
Structsยง
- Color
Stops ๐ - Color stops from a
ColorLineorVarColorLine. - Colr
Instance ๐ - A
COLRtable bound to a location in variation space for resolving paints. - Resolved
Color ๐Stop - A
ColorStoporVarColorStopwith its variation deltas applied.
Enumsยง
- Maybe
Brush ๐ - Like
Option<Brush>, with an extra variant for a valid brush that paints nothing. - Resolved
Paint ๐ - A
Paintwith its variation deltas applied.
Functionsยง
- make_
sorted_ ๐resolved_ stops - resolve_
clip_ ๐box - Resolves a clip box, applying variation deltas using the given instance.
- resolve_
clip_ ๐box_ for_ extents - Resolves a clip box for measuring glyph extents, as HarfBuzz does.
- resolve_
paint ๐ - Resolves this paint with the given instance.
Type Aliasesยง
- PaintId ๐
- Unique paint identifier used for detecting cycles in the paint graph.