Cogman
Lifer
Hey, for a program I am writing I need to make a straight line to do pixel color comparisons along the line. Basically I want to make my line look like a line drawn from MS Paint. I'm just struggling to see the algorithm microsoft used to determine where to break and go up the line.
It looks almost like it is Divide the line into the shorter halves length and then go the longer half until it makes it to the destination (Wow, I hope you can understand this).
To get what I am seeing, open up MS paint and just use the line tool in a zoomed in grid and watch how the line is deformed to make it appear straight.
It looks almost like it is Divide the line into the shorter halves length and then go the longer half until it makes it to the destination (Wow, I hope you can understand this).
To get what I am seeing, open up MS paint and just use the line tool in a zoomed in grid and watch how the line is deformed to make it appear straight.