12 instantiations of StylusPointDescription
PresentationCore (11)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
484
= new
StylusPointDescription
(
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1668
return new
StylusPointDescription
(stylusPointPropertyInfos, pressureIndex);
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
249
_stylusPointDescription = new
StylusPointDescription
();
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (2)
42
_stylusPointDescription = new
StylusPointDescription
();
242
_stylusPointDescription = new
StylusPointDescription
();
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (1)
381
return new
StylusPointDescription
(commonProperties);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
252
new
StylusPointDescription
(
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
274
_stylusPointDescription = new
StylusPointDescription
(propertyInfos, _tabletInfo.PressureIndex);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
643
_mousePointDescription = new
StylusPointDescription
(
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
175
_stylusPointDescription = new
StylusPointDescription
(propertyInfos, pressureIndex);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1936
_mousePointDescription = new
StylusPointDescription
(
PresentationFramework (1)
System\Windows\Controls\InkCanvas.cs (1)
209
_defaultStylusPointDescription = new
StylusPointDescription
();
101 references to StylusPointDescription
PresentationCore (97)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (7)
478
if (stylusPoints.Description.PropertyCount >
StylusPointDescription
.RequiredCountOfProperties)
483
StylusPointDescription
reformatDescription
505
Debug.Assert(propertyGuids.Length ==
StylusPointDescription
.RequiredCountOfProperties);
515
StylusPointPropertyInfo[] infosToUse = new StylusPointPropertyInfo[
StylusPointDescription
.RequiredCountOfProperties];
516
infosToUse[
StylusPointDescription
.RequiredXIndex] = StylusPointPropertyInfoDefaults.X;
517
infosToUse[
StylusPointDescription
.RequiredYIndex] = StylusPointPropertyInfoDefaults.Y;
518
infosToUse[
StylusPointDescription
.RequiredPressureIndex] =
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
327
StylusPointDescription
currentStylusPointDescription = null;
1572
private
StylusPointDescription
BuildStylusPointDescription(StrokeDescriptor strd, MetricBlock block, GuidList guidList)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (6)
58
StylusPointDescription
stylusPointDescription,
136
StylusPointDescription
stylusPointDescription,
356
StylusPointDescription
stylusPointDescription,
440
originalPressureIndex !=
StylusPointDescription
.RequiredPressureIndex/*2*/)
702
StylusPointDescription
stylusPointDescription = stroke.StylusPoints.Description;
716
if (i ==
StylusPointDescription
.RequiredPressureIndex/*2*/ &&
System\Windows\Input\Stylus\Common\RawStylusInput.cs (1)
108
if (!
StylusPointDescription
.AreCompatible( stylusPoints.Description,
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (3)
77
Func<
StylusPointDescription
> _stylusPointDescGenerator;
118
internal
StylusPointDescription
StylusPointDescription
239
Func<
StylusPointDescription
> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
93
Func<
StylusPointDescription
> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
208
public StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
180
internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (1)
107
public StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusPoint.cs (10)
31
private
StylusPointDescription
_stylusPointDescription;
64
public StylusPoint(double x, double y, float pressureFactor,
StylusPointDescription
stylusPointDescription, int[] additionalValues)
76
StylusPointDescription
stylusPointDescription,
117
if (stylusPointDescription.PropertyCount >
StylusPointDescription
.RequiredCountOfProperties)
127
int expectedAdditionalValues = properties.Count -
StylusPointDescription
.RequiredCountOfProperties; //for x, y, pressure
141
for (int i =
StylusPointDescription
.RequiredCountOfProperties, j = 0; i < properties.Count; i++, j++)
241
public
StylusPointDescription
Description
260
StylusPointDescription
.AreCompatible(value, this.Description));
515
Debug.Assert(
StylusPointDescription
.AreCompatible(stylusPoint1.Description, stylusPoint2.Description));
523
StylusPointDescription
.AreCompatible(stylusPoint1.Description, stylusPoint2.Description))
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (20)
25
private
StylusPointDescription
_stylusPointDescription;
63
public StylusPointCollection(
StylusPointDescription
stylusPointDescription)
74
public StylusPointCollection(
StylusPointDescription
stylusPointDescription, int initialCapacity)
146
internal StylusPointCollection(
StylusPointDescription
stylusPointDescription, int[] rawPacketData, GeneralTransform tabletToView, Matrix tabletToViewMatrix)
210
if (!
StylusPointDescription
.AreCompatible(stylusPoints.Description,
236
public
StylusPointDescription
Description
288
if (!
StylusPointDescription
.AreCompatible(stylusPoint.Description,
306
if (!
StylusPointDescription
.AreCompatible(stylusPoint.Description,
361
internal StylusPointCollection Clone(GeneralTransform transform,
StylusPointDescription
descriptionToUse)
370
private StylusPointCollection Clone(GeneralTransform transform,
StylusPointDescription
descriptionToUse, int count)
445
public StylusPointCollection Reformat(
StylusPointDescription
subsetToReformatTo)
453
internal StylusPointCollection Reformat(
StylusPointDescription
subsetToReformatTo, GeneralTransform transform)
460
StylusPointDescription
subsetToReformatToWithCurrentMetrics =
461
StylusPointDescription
.GetCommonDescription(subsetToReformatTo,
464
if (
StylusPointDescription
.AreCompatible(this.Description, subsetToReformatToWithCurrentMetrics) &&
508
for (int x =
StylusPointDescription
.RequiredCountOfProperties/*3*/; x < properties.Count; x++)
537
if (lengthPerPoint >
StylusPointDescription
.RequiredCountOfProperties/*3*/)
540
int countToCopy = lengthPerPoint -
StylusPointDescription
.RequiredCountOfProperties;/*3*/
613
if (lengthPerPoint >
StylusPointDescription
.RequiredCountOfProperties)
616
int countToCopy = lengthPerPoint -
StylusPointDescription
.RequiredCountOfProperties;/*3*/
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (6)
297
public static bool AreCompatible(
StylusPointDescription
stylusPointDescription1,
StylusPointDescription
stylusPointDescription2)
340
public static
StylusPointDescription
GetCommonDescription(
StylusPointDescription
stylusPointDescription,
StylusPointDescription
stylusPointDescriptionPreserveInfo)
390
public bool IsSubsetOf(
StylusPointDescription
stylusPointDescriptionSuperset)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
251
private
StylusPointDescription
_stylusPointDescription =
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (2)
256
internal
StylusPointDescription
StylusPointDescription
317
protected
StylusPointDescription
_stylusPointDescription;
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (3)
331
(Func<
StylusPointDescription
>)null,
368
(Func<
StylusPointDescription
>)null,
461
(Func<
StylusPointDescription
>)null,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
639
StylusPointDescription
.AreCompatible(PointerTabletDevice.StylusPointDescription, _currentStylusPoints.Description))
693
internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
632
private static
StylusPointDescription
_mousePointDescription;
637
private static
StylusPointDescription
MousePointDescription
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (12)
224
properties[
StylusPointDescription
.RequiredPressureIndex] = propInfo;
227
supportedProperties.Insert(
StylusPointDescription
.RequiredPressureIndex, prop);
232
properties[
StylusPointDescription
.RequiredXIndex] = propInfo;
233
supportedProperties[
StylusPointDescription
.RequiredXIndex] = prop;
238
properties[
StylusPointDescription
.RequiredYIndex] = propInfo;
239
supportedProperties[
StylusPointDescription
.RequiredYIndex] = prop;
257
PressureIndex =
StylusPointDescription
.RequiredPressureIndex;
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*/,
308
new Size(SupportedPointerProperties[
StylusPointDescription
.RequiredXIndex].logicalMax,
309
SupportedPointerProperties[
StylusPointDescription
.RequiredYIndex].logicalMax),
System\Windows\Input\Stylus\Wisp\PenContext.cs (6)
93
internal
StylusPointDescription
StylusPointDescription
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");
165
Debug.Assert(pressureIndex == -1 || pressureIndex ==
StylusPointDescription
.RequiredPressureIndex /*2*/,
170
propertyInfos.Insert(
StylusPointDescription
.RequiredPressureIndex /*2*/, StylusPointPropertyInfoDefaults.NormalPressure);
539
StylusPointDescription
_stylusPointDescription;
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
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");
951
properties.Insert(
StylusPointDescription
.RequiredPressureIndex /*2*/, System.Windows.Input.StylusPointProperties.NormalPressure);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1930
internal
StylusPointDescription
GetMousePointDescription
3675
private
StylusPointDescription
_mousePointDescription;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
346
StylusPointDescription
.AreCompatible(penContext.StylusPointDescription, _eventStylusPoints.Description))
1127
internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
278
internal void UpdateSizeDeltas(
StylusPointDescription
description, WispLogic stylusLogic)
System\Windows\InterOp\HwndPointerInputProvider.cs (2)
177
data[i +
StylusPointDescription
.RequiredXIndex] -= originOffsetX;
178
data[i +
StylusPointDescription
.RequiredYIndex] -= originOffsetY;
PresentationFramework (4)
MS\Internal\Ink\EditingCoordinator.cs (2)
959
StylusPointDescription
.GetCommonDescription(_inkCanvas.DefaultStylusPointDescription,
1416
private
StylusPointDescription
_commonDescription;
System\Windows\Controls\InkCanvas.cs (2)
949
public
StylusPointDescription
DefaultStylusPointDescription
3069
private
StylusPointDescription
_defaultStylusPointDescription;