How to convert the decartes ordinate to screen ordinate ?
i use BRESENHAM or DDA Algorithm drawing a line, i can't draw with a negative ordinate. How to convert from the decartes ordinate to screen ordinate?
Such as :
draw a line from (2,3) to (-5,8).
Thanks
|