• 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
RE: Strange NSView redraw problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Strange NSView redraw problem


  • Subject: RE: Strange NSView redraw problem
  • From: "Jordan Evans" <email@hidden>
  • Date: Sat, 30 Sep 2006 12:53:46 -0700

-clearColor hasn't been so clear for me in Cocoa.  I have had to use Quartz:

	NSGraphicsContext *nsctx = [NSGraphicsContext currentContext];
	CGContextRef context = (CGContextRef)[nsctx graphicsPort];

      CGRect rect = CGRectMake(x, y, width, height);

      CGContextClearRect(context, rect);

	CGContextFlush(context);
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: CoreDate: Inverse relationship... (follow up)
  • Next by Date: Re: CoreDate: Inverse relationship... (follow up)
  • Previous by thread: Re: Strange NSView redraw problem
  • Next by thread: Editing NSBrowserCells
  • Index(es):
    • Date
    • Thread