kermit wrote:
Im testing Cocoa pretty hard now.
One feature I use extensively is the use of a picture to get me points on a line or circle.
I create a picture in white. Set OldRenderer to true
Then draw a line or an oval or similar in black.
Then examine the results pixel by pixel to see where the line or oval was drawn, and use it like a map.
My current code says
if pixel(x,y).blue = 0 then....
trouble is, in Cocoa, even after I set OldRenderer to TRUE, it is immediately set to false
So graphics operations get fuzzy and unsharp.
So if pixel(x,y).blue = 0 doesn't work any more.
This is a major problem for me: cant I have OldRenderer any longer?
I dont want to draw fuzzy lines.. I need exact pixels to make this work.
Wouldn't it be faster to use math to find a point on circle?