Switch transform multiply order


This fixes the cases where transform() is applied after there already
exists some translate/rotate/scale to match with the rendering of HTML
canvas. See example in QTBUG-28511, which is reported for Qt Quick
Canvas, while this would fix Canvas Painter and Canvas2D.

Pick-to: 6.11
Change-Id: I8ff990392d0cd878e5352045c110db3822c4926f
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commit5af3ebb9cf70e4f657a71f485089a0c3da574a4e
parentb25cf5d3a192bd0ba0bfd829970cc55d38e9705d
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeThu, 28 May 2026 08:07:53 +0000