Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - calculationIn 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 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