Hi..I am working on a paint like application in wpf.I want the users to be able to add some drawings over images or plain surfaces.Also i want to draw some basic shapes like line,ellipse or a rectangle.I am trying to work with an inkcanvas,where i can do freehand drawing,but i cant draw shapes like in paint.Can anyone guide me and provide some clues on how to do it.Please help me on this.Any inputs will be greatly appreciated.
A:
WPF provides a Shape class that includes prebuilt methods that you can draw shapes with. Don't use the inkcanvas and instead draw directly to a canvas.
DMan
2010-08-24 18:19:14
hmm..i chose inkcanvas because it provides inbuilt functionality for saving strokes
biju
2010-08-27 11:36:27
However, it is less flexible.
DMan
2010-08-27 14:30:30