WPF/C#: WPF Path Maker Tool/Sample?
Asked Answered
R

3

20

I am just wondering if it's possible to create a WPF application that allows users to use a certain pen to plot directions to make a certain path and able to display the path data.

The idea is almost the same with this one: http://blogs.msdn.com/b/gavingear/archive/2007/02/15/intoducing-pathmaker-a-tool-for-creating-path-markup-for-wpf-e.aspx

I also found a good sample where I can draw lines and stuff inside the canvas: http://www.codeproject.com/KB/WPF/WPF_DrawTools.aspx

I'm just looking for a good head start. Any suggestions?

Roddy answered 23/12, 2010 at 2:34 Comment(0)
H
16

Jesema is another one that might be helpful for you:

http://marlongrech.wordpress.com/jasema/

If you want something where you can draw stuff inside a canvas, there's livegeometry

http://livegeometry.codeplex.com/

but that one has the path data abstracted away (that's more similar to your draw tools example).

Hope those help!

Hetaera answered 23/12, 2010 at 19:52 Comment(0)
T
4

I know this question is quite old, but I found that Inkscape supports save to XAML.

See this article: http://www.software-architects.com/devblog/2008/01/13/Graphic-In-XAML-And-WPF

Thailand answered 23/9, 2016 at 9:46 Comment(0)
E
0

https://yqnn.github.io/svg-path-editor/

This tool has worked for me, I believe PathGeometry elements are just svg

Ernestineernesto answered 20/5, 2024 at 15:52 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.