Open JinShil opened 6 years ago
I just wanted to suggest pulling the rasterizer out of stb_truetype.h into its own file so it can be used for general polygon rendering, not just fonts.
see: https://github.com/memononen/nanosvg/blob/master/src/nanosvgrast.h
The polygon rasterization is heavily based on stb_truetype rasterizer by Sean Barrett - http://nothings.org/
I just wanted to suggest pulling the rasterizer out of stb_truetype.h into its own file so it can be used for general polygon rendering, not just fonts.