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