Fix reset() when it comes to clipping and state stack


Also expand the docs.

Pick-to: 6.12
Change-Id: Ie0a3aaf6f9571a04a982ed1226a8119259f6def6
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit576562077c6a1095563911cdbba4064e0d35602a
parent71dac5615b0bdc78724293937d2372250d65b8e4
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeTue, 9 Jun 2026 09:18:30 +0000