How to draw circle on Inkcanvas
Hi wakefun,Well, In inkcanvas_MouseMove, pts.Add(new StylusPoint(mouseLeftDownPoint.X, mouseLeftDownPoint.Y)); pts.Add(new StylusPoint(currentPoint.X, currentPoint.Y));mouseLeftDownPoint is the...
View ArticleHow to draw circle on Inkcanvas
Perfect this is exactly what I was looking for.But could you explain me a bit why the ForEach loop has desapears?reagrds
View ArticleHow to draw circle on Inkcanvas
Hi wakefun,I've solved your problem, there is something wrong with your code:Radius = Sqrt((StartPoint.X- currentPoint.X)^2 + (StartPoint.Y- currentPoint.Y)^2) / 2.0CenterPonit= new...
View ArticleHow to draw circle on Inkcanvas
yes better but now what I am struglyin is that when I do a first Mouse down, I should rememver this frist point as it is the outside edge of the circle.Then when I move the move, the center of the...
View ArticleHow to draw circle on Inkcanvas
Hi wakefun,I've fixed it now:private void inkcanvas_MouseDown(object sender, MouseButtonEventArgs e) { IsDrawing = true;inkcanvas.Strokes.Clear();}Here is Demo:http://sdrv.ms/15nswQSFranklin Chen MSDN...
View ArticleHow to draw circle on Inkcanvas
Thanks for your sample but I have some issue base on it.- First when I click the mouse down , the circle is fully drawn already, then when I startto move the cirlce reduce.I need to make it work it...
View ArticleHow to draw circle on Inkcanvas
Hi wakefun,According to your description, i get that you want to draw circle on Inkcanvas dynamically.We can change the inkCanvas.Strokes to chieve the custom shape you want to draw. On a side note,...
View ArticleHow to draw circle on Inkcanvas
Dear all,I have an InkCanvas on which I need to draw a circle with finger or mouse. I have read that I need to create a class the inherit from Stroke in order to draw custom shape as stroke but do not...
View Article
More Pages to Explore .....