Reputation: 4167
I have to develop a CAD application and I am planing to use WPF with C#. Earlier I had used GDI+ with C# to write similar application.
How can I perform the graphics operation in WPF similar to GDI+?
I want to set the pixel color with pencil (similar to MS Paint), draw some basic shapes such as circles, lines, rectangles etc etc.
I am planning to use canvas. Some one have any example?
Thanks
Upvotes: 1
Views: 1831
Reputation: 9871
Check out Kael Rowan`s ZoomableCanvas. It provides Virtualization and may be more suitable for heavy graphics scenarios than the default Canvas.
Upvotes: 1
Reputation: 17556
Yes , Wpf can be used for havey graphics based UI. See this link
For performance of WPF see this blog
Upvotes: 1