On Wed, May 6, 2009 at 4:40 PM, Ricky Sharp <rsh...@mac.com> wrote:
> The only disadvantage to PDF (or vector-based artwork) is that you'll have
> longer initial load times.  But, I created an 'image factory' to help me
> manage that.  I can mark certain images as being 'pre-load' and load them up
> during app startup.  Remaining are all lazily loaded.  And, once in memory,
> each is now in bitmap form (you ultimately have an NSBitmapImageRep).  So
> drawing is always fast.

The OP mentioned he is writing a game.  Often times scaling and
rotation are important operations.  This might cause PDFs to be slow
to render during gameplay.

--Kyle Sluder
_______________________________________________

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