CCT.NUI.HandTracking.Mouse.MouseController.MapToScreen C# (CSharp) Method

MapToScreen() private method

private MapToScreen ( Point point ) : Point
point Point
return Point
        private Point MapToScreen(Point point)
        {
            var originalSize = new Size(this.handSource.Width, this.handSource.Height);
            return new Point(-50 + (float)(point.X / originalSize.Width * (System.Windows.SystemParameters.PrimaryScreenWidth + 100)), -50 + (float)(point.Y / originalSize.Height * (System.Windows.SystemParameters.PrimaryScreenHeight + 100)), point.Z);
        }
    }