View Single Post
Old 10-21-2004, 07:32 PM   #1 (permalink)
john_tran
Registered User
 
Join Date: Oct 2004
Posts: 22
john_tran is on a distinguished road
Question 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
john_tran is offline   Reply With Quote