Line Drawing Algorithm Steps Step-02: Find the number of steps or points in between the starting and ending coordinates. if (absolute (ΔX) > absolute (ΔY)) Steps = absolute (ΔX); else Steps = absolute (ΔY); Step-03: Suppose the current point is (X p , Y p ) and the next point is (X p+1 , Y p+1 ). Find the next point by following the below three cases- FET, RAMA UNIVERSITY, Mr.Devendra Kr Lohia
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Line Drawing Algorithm Steps
Step-02:
Find the number of steps or points in between the starting and ending coordinates.