Re: Changing the NSView bounds origin point
Re: Changing the NSView bounds origin point
- Subject: Re: Changing the NSView bounds origin point
- From: Jens Alfke <email@hidden>
- Date: Thu, 29 Oct 2009 14:42:18 -0700
On Oct 29, 2009, at 2:37 PM, Gustavo Pizano wrote:
I have a custom NSView and Im drawing in it a glossy background, BUT
it seems the algorithm that Im using assumes as coordinates origin
to be on the upper left corner and the nsview origin start on the
bottom left corner. Is there any work around this?
Use flipped coordinates. (Look up "flipped" in the Cocoa docs.)
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden