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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com