On Fri Dec 15 16:05:24 2023 +0000, Esme Povirk wrote:
I don't believe `draw_poly` is the right place for this. Either optimizations should be in gdi32, or in `SOFTWARE_GdipFillPath` (which we don't use now for drawing outlines because the gdi32 path is currently more efficient, but we could if that changed).
I guess the way forward would be:
1) Optimize `GdipGetRegionHrgn` in GDI+ which is done in this MR(assuming we remove the last patch)
2) Optimize `DrawPoly` in gdi32