Re: Banding/smoothing problem with drawing angled gradients.
Re: Banding/smoothing problem with drawing angled gradients.
- Subject: Re: Banding/smoothing problem with drawing angled gradients.
- From: Andrew Farmer <email@hidden>
- Date: Thu, 19 Mar 2009 23:46:19 -0700
On 19 Mar 09, at 21:41, mm w wrote:
seriously you should think to use a GLView,
As NSGradient is unusable in OpenGL contexts, I'm not sure what this
is supposed to solve.
you also have to think to lock your context...
The drawing context is set up and locked by AppKit before it calls
drawRect, so locking it manually is unnecessary (and may cause
problems of its own).
_______________________________________________
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