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