Canvas2D: Support addPath()
Support addPath(path2d, transform2d) in Canvas2D, similarly as in
Canvas Painter and in path2d. Note that we don't want to add version
that takes svgPath into Canvas2D itself, as it requires string parsing,
so it is better to be only in (static) QCanvasPath and path2D APIs.
Use this method in the canvas2dtester example.
Change-Id: Ia175451cad307e865e0fb6cef6b9f6c3547cdd1e
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
| commit | aa46f8545a1583dee44200b1709ec4ce1b17b6ad |
| parent | edf082af9d6bb9e3edd345135e6a689d977489b5 |
| author | Kaj Grönholm <kaj.gronholm@qt.io> |
| committer | Kaj Grönholm <kaj.gronholm@qt.io> |
| commit time | Tue, 12 May 2026 12:24:44 +0000 |