Canvas2D: Add support for setPathWinding


Support setPathWinding method, like Canvas Painter. As Qt doesn't have
a matching enum, use strings "clockwise" and "counterclockwise" in the
API. This matches to fillrule, cap, join etc. APIs. Add lancelot tests.

Change-Id: I0c0ed60671a2d894d26a43b50fff5ce02614b690
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commit19f33e99ba41e24301270dffdd3054eb36bc3fd3
parent95eff51f0829ece08af30286293a94f3c3099c10
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeSun, 31 May 2026 17:41:00 +0000