Under OS 3.0 CoreGraphics.framework is not available
Under OS 3.0 CoreGraphics.framework is not available
- Subject: Under OS 3.0 CoreGraphics.framework is not available
- From: Agha Khan <email@hidden>
- Date: Wed, 15 Jul 2009 00:02:23 -0700
Hi;
Under OS 3.0 I am unable to compile this simple code, but it works
under OS 2.2.1
Under OS 3.0 CoreGraphics.framework is not available
"_CGContextFillRect", referenced from:
-[FlipsideView drawRect:] in FlipsideView.o
"_CGContextSaveGState", referenced from:
-[FlipsideView drawRect:] in FlipsideView.o
"_CGContextRestoreGState", referenced from:
-[FlipsideView drawRect:] in FlipsideView.o
"_CGContextSetFillColor", referenced from:
- (void)drawRect:(CGRect)rect
{
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSaveGState(context);
CGRect viewRect = [self bounds];
float RedColor[] = {1.0f,0.0f,0.0f,1.0f};
CGContextSetFillColor(context,RedColor);
CGContextFillRect(context, viewRect);
CGContextRestoreGState(context);
}
Any idea?
Best regards
-Agha
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden