Re: iPad drawing and screen rotation
Re: iPad drawing and screen rotation
- Subject: Re: iPad drawing and screen rotation
- From: Jens Alfke <email@hidden>
- Date: Fri, 21 Sep 2012 14:04:29 -0700
On Sep 21, 2012, at 12:18 PM, Donald Hall <email@hidden> wrote:
> I have a master detail project where I draw Bezier paths in the detail view. On rotation from portrait to landscape (or vice versa) the proportions of the drawings are distorted. For example, a circle in one orientation becomes an oval in the other.
This shouldn’t be happening if the coordinates you draw to are the same — the graphics coordinate system has the same scale in x and y.
Is it possible you’re deriving your bezier coordinates from the height and width of the view, which will change as the device is rotated?
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden