|
What's so handy about saving canvas drawing state?
Right, so I've been reading about saving canvas drawing states and I understand how it works, but I just don't get the use of it when compared to setting it manually...
Instead of writing restore(), re-writing the color value would do the same thing. And whith restore it isn't immediatly obvious what color is set, but when writing out the color it is. So obviously I'm missing what's so handy about this state saving bussiness... Can somebody please enlighten me?
Thanks!
|