Re: Converting to Window Coordinates
Re: Converting to Window Coordinates
- Subject: Re: Converting to Window Coordinates
- From: Jens Alfke <email@hidden>
- Date: Wed, 22 Apr 2015 10:50:11 -0700
> On Apr 22, 2015, at 9:46 AM, Scott Ribe <email@hidden> wrote:
>
> On Apr 22, 2015, at 10:10 AM, Dave <email@hidden> wrote:
>>
>> I really can’t understand why it was ever defined to be bottom left, does anyone know why?
>
> Normal Cartesian coordinates. (I agree the other way made sense, measuring from the menu bar…)
This dates back to PostScript, which has always put (0,0) at the bottom left of the page. (Remember that NeXT started out using Display PostScript as its rendering engine.)
—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