100 references to StylusPointPropertyIds
PresentationCore (100)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
479Guid[] propertyGuids = new Guid[]{ StylusPointPropertyIds.X, //required index for SPD 480StylusPointPropertyIds.Y, //required index for SPD 481StylusPointPropertyIds.NormalPressure}; //required index for SPD
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
1541return new StylusPointPropertyInfo( new StylusPointProperty(guid, StylusPointPropertyIds.IsKnownButton(guid)), 1630if (pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure)
System\Windows\Input\Stylus\Common\StylusPoint.cs (6)
272if (stylusPointProperty.Id == StylusPointPropertyIds.X) 276else if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 280else if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure) 337if (stylusPointProperty.Id == StylusPointPropertyIds.X) 346else if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 355else if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure)
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (1)
587this.Description.GetPropertyInfo(StylusPointPropertyIds.NormalPressure);
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (18)
52infos[RequiredXIndex].Id != StylusPointPropertyIds.X || 53infos[RequiredYIndex].Id != StylusPointPropertyIds.Y || 54infos[RequiredPressureIndex].Id != StylusPointPropertyIds.NormalPressure) 63seenIds.Add(StylusPointPropertyIds.X); 64seenIds.Add(StylusPointPropertyIds.Y); 65seenIds.Add(StylusPointPropertyIds.NormalPressure); 299stylusPointDescription1._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 300stylusPointDescription1._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 301stylusPointDescription1._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 304stylusPointDescription2._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 305stylusPointDescription2._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 306stylusPointDescription2._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 340stylusPointDescription._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 341stylusPointDescription._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 342stylusPointDescription._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure); 345stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[0].Id == StylusPointPropertyIds.X && 346stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[1].Id == StylusPointPropertyIds.Y && 347stylusPointDescriptionPreserveInfo._stylusPointPropertyInfos[2].Id == StylusPointPropertyIds.NormalPressure);
System\Windows\Input\Stylus\Common\StylusPointProperties.cs (22)
16new StylusPointProperty( StylusPointPropertyIds.X, false); 22new StylusPointProperty( StylusPointPropertyIds.Y, false); 28new StylusPointProperty( StylusPointPropertyIds.Z, false); 34new StylusPointProperty(StylusPointPropertyIds.Width, false); 40new StylusPointProperty(StylusPointPropertyIds.Height, false); 46new StylusPointProperty(StylusPointPropertyIds.SystemTouch, false); 52new StylusPointProperty( StylusPointPropertyIds.PacketStatus, false); 58new StylusPointProperty(StylusPointPropertyIds.SerialNumber, false); 64new StylusPointProperty( StylusPointPropertyIds.NormalPressure, false); 70new StylusPointProperty( StylusPointPropertyIds.TangentPressure, false); 76new StylusPointProperty( StylusPointPropertyIds.ButtonPressure, false); 82new StylusPointProperty( StylusPointPropertyIds.XTiltOrientation, false); 88new StylusPointProperty( StylusPointPropertyIds.YTiltOrientation, false); 94new StylusPointProperty( StylusPointPropertyIds.AzimuthOrientation, false); 100new StylusPointProperty( StylusPointPropertyIds.AltitudeOrientation, false); 106new StylusPointProperty( StylusPointPropertyIds.TwistOrientation, false); 112new StylusPointProperty( StylusPointPropertyIds.PitchRotation, false); 118new StylusPointProperty(StylusPointPropertyIds.RollRotation, false); 124new StylusPointProperty(StylusPointPropertyIds.YawRotation, false); 130new StylusPointProperty(StylusPointPropertyIds.TipButton, true); 136new StylusPointProperty(StylusPointPropertyIds.BarrelButton, true); 142new StylusPointProperty(StylusPointPropertyIds.SecondaryTipButton, true);
System\Windows\Input\Stylus\Common\StylusPointProperty.cs (3)
51if (StylusPointPropertyIds.IsKnownButton(identifier)) 61if (StylusPointPropertyIds.IsKnownId(identifier) && isButton) 94StylusPointPropertyIds.GetStringRepresentation(_id) +
System\Windows\Input\Stylus\Common\StylusPointPropertyInfo.cs (4)
115Debug.Assert(( stylusPointPropertyInfo1.Id != StylusPointPropertyIds.X && 116stylusPointPropertyInfo1.Id != StylusPointPropertyIds.Y && 117stylusPointPropertyInfo2.Id != StylusPointPropertyIds.X && 118stylusPointPropertyInfo2.Id != StylusPointPropertyIds.Y),
System\Windows\Input\Stylus\Common\StylusPointPropertyInfoDefaults.cs (22)
257if (stylusPointProperty.Id == StylusPointPropertyIds.X) 261if (stylusPointProperty.Id == StylusPointPropertyIds.Y) 265if (stylusPointProperty.Id == StylusPointPropertyIds.Z) 269if (stylusPointProperty.Id == StylusPointPropertyIds.Width) 273if (stylusPointProperty.Id == StylusPointPropertyIds.Height) 277if (stylusPointProperty.Id == StylusPointPropertyIds.SystemTouch) 281if (stylusPointProperty.Id == StylusPointPropertyIds.PacketStatus) 285if (stylusPointProperty.Id == StylusPointPropertyIds.SerialNumber) 289if (stylusPointProperty.Id == StylusPointPropertyIds.NormalPressure) 293if (stylusPointProperty.Id == StylusPointPropertyIds.TangentPressure) 297if (stylusPointProperty.Id == StylusPointPropertyIds.ButtonPressure) 301if (stylusPointProperty.Id == StylusPointPropertyIds.XTiltOrientation) 305if (stylusPointProperty.Id == StylusPointPropertyIds.YTiltOrientation) 309if (stylusPointProperty.Id == StylusPointPropertyIds.AzimuthOrientation) 313if (stylusPointProperty.Id == StylusPointPropertyIds.AltitudeOrientation) 317if (stylusPointProperty.Id == StylusPointPropertyIds.TwistOrientation) 321if (stylusPointProperty.Id == StylusPointPropertyIds.PitchRotation) 325if (stylusPointProperty.Id == StylusPointPropertyIds.RollRotation) 329if (stylusPointProperty.Id == StylusPointPropertyIds.YawRotation) 333if (stylusPointProperty.Id == StylusPointPropertyIds.TipButton) 337if (stylusPointProperty.Id == StylusPointPropertyIds.BarrelButton) 341if (stylusPointProperty.Id == StylusPointPropertyIds.SecondaryTipButton)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
1275(stylusDevice.StylusButtons.GetStylusButtonByGuid(StylusPointPropertyIds.BarrelButton)?.StylusButtonState ?? StylusButtonState.Up) == StylusButtonState.Down;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
131StylusButton button = new StylusButton(StylusPointPropertyIds.GetStringRepresentation(prop.Id), prop.Id);
System\Windows\Input\Stylus\Pointer\PointerStylusPointPropertyInfoHelper.cs (4)
60StylusPointPropertyIds.GetKnownGuid( 61(StylusPointPropertyIds.HidUsagePage)prop.usagePageId, 62(StylusPointPropertyIds.HidUsage)prop.usageId); 66StylusPointProperty stylusProp = new StylusPointProperty(propGuid, StylusPointPropertyIds.IsKnownButton(propGuid));
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (6)
217if (propInfo.Id == StylusPointPropertyIds.NormalPressure) 225else if (propInfo.Id == StylusPointPropertyIds.X) 231else if (propInfo.Id == StylusPointPropertyIds.Y) 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*/,
System\Windows\Input\Stylus\Wisp\PenContext.cs (4)
119if (pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure) 124if (_statusPropertyIndex == -1 && guid == StylusPointPropertyIds.PacketStatus) 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");
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
914if ( pressureIndex == -1 && guid == StylusPointPropertyIds.NormalPressure ) 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");