20 references to Resolution
PresentationCore (20)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
515
propertyMetrics.fResolution = propertyInfo.
Resolution
;
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1466
resolution = MetricEntry.MetricEntry_Optional[dw].PropertyMetrics.
Resolution
;
MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (8)
231
if (!DoubleUtil.AreClose(originalInfo.
Resolution
, defaultInfo.
Resolution
))
242
bw.Write(originalInfo.
Resolution
);
325
DoubleUtil.AreClose(1.0, propertyInfo.
Resolution
) )
354
DoubleUtil.AreClose(propertyInfo.
Resolution
, DefaultPropertyMetrics.
Resolution
))
371
DoubleUtil.AreClose(propertyInfo.
Resolution
, MetricEntry_Optional[ul].PropertyMetrics.
Resolution
) )
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (1)
33
_resolution = info.
Resolution
;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (4)
285
if (propertyInfo.
Resolution
!= 0)
286
dw = (uint)(((propertyInfo.Maximum - propertyInfo.Minimum) * 254) / propertyInfo.
Resolution
);
290
if (propertyInfo.
Resolution
!= 0)
291
dw = (uint)(((propertyInfo.Maximum - propertyInfo.Minimum) * 100) / propertyInfo.
Resolution
);
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (1)
78
float resolution = StylusPointPropertyInfoDefaults.GetStylusPointPropertyInfoDefault(stylusProp).
Resolution
;
System\Windows\Input\Stylus\Pointer\PointerTouchDevice.cs (2)
94
if (!DoubleUtil.AreClose(propertyInfo.
Resolution
, 0d))
96
value /= propertyInfo.
Resolution
;
System\Windows\Input\Stylus\Wisp\WispStylusTouchDevice.cs (2)
51
if (!DoubleUtil.AreClose(propertyInfo.
Resolution
, 0d))
53
value /= propertyInfo.
Resolution
;