Answer the question
In order to leave comments, you need to log in
C/C# - How to draw a triangle using the rubber band method?
Construct a triangle with given vertices. The points of the screen, which are the vertices of the triangle, are indicated from the keyboard using the rubber thread method.
What is the rubber thread method? I found two sources of similar programs - in one on Turbo Pascal it was necessary to control a point on the screen, press ENTER, place the second, third, and then they were connected by lines.
In the C# source, you could enter the coordinates into the fields on the screen, click on the button, and the triangle would appear.
Help understand.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question