QCanvasImagePattern: simplify constructor


The constructor with 9 parameters of the same type was hard to use, and
code calling it hard to read and understand. There is no advantage over
calling the property setters explicitly after constructing with the
startPosition and cellSize parameters, which were also incorrectly
named and represented as a QRectF.

Remove the defaulted parameters, and adjust tests, examples, and
documentation.

Pick-to: 6.12
Task-number: QTBUG-146286
Change-Id: If20fefb15808839d16bc8c2875cdd3c25178c220
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit3b937bace3b72a67c278070a704a50b65f750b53
parent1cab6ea850ea1eb09f22693b2fea3d4a1370f2b9
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeMon, 24 Aug 2026 19:49:35 +0000