In doc it says QPainter::save() saver the curent state of painter and restore do restore(). I couldn't find out what it mean state of QPainter. I tried without them also i got output.

What is the significance of these 2 function and state of a painter.