I was wondering how i would go about drawing a simple but accurate triangle in C# given all angles and lengths
I know how to draw simple triangles with .DrawPolygon() with a few Points but i dont know how to get an accurate representation of the triangle on a windows form taking into account angles and side lengths.
Also is there a way of attaching labels to the triangle such as a,b,c etc along with curves for the angles that move with the triiangle if angles/lengths change or when the form is resized.
Question
Mulrian
Hi,
I was wondering how i would go about drawing a simple but accurate triangle in C# given all angles and lengths
I know how to draw simple triangles with .DrawPolygon() with a few Points but i dont know how to get an accurate representation of the triangle on a windows form taking into account angles and side lengths.
Also is there a way of attaching labels to the triangle such as a,b,c etc along with curves for the angles that move with the triiangle if angles/lengths change or when the form is resized.
Any ideas or suggestions welcome!
Thanks in advance
Link to comment
Share on other sites
18 answers to this question
Recommended Posts