Re: NSView coordinate System
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.