Hi,

I'm in the concept phase of a Mac application that should let the user
easily select and layout images for printing. It's a document-based
app and a document can have multiple pages with lots of pictures in
different sizes and rotations on it. The UI would kind of be like the
UI of Pages.app.

Those pictures can possibly be large hi-res images. The user should
also be able to print them in the best quality that the images offer.

I have re-watched some WWDC sessions about Quartz, 2D drawing
optimization and NSView.

I know that there are a few different ways of accomplishing what I
want to do, namely:

Use a custom view for a "page" and draw the images in drawRect: with
Core Graphics/Quartz. Use CG transforms to rotate and scale images.

Also use a custom view for a "page", but use NSImageView-subviews to
display the images. Use Core Animation and layer transforms to
scale/rotate images.

What is the best practice for this? Drawing with Core Graphics or
using NSViews? Or using CALayers? Why?

I have received some input to my StackOverflow question already as
well: 
http://stackoverflow.com/questions/10621858/best-practice-for-laying-out-images-for-printing-in-a-wysiwyg-mac-app

Thank you so much!

Johannes

-- 
springenwerk.com | github.com/jfahrenkrug | twitter.com/jfahrenkrug
_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to