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 protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to