Am 01.09.2009 um 23:59 schrieb Kyle Sluder:
Why are you scaling your clip view? It would make more sense to scale your document view.
It was my understanding that a custom view could be zoomed in (at least) two ways:
(1.) using "scaleUnitSquareToSize" of the clip view (leaving the coordination system of the custom view untouched) or
(2.) changing the bounds / frame of the custom view and handling the scaling in the custom view's drawRect:
As the first one worked (under Mac OS 10.5) and was less intrusive to my code, I never tried the second one. To be honest I can't remember why I used "scaleUnitSquareToSize" of the clip and not the custom view. I'll definitely give it a try the next days ...
Thanks, Matthias _______________________________________________
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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com