API symmetry: add width, height, size to offscreen canvas


To match QCanvasImage, and also so that one can query the pixel size
the canvas was created with, if needed, without having to do
canvas->texture()->pixelSize() which requires qrhi.h and linking to
GuiPrivate.

Pick-to: 6.12
Change-Id: I66a067ad1eeba21d48855ea7b0083b6f737f52b0
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
commit8cbc7a3c94ce27a66a8841ec3b1e2766f8bdd5dd
parent97d9f1a9b196207426bdf94ef2feeac89e69c078
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeWed, 17 Jun 2026 11:23:31 +0000