I need to know about the algorithm to draw a star-shaped polygon. My problem is : give a (x,y) co-ordinate and a lenth d, how i use Bresenham or DDA algorithm to draw a star-shaped???
In addition: How i can draw a line with negative ordinate , such as : from (3,5) to (-12,6).
How to convert the descartes co-ordinate to screen co-ordinate??
Thanks