jasonbogd jasonbogd - 1 year ago 118
Objective-C Question

Zooming in an NSView

I have an NSView in which the user can draw circles. These circles are stored as an array of NSBezierPaths, and in drawRect:, I loop through the array and call

-stroke
on each of the paths. How do I add a button to zoom in and out the NSView? Just change the bounds of the view?

Thanks.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download