Forum

[Skia] Artefacts/screen flashing when rendering very distorted ovals

When drawing a stroke ellipse with a very small height and large width, strange artefacts appear. It isn’t entirely consistent, but simply changing the values and/or window size makes it happen.

I think it might be an issue with the lines drawing over itself; it doesn’t happen for very thin stroke weights or if it’s so heavy the circle becomes entirely filled.

Minimal patch + demo: