• 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: [NSColor clearColor] and NSBezierPath: not compatible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSColor clearColor] and NSBezierPath: not compatible?


  • Subject: Re: [NSColor clearColor] and NSBezierPath: not compatible?
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 18 Aug 2005 22:03:16 +0200

On Aug 17, 2005, at 17:37:40, Stephane Sudre wrote:
On 17 août 05, at 17:18, Stefan Schüßler wrote:

Thanks for the explanation.

Sadly the setCompositingOperation: is only available on 10.4 and later. I will look for its sibling in CoreGraphic as suggested by Timothy.

You could also set your path as the clip rect and then use NSRectFill() or whatever to force the area transparent. Clipping will take care of cutting off the corners.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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
References: 
 >[NSColor clearColor] and NSBezierPath: not compatible? (From: Stephane Sudre <email@hidden>)
 >Re: [NSColor clearColor] and NSBezierPath: not compatible? (From: Stefan Schüßler <email@hidden>)
 >Re: [NSColor clearColor] and NSBezierPath: not compatible? (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Communicating between applications
  • Next by Date: Re: NSTableView, bindings, and a background color
  • Previous by thread: Re: [NSColor clearColor] and NSBezierPath: not compatible?
  • Next by thread: Newbie question (no idea where to start) - Create Interface Programatically
  • Index(es):
    • Date
    • Thread