Add common method for painting plain rects
Add fillPlainRect() helper method that paints non-antialiased rect
with a specified brush, and then returns the antialiasing state and
fill brush back to what they were. Use this from imageId painting
methods.
Pick-to: 6.11
Change-Id: Ic922b5ba77b2b88ab4cd12acd830f5bb40a01b5b
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
| commit | 983332c8c33efa2691dce7ba4f63fc6b77344dd3 |
| parent | 1ca7869f2cd1c4f375141344ce53751841359fae |
| author | Kaj Grönholm <kaj.gronholm@qt.io> |
| committer | Kaj Grönholm <kaj.gronholm@qt.io> |
| commit time | Tue, 10 Mar 2026 12:49:37 +0200 |