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