12 instantiations of StylusPointDescription
PresentationCore (11)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
484= new StylusPointDescription(
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1668return new StylusPointDescription(stylusPointPropertyInfos, pressureIndex);
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
249_stylusPointDescription = new StylusPointDescription();
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (2)
42_stylusPointDescription = new StylusPointDescription(); 242_stylusPointDescription = new StylusPointDescription();
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (1)
381return new StylusPointDescription(commonProperties);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
252new StylusPointDescription(
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
274_stylusPointDescription = new StylusPointDescription(propertyInfos, _tabletInfo.PressureIndex);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
643_mousePointDescription = new StylusPointDescription(
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
175_stylusPointDescription = new StylusPointDescription(propertyInfos, pressureIndex);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1936_mousePointDescription = new StylusPointDescription(
PresentationFramework (1)
System\Windows\Controls\InkCanvas.cs (1)
209_defaultStylusPointDescription = new StylusPointDescription();
101 references to StylusPointDescription
PresentationCore (97)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (7)
478if (stylusPoints.Description.PropertyCount > StylusPointDescription.RequiredCountOfProperties) 483StylusPointDescription reformatDescription 505Debug.Assert(propertyGuids.Length == StylusPointDescription.RequiredCountOfProperties); 515StylusPointPropertyInfo[] infosToUse = new StylusPointPropertyInfo[StylusPointDescription.RequiredCountOfProperties]; 516infosToUse[StylusPointDescription.RequiredXIndex] = StylusPointPropertyInfoDefaults.X; 517infosToUse[StylusPointDescription.RequiredYIndex] = StylusPointPropertyInfoDefaults.Y; 518infosToUse[StylusPointDescription.RequiredPressureIndex] =
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
327StylusPointDescription currentStylusPointDescription = null; 1572private StylusPointDescription BuildStylusPointDescription(StrokeDescriptor strd, MetricBlock block, GuidList guidList)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (6)
58StylusPointDescription stylusPointDescription, 136StylusPointDescription stylusPointDescription, 356StylusPointDescription stylusPointDescription, 440originalPressureIndex != StylusPointDescription.RequiredPressureIndex/*2*/) 702StylusPointDescription stylusPointDescription = stroke.StylusPoints.Description; 716if (i == StylusPointDescription.RequiredPressureIndex/*2*/ &&
System\Windows\Input\Stylus\Common\RawStylusInput.cs (1)
108if (!StylusPointDescription.AreCompatible( stylusPoints.Description,
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (3)
77Func<StylusPointDescription> _stylusPointDescGenerator; 118internal StylusPointDescription StylusPointDescription 239Func<StylusPointDescription> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
93Func<StylusPointDescription> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
208public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
180internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (1)
107public StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusPoint.cs (10)
31private StylusPointDescription _stylusPointDescription; 64public StylusPoint(double x, double y, float pressureFactor, StylusPointDescription stylusPointDescription, int[] additionalValues) 76StylusPointDescription stylusPointDescription, 117if (stylusPointDescription.PropertyCount > StylusPointDescription.RequiredCountOfProperties) 127int expectedAdditionalValues = properties.Count - StylusPointDescription.RequiredCountOfProperties; //for x, y, pressure 141for (int i = StylusPointDescription.RequiredCountOfProperties, j = 0; i < properties.Count; i++, j++) 241public StylusPointDescription Description 260StylusPointDescription.AreCompatible(value, this.Description)); 515Debug.Assert(StylusPointDescription.AreCompatible(stylusPoint1.Description, stylusPoint2.Description)); 523StylusPointDescription.AreCompatible(stylusPoint1.Description, stylusPoint2.Description))
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (20)
25private StylusPointDescription _stylusPointDescription; 63public StylusPointCollection(StylusPointDescription stylusPointDescription) 74public StylusPointCollection(StylusPointDescription stylusPointDescription, int initialCapacity) 146internal StylusPointCollection(StylusPointDescription stylusPointDescription, int[] rawPacketData, GeneralTransform tabletToView, Matrix tabletToViewMatrix) 210if (!StylusPointDescription.AreCompatible(stylusPoints.Description, 236public StylusPointDescription Description 288if (!StylusPointDescription.AreCompatible(stylusPoint.Description, 306if (!StylusPointDescription.AreCompatible(stylusPoint.Description, 361internal StylusPointCollection Clone(GeneralTransform transform, StylusPointDescription descriptionToUse) 370private StylusPointCollection Clone(GeneralTransform transform, StylusPointDescription descriptionToUse, int count) 445public StylusPointCollection Reformat(StylusPointDescription subsetToReformatTo) 453internal StylusPointCollection Reformat(StylusPointDescription subsetToReformatTo, GeneralTransform transform) 460StylusPointDescription subsetToReformatToWithCurrentMetrics = 461StylusPointDescription.GetCommonDescription(subsetToReformatTo, 464if (StylusPointDescription.AreCompatible(this.Description, subsetToReformatToWithCurrentMetrics) && 508for (int x = StylusPointDescription.RequiredCountOfProperties/*3*/; x < properties.Count; x++) 537if (lengthPerPoint > StylusPointDescription.RequiredCountOfProperties/*3*/) 540int countToCopy = lengthPerPoint - StylusPointDescription.RequiredCountOfProperties;/*3*/ 613if (lengthPerPoint > StylusPointDescription.RequiredCountOfProperties) 616int countToCopy = lengthPerPoint - StylusPointDescription.RequiredCountOfProperties;/*3*/
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (6)
297public static bool AreCompatible(StylusPointDescription stylusPointDescription1, StylusPointDescription stylusPointDescription2) 340public static StylusPointDescription GetCommonDescription(StylusPointDescription stylusPointDescription, StylusPointDescription stylusPointDescriptionPreserveInfo) 390public bool IsSubsetOf(StylusPointDescription stylusPointDescriptionSuperset)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
251private StylusPointDescription _stylusPointDescription =
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (2)
256internal StylusPointDescription StylusPointDescription 317protected StylusPointDescription _stylusPointDescription;
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (3)
331(Func<StylusPointDescription>)null, 368(Func<StylusPointDescription>)null, 461(Func<StylusPointDescription>)null,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
639StylusPointDescription.AreCompatible(PointerTabletDevice.StylusPointDescription, _currentStylusPoints.Description)) 693internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
632private static StylusPointDescription _mousePointDescription; 637private static StylusPointDescription MousePointDescription
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (12)
224properties[StylusPointDescription.RequiredPressureIndex] = propInfo; 227supportedProperties.Insert(StylusPointDescription.RequiredPressureIndex, prop); 232properties[StylusPointDescription.RequiredXIndex] = propInfo; 233supportedProperties[StylusPointDescription.RequiredXIndex] = prop; 238properties[StylusPointDescription.RequiredYIndex] = propInfo; 239supportedProperties[StylusPointDescription.RequiredYIndex] = prop; 257PressureIndex = StylusPointDescription.RequiredPressureIndex; 262Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X || !seenX, 264Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].Id == StylusPointPropertyIds.Y || !seenY, 266Debug.Assert(properties[StylusPointDescription.RequiredPressureIndex /*1*/].Id == StylusPointPropertyIds.NormalPressure /*2*/, 308new Size(SupportedPointerProperties[StylusPointDescription.RequiredXIndex].logicalMax, 309SupportedPointerProperties[StylusPointDescription.RequiredYIndex].logicalMax),
System\Windows\Input\Stylus\Wisp\PenContext.cs (6)
93internal StylusPointDescription StylusPointDescription 163Debug.Assert(propertyInfos[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0"); 164Debug.Assert(propertyInfos[StylusPointDescription.RequiredYIndex /*0*/].Id == StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1"); 165Debug.Assert(pressureIndex == -1 || pressureIndex == StylusPointDescription.RequiredPressureIndex /*2*/, 170propertyInfos.Insert(StylusPointDescription.RequiredPressureIndex /*2*/, StylusPointPropertyInfoDefaults.NormalPressure); 539StylusPointDescription _stylusPointDescription;
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
942Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0"); 943Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].Id == StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1"); 951properties.Insert(StylusPointDescription.RequiredPressureIndex /*2*/, System.Windows.Input.StylusPointProperties.NormalPressure);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1930internal StylusPointDescription GetMousePointDescription 3675private StylusPointDescription _mousePointDescription;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
346StylusPointDescription.AreCompatible(penContext.StylusPointDescription, _eventStylusPoints.Description)) 1127internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo, StylusPointDescription subsetToReformatTo)
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
278internal void UpdateSizeDeltas(StylusPointDescription description, WispLogic stylusLogic)
System\Windows\InterOp\HwndPointerInputProvider.cs (2)
177data[i + StylusPointDescription.RequiredXIndex] -= originOffsetX; 178data[i + StylusPointDescription.RequiredYIndex] -= originOffsetY;
PresentationFramework (4)
MS\Internal\Ink\EditingCoordinator.cs (2)
959StylusPointDescription.GetCommonDescription(_inkCanvas.DefaultStylusPointDescription, 1416private StylusPointDescription _commonDescription;
System\Windows\Controls\InkCanvas.cs (2)
949public StylusPointDescription DefaultStylusPointDescription 3069private StylusPointDescription _defaultStylusPointDescription;