mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2026-04-22 15:57:15 +08:00
97ebef8298
The new implementation uses Evan's method [1] using texture representing a stencil buffer instead of the graphics library's stencil buffer. This simplifies the implementaiton of the graphics drivers, and enables better anti-alias without changing the rendering cost. Also, this fixes an issue of line rendering quality This change deprecates some existing APIs like DrawImageOptions.AntiAlias and FillRule. Users should always use DrawFilledPath or StrokePath. [1] https://medium.com/@evanwallace/easy-scalable-text-rendering-on-the-gpu-c3f4d782c5ac Closes #3124 Closes #3153