• 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: Drawing from lower left, why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing from lower left, why?


  • Subject: Re: Drawing from lower left, why?
  • From: Chris Hanson <email@hidden>
  • Date: Fri, 15 Jun 2007 16:00:59 -0700

On Jun 15, 2007, at 3:34 PM, Ken Tozier wrote:

Why did Apple subject us to this bass-ackwards way of drawing? The natural way to read information (at least 90+ percent of the time) is from top to bottom I just don't understand their logic and it makes drawing a living hell.

The Cartesian plane puts positive coordinates above and to the right of the origin (0, 0). The PostScript imaging model - from which most modern affine transform-based imaging architectures are derived - adopted this so no additional transforms would be necessary to translate between the mathematical representation of an image and what's used programmatically.


If you think of your drawing in terms of mathematics rather than in terms of reading and writing European languages, then a lower-left origin makes a lot more sense.

-- Chris


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Drawing from lower left, why? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Drawing from lower left, why?
  • Next by Date: Re: Drawing from lower left, why?
  • Previous by thread: Re: Drawing from lower left, why?
  • Next by thread: Re: Drawing from lower left, why?
  • Index(es):
    • Date
    • Thread