Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!apple!motcsd!dms!rotberg From: rotberg@dms.UUCP (Ed Rotberg) Newsgroups: comp.sys.mac.programmer Subject: Re: Correct way to set pixels? Message-ID: <1243@dms.UUCP> Date: 7 May 91 15:52:59 GMT References: <1991May7.041053.28488@nntp-server.caltech.edu> Distribution: na Organization: Atari Games Inc., Milpitas, CA Lines: 13 From article <1991May7.041053.28488@nntp-server.caltech.edu>, by rasnow@bek-mc.caltech.edu (Brian Rasnow): > The Think C profiler tells me Line(1,0) and Line(0,1) are nearly twice as slow > as Line(1,1). Anyone know why? It seems there should be a faster (legal) way > to set a pixel. How about PutPixel() (or is it PutRGBPixel()?). This is defined in IM V. I'm not sure just how fast it is, but it probably deon't need to go through any algorithmic loops at all. Hope this helps. - Ed Rotberg -