jasonbogd jasonbogd - 1 year ago 103
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

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?


Answer Source