Re: Changing the NSView bounds origin point
Re: Changing the NSView bounds origin point
- Subject: Re: Changing the NSView bounds origin point
- From: Gustavo Pizano <email@hidden>
- Date: Thu, 29 Oct 2009 23:03:48 +0100
hehe.. well the problem is that it happens only with NSView when I
apply the same to a NSButtonCell it does it normally. So far I pass
the rectangle to the algorithm with a negative height and the origin
to be (0, height) and it works,. but Im not happy with this solution.
G.
On Oct 29, 2009, at 10:43 PM, Kyle Sluder wrote:
On Thu, Oct 29, 2009 at 2:37 PM, Gustavo Pizano
<email@hidden> 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?
Fix your algorithm.
--Kyle Sluder
_______________________________________________
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