12 instantiations of StylusPointDescription
PresentationCore (11)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
463= new StylusPointDescription(
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1653return new StylusPointDescription(stylusPointPropertyInfos, pressureIndex);
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
239_stylusPointDescription = new StylusPointDescription();
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (2)
34_stylusPointDescription = new StylusPointDescription(); 234_stylusPointDescription = new StylusPointDescription();
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (1)
369return new StylusPointDescription(commonProperties);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
250new StylusPointDescription(
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
267_stylusPointDescription = new StylusPointDescription(propertyInfos, _tabletInfo.PressureIndex);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
631_mousePointDescription = new StylusPointDescription(
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
162_stylusPointDescription = new StylusPointDescription(propertyInfos, pressureIndex);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1940_mousePointDescription = new StylusPointDescription(
PresentationFramework (1)
System\Windows\Controls\InkCanvas.cs (1)
207_defaultStylusPointDescription = new StylusPointDescription();
101 references to StylusPointDescription
PresentationCore (97)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (7)
457if (stylusPoints.Description.PropertyCount > StylusPointDescription.RequiredCountOfProperties) 462StylusPointDescription reformatDescription 484Debug.Assert(propertyGuids.Length == StylusPointDescription.RequiredCountOfProperties); 494StylusPointPropertyInfo[] infosToUse = new StylusPointPropertyInfo[StylusPointDescription.RequiredCountOfProperties]; 495infosToUse[StylusPointDescription.RequiredXIndex] = StylusPointPropertyInfoDefaults.X; 496infosToUse[StylusPointDescription.RequiredYIndex] = StylusPointPropertyInfoDefaults.Y; 497infosToUse[StylusPointDescription.RequiredPressureIndex] =
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
314StylusPointDescription currentStylusPointDescription = null; 1557private StylusPointDescription BuildStylusPointDescription(StrokeDescriptor strd, MetricBlock block, GuidList guidList)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (6)
51StylusPointDescription stylusPointDescription, 129StylusPointDescription stylusPointDescription, 349StylusPointDescription stylusPointDescription, 433originalPressureIndex != StylusPointDescription.RequiredPressureIndex/*2*/) 695StylusPointDescription stylusPointDescription = stroke.StylusPoints.Description; 709if (i == StylusPointDescription.RequiredPressureIndex/*2*/ &&
System\Windows\Input\Stylus\Common\RawStylusInput.cs (1)
101if (!StylusPointDescription.AreCompatible( stylusPoints.Description,
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (3)
67Func<StylusPointDescription> _stylusPointDescGenerator; 108internal StylusPointDescription StylusPointDescription 229Func<StylusPointDescription> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
89Func<StylusPointDescription> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
194public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
166internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (1)
103public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusPoint.cs (10)
21private StylusPointDescription _stylusPointDescription; 54public StylusPoint(double x, double y, float pressureFactor, StylusPointDescription stylusPointDescription, int[] additionalValues) 66StylusPointDescription stylusPointDescription, 107if (stylusPointDescription.PropertyCount > StylusPointDescription.RequiredCountOfProperties) 117int expectedAdditionalValues = properties.Count - StylusPointDescription.RequiredCountOfProperties; //for x, y, pressure 131for (int i = StylusPointDescription.RequiredCountOfProperties, j = 0; i < properties.Count; i++, j++) 231public StylusPointDescription Description 250StylusPointDescription.AreCompatible(value, this.Description)); 505Debug.Assert(StylusPointDescription.AreCompatible(stylusPoint1.Description, stylusPoint2.Description)); 513StylusPointDescription.AreCompatible(stylusPoint1.Description, stylusPoint2.Description))
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (20)
17private StylusPointDescription _stylusPointDescription; 55public StylusPointCollection(StylusPointDescription stylusPointDescription) 66public StylusPointCollection(StylusPointDescription stylusPointDescription, int initialCapacity) 138internal StylusPointCollection(StylusPointDescription stylusPointDescription, int[] rawPacketData, GeneralTransform tabletToView, Matrix tabletToViewMatrix) 202if (!StylusPointDescription.AreCompatible(stylusPoints.Description, 228public StylusPointDescription Description 280if (!StylusPointDescription.AreCompatible(stylusPoint.Description, 298if (!StylusPointDescription.AreCompatible(stylusPoint.Description, 353internal StylusPointCollection Clone(GeneralTransform transform, StylusPointDescription descriptionToUse) 362private StylusPointCollection Clone(GeneralTransform transform, StylusPointDescription descriptionToUse, int count) 437public StylusPointCollection Reformat(StylusPointDescription subsetToReformatTo) 445internal StylusPointCollection Reformat(StylusPointDescription subsetToReformatTo, GeneralTransform transform) 452StylusPointDescription subsetToReformatToWithCurrentMetrics = 453StylusPointDescription.GetCommonDescription(subsetToReformatTo, 456if (StylusPointDescription.AreCompatible(this.Description, subsetToReformatToWithCurrentMetrics) && 500for (int x = StylusPointDescription.RequiredCountOfProperties/*3*/; x < properties.Count; x++) 529if (lengthPerPoint > StylusPointDescription.RequiredCountOfProperties/*3*/) 532int countToCopy = lengthPerPoint - StylusPointDescription.RequiredCountOfProperties;/*3*/ 605if (lengthPerPoint > StylusPointDescription.RequiredCountOfProperties) 608int countToCopy = lengthPerPoint - StylusPointDescription.RequiredCountOfProperties;/*3*/
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (6)
287public static bool AreCompatible(StylusPointDescription stylusPointDescription1, StylusPointDescription stylusPointDescription2) 329public static StylusPointDescription GetCommonDescription(StylusPointDescription stylusPointDescription, StylusPointDescription stylusPointDescriptionPreserveInfo) 378public bool IsSubsetOf(StylusPointDescription stylusPointDescriptionSuperset)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
249private StylusPointDescription _stylusPointDescription =
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (2)
249internal StylusPointDescription StylusPointDescription 310protected StylusPointDescription _stylusPointDescription;
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (3)
315(Func<StylusPointDescription>)null, 352(Func<StylusPointDescription>)null, 445(Func<StylusPointDescription>)null,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
631StylusPointDescription.AreCompatible(PointerTabletDevice.StylusPointDescription, _currentStylusPoints.Description)) 687internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
620private static StylusPointDescription _mousePointDescription; 625private static StylusPointDescription MousePointDescription
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (12)
220properties[StylusPointDescription.RequiredPressureIndex] = propInfo; 223supportedProperties.Insert(StylusPointDescription.RequiredPressureIndex, prop); 228properties[StylusPointDescription.RequiredXIndex] = propInfo; 229supportedProperties[StylusPointDescription.RequiredXIndex] = prop; 234properties[StylusPointDescription.RequiredYIndex] = propInfo; 235supportedProperties[StylusPointDescription.RequiredYIndex] = prop; 253PressureIndex = StylusPointDescription.RequiredPressureIndex; 258Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X || !seenX, 260Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].Id == StylusPointPropertyIds.Y || !seenY, 262Debug.Assert(properties[StylusPointDescription.RequiredPressureIndex /*1*/].Id == StylusPointPropertyIds.NormalPressure /*2*/, 304new Size(SupportedPointerProperties[StylusPointDescription.RequiredXIndex].logicalMax, 305SupportedPointerProperties[StylusPointDescription.RequiredYIndex].logicalMax),
System\Windows\Input\Stylus\Wisp\PenContext.cs (6)
80internal StylusPointDescription StylusPointDescription 150Debug.Assert(propertyInfos[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0"); 151Debug.Assert(propertyInfos[StylusPointDescription.RequiredYIndex /*0*/].Id == StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1"); 152Debug.Assert(pressureIndex == -1 || pressureIndex == StylusPointDescription.RequiredPressureIndex /*2*/, 157propertyInfos.Insert(StylusPointDescription.RequiredPressureIndex /*2*/, StylusPointPropertyInfoDefaults.NormalPressure); 526StylusPointDescription _stylusPointDescription;
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
933Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0"); 934Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].Id == StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1"); 942properties.Insert(StylusPointDescription.RequiredPressureIndex /*2*/, System.Windows.Input.StylusPointProperties.NormalPressure);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1934internal StylusPointDescription GetMousePointDescription 3689private StylusPointDescription _mousePointDescription;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
343StylusPointDescription.AreCompatible(penContext.StylusPointDescription, _eventStylusPoints.Description)) 1130internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
269internal void UpdateSizeDeltas(StylusPointDescription description, WispLogic stylusLogic)
System\Windows\InterOp\HwndPointerInputProvider.cs (2)
172data[i + StylusPointDescription.RequiredXIndex] -= originOffsetX; 173data[i + StylusPointDescription.RequiredYIndex] -= originOffsetY;
PresentationFramework (4)
MS\Internal\Ink\EditingCoordinator.cs (2)
944StylusPointDescription.GetCommonDescription(_inkCanvas.DefaultStylusPointDescription, 1401private StylusPointDescription _commonDescription;
System\Windows\Controls\InkCanvas.cs (2)
949public StylusPointDescription DefaultStylusPointDescription 3073private StylusPointDescription _defaultStylusPointDescription;