Recently found this in the Apple NSImage docs re: CompositeToPoint method:

"Important: If you are writing new code, or updating old code, you
should avoid using this method. Instead, you should use the
drawAtPoint:fromRect:operation:fraction: or
drawInRect:fromRect:operation:fraction: method to draw the image.
Although the method itself is not deprecated, the behavior it provides
is not recommended for general use."

I am currently using compositeToPoint extensively in one of my
projects because I read in the apple drawing guide that it is more
efficient since it ignores some extra checks like bounds and view
rotation, etc.

I have had trouble finding any other details on the above warning in
the docs. Does anyone have any information they might be able to share
on why 'compositeToPoint' is 'not recommended for general use'?

Thanks in advance,
-Matt
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to