mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Update comments
This commit is contained in:
parent
9db1987ee5
commit
754e185c5d
20 changed files with 83 additions and 48 deletions
|
|
@ -94,7 +94,8 @@ namespace MapControl
|
|||
|
||||
image.RenderTransform = new RotateTransform { Angle = -rotation };
|
||||
|
||||
// effective unrotated transform
|
||||
// Calculate effective unrotated transform.
|
||||
//
|
||||
transform.M11 = Math.Sqrt(transform.M11 * transform.M11 + transform.M12 * transform.M12);
|
||||
transform.M22 = -Math.Sqrt(transform.M22 * transform.M22 + transform.M21 * transform.M21);
|
||||
transform.M12 = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue