Skip to content

How to draw a line?

VBrazhnik edited this page Aug 23, 2018 · 1 revision

To draw a line you can use Bresenham's line algorithm (simpler solution) or Xiaolin Wu's line algorithm (more sophisticated solution which will produced more beautiful result).