105 references to Position
PresentationCore (105)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (27)
92
if (beginNode.IsEmpty || endNode.IsEmpty || DoubleUtil.AreClose(beginNode.
Position
, endNode.
Position
))
98
Vector spine = endNode.
Position
- beginNode.
Position
;
162
return new Quad(beginNode.
Position
+ (vectorToLeftTangent * beginRadius),
163
endNode.
Position
+ (vectorToLeftTangent * endRadius),
164
endNode.
Position
+ (vectorToRightTangent * endRadius),
165
beginNode.
Position
+ (vectorToRightTangent * beginRadius));
180
Point point = node.
Position
;
182
yield return new ContourSegment(point, point, node.
Position
);
187
yield return new ContourSegment(quad.B, quad.C, node.
Position
);
234
Vector hitBegin = hitBeginPoint - bigNode.
Position
;
235
Vector hitEnd = hitEndPoint - bigNode.
Position
;
256
Vector spineVector = smallNode.
Position
- bigNode.
Position
;
304
spineVector = smallNode.
Position
- bigNode.
Position
;
337
Vector hitBegin = hitSegment.Begin - bigNode.
Position
;
368
(WhereIsVectorAboutVector(endNode.
Position
- hitSegment.Begin, hitSegment.Vector) != HitResult.Right))
391
Vector spineVector = beginNode.IsEmpty ? new Vector(0, 0) : (beginNode.
Position
- endNode.
Position
);
392
Vector hitBegin = hitBeginPoint - endNode.
Position
;
393
Vector hitEnd = hitEndPoint - endNode.
Position
;
469
Vector spineVector = beginNode.IsEmpty ? new Vector(0, 0) : (beginNode.
Position
- endNode.
Position
);
499
Vector hitBegin = hitSegment.Begin - endNode.
Position
;
555
endNode.
Position
- hitSegment.Begin, hitSegment.Vector) != HitResult.Right))
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (15)
63
internal Point Position { get { return _thisNode.
Position
; } }
69
internal Point PreviousPosition { get { return _lastNode.
Position
; } }
244
Point point = _lastNode.
Position
+ (vertices[i % vertices.Length] * pressureFactor);
278
Point point = _lastNode.
Position
+ (vertices[i % vertices.Length] * pressureFactor);
363
Point point = _thisNode.
Position
+ (vertices[i % vertices.Length] * pressureFactor);
390
Point point = _thisNode.
Position
+ (vertices[i % vertices.Length] * pressureFactor);
626
Point point = _lastNode.
Position
+ (vertices[i % vertices.Length] * pressureFactor);
1050
return _thisNode.
Position
;
1062
return _thisNode.
Position
;
1072
double xDiff = (_thisNode.
Position
.X - _lastNode.
Position
.X) * findex;
1073
double yDiff = (_thisNode.
Position
.Y - _lastNode.
Position
.Y) * findex;
1078
return new Point( _lastNode.
Position
.X + xDiff,
1079
_lastNode.
Position
.Y + yDiff);
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (63)
95
boundingBox.Location += (Vector)node.
Position
;
107
pointBuffer.Add(node.
Position
+ _vertices[i]);
114
pointBuffer.Add(node.
Position
+ (_vertices[i] * 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);
189
if (beginNode.IsEmpty || endNode.IsEmpty || DoubleUtil.AreClose(beginNode.
Position
, endNode.
Position
))
210
Vector spine = endNode.
Position
- beginNode.
Position
;
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;
311
position = endNode.
Position
;
316
position = beginNode.
Position
;
344
Vector hitBegin = hitBeginPoint - beginNode.
Position
;
345
Vector hitEnd = hitEndPoint - beginNode.
Position
;
347
hitBegin, hitEnd, quad.C - beginNode.
Position
, quad.D - beginNode.
Position
);
373
if ((beginNode.
Position
+ vertex) == quad.D)
383
Point nodePosition = (node == 0) ? beginNode.
Position
: endNode.
Position
;
414
Vector spineVector = endNode.
Position
- beginNode.
Position
;
421
while (((endNode.
Position
+ _vertices[i] * pressureFactor) != quad.B) && (count != 0))
485
Point position = (node == 0) ? beginNode.
Position
: endNode.
Position
;
536
(endNode.
Position
- beginNode.
Position
) / beginNode.PressureFactor,
538
(hitBeginPoint - beginNode.
Position
) / beginNode.PressureFactor,
539
(hitEndPoint - beginNode.
Position
) / beginNode.PressureFactor);
546
(beginNode.
Position
- endNode.
Position
) / endNode.PressureFactor,
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;
619
? (WhereIsVectorAboutArc(endNode.
Position
- hitSegment.Begin - hitSegment.Radius,
622
endNode.
Position
- hitSegment.Begin, hitSegment.Vector) == HitResult.Right);
958
position = endNode.
Position
;
963
position = beginNode.
Position
;
1062
hitBegin = hitSegment.Begin + hitSegment.Radius - beginNode.
Position
;
1065
hitBegin, hitEnd, quad.C - beginNode.
Position
, quad.D - beginNode.
Position
);
1069
hitBegin = hitSegment.Begin - beginNode.
Position
;
1072
hitBegin, hitEnd, quad.C - beginNode.
Position
, quad.D - beginNode.
Position
);
1100
if (DoubleUtil.AreClose((beginNode.
Position
+ vertex), quad.D))
1111
Point nodePosition = (k == 0) ? beginNode.
Position
: endNode.
Position
;
1152
Vector spineVector = endNode.
Position
- beginNode.
Position
;
1162
while (!DoubleUtil.AreClose((endNode.
Position
+ _vertices[i] * pressureFactor), quad.B) && (count != 0))
1211
position = beginNode.
Position
;
1220
position = endNode.
Position
;
1292
beginNode.
Position
- hitSegment.Begin, hitSegment.Vector) == HitResult.Left);
1297
(hitSegment.Begin + hitSegment.Radius - beginNode.
Position
) / beginNode.PressureFactor,
1300
(hitSegment.Begin - beginNode.
Position
) / beginNode.PressureFactor,
1301
(hitSegment.End - beginNode.
Position
) / beginNode.PressureFactor);