Add path string parsing support into Canvas Painter


Move fast svg path parser from Canvas2D into Canvas Painter. Update it
to match with the latest QQuickSvgParser code and switch to use
QCanvasPath instead of QPainterPath. Add API to get QCanvasPath data
parsed from the string.

Add an example usage into gallery. The tiger data is taken from Quick
Canvas example.

This is also an enabler to get Path2D support for Canvas2D.

Task-number: QTBUG-146147
Change-Id: I951f418ccc309934a7659291aea5017d013226c1
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commitf180d9e9199cdebb75a546f8ca9f5fe449c1d576
parent60a40389587e4600c8720124c87d5263bc0283a0
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeThu, 30 Apr 2026 13:53:07 +0000