On Thu, Nov 19, 2009 at 8:05 PM, Dave Keck <[email protected]> wrote:
> In my testing several months ago, though, I found that manually
> drawing the three segments (using NSImage's -drawInRect:) to be
> faster. So if performance is an issue, you might be better off rolling
> your own.

Did you account for resolution independence and integral pixel
alignment?  If not, I can see how your own code would be faster.
Otherwise, I imagine Apple has done a great deal of optimization on
these functions.  If not, it might be worth filing a bug.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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