Abdelrazak Younes wrote:
Hum maybe instead of doing that we could as well reuse the same QPainter and call QPainter::begin() instead:
we would still need to reset the cache since:"Notice that all painter settings (setPen(), setBrush() etc.) are reset to default values when begin() is called."