DDA refers to Digital Differential Analyzer. DDA Line Drawing Algorithm: Step 1: Get the endpoints of a line from the user. Lady Love Game. Download Free Jazz Transcriptions Pdf there. (X start, Y start) and (X end, Y end) are the end points of a line. Step 2: Calculate dx and dy.

Dx = X end - X start dy = Y end - Y start Step 3: Calculate the slope 'm' m = dx / dy; Step 4: If slope is less than or equal to 1( m 1), then the X and Y successors are calculated as follows. Y k + 1 = Y k + 1 X k + 1 = X k + (1 / m) k starts from 1 and get incremented by 1 until endpoint(Y end) is reached. Write a C program to implement DDA line drawing algorithm.