Mid-Point Line Drawing Algorithm in Computer Graphics

Posted by Nikita Singh
5
Feb 26, 2020
25 Views
Given coordinate of two points A(x1, y1) and B(x2, y2) such that x1 < x2 and y1 < y2. The task to find all the intermediate points required for drawing line AB on the computer screen of pixels. Note that every pixel has integer coordinates.
Comments
avatar
Please sign in to add comment.