csharp
public readonly record struct AxisSegmentMapOne avar segment map: a piecewise-linear warp of one normalised axis.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Applied after normalisation and before anything reads a delta. avar exists because a designer's idea of "half way to bold" is rarely the arithmetic middle — the table lets the font say that normalised 0.5 should behave as 0.62. Skipping it leaves every intermediate instance subtly wrong while both ends stay exactly right, which is the hardest kind of wrong to notice.
Fields and properties (1)
public ImmutableArray<(float From, float To)> Pairs
Methods (2)
public AxisSegmentMap(ImmutableArray<(float From, float To)> Pairs)One avar segment map: a piecewise-linear warp of one normalised axis.
public float Apply(float coordinate)Warps one normalised coordinate.
Used by (4)
- FontFaceVixen.Ui.Text
- FontVariationVixen.Ui.Text
- FontVariationTestsVixen.Ui.Text.Tests
- VariationTablesVixen.Ui.Text