Reputation: 6378
I plan to create a software about drawing angles. And I really have no idea about how to represent the correct three point position.
For example, I need a someway that I introduced the value 90, I get the righ position of the three point.
Until the momment, I just need some help or ideas about how to draw correctly the line or points with XAML.
Thanks.
Upvotes: 1
Views: 1271
Reputation: 2516
Use the Path object to draw those lines... and the formula:
var CoordinateX = Math.Cos(Angle); var CoordinateY = Math.Sin(Angle);
Angle in radians.
Upvotes: 3