69 references to PressureFactor
PresentationCore (69)
MS\Internal\Ink\EllipticalNodeOperations.cs (16)
103
double beginRadius = _radius * beginNode.
PressureFactor
;
104
double endRadius = _radius * endNode.
PressureFactor
;
144
if (beginNode.
PressureFactor
< endNode.
PressureFactor
)
219
if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.
PressureFactor
> beginNode.
PressureFactor
)))
246
double bigRadius = _radius * bigNode.
PressureFactor
;
260
double smallRadius = _radius * smallNode.
PressureFactor
;
286
if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.
PressureFactor
> beginNode.
PressureFactor
)))
299
smallRadiusSquared = _radius * smallNode.
PressureFactor
;
311
bigRadiusSquared = _radius * bigNode.
PressureFactor
;
405
double beginRadius = 0, endRadius = _radius * endNode.
PressureFactor
;
415
beginRadius = _radius * beginNode.
PressureFactor
;
478
endRadius = _radius * endNode.
PressureFactor
;
482
beginRadius = _radius * beginNode.
PressureFactor
;
MS\Internal\Ink\StrokeNode.cs (5)
75
internal float PressureFactor { get { return _thisNode.
PressureFactor
; } }
81
internal float PreviousPressureFactor { get { return _lastNode.
PressureFactor
; } }
237
double pressureFactor = _lastNode.
PressureFactor
;
356
double pressureFactor = _thisNode.
PressureFactor
;
622
double pressureFactor = _lastNode.
PressureFactor
;
MS\Internal\Ink\StrokeNodeOperations.cs (48)
82
double pressureFactor = node.
PressureFactor
;
99
double pressureFactor = node.
PressureFactor
;
130
Point vertex = node.Position + (_vertices[_vertices.Length - 1] * node.
PressureFactor
);
133
Point nextVertex = node.Position + (_vertices[i] * node.
PressureFactor
);
144
Point vertex = node.Position + (_vertices[i] * node.
PressureFactor
);
150
Point nextVertex = node.Position + (_vertices[i] * node.
PressureFactor
);
208
double pressureDelta = endNode.
PressureFactor
- beginNode.
PressureFactor
;
241
quad.A = beginNode.Position + _vertices[i] * beginNode.
PressureFactor
;
242
quad.B = endNode.Position + _vertices[i] * endNode.
PressureFactor
;
260
quad.C = endNode.Position + _vertices[i] * endNode.
PressureFactor
;
261
quad.D = beginNode.Position + _vertices[i] * beginNode.
PressureFactor
;
306
if (beginNode.IsEmpty || (endNode.
PressureFactor
> beginNode.
PressureFactor
))
309
pressureFactor = endNode.
PressureFactor
;
314
pressureFactor = beginNode.
PressureFactor
;
353
double pressureFactor = beginNode.
PressureFactor
;
409
pressureFactor = endNode.
PressureFactor
;
477
double pressureFactor = (node == 0) ? beginNode.
PressureFactor
: endNode.
PressureFactor
;
527
(endNode.Position - beginNode.Position) / beginNode.
PressureFactor
,
528
(endNode.
PressureFactor
/ beginNode.
PressureFactor
) - 1,
529
(hitBeginPoint - beginNode.Position) / beginNode.
PressureFactor
,
530
(hitEndPoint - beginNode.Position) / beginNode.
PressureFactor
);
537
(beginNode.Position - endNode.Position) / endNode.
PressureFactor
,
538
(beginNode.
PressureFactor
/ endNode.
PressureFactor
) - 1,
539
(hitBeginPoint - endNode.Position) / endNode.
PressureFactor
,
540
(hitEndPoint - endNode.Position) / endNode.
PressureFactor
);
574
Vector spineVector = (endNode.Position - beginNode.Position) / beginNode.
PressureFactor
;
575
Vector spineVectorReversed = (beginNode.Position - endNode.Position) / endNode.
PressureFactor
;
576
double pressureDelta = (endNode.
PressureFactor
/ beginNode.
PressureFactor
) - 1;
577
double pressureDeltaReversed = (beginNode.
PressureFactor
/ endNode.
PressureFactor
) - 1;
942
if (beginNode.IsEmpty || endNode.
PressureFactor
> beginNode.
PressureFactor
)
945
pressureFactor = endNode.
PressureFactor
;
950
pressureFactor = beginNode.
PressureFactor
;
1076
double pressureFactor = beginNode.
PressureFactor
;
1137
pressureFactor = endNode.
PressureFactor
;
1198
pressureFactor = beginNode.
PressureFactor
;
1207
pressureFactor = endNode.
PressureFactor
;
1283
(hitSegment.Begin + hitSegment.Radius - beginNode.Position) / beginNode.
PressureFactor
,
1284
hitSegment.Radius / beginNode.
PressureFactor
)
1286
(hitSegment.Begin - beginNode.Position) / beginNode.
PressureFactor
,
1287
(hitSegment.End - beginNode.Position) / beginNode.
PressureFactor
);