Re: NSGraphicsContext's setCompositingOperation:
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