Allow to choose the line rasterization algorithm. It supports rectangular and Bresenham-style line rasterization.