csharp
public readonly record struct CoverageBitmapA glyph's coverage, one float per pixel in [0, 1], row 0 at the top.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
public int WidthHow many pixels across.
public int HeightHow many pixels down.
public float[] CoverageRow-major, Width * Height long.
public float this[int x, int y]One pixel's coverage.
public float AreaThe total covered area, in pixels.
Methods (1)
public CoverageBitmap(int Width, int Height, float[] Coverage)A glyph's coverage, one float per pixel in [0, 1], row 0 at the top.
Used by (4)
- DistanceFieldVixen.Ui.Text
- DistanceFieldTestsVixen.Ui.Text.Tests
- GlyphRasterizerVixen.Ui.Text
- RasterizerTestsVixen.Ui.Text.Tests