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