• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Under OS 3.0 CoreGraphics.framework is not available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Under OS 3.0 CoreGraphics.framework is not available
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: NSSocketPort initRemoteWithTCPPort is never valid
  • Next by Date: Integrating with another app
  • Previous by thread: Re: GDB Running
  • Next by thread: Re: Under OS 3.0 CoreGraphics.framework is not available
  • Index(es):
    • Date
    • Thread