Canvas2D: Add support for fillRules
Support fillRule property, like Quick Canvas. Both the HTML canvas 2d
context naming ("nonzero", "evenodd") and Quick Canvas
("WindingFill", "OddEvenFill") are supported for maximum compatibility.
In the getter, returning rule as a string to match with lineCap &
lineJoin properties.
Also support fillRule as a parameter of fill(), like Canvas Painter
and HTML 2d context do.
Task-number: QTBUG-145956
Change-Id: I05d693c5ad14449c2728f3aef4ecd07f739d0606
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>