Computer graphics

[Closed]
Report
-
 Blocked Profile -
draw a staright line using pixel in c language?

1 reply


Hi there,

Follow these instructions for drawing line in c:

Output a dot in loop,horizontal line from a(x1,y1) b (x2,y2) start from x1,y1 then in every next loop keep y1 increasing x1 by 1.

Thanks