Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF/C#: WPF Path Maker Tool/Sample?

Tags:

c#

path

wpf

markup

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?

like image 735
abramlimpin Avatar asked Dec 23 '10 02:12

abramlimpin


People also ask

Is WPF and C# same?

C# is a programming language. WPF is a technology used to develop rich GUI applications using C# (or any other . NET language).

What is WPF in C# used for?

Windows Presentation Foundation (WPF) is a UI framework that creates desktop client applications. The WPF development platform supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding, documents, and security.

Is WPF obsolete?

“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.

What is the WPF stand for?

WPF stands for Windows Presentation Foundation. It is a powerful framework for building Windows applications.


2 Answers

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!

like image 152
softwarequestioneer Avatar answered Sep 18 '22 15:09

softwarequestioneer


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

like image 43
Dan Avatar answered Sep 19 '22 15:09

Dan