iOS: is it allowed to paint outside the bounds
- by Tbee
If clipToBounds = YES then you can draw all you want, but you only can paint inside the bounds. If it is set to NO then painting outside the bounds is possible, but is it allowed?
The reason that I'm asking is because iOS uses the concept where the environment takes care of making sure the correct parts of the screen are (re)painted (e.g. setNeedsDisplay). If I draw outside my bounds, will it goof up?
I have tried it, and it seems to work, but?