it must be a matter of rounding: I don't know exactly how anti alias operates http://en.wikipedia.org/wiki/Anti-aliasing but it changes the color of both object and background turn it off and see what happens jjc Mtl
--- Fabio Soggia <[EMAIL PROTECTED]> wrote: > Thanks, I used your code, but I have some doubts. > > I tried x1 = 0, y1 = 0, x2 = 10, y2 = 4 > > With your code it should be: > > 0 0 > 1 0 > 2 0 > 3 1 > 4 1 > 5 2 > 6 2 > 7 2 > 8 3 > 9 3 > 10 4 > > I tried my initial idea, so a new picture, I draw a > line and check > pixel by pixel the color. Using new render (on osx) > I have antialias > and so many colours, using old render I have only > black and white, > but not same pixels. > > 0 0 > 1 1 > 2 1 > 3 1 > 4 2 > 5 2 > 6 3 > 7 3 > 8 3 > 9 4 > 10 4 > > Code of the test is available, just ask it. > Any suggestion? Have I to check every line I > process? Seems I have to > do it about 2'000'000 times for my project. > Thanks > Fabio Soggia > > Il giorno 21/dic/05, alle ore 01:21, FreeFL ha > scritto: > > ... > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives of this list here: > <http://support.realsoftware.com/listarchives/lists.html> > __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
