Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - calculation http://blog.lexique-du-net.com/index.php? In 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 ! en Mon, 06 Feb 2023 18:16:14 +0100 Jonathan ANTOINE, All rights reserved http://blogs.law.harvard.edu/tech/rss Dotclear How to scale around a specific point and not the center of the Element 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 urn:md5:c8fa861010ac01eac2c6ba11ecf59f64 Sun, 11 Oct 2009 16:28:00 +0200 JonathanANTOINE@falsemail.com MultiTouch calculationhow 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-form 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-form http://feeds.feedburner.com/JonathanAntoine/comments/29 Calculate the real difference between two angles, keeping the correct sign http://blog.lexique-du-net.com/index.php?post/Calculate-the-real-difference-between-two-angles-keeping-the-sign urn:md5:54e4b626dec5df6a2839587e2b91fb17 Wed, 01 Apr 2009 19:37:00 +0200 JonathanANTOINE@falsemail.com MultiTouch anglecalculationhow-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-form http://blog.lexique-du-net.com/index.php?post/Calculate-the-real-difference-between-two-angles-keeping-the-sign#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/19