|
These articles are a great complement to the Learning Cocoa book. I especially liked the last three on graphics, as that is what I will use the most. I have almost got my Mandelbrot set drawn.
My question is how to plot individual points into a view. I could define a rect using NSMakeRect as (x,y,x+1,y+1), and color in that pixel, but this seems to be a lot of extra code just to plot an NSPoint. Is there a command that takes an NSPoint and draws it in the default color?
Thank you for any help.
Alexander
|