Problem in drawing gradients?
I am trying to develop a custom colorpicker. What I need is to draw a gradient pattern to an NSView(which i can) but i am not able to obtain a gradient as shown in GIMP or Photoshop.
I think drawing this kind of a gradient requires some algorithm which draws pixel by pixel( and cannot be achieved with NSGradient)
Any help from the forums members pls...
Thanks in advance.
|