Add render flag to disable winding enforcing
Previously winding has always been enforced, meaning e.g. that if user
creates path area in clockwise order while winding is set to
counter-clockwise, the path points will be swapped. With HTML 2D
context it is however possible to paint holes by switcing the order, see
e.g. https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/
Tutorial/Drawing_shapes#shapes_with_holes
Disabling this winding enforcing renders correctly most of the time,
but some examples show rendering errors with overlapping paths.
So keep the default as enforcing and add DisableEnforceWinding flag to
disable this when manual winding is wanted or getting the small
performance gain of not enforcing is worth it.
Also fix applying the winding to next subpath instead of the current
one. Add some docs with images.
Pick-to: 6.11
Change-Id: I5db09da8ea8e39a829af91868b54f497294950e8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>