11 references to MathHelper
PresentationCore (11)
MS\Internal\Ink\InkSerializedFormat\Codec.cs (2)
84
if ( Int32.MaxValue >=
MathHelper
.AbsNoThrow(llxfData) )
93
long absLxfData =
MathHelper
.AbsNoThrow(llxfData);
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
408
int alpha =
MathHelper
.AbsNoThrow(transparency - 255);
517
int transparency =
MathHelper
.AbsNoThrow(( (int)alphaChannel ) - 255);
MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (6)
148
uint ulAbsMaxDelDel = (uint)Math.Max(
MathHelper
.AbsNoThrow(minDelDel),
MathHelper
.AbsNoThrow(maxDelDel));
150
uint ulAbsMax = (uint)Math.Max(
MathHelper
.AbsNoThrow(minVal),
MathHelper
.AbsNoThrow(maxVal));
281
ulAbsMax = (uint)Math.Max(
MathHelper
.AbsNoThrow(minInt),
MathHelper
.AbsNoThrow(maxInt));
MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
161
uint nData = (uint)
MathHelper
.AbsNoThrow(data);