Hi David,

> The CAShapeLayer favors performance over accuracy, while Quartz favors 
> accuracy over performance. As such it is entirely possible to get slightly 
> different results between the APIs.

Looks I've ran into the case where the difference was most noticeable (the 
small radii). Thank you for the explanation.

> Of note is that on 10.6 or later you can assign an NSImage directly as the 
> contents of a layer, so your CGImageForProposedRect::: call is unnecessary 
> here.

And thank you for making my life easier and my code cleaner. :-)

— Anton._______________________________________________

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 arch...@mail-archive.com

Reply via email to