On Jun 9, 2010, at 1:45 PM, Matej Bukovinski wrote:

> If you need sharp results on both scales don't apply a CGAffineTransform but 
> rather increase your views frame and redraw everything as needed. 

You actually need to mess with the view’s bounds after changing the frame, 
otherwise you get the normal behavior of the view just getting larger without 
scaling anything up. Specifically, you want to get the view’s bounds, change 
the frame, then restore the old bounds. That way the view’s internal 
coordinates stay the same while its world coordinates get larger, which scales 
its contents.

—Jens_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to