SkiaTextRenderer is a text renderer that simulate the System.Windows.Forms.TextRenderer.
Its goal is to provider a cross-platform TextRenderer that can be easly used in game or app.
The APIs are just like the Winform version. Even TextFormatFlags was directly copied and used. Most of the flags are implemented for now, left flags could be implemented later.
Extra textbox related features outside the Winform TextRenderer:
- Draw cursor and get cursor draw position by cursor index
- Draw selection background by selection start and end.
See examples and more in: