• 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: NSGraphicsContext's setCompositingOperation:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSGraphicsContext's setCompositingOperation:


  • Subject: Re: NSGraphicsContext's setCompositingOperation:
  • From: Aki Inoue <email@hidden>
  • Date: Tue, 19 Jul 2005 10:37:46 -0700

Pavel,

I'm not jcr or Troy but I can answer this 8-).

Whenever a new API is added and the reference library haven't been updated, it is a good idea to take a look at the release note. file:///Developer/ADC Reference Library/releasenotes/Cocoa/ AppKit.html

It says, "The NSGraphicsContext class now has API to specify the compositing operation setting: compositingOperation and setCompositingOperation:. As with other graphics context state, the setting is saved/restored via saveGraphicsState and restoreGraphicsState methods. The setting has no effect with existing rendering API that take compositing operation as an argument such as - [NSImage compositeToPoint:operation:]."

Basically it allows you to specify the composite mode for the given graphics context. The mode is applied to any rendering (both CG and AppKit) in the context.

Aki

setCompositingOperation:
-(void)setCompositingOperation:(NSCompositingOperation)operation

Sets the receiver’s compositing operation to operation. Description forthcoming.
Availability
Available in Mac OS X v10.4 and later.




Hi,

It seems AppKit documentation still has this forthcoming.
So, what does it intend to do as part of the graphics state?

Any first hand comments from jcr and Troy Stephens would be appreciated.

Thank you.




_______________________________________________ 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


_______________________________________________ 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
  • Follow-Ups:
    • Re: NSGraphicsContext's setCompositingOperation:
      • From: mmalcolm crawford <email@hidden>
References: 
 >NSGraphicsContext's setCompositingOperation: (From: Pavel Kapinos <email@hidden>)

  • Prev by Date: Re: separating file name and path
  • Next by Date: Re: NSFileManager - "Can't read directory contents" ??
  • Previous by thread: NSGraphicsContext's setCompositingOperation:
  • Next by thread: Re: NSGraphicsContext's setCompositingOperation:
  • Index(es):
    • Date
    • Thread