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