[futurebasic] Re: [FB] Beginner: Screen Coordinates

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Deep <Info@...>
Date: Mon, 25 Jan 2010 22:29:20 +0000
QuickDraw uses the top left as the origin, imagine the Apple in the top left
corner as the way to remember since that was unique to Apple.

The others such as CoreGraphics, Quartz, OpenGL, etc, all use the bottom
left as the origin point. This takes it's cue from PostScript. Apple used to
refer to CoreGraphics and Quartz as "Display PostScript" until they were
given the official Apple names.

Abandoning QuickDraw and using one of the other technologies means the
coordinate space is the same between technologies, much easier when creating
graphics on one media (screen?) and transferring to another (print? pdf?).

> From: Emmett <click@...>
> Reply-To: <futurebasic@...>
> Date: Mon, 25 Jan 2010 12:07:06 -0800
> To: <futurebasic@...>
> Subject: [FB] Beginner: Screen Coordinates
> I have been reading some OpenGL stuff and it indicates that x0, y0 is
> in the bottom left corner of the screen.
> I thought in Basic the location of x0, y0 was the top left corner.
> Is 0,0 the top left of the screen or the bottom left?
> Oh yea, and the z coordinate runs from 0 (from inside) starting from
> x, y toward the users eye?
> Emmett
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...