Re: coordinate system
Re: coordinate system
- Subject: Re: coordinate system
- From: Ondra Cada <email@hidden>
- Date: Thu, 25 Oct 2001 11:43:51 +0100
Steve, Brian,
>
>>>>> Steve Bird (SB) wrote at Thu, 25 Oct 2001 01:23:59 -0400:
SB> >Does Cocoa use a geometry-style coordinate system with (0, 0) at the
SB> >lower left corner?
SB> ---Yes. I recall reading this, but I cannot quote you where
NSView, of course.
SB> >How do I flip this?
SB> Set the control's Y coordinate to (WindowHeight - ControlHeight - Y).
SB> Or just change your thinking.
Or RTFM.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc