Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - NUI - Comments 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 Sun, 26 Sep 2021 12:30:31 +0200 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 - Martin Berger 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#c3475 urn:md5:04a3699214e5c1fb97a23dd70599030a Fri, 07 Dec 2012 10:20:03 +0100 Martin Berger <p>Hello,</p> <p>what is this last line supposed to perform?</p> <pre> if (scaleDelta &gt; 1.0) _myObjectToScale.Center += new Vector(newCenterXD, newCenterYD); else _myObjectToScale.Center += new Vector(newCenterXD, newCenterYD);</pre> <p>scaleDelta can be less or greater that 1.0, same code will execute.</p> How to scale around a specific point and not the center of the Element - Jonathan ANTOINE 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#c2020 urn:md5:dfdec9d2aceddbf64380ec872efd8b65 Sat, 05 Jun 2010 17:16:00 +0200 Jonathan ANTOINE <p>@<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#c2019" rel="nofollow">Jack A</a>:Hello, You may put the IsHitTestVisible property to false ?</p> How to scale around a specific point and not the center of the Element - Jack A 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#c2019 urn:md5:868bcaa646412c5c8f917b7fa492c10a Sat, 05 Jun 2010 14:19:27 +0200 Jack A <p>This is a really great article.</p> <p>I would like to be able to prevent a scatterviewitem from continuing to manipulate after I have removed all contacts from it. In other words I would like to prevent an item from being thrown across the screen, but simply want it to stop at my last point of contact. None of the scatterviewitem methods, properties and events seem to offer this capability. Do you know if this is possible?</p> [ping] How to scale around a specific point and not the center of the Element - DotNetShoutout 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#c429 urn:md5:d78c56a1c8d0572d2b90b453fe640ac2 Sun, 11 Oct 2009 18:37:02 +0200 DotNetShoutout <p><a href="http://dotnetshoutout.com/How-to-scale-around-a-specific-point-and-not-the-center-of-the-Element">How to scale around a specific point and not the center of</a></p> <!-- TB --> <p>Thank you for submitting this cool story - Trackback from DotNetShoutout...</p> [ping] How to scale around a specific point and not the center of the Element - DotNetKicks.com 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#c428 urn:md5:a1e44278e41aeefd0dc72824ea31569c Sun, 11 Oct 2009 18:22:13 +0200 DotNetKicks.com <p><a href="http://www.dotnetkicks.com/tipsandtricks/How_to_scale_around_a_specific_point_and_not_the_center_of_the_Element">How to scale around a specific point and not the center of</a></p> <!-- TB --> <p>You've been kicked (a good thing) - Trackback from DotNetKicks.com...</p>