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