Graphics Programs Reference
In-Depth Information
Silver Challenge: Shapes
Make it so every
HypnosisView
instance has a green crosshair in the middle. This
crosshair should not have a shadow, but it should be drawn on top of the text. (Hint: you
will need to use the functions
CGContextMoveToPoint
,
CGContextAd-
dLineToPoint
,
CGContextSaveGState
,
CGContextRestoreGState
.)