Canvas2D: Add transform2d support into transform()


Add transform2d support into transform(), the same way as setTransform()
supports them.

Change-Id: I6cfd013f08c569a7661f87b4d5b179712408713d
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit2c52722ab7a48c0205f2cc725ea146e324ddc73b
parent78c360d093028000ecd4e08e1a932cf585ea2325
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeSun, 31 May 2026 18:10:01 +0000