100 references to StylusPointPropertyIds
PresentationCore (100)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
500Guid[] propertyGuids = new Guid[]{ StylusPointPropertyIds.X, //required index for SPD 501StylusPointPropertyIds.Y, //required index for SPD 502StylusPointPropertyIds.NormalPressure}; //required index for SPD
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
1556return new StylusPointPropertyInfo( new StylusPointProperty(guid, StylusPointPropertyIds.IsKnownButton(guid)), 1645if (pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure)
System\Windows\Input\Stylus\Common\StylusPoint.cs (6)
282if (stylusPointProperty.Id == StylusPointPropertyIds.X) 286else if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 290else if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure) 347if (stylusPointProperty.Id == StylusPointPropertyIds.X) 356else if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 365else if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure)
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (1)
595this.Description.GetPropertyInfo(StylusPointPropertyIds.NormalPressure);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (18)
62infos[RequiredXIndex].Id != StylusPointPropertyIds.X || 63infos[RequiredYIndex].Id != StylusPointPropertyIds.Y || 64infos[RequiredPressureIndex].Id != StylusPointPropertyIds.NormalPressure) 73seenIds.Add(StylusPointPropertyIds.X); 74seenIds.Add(StylusPointPropertyIds.Y); 75seenIds.Add(StylusPointPropertyIds.NormalPressure); 309stylusPointDescription1._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 310stylusPointDescription1._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 311stylusPointDescription1._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 314stylusPointDescription2._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 315stylusPointDescription2._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 316stylusPointDescription2._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 351stylusPointDescription._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 352stylusPointDescription._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 353stylusPointDescription._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 356stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 357stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 358stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure);
System\Windows\Input\Stylus\Common\StylusPointProperties.cs (22)
24new StylusPointProperty( StylusPointPropertyIds.X, false); 30new StylusPointProperty( StylusPointPropertyIds.Y, false); 36new StylusPointProperty( StylusPointPropertyIds.Z, false); 42new StylusPointProperty(StylusPointPropertyIds.Width, false); 48new StylusPointProperty(StylusPointPropertyIds.Height, false); 54new StylusPointProperty(StylusPointPropertyIds.SystemTouch, false); 60new StylusPointProperty( StylusPointPropertyIds.PacketStatus, false); 66new StylusPointProperty(StylusPointPropertyIds.SerialNumber, false); 72new StylusPointProperty( StylusPointPropertyIds.NormalPressure, false); 78new StylusPointProperty( StylusPointPropertyIds.TangentPressure, false); 84new StylusPointProperty( StylusPointPropertyIds.ButtonPressure, false); 90new StylusPointProperty( StylusPointPropertyIds.XTiltOrientation, false); 96new StylusPointProperty( StylusPointPropertyIds.YTiltOrientation, false); 102new StylusPointProperty( StylusPointPropertyIds.AzimuthOrientation, false); 108new StylusPointProperty( StylusPointPropertyIds.AltitudeOrientation, false); 114new StylusPointProperty( StylusPointPropertyIds.TwistOrientation, false); 120new StylusPointProperty( StylusPointPropertyIds.PitchRotation, false); 126new StylusPointProperty(StylusPointPropertyIds.RollRotation, false); 132new StylusPointProperty(StylusPointPropertyIds.YawRotation, false); 138new StylusPointProperty(StylusPointPropertyIds.TipButton, true); 144new StylusPointProperty(StylusPointPropertyIds.BarrelButton, true); 150new StylusPointProperty(StylusPointPropertyIds.SecondaryTipButton, true);
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (3)
58if (StylusPointPropertyIds.IsKnownButton(identifier)) 68if (StylusPointPropertyIds.IsKnownId(identifier) && isButton) 101StylusPointPropertyIds.GetStringRepresentation(_id) +
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (4)
124Debug.Assert(( stylusPointPropertyInfo1.Id != StylusPointPropertyIds.X && 125stylusPointPropertyInfo1.Id != StylusPointPropertyIds.Y && 126stylusPointPropertyInfo2.Id != StylusPointPropertyIds.X && 127stylusPointPropertyInfo2.Id != StylusPointPropertyIds.Y),
System\Windows\Input\Stylus\Common\StylusPointPropertyInfoDefaults.cs (22)
264if (stylusPointProperty.Id == StylusPointPropertyIds.X) 268if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 272if (stylusPointProperty.Id == StylusPointPropertyIds.Z) 276if (stylusPointProperty.Id == StylusPointPropertyIds.Width) 280if (stylusPointProperty.Id == StylusPointPropertyIds.Height) 284if (stylusPointProperty.Id == StylusPointPropertyIds.SystemTouch) 288if (stylusPointProperty.Id == StylusPointPropertyIds.PacketStatus) 292if (stylusPointProperty.Id == StylusPointPropertyIds.SerialNumber) 296if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure) 300if (stylusPointProperty.Id == StylusPointPropertyIds.TangentPressure) 304if (stylusPointProperty.Id == StylusPointPropertyIds.ButtonPressure) 308if (stylusPointProperty.Id == StylusPointPropertyIds.XTiltOrientation) 312if (stylusPointProperty.Id == StylusPointPropertyIds.YTiltOrientation) 316if (stylusPointProperty.Id == StylusPointPropertyIds.AzimuthOrientation) 320if (stylusPointProperty.Id == StylusPointPropertyIds.AltitudeOrientation) 324if (stylusPointProperty.Id == StylusPointPropertyIds.TwistOrientation) 328if (stylusPointProperty.Id == StylusPointPropertyIds.PitchRotation) 332if (stylusPointProperty.Id == StylusPointPropertyIds.RollRotation) 336if (stylusPointProperty.Id == StylusPointPropertyIds.YawRotation) 340if (stylusPointProperty.Id == StylusPointPropertyIds.TipButton) 344if (stylusPointProperty.Id == StylusPointPropertyIds.BarrelButton) 348if (stylusPointProperty.Id == StylusPointPropertyIds.SecondaryTipButton)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1290(stylusDevice.StylusButtons.GetStylusButtonByGuid(StylusPointPropertyIds.BarrelButton)?.StylusButtonState ?? StylusButtonState.Up) == StylusButtonState.Down;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
139StylusButton button = new StylusButton(StylusPointPropertyIds.GetStringRepresentation(prop.Id), prop.Id);
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (4)
69StylusPointPropertyIds.GetKnownGuid( 70(StylusPointPropertyIds.HidUsagePage)prop.usagePageId, 71(StylusPointPropertyIds.HidUsage)prop.usageId); 75StylusPointProperty stylusProp = new StylusPointProperty(propGuid, StylusPointPropertyIds.IsKnownButton(propGuid));
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (6)
221if (propInfo.Id == StylusPointPropertyIds.NormalPressure) 229else if (propInfo.Id == StylusPointPropertyIds.X) 235else if (propInfo.Id == StylusPointPropertyIds.Y) 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*/,
System\Windows\Input\Stylus\Wisp\PenContext.cs (4)
132if (pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure) 137if (_statusPropertyIndex == -1 && guid == StylusPointPropertyIds.PacketStatus) 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");
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
923if ( pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure ) 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");