Introduce TextOptions (#20107)

* Introduce TextOptions API

* Store BaselinePixelAlignment as byte. Move to a dedicated file.

* Update API suppressions

---------

Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
This commit is contained in:
Benedikt Stebner
2026-01-23 12:22:27 +01:00
committed by GitHub
parent 8d2f1475ca
commit 1bce702bd4
33 changed files with 1310 additions and 983 deletions
@@ -336,7 +336,7 @@ namespace TextTestApp
_textSource = new TextSource(this);
RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);
RenderOptions.SetTextRenderingMode(this, TextRenderingMode.SubpixelAntialias);
TextOptions.SetTextRenderingMode(this, TextRenderingMode.SubpixelAntialias);
}
private void InvalidateTextRunProperties()