35 references to Result
PresentationCore (35)
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (31)
200
Result
.CanBeFlick = true;
201
Result
.IsLengthOk = false;
202
Result
.IsSpeedOk = false;
203
Result
.IsCurvatureOk = false;
204
Result
.IsLiftOk = false;
205
Result
.DirectionDeg = 0;
206
Result
.PhysicalLength = 0;
207
Result
.TabletLength = 0;
208
Result
.PhysicalStart = new Point();
209
Result
.TabletStart = new Point();
375
Result
.CanBeFlick = true;
376
Result
.IsLengthOk = true;
377
Result
.IsSpeedOk = true;
378
Result
.IsCurvatureOk = true;
379
Result
.IsLiftOk = true;
381
Result
.DirectionDeg = Convert.ToInt32(RadiansToDegrees(_flickDirectionRadians));
382
Result
.PhysicalStart = _flickStartPhysical;
383
Result
.TabletStart = _flickStartTablet;
385
Result
.PhysicalLength = Convert.ToInt32(.5 + Distance(
Result
.PhysicalStart, _previousFlickData.PhysicalPoint));
386
Result
.TabletLength = Convert.ToInt32(.5 + Distance(
Result
.TabletStart, _previousFlickData.TabletPoint));
399
Result
.CanBeFlick = false;
400
Result
.IsLiftOk = false;
405
Result
.CanBeFlick = false;
406
Result
.IsSpeedOk = false;
411
Result
.CanBeFlick = false;
412
Result
.IsCurvatureOk = false;
417
Result
.CanBeFlick = false;
418
Result
.IsLengthOk = false;
421
if (!
Result
.CanBeFlick || decide)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (4)
359
&& (_flickEngine?.
Result
?.CanBeFlick ?? false))
372
Convert.ToInt32(_flickEngine.
Result
.TabletStart.X),
373
Convert.ToInt32(_flickEngine.
Result
.TabletStart.Y),
492
&& (!_flickEngine?.
Result
?.CanBeFlick ?? true))