100 references to StylusPointPropertyIds
PresentationCore (100)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
478Guid[] propertyGuids = new Guid[]{ StylusPointPropertyIds.X, //required index for SPD 479StylusPointPropertyIds.Y, //required index for SPD 480StylusPointPropertyIds.NormalPressure}; //required index for SPD
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
1540return new StylusPointPropertyInfo( new StylusPointProperty(guid, StylusPointPropertyIds.IsKnownButton(guid)), 1629if (pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure)
System\Windows\Input\Stylus\Common\StylusPoint.cs (6)
271if (stylusPointProperty.Id == StylusPointPropertyIds.X) 275else if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 279else if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure) 336if (stylusPointProperty.Id == StylusPointPropertyIds.X) 345else if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 354else if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure)
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (1)
586this.Description.GetPropertyInfo(StylusPointPropertyIds.NormalPressure);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (18)
51infos[RequiredXIndex].Id != StylusPointPropertyIds.X || 52infos[RequiredYIndex].Id != StylusPointPropertyIds.Y || 53infos[RequiredPressureIndex].Id != StylusPointPropertyIds.NormalPressure) 62seenIds.Add(StylusPointPropertyIds.X); 63seenIds.Add(StylusPointPropertyIds.Y); 64seenIds.Add(StylusPointPropertyIds.NormalPressure); 298stylusPointDescription1._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 299stylusPointDescription1._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 300stylusPointDescription1._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 303stylusPointDescription2._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 304stylusPointDescription2._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 305stylusPointDescription2._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 339stylusPointDescription._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 340stylusPointDescription._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 341stylusPointDescription._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 344stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 345stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 346stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure);
System\Windows\Input\Stylus\Common\StylusPointProperties.cs (22)
15new StylusPointProperty( StylusPointPropertyIds.X, false); 21new StylusPointProperty( StylusPointPropertyIds.Y, false); 27new StylusPointProperty( StylusPointPropertyIds.Z, false); 33new StylusPointProperty(StylusPointPropertyIds.Width, false); 39new StylusPointProperty(StylusPointPropertyIds.Height, false); 45new StylusPointProperty(StylusPointPropertyIds.SystemTouch, false); 51new StylusPointProperty( StylusPointPropertyIds.PacketStatus, false); 57new StylusPointProperty(StylusPointPropertyIds.SerialNumber, false); 63new StylusPointProperty( StylusPointPropertyIds.NormalPressure, false); 69new StylusPointProperty( StylusPointPropertyIds.TangentPressure, false); 75new StylusPointProperty( StylusPointPropertyIds.ButtonPressure, false); 81new StylusPointProperty( StylusPointPropertyIds.XTiltOrientation, false); 87new StylusPointProperty( StylusPointPropertyIds.YTiltOrientation, false); 93new StylusPointProperty( StylusPointPropertyIds.AzimuthOrientation, false); 99new StylusPointProperty( StylusPointPropertyIds.AltitudeOrientation, false); 105new StylusPointProperty( StylusPointPropertyIds.TwistOrientation, false); 111new StylusPointProperty( StylusPointPropertyIds.PitchRotation, false); 117new StylusPointProperty(StylusPointPropertyIds.RollRotation, false); 123new StylusPointProperty(StylusPointPropertyIds.YawRotation, false); 129new StylusPointProperty(StylusPointPropertyIds.TipButton, true); 135new StylusPointProperty(StylusPointPropertyIds.BarrelButton, true); 141new StylusPointProperty(StylusPointPropertyIds.SecondaryTipButton, true);
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (3)
50if (StylusPointPropertyIds.IsKnownButton(identifier)) 60if (StylusPointPropertyIds.IsKnownId(identifier) && isButton) 93StylusPointPropertyIds.GetStringRepresentation(_id) +
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (4)
114Debug.Assert(( stylusPointPropertyInfo1.Id != StylusPointPropertyIds.X && 115stylusPointPropertyInfo1.Id != StylusPointPropertyIds.Y && 116stylusPointPropertyInfo2.Id != StylusPointPropertyIds.X && 117stylusPointPropertyInfo2.Id != StylusPointPropertyIds.Y),
System\Windows\Input\Stylus\Common\StylusPointPropertyInfoDefaults.cs (22)
256if (stylusPointProperty.Id == StylusPointPropertyIds.X) 260if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 264if (stylusPointProperty.Id == StylusPointPropertyIds.Z) 268if (stylusPointProperty.Id == StylusPointPropertyIds.Width) 272if (stylusPointProperty.Id == StylusPointPropertyIds.Height) 276if (stylusPointProperty.Id == StylusPointPropertyIds.SystemTouch) 280if (stylusPointProperty.Id == StylusPointPropertyIds.PacketStatus) 284if (stylusPointProperty.Id == StylusPointPropertyIds.SerialNumber) 288if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure) 292if (stylusPointProperty.Id == StylusPointPropertyIds.TangentPressure) 296if (stylusPointProperty.Id == StylusPointPropertyIds.ButtonPressure) 300if (stylusPointProperty.Id == StylusPointPropertyIds.XTiltOrientation) 304if (stylusPointProperty.Id == StylusPointPropertyIds.YTiltOrientation) 308if (stylusPointProperty.Id == StylusPointPropertyIds.AzimuthOrientation) 312if (stylusPointProperty.Id == StylusPointPropertyIds.AltitudeOrientation) 316if (stylusPointProperty.Id == StylusPointPropertyIds.TwistOrientation) 320if (stylusPointProperty.Id == StylusPointPropertyIds.PitchRotation) 324if (stylusPointProperty.Id == StylusPointPropertyIds.RollRotation) 328if (stylusPointProperty.Id == StylusPointPropertyIds.YawRotation) 332if (stylusPointProperty.Id == StylusPointPropertyIds.TipButton) 336if (stylusPointProperty.Id == StylusPointPropertyIds.BarrelButton) 340if (stylusPointProperty.Id == StylusPointPropertyIds.SecondaryTipButton)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1274(stylusDevice.StylusButtons.GetStylusButtonByGuid(StylusPointPropertyIds.BarrelButton)?.StylusButtonState ?? StylusButtonState.Up) == StylusButtonState.Down;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
130StylusButton button = new StylusButton(StylusPointPropertyIds.GetStringRepresentation(prop.Id), prop.Id);
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (4)
59StylusPointPropertyIds.GetKnownGuid( 60(StylusPointPropertyIds.HidUsagePage)prop.usagePageId, 61(StylusPointPropertyIds.HidUsage)prop.usageId); 65StylusPointProperty stylusProp = new StylusPointProperty(propGuid, StylusPointPropertyIds.IsKnownButton(propGuid));
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (6)
216if (propInfo.Id == StylusPointPropertyIds.NormalPressure) 224else if (propInfo.Id == StylusPointPropertyIds.X) 230else if (propInfo.Id == StylusPointPropertyIds.Y) 257Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X || !seenX, 259Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].Id == StylusPointPropertyIds.Y || !seenY, 261Debug.Assert(properties[StylusPointDescription.RequiredPressureIndex /*1*/].Id == StylusPointPropertyIds.NormalPressure /*2*/,
System\Windows\Input\Stylus\Wisp\PenContext.cs (4)
118if (pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure) 123if (_statusPropertyIndex == -1 && guid == StylusPointPropertyIds.PacketStatus) 149Debug.Assert(propertyInfos[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0"); 150Debug.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)
913if ( pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure ) 932Debug.Assert(properties[StylusPointDescription.RequiredXIndex /*0*/].Id == StylusPointPropertyIds.X, "X isn't where we expect it! Fix PenImc to ask for X at index 0"); 933Debug.Assert(properties[StylusPointDescription.RequiredYIndex /*1*/].Id == StylusPointPropertyIds.Y, "Y isn't where we expect it! Fix PenImc to ask for Y at index 1");