Struct ScaledKerningPair
A kerning pair with the adjustment already scaled to pixel values. Unlike KerningPair (which stores font design units requiring caller scaling), this type is used by rasterizers that return pre-scaled pixel values (e.g., GDI's GetKerningPairsW).
public readonly record struct ScaledKerningPair : IEquatable<ScaledKerningPair>
- Implements
- Inherited Members
Constructors
ScaledKerningPair(int, int, int)
A kerning pair with the adjustment already scaled to pixel values. Unlike KerningPair (which stores font design units requiring caller scaling), this type is used by rasterizers that return pre-scaled pixel values (e.g., GDI's GetKerningPairsW).
public ScaledKerningPair(int LeftCodepoint, int RightCodepoint, int Amount)
Parameters
Properties
Amount
public int Amount { get; init; }
Property Value
LeftCodepoint
public int LeftCodepoint { get; init; }
Property Value
RightCodepoint
public int RightCodepoint { get; init; }