• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Banding/smoothing problem with drawing angled gradients.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Banding/smoothing problem with drawing angled gradients. (From: Phi Le <email@hidden>)
 >Re: Banding/smoothing problem with drawing angled gradients. (From: mm w <email@hidden>)

  • Prev by Date: Re: NSScrollView like iTunes
  • Next by Date: Re: problems with CAAnimation - SOLVED (kinda)
  • Previous by thread: Re: Banding/smoothing problem with drawing angled gradients.
  • Next by thread: Re: Banding/smoothing problem with drawing angled gradients.
  • Index(es):
    • Date
    • Thread