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

Re: NSView coordinate System


  • Subject: Re: NSView coordinate System
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 20 Sep 2002 07:53:44 -0700

On Fri, 20 Sep 2002 19:26:11 +1000, Greg Hulands <email@hidden>
said:

>I am wanting to get the coordinate system of an NSView to be that (0,0)
>is in the top left corner. In my subclass i have isFlipped return YES,
>but all that does is draw the image upside down.

That's not *all* it does. It ALSO puts (0,0) in the top left corner. If it
did not, then the image, whose coordinates are presumably still positive,
not only would be upside down, it would be outside the view's visible area.

> I could not find any
>other info in the docs.

So, you couldn't find the topic

... /TasksAndConcepts/ProgrammingTopics/DrawViews/index.html

or any of its subtopics, such as TransformingCoords.html? m.

--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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: Bad access when application quits - NSApp terminate
  • Next by Date: Re: UFS can't handle creation date
  • Previous by thread: Re: NSView coordinate System
  • Next by thread: NSTextStorage setAttributedString problems
  • Index(es):
    • Date
    • Thread