On Mar 23, 2012, at 6:05 PM, Timothy Reaves wrote:

> I have a subclass of NSView, and draw into using CoreGraphics.  I'd like to
> add a second view (not NSScrollView) to display a zoomed section of the
> primary view. 

You’ll need a second instance of the same view class, displaying the same 
model. Make its bounds rect smaller than its frame, and the contents will be 
scaled up by the same proportion when drawn.

—Jens


_______________________________________________

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