Silver Challenge


#1

CGContextSaveGState(ctx);
//Text with shadows enabled drawing code

CGContextRestoreGState(ctx);
// Drawing a Crosshair
[b] CGContextMoveToPoint(ctx, bounds.size.width/2.0, bounds.size.height/2.0 - bounds.size.height/20.0);
CGContextAddLineToPoint(ctx, bounds.size.width/2.0, bounds.size.height/2.0 + bounds.size.height/20.0);

CGContextMoveToPoint(ctx, bounds.size.width/2.0  - bounds.size.height/20.0, bounds.size.height/2.0);
CGContextAddLineToPoint(ctx, bounds.size.width/2.0 + bounds.size.height/20.0, bounds.size.height/2.0);

[[UIColor colorWithRed:0.0 green:0.75 blue:0.0 alpha:1.0] setStroke];
CGContextSetLineWidth(ctx, 3.0);
CGContextStrokePath(ctx);[/b]