69 references to PressureFactor
PresentationCore (69)
MS\Internal\Ink\EllipticalNodeOperations.cs (16)
99
double beginRadius = _radius * beginNode.
PressureFactor
;
100
double endRadius = _radius * endNode.
PressureFactor
;
140
if (beginNode.
PressureFactor
< endNode.
PressureFactor
)
215
if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.
PressureFactor
> beginNode.
PressureFactor
)))
242
double bigRadius = _radius * bigNode.
PressureFactor
;
256
double smallRadius = _radius * smallNode.
PressureFactor
;
282
if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.
PressureFactor
> beginNode.
PressureFactor
)))
295
smallRadiusSquared = _radius * smallNode.
PressureFactor
;
307
bigRadiusSquared = _radius * bigNode.
PressureFactor
;
401
double beginRadius = 0, endRadius = _radius * endNode.
PressureFactor
;
411
beginRadius = _radius * beginNode.
PressureFactor
;
474
endRadius = _radius * endNode.
PressureFactor
;
478
beginRadius = _radius * beginNode.
PressureFactor
;
MS\Internal\Ink\StrokeNode.cs (5)
69
internal float PressureFactor { get { return _thisNode.
PressureFactor
; } }
75
internal float PreviousPressureFactor { get { return _lastNode.
PressureFactor
; } }
231
double pressureFactor = _lastNode.
PressureFactor
;
350
double pressureFactor = _thisNode.
PressureFactor
;
616
double pressureFactor = _lastNode.
PressureFactor
;
MS\Internal\Ink\StrokeNodeOperations.cs (48)
75
double pressureFactor = node.
PressureFactor
;
92
double pressureFactor = node.
PressureFactor
;
123
Point vertex = node.Position + (_vertices[_vertices.Length - 1] * node.
PressureFactor
);
126
Point nextVertex = node.Position + (_vertices[i] * node.
PressureFactor
);
137
Point vertex = node.Position + (_vertices[i] * node.
PressureFactor
);
143
Point nextVertex = node.Position + (_vertices[i] * node.
PressureFactor
);
201
double pressureDelta = endNode.
PressureFactor
- beginNode.
PressureFactor
;
234
quad.A = beginNode.Position + _vertices[i] * beginNode.
PressureFactor
;
235
quad.B = endNode.Position + _vertices[i] * endNode.
PressureFactor
;
253
quad.C = endNode.Position + _vertices[i] * endNode.
PressureFactor
;
254
quad.D = beginNode.Position + _vertices[i] * beginNode.
PressureFactor
;
299
if (beginNode.IsEmpty || (endNode.
PressureFactor
> beginNode.
PressureFactor
))
302
pressureFactor = endNode.
PressureFactor
;
307
pressureFactor = beginNode.
PressureFactor
;
346
double pressureFactor = beginNode.
PressureFactor
;
402
pressureFactor = endNode.
PressureFactor
;
470
double pressureFactor = (node == 0) ? beginNode.
PressureFactor
: endNode.
PressureFactor
;
520
(endNode.Position - beginNode.Position) / beginNode.
PressureFactor
,
521
(endNode.
PressureFactor
/ beginNode.
PressureFactor
) - 1,
522
(hitBeginPoint - beginNode.Position) / beginNode.
PressureFactor
,
523
(hitEndPoint - beginNode.Position) / beginNode.
PressureFactor
);
530
(beginNode.Position - endNode.Position) / endNode.
PressureFactor
,
531
(beginNode.
PressureFactor
/ endNode.
PressureFactor
) - 1,
532
(hitBeginPoint - endNode.Position) / endNode.
PressureFactor
,
533
(hitEndPoint - endNode.Position) / endNode.
PressureFactor
);
567
Vector spineVector = (endNode.Position - beginNode.Position) / beginNode.
PressureFactor
;
568
Vector spineVectorReversed = (beginNode.Position - endNode.Position) / endNode.
PressureFactor
;
569
double pressureDelta = (endNode.
PressureFactor
/ beginNode.
PressureFactor
) - 1;
570
double pressureDeltaReversed = (beginNode.
PressureFactor
/ endNode.
PressureFactor
) - 1;
935
if (beginNode.IsEmpty || endNode.
PressureFactor
> beginNode.
PressureFactor
)
938
pressureFactor = endNode.
PressureFactor
;
943
pressureFactor = beginNode.
PressureFactor
;
1069
double pressureFactor = beginNode.
PressureFactor
;
1130
pressureFactor = endNode.
PressureFactor
;
1191
pressureFactor = beginNode.
PressureFactor
;
1200
pressureFactor = endNode.
PressureFactor
;
1276
(hitSegment.Begin + hitSegment.Radius - beginNode.Position) / beginNode.
PressureFactor
,
1277
hitSegment.Radius / beginNode.
PressureFactor
)
1279
(hitSegment.Begin - beginNode.Position) / beginNode.
PressureFactor
,
1280
(hitSegment.End - beginNode.Position) / beginNode.
PressureFactor
);