Note: Compare the speed of lineBresenham( ) to lineTwoStep( ). This comparision is most fair since I did not remove the calls to raster.setPixel() in the two-step algorithm.