Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - mathIn this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things !2024-02-26T15:40:43+01:00Jonathan ANTOINEurn:md5:627146f22bec1346990949372a159bfaDotclearHow to create an hand writing to text control (ink recognizer)urn:md5:f9aea256e97acb32c48044cd92d26be42010-10-25T00:01:00+02:002011-03-24T21:57:03+01:00JonathanANTOINE@falsemail.comMultiTouchapicontrolscustomdemohow tohow-tomanipulationmathmultitouchNatural User InterfacesampleTemplatetesttestingteststipstrickWindows Presentation FoundationWPFXAML<p>When building a (multi)touch application you may need one nice feature : translate hand-written text to real words. This open a whole new world full of possibilities like starting some actions when keywords are recognized or simply allow the users to write some text for later use. <br /><br /><strong>In this post we'll see all the step to create an hand writing to text control and how to tune it.</strong></p> <p>Specifications
The HandWritingToText controls translate the text written with it's hand by the user into "computer text". The final purpose is to triggers some actions when a specific keyword is recognized and it'll so be able to recognize only one word at a time and not a whole text.
The recognized text will be published via an event and... <a href="http://blog.lexique-du-net.com/index.php?post/2010/09/19/How-to-create-an-hand-writing-to-text-control-%28ink-recognizer%29"><em>Read</em> How to create an hand writing to text control (ink recognizer)</a></p>http://blog.lexique-du-net.com/index.php?post/2010/09/19/How-to-create-an-hand-writing-to-text-control-%28ink-recognizer%29#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/55How to scale around a specific point and not the center of the Elementurn:md5:c8fa861010ac01eac2c6ba11ecf59f642009-10-11T16:28:00+02:002010-02-18T20:39:04+01:00JonathanANTOINE@falsemail.comMultiTouchcalculationhow tomanipulationmathmultitouchNatural User InterfaceNUIprocessorscalescalingWPF <p>The problem
The most popular controls which has been brought by the Microsoft SDK is certainly the scatterView. Each item is positioned at a random place with a random orientation.
You can then rotate, move or scale them with your fingers. Here we will focus on this last point : the scaling. This is a really nice feature and you may wants... <a href="http://blog.lexique-du-net.com/index.php?post/2009/10/11/How-to-scale-around-a-specific-point-and-not-the-center-of-the-Element"><em>Read</em> How to scale around a specific point and not the center of the Element</a></p>http://blog.lexique-du-net.com/index.php?post/2009/10/11/How-to-scale-around-a-specific-point-and-not-the-center-of-the-Element#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/29Calculate the real difference between two angles, keeping the correct signurn:md5:54e4b626dec5df6a2839587e2b91fb172009-04-01T19:37:00+02:002010-11-18T15:41:01+01:00JonathanANTOINE@falsemail.comMultiTouchanglecalculationhow-tomathrotationWPF <p>When you build some animations with WPF, Surface or JavaFX you sometimes need to know how evolve an angle. For example, you have the new angle (orientation) of an object and you have store before the last measure of this orientation : how to calculate the evolution ?
A first solution
"This is simple" will you say, just do this :
double... <a href="http://blog.lexique-du-net.com/index.php?post/Calculate-the-real-difference-between-two-angles-keeping-the-sign"><em>Read</em> Calculate the real difference between two angles, keeping the correct sign</a></p>http://blog.lexique-du-net.com/index.php?post/Calculate-the-real-difference-between-two-angles-keeping-the-sign#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/19