title: What is the purpose of CGContextSaveGState and CGContextRestoreGState?
body: <p>I see a lot of sample code where they use <code>CGContextSaveGState</code> and <code>CGContextRestoreGState</code>.  Why would I need to save the state of the context?</p>