12 instantiations of StylusPointDescription
PresentationCore (11)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
463
= new
StylusPointDescription
(
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1653
return new
StylusPointDescription
(stylusPointPropertyInfos, pressureIndex);
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
239
_stylusPointDescription = new
StylusPointDescription
();
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (2)
34
_stylusPointDescription = new
StylusPointDescription
();
234
_stylusPointDescription = new
StylusPointDescription
();
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (1)
369
return new
StylusPointDescription
(commonProperties);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
250
new
StylusPointDescription
(
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
267
_stylusPointDescription = new
StylusPointDescription
(propertyInfos, _tabletInfo.PressureIndex);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
631
_mousePointDescription = new
StylusPointDescription
(
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
162
_stylusPointDescription = new
StylusPointDescription
(propertyInfos, pressureIndex);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1940
_mousePointDescription = new
StylusPointDescription
(
PresentationFramework (1)
System\Windows\Controls\InkCanvas.cs (1)
207
_defaultStylusPointDescription = new
StylusPointDescription
();
101 references to StylusPointDescription
PresentationCore (97)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (7)
457
if (stylusPoints.Description.PropertyCount >
StylusPointDescription
.RequiredCountOfProperties)
462
StylusPointDescription
reformatDescription
484
Debug.Assert(propertyGuids.Length ==
StylusPointDescription
.RequiredCountOfProperties);
494
StylusPointPropertyInfo[] infosToUse = new StylusPointPropertyInfo[
StylusPointDescription
.RequiredCountOfProperties];
495
infosToUse[
StylusPointDescription
.RequiredXIndex] = StylusPointPropertyInfoDefaults.X;
496
infosToUse[
StylusPointDescription
.RequiredYIndex] = StylusPointPropertyInfoDefaults.Y;
497
infosToUse[
StylusPointDescription
.RequiredPressureIndex] =
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
314
StylusPointDescription
currentStylusPointDescription = null;
1557
private
StylusPointDescription
BuildStylusPointDescription(StrokeDescriptor strd, MetricBlock block, GuidList guidList)
MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (6)
51
StylusPointDescription
stylusPointDescription,
129
StylusPointDescription
stylusPointDescription,
349
StylusPointDescription
stylusPointDescription,
433
originalPressureIndex !=
StylusPointDescription
.RequiredPressureIndex/*2*/)
695
StylusPointDescription
stylusPointDescription = stroke.StylusPoints.Description;
709
if (i ==
StylusPointDescription
.RequiredPressureIndex/*2*/ &&
System\Windows\Input\Stylus\Common\RawStylusInput.cs (1)
101
if (!
StylusPointDescription
.AreCompatible( stylusPoints.Description,
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (3)
67
Func<
StylusPointDescription
> _stylusPointDescGenerator;
108
internal
StylusPointDescription
StylusPointDescription
229
Func<
StylusPointDescription
> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
89
Func<
StylusPointDescription
> stylusPointDescGenerator,
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
194
public StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
166
internal abstract StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo);
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (1)
103
public StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Common\StylusPoint.cs (10)
21
private
StylusPointDescription
_stylusPointDescription;
54
public StylusPoint(double x, double y, float pressureFactor,
StylusPointDescription
stylusPointDescription, int[] additionalValues)
66
StylusPointDescription
stylusPointDescription,
107
if (stylusPointDescription.PropertyCount >
StylusPointDescription
.RequiredCountOfProperties)
117
int expectedAdditionalValues = properties.Count -
StylusPointDescription
.RequiredCountOfProperties; //for x, y, pressure
131
for (int i =
StylusPointDescription
.RequiredCountOfProperties, j = 0; i < properties.Count; i++, j++)
231
public
StylusPointDescription
Description
250
StylusPointDescription
.AreCompatible(value, this.Description));
505
Debug.Assert(
StylusPointDescription
.AreCompatible(stylusPoint1.Description, stylusPoint2.Description));
513
StylusPointDescription
.AreCompatible(stylusPoint1.Description, stylusPoint2.Description))
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (20)
17
private
StylusPointDescription
_stylusPointDescription;
55
public StylusPointCollection(
StylusPointDescription
stylusPointDescription)
66
public StylusPointCollection(
StylusPointDescription
stylusPointDescription, int initialCapacity)
138
internal StylusPointCollection(
StylusPointDescription
stylusPointDescription, int[] rawPacketData, GeneralTransform tabletToView, Matrix tabletToViewMatrix)
202
if (!
StylusPointDescription
.AreCompatible(stylusPoints.Description,
228
public
StylusPointDescription
Description
280
if (!
StylusPointDescription
.AreCompatible(stylusPoint.Description,
298
if (!
StylusPointDescription
.AreCompatible(stylusPoint.Description,
353
internal StylusPointCollection Clone(GeneralTransform transform,
StylusPointDescription
descriptionToUse)
362
private StylusPointCollection Clone(GeneralTransform transform,
StylusPointDescription
descriptionToUse, int count)
437
public StylusPointCollection Reformat(
StylusPointDescription
subsetToReformatTo)
445
internal StylusPointCollection Reformat(
StylusPointDescription
subsetToReformatTo, GeneralTransform transform)
452
StylusPointDescription
subsetToReformatToWithCurrentMetrics =
453
StylusPointDescription
.GetCommonDescription(subsetToReformatTo,
456
if (
StylusPointDescription
.AreCompatible(this.Description, subsetToReformatToWithCurrentMetrics) &&
500
for (int x =
StylusPointDescription
.RequiredCountOfProperties/*3*/; x < properties.Count; x++)
529
if (lengthPerPoint >
StylusPointDescription
.RequiredCountOfProperties/*3*/)
532
int countToCopy = lengthPerPoint -
StylusPointDescription
.RequiredCountOfProperties;/*3*/
605
if (lengthPerPoint >
StylusPointDescription
.RequiredCountOfProperties)
608
int countToCopy = lengthPerPoint -
StylusPointDescription
.RequiredCountOfProperties;/*3*/
System\Windows\Input\Stylus\Common\StylusPointDescription.cs (6)
287
public static bool AreCompatible(
StylusPointDescription
stylusPointDescription1,
StylusPointDescription
stylusPointDescription2)
329
public static
StylusPointDescription
GetCommonDescription(
StylusPointDescription
stylusPointDescription,
StylusPointDescription
stylusPointDescriptionPreserveInfo)
378
public bool IsSubsetOf(
StylusPointDescription
stylusPointDescriptionSuperset)
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
249
private
StylusPointDescription
_stylusPointDescription =
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (2)
249
internal
StylusPointDescription
StylusPointDescription
310
protected
StylusPointDescription
_stylusPointDescription;
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (3)
315
(Func<
StylusPointDescription
>)null,
352
(Func<
StylusPointDescription
>)null,
445
(Func<
StylusPointDescription
>)null,
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
631
StylusPointDescription
.AreCompatible(PointerTabletDevice.StylusPointDescription, _currentStylusPoints.Description))
687
internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
620
private static
StylusPointDescription
_mousePointDescription;
625
private static
StylusPointDescription
MousePointDescription
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceInfo.cs (12)
220
properties[
StylusPointDescription
.RequiredPressureIndex] = propInfo;
223
supportedProperties.Insert(
StylusPointDescription
.RequiredPressureIndex, prop);
228
properties[
StylusPointDescription
.RequiredXIndex] = propInfo;
229
supportedProperties[
StylusPointDescription
.RequiredXIndex] = prop;
234
properties[
StylusPointDescription
.RequiredYIndex] = propInfo;
235
supportedProperties[
StylusPointDescription
.RequiredYIndex] = prop;
253
PressureIndex =
StylusPointDescription
.RequiredPressureIndex;
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*/,
304
new Size(SupportedPointerProperties[
StylusPointDescription
.RequiredXIndex].logicalMax,
305
SupportedPointerProperties[
StylusPointDescription
.RequiredYIndex].logicalMax),
System\Windows\Input\Stylus\Wisp\PenContext.cs (6)
80
internal
StylusPointDescription
StylusPointDescription
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");
152
Debug.Assert(pressureIndex == -1 || pressureIndex ==
StylusPointDescription
.RequiredPressureIndex /*2*/,
157
propertyInfos.Insert(
StylusPointDescription
.RequiredPressureIndex /*2*/, StylusPointPropertyInfoDefaults.NormalPressure);
526
StylusPointDescription
_stylusPointDescription;
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (3)
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");
942
properties.Insert(
StylusPointDescription
.RequiredPressureIndex /*2*/, System.Windows.Input.StylusPointProperties.NormalPressure);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1934
internal
StylusPointDescription
GetMousePointDescription
3689
private
StylusPointDescription
_mousePointDescription;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
343
StylusPointDescription
.AreCompatible(penContext.StylusPointDescription, _eventStylusPoints.Description))
1130
internal override StylusPointCollection GetStylusPoints(IInputElement relativeTo,
StylusPointDescription
subsetToReformatTo)
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
269
internal void UpdateSizeDeltas(
StylusPointDescription
description, WispLogic stylusLogic)
System\Windows\InterOp\HwndPointerInputProvider.cs (2)
172
data[i +
StylusPointDescription
.RequiredXIndex] -= originOffsetX;
173
data[i +
StylusPointDescription
.RequiredYIndex] -= originOffsetY;
PresentationFramework (4)
MS\Internal\Ink\EditingCoordinator.cs (2)
944
StylusPointDescription
.GetCommonDescription(_inkCanvas.DefaultStylusPointDescription,
1401
private
StylusPointDescription
_commonDescription;
System\Windows\Controls\InkCanvas.cs (2)
949
public
StylusPointDescription
DefaultStylusPointDescription
3073
private
StylusPointDescription
_defaultStylusPointDescription;