• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPad drawing and screen rotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iPad drawing and screen rotation (From: Donald Hall <email@hidden>)

  • Prev by Date: Re: drawGlyphsForGlyphRange layout issue
  • Next by Date: NSApplicationShowExceptions - useful on main thread only?
  • Previous by thread: iPad drawing and screen rotation
  • Next by thread: Re: iPad drawing and screen rotation
  • Index(es):
    • Date
    • Thread