Skip to content

Instantly share code, notes, and snippets.

@j4johnfox
Created November 4, 2008 19:31
Show Gist options
  • Save j4johnfox/22193 to your computer and use it in GitHub Desktop.
Save j4johnfox/22193 to your computer and use it in GitHub Desktop.
- (void)drawRect:(CGRect)aRect
{
[super drawRect:aRect];
CPLog("MMSImageAnnotationView here in drawRect");
//var myColor = CGColorCreateGenericRGB(1, .5, 1, .5);
var myRect = CGRectMake(0, 0, 320, 240);
var myContext = CGBitmapGraphicsContextCreate();
CGContextSetRGBFillColor(myContext, 1.0, 1.0, 1.0, 1.0);
CGContextSetLineWidth(myContext, 1.0);
CGContextStrokeRect(myContext, myRect);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment