Just a quick comment on this,...
As it is written above, it is quite a bit slower than using the regular line command in blitz.
I changed things around to use use writepixelfast instead on a locked buffer, and the speed is now nearly identical. (Tested by drawing 10000 lines with each method and comparing the times, and they are within a few millisecs of each other)
As it is written above, it is quite a bit slower than using the regular line command in blitz.
I changed things around to use use writepixelfast instead on a locked buffer, and the speed is now nearly identical. (Tested by drawing 10000 lines with each method and comparing the times, and they are within a few millisecs of each other)