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