11 references to MathHelper
PresentationCore (11)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\Codec.cs (2)
94if ( Int32.MaxValue >= MathHelper.AbsNoThrow(llxfData) ) 103long absLxfData = MathHelper.AbsNoThrow(llxfData);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
428int alpha = MathHelper.AbsNoThrow(transparency - 255); 548int transparency = MathHelper.AbsNoThrow(( (int)alphaChannel ) - 255);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (6)
164uint ulAbsMaxDelDel = (uint)Math.Max(MathHelper.AbsNoThrow(minDelDel), MathHelper.AbsNoThrow(maxDelDel)); 166uint ulAbsMax = (uint)Math.Max(MathHelper.AbsNoThrow(minVal), MathHelper.AbsNoThrow(maxVal)); 297ulAbsMax = (uint)Math.Max(MathHelper.AbsNoThrow(minInt), MathHelper.AbsNoThrow(maxInt));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
176uint nData = (uint)MathHelper.AbsNoThrow(data);