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

Coordinate system question


  • Subject: Coordinate system question
  • From: "Bell, Carl" <email@hidden>
  • Date: Tue, 19 Mar 2002 11:45:16 -0600
  • Thread-topic: Coordinate system question

Howdy,

I'm curious. Why are the coordinate systems in Cocoa based on the
bottom/left rather than top/left? Did NeXT, by default, open new
windows relative to the bottom of the screen instead of the top, since
there wasn't a menubar at the top? It seems backwards to me, because
the desktop and windows are "anchored" at the top/left and are resized
towards the bottom/right.

I ask, because I recently increased my screen resolution, and now the
windows in my app open up in the middle of the screen rather than at
the top. Turns out, I modified something in IB, and it saved the
windows with the new (actually, the same, but now wrong) positions
which is not at all what I want. Is there a way to force windows in
IB to remain relative to the top/left corner?

-cb

________________________________________________________________________
Carl W. Bell Baylor University Electronic Libraries
Sr. Analyst/Programmer <http://www3.baylor.edu/~Carl_Bell/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSString drawAtPoint under non-identity CTM doesn't draw anything
  • Next by Date: Re: NSString drawAtPoint under non-identity CTM doesn't draw anything
  • Previous by thread: Re: Need clarification on categories
  • Next by thread: Re: Coordinate system question
  • Index(es):
    • Date
    • Thread