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