QCanvasPainter: Resolve Start/End alignment for point-based text


fillText() and textBoundingBox() taking x/y/maxWidth built the text
rect from the raw alignment, so the default Start (and End) was
treated as Right. Use the effective, direction-aware alignment like
the rect overloads do.

Assisted-by: Claude Code
Pick-to: 6.12
Change-Id: Ia6d1b51c09ba66265260748cc38c65491d8ac9f7
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commita07f4d83e35bfc42f07aa25a524658a605fc35b4
parent6c94306c6670ddce34b427e190d7b2bed3aace7d
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeMon, 19 Oct 2026 10:46:20 +0000