69 references to PressureFactor
PresentationCore (69)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (16)
104
double beginRadius = _radius * beginNode.
PressureFactor
;
105
double endRadius = _radius * endNode.
PressureFactor
;
145
if (beginNode.
PressureFactor
< endNode.
PressureFactor
)
220
if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.
PressureFactor
> beginNode.
PressureFactor
)))
247
double bigRadius = _radius * bigNode.
PressureFactor
;
261
double smallRadius = _radius * smallNode.
PressureFactor
;
287
if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.
PressureFactor
> beginNode.
PressureFactor
)))
300
smallRadiusSquared = _radius * smallNode.
PressureFactor
;
312
bigRadiusSquared = _radius * bigNode.
PressureFactor
;
406
double beginRadius = 0, endRadius = _radius * endNode.
PressureFactor
;
416
beginRadius = _radius * beginNode.
PressureFactor
;
479
endRadius = _radius * endNode.
PressureFactor
;
483
beginRadius = _radius * beginNode.
PressureFactor
;
Core\CSharp\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
;
623
double pressureFactor = _lastNode.
PressureFactor
;
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (48)
85
double pressureFactor = node.
PressureFactor
;
102
double pressureFactor = node.
PressureFactor
;
133
Point vertex = node.Position + (_vertices[_vertices.Length - 1] * node.
PressureFactor
);
136
Point nextVertex = node.Position + (_vertices[i] * node.
PressureFactor
);
147
Point vertex = node.Position + (_vertices[i] * node.
PressureFactor
);
153
Point nextVertex = node.Position + (_vertices[i] * node.
PressureFactor
);
211
double pressureDelta = endNode.
PressureFactor
- beginNode.
PressureFactor
;
244
quad.A = beginNode.Position + _vertices[i] * beginNode.
PressureFactor
;
245
quad.B = endNode.Position + _vertices[i] * endNode.
PressureFactor
;
263
quad.C = endNode.Position + _vertices[i] * endNode.
PressureFactor
;
264
quad.D = beginNode.Position + _vertices[i] * beginNode.
PressureFactor
;
309
if (beginNode.IsEmpty || (endNode.
PressureFactor
> beginNode.
PressureFactor
))
312
pressureFactor = endNode.
PressureFactor
;
317
pressureFactor = beginNode.
PressureFactor
;
356
double pressureFactor = beginNode.
PressureFactor
;
412
pressureFactor = endNode.
PressureFactor
;
486
double pressureFactor = (node == 0) ? beginNode.
PressureFactor
: endNode.
PressureFactor
;
536
(endNode.Position - beginNode.Position) / beginNode.
PressureFactor
,
537
(endNode.
PressureFactor
/ beginNode.
PressureFactor
) - 1,
538
(hitBeginPoint - beginNode.Position) / beginNode.
PressureFactor
,
539
(hitEndPoint - beginNode.Position) / beginNode.
PressureFactor
);
546
(beginNode.Position - endNode.Position) / endNode.
PressureFactor
,
547
(beginNode.
PressureFactor
/ endNode.
PressureFactor
) - 1,
548
(hitBeginPoint - endNode.Position) / endNode.
PressureFactor
,
549
(hitEndPoint - endNode.Position) / endNode.
PressureFactor
);
583
Vector spineVector = (endNode.Position - beginNode.Position) / beginNode.
PressureFactor
;
584
Vector spineVectorReversed = (beginNode.Position - endNode.Position) / endNode.
PressureFactor
;
585
double pressureDelta = (endNode.
PressureFactor
/ beginNode.
PressureFactor
) - 1;
586
double pressureDeltaReversed = (beginNode.
PressureFactor
/ endNode.
PressureFactor
) - 1;
956
if (beginNode.IsEmpty || endNode.
PressureFactor
> beginNode.
PressureFactor
)
959
pressureFactor = endNode.
PressureFactor
;
964
pressureFactor = beginNode.
PressureFactor
;
1090
double pressureFactor = beginNode.
PressureFactor
;
1151
pressureFactor = endNode.
PressureFactor
;
1212
pressureFactor = beginNode.
PressureFactor
;
1221
pressureFactor = endNode.
PressureFactor
;
1297
(hitSegment.Begin + hitSegment.Radius - beginNode.Position) / beginNode.
PressureFactor
,
1298
hitSegment.Radius / beginNode.
PressureFactor
)
1300
(hitSegment.Begin - beginNode.Position) / beginNode.
PressureFactor
,
1301
(hitSegment.End - beginNode.Position) / beginNode.
PressureFactor
);