I am not certain what it is that QPainter does when I invoke save() and restore().
Is it saving the image it is drawing or is it just saving information like penWidth and color etc.?
Could I use it to restore the image of a previous paint event?
From the documentation:
All those settings are listed at the given link. So it is just saving the paint settings and nothing that’s actually painted.