• 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: coordinate system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: coordinate system (From: Steve Bird <email@hidden>)

  • Prev by Date: Opening URLs
  • Next by Date: Re: Hiding a view
  • Previous by thread: Re: coordinate system
  • Next by thread: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Again]
  • Index(es):
    • Date
    • Thread