9 references to AbsNoThrow
PresentationCore (9)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
407
int alpha = MathHelper.
AbsNoThrow
(transparency - 255);
516
int transparency = MathHelper.
AbsNoThrow
(( (int)alphaChannel ) - 255);
MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (6)
147
uint ulAbsMaxDelDel = (uint)Math.Max(MathHelper.
AbsNoThrow
(minDelDel), MathHelper.
AbsNoThrow
(maxDelDel));
149
uint ulAbsMax = (uint)Math.Max(MathHelper.
AbsNoThrow
(minVal), MathHelper.
AbsNoThrow
(maxVal));
280
ulAbsMax = (uint)Math.Max(MathHelper.
AbsNoThrow
(minInt), MathHelper.
AbsNoThrow
(maxInt));
MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
160
uint nData = (uint)MathHelper.
AbsNoThrow
(data);