write a c program which takes points as input


Write a C program which takes points as input from mouse clicks (left button) and then performs an action.  Apply your program to generate a closed polygon as follows: Every time a left button is pressed, a point on the screen is selected at mouse position and corresponding edge is drawn. When the right button is clicked, the polygon is created.  Use one of the line drawing algorithms to plot your line segment.

Request for Solution File

Ask an Expert for Answer!!
Computer Graphics: write a c program which takes points as input
Reference No:- TGS0417603

Expected delivery within 24 Hours