Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All

I need to draw the symmetric drawing on canvas control of XAML. please give me some tips and if possible examples.

for reference: Point Slope Form Calculator

Thank You

What I have tried:

searched on internet for solution but found nothing
Posted
Updated 27-Jul-21 6:52am

1 solution

That would be a line. Given x, y and the slope, you can calculate the end points.

3 Ways to Find the Slope of an Equation - wikiHow[^]

How to: Draw a Line - WPF .NET Framework | Microsoft Docs[^]

Or, calculate the angle (tangent) and rotate a line of slope 0.
 
Share this answer
 
Comments
Maciej Los 28-Jul-21 3:39am    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900