Re: Make a solid line look like 3D
Re: Make a solid line look like 3D
- Subject: Re: Make a solid line look like 3D
- From: "I. Savant" <email@hidden>
- Date: Sun, 25 Oct 2009 20:09:59 -0400
On Oct 25, 2009, at 8:00 PM, Graham Cox wrote:
But caching to a bitmap of some kind is a much bigger win, provided
you do it at the scale you need to draw it at (and recache if that
scale changes). Using CGLayer can generate really big speedups, so
that's worth looking into, but even the venerable NSBitmapImageRep
is a good way to cache and easier to use than CGLayer.
I don't know enough about the performance differences to agree or
disagree, but it makes sense. The zooming resolution issues inherent
to bitmaps, however, would probably negate any perceived advantage for
the user, since clicking the zoom in/out buttons would take you right
back to the original problem at least once during the session.
Sometimes usability is at least as much about perception as actual
performance.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden