20 references to Resolution
PresentationCore (20)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
534
propertyMetrics.fResolution = propertyInfo.
Resolution
;
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1479
resolution = MetricEntry.MetricEntry_Optional[dw].PropertyMetrics.
Resolution
;
MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (8)
233
if (!DoubleUtil.AreClose(originalInfo.
Resolution
, defaultInfo.
Resolution
))
244
bw.Write(originalInfo.
Resolution
);
327
DoubleUtil.AreClose(1.0, propertyInfo.
Resolution
) )
356
DoubleUtil.AreClose(propertyInfo.
Resolution
, DefaultPropertyMetrics.
Resolution
))
373
DoubleUtil.AreClose(propertyInfo.
Resolution
, MetricEntry_Optional[ul].PropertyMetrics.
Resolution
) )
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (1)
42
_resolution = info.
Resolution
;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (4)
292
if (propertyInfo.
Resolution
!= 0)
293
dw = (uint)(((propertyInfo.Maximum - propertyInfo.Minimum) * 254) / propertyInfo.
Resolution
);
297
if (propertyInfo.
Resolution
!= 0)
298
dw = (uint)(((propertyInfo.Maximum - propertyInfo.Minimum) * 100) / propertyInfo.
Resolution
);
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (1)
87
float resolution = StylusPointPropertyInfoDefaults.GetStylusPointPropertyInfoDefault(stylusProp).
Resolution
;
System\Windows\Input\Stylus\Pointer\PointerTouchDevice.cs (2)
98
if (!DoubleUtil.AreClose(propertyInfo.
Resolution
, 0d))
100
value /= propertyInfo.
Resolution
;
System\Windows\Input\Stylus\Wisp\WispStylusTouchDevice.cs (2)
59
if (!DoubleUtil.AreClose(propertyInfo.
Resolution
, 0d))
61
value /= propertyInfo.
Resolution
;