April 2018
Beginner
714 pages
18h 21m
English
The first thing we did in the newly added code is call painter.save(). This call stores all parameters of the painter in an internal stack. We can then modify the painter state (by changing its attributes, applying transformations, and so on) and then, if at any point we want to go back to the saved state, it is enough to call painter.restore() to undo all the modifications in one go.
Read now
Unlock full access