Hello,
AFAIK when drawing two adjacent polygons (sharing one edge) it is guaranteed
that they will line up perfectly, resulting in a shape as if just one merged
polygon was drawn. And that is indeed the case with Skia too, but only if
antialiasing is disabled, not if AA is enabled, such as in the example below
(2nd and 3rd point is the same edge as 1st and 4th point in the next
polygon). If you zoom in, you can see drawing artefacts. Is this a Skia bug,
or is this not guaranteed with AA-ed polygons? I've tried with other toolkits
(Qt5) and there it works correctly even with AA enabled.
https://fiddle.skia.org/c/6efe6f12706374d93d63d2143297ec2d
--
Luboš Luňák
l.l...@collabora.com