Re: Zooming images in NSView
Re: Zooming images in NSView
- Subject: Re: Zooming images in NSView
- From: "John C. Randolph" <email@hidden>
- Date: Sat, 11 Dec 2004 16:56:52 -0800
On Dec 11, 2004, at 12:56 PM, Chris Giordano wrote:
Thought I'd let everyone know of what looks like a bug in the
-scalePercent method in the sample code.
You're right, there's a bug. It's not in -scalePercent though, it's in
the way I was computing -scale, and mixing up a -convertSize:fromView:
with -convertSize:toView. Correction coming soon to an ADC website near
you!
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden