35 references to Result
PresentationCore (35)
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (31)
180
Result
.CanBeFlick = true;
181
Result
.IsLengthOk = false;
182
Result
.IsSpeedOk = false;
183
Result
.IsCurvatureOk = false;
184
Result
.IsLiftOk = false;
185
Result
.DirectionDeg = 0;
186
Result
.PhysicalLength = 0;
187
Result
.TabletLength = 0;
188
Result
.PhysicalStart = new Point();
189
Result
.TabletStart = new Point();
355
Result
.CanBeFlick = true;
356
Result
.IsLengthOk = true;
357
Result
.IsSpeedOk = true;
358
Result
.IsCurvatureOk = true;
359
Result
.IsLiftOk = true;
361
Result
.DirectionDeg = Convert.ToInt32(RadiansToDegrees(_flickDirectionRadians));
362
Result
.PhysicalStart = _flickStartPhysical;
363
Result
.TabletStart = _flickStartTablet;
365
Result
.PhysicalLength = Convert.ToInt32(.5 + Distance(
Result
.PhysicalStart, _previousFlickData.PhysicalPoint));
366
Result
.TabletLength = Convert.ToInt32(.5 + Distance(
Result
.TabletStart, _previousFlickData.TabletPoint));
379
Result
.CanBeFlick = false;
380
Result
.IsLiftOk = false;
385
Result
.CanBeFlick = false;
386
Result
.IsSpeedOk = false;
391
Result
.CanBeFlick = false;
392
Result
.IsCurvatureOk = false;
397
Result
.CanBeFlick = false;
398
Result
.IsLengthOk = false;
401
if (!
Result
.CanBeFlick || decide)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (4)
343
&& (_flickEngine?.
Result
?.CanBeFlick ?? false))
356
Convert.ToInt32(_flickEngine.
Result
.TabletStart.X),
357
Convert.ToInt32(_flickEngine.
Result
.TabletStart.Y),
476
&& (!_flickEngine?.
Result
?.CanBeFlick ?? true))