1 write to _vertices
PresentationCore (1)
MS\Internal\Ink\StrokeNodeOperations.cs (1)
43
_vertices
= nodeShape.GetVerticesAsVectors();
56 references to _vertices
PresentationCore (56)
MS\Internal\Ink\StrokeNodeOperations.cs (56)
62
for (i = 0; (i + 1) <
_vertices
.Length; i += 2)
64
_shapeBounds.Union(new Rect((Point)
_vertices
[i], (Point)
_vertices
[i + 1]));
66
if (i <
_vertices
.Length)
68
_shapeBounds.Union((Point)
_vertices
[i]);
95
for (int i = 0; i <
_vertices
.Length; i++)
97
pointBuffer.Add(node.Position +
_vertices
[i]);
102
for (int i = 0; i <
_vertices
.Length; i++)
104
pointBuffer.Add(node.Position + (
_vertices
[i] * pressureFactor));
123
Point vertex = node.Position + (
_vertices
[
_vertices
.Length - 1] * node.PressureFactor);
124
for (int i = 0; i <
_vertices
.Length; i++)
126
Point nextVertex = node.Position + (
_vertices
[i] * node.PressureFactor);
135
for (int i = 0, count =
_vertices
.Length; i < count; i++)
137
Point vertex = node.Position + (
_vertices
[i] * node.PressureFactor);
143
Point nextVertex = node.Position + (
_vertices
[i] * node.PressureFactor);
204
int count =
_vertices
.Length;
208
Vector connection = spine +
_vertices
[i] * pressureDelta;
223
HitResult goingTo = WhereIsVectorAboutVector(connection,
_vertices
[(i + 1) % count] -
_vertices
[i]);
230
HitResult comingFrom = WhereIsVectorAboutVector(
_vertices
[i] -
_vertices
[j], connection);
234
quad.A = beginNode.Position +
_vertices
[i] * beginNode.PressureFactor;
235
quad.B = endNode.Position +
_vertices
[i] * endNode.PressureFactor;
249
HitResult comingFrom = WhereIsVectorAboutVector(
_vertices
[i] -
_vertices
[j], connection);
253
quad.C = endNode.Position +
_vertices
[i] * endNode.PressureFactor;
254
quad.D = beginNode.Position +
_vertices
[i] * beginNode.PressureFactor;
321
return HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd);
351
int i = 0, count =
_vertices
.Length;
355
vertex =
_vertices
[i] * pressureFactor;
376
count =
_vertices
.Length;
379
i = (i + 1) %
_vertices
.Length;
380
Vector nextVertex = (pressureFactor == 1) ?
_vertices
[i] : (
_vertices
[i] * pressureFactor);
410
count =
_vertices
.Length;
411
while (((endNode.Position +
_vertices
[i] * pressureFactor) != quad.B) && (count != 0))
413
i = (i + 1) %
_vertices
.Length;
482
if (true == HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd))
690
Vector lastVertex =
_vertices
[
_vertices
.Length - 1];
700
for (int k = 0, count =
_vertices
.Length; k < count || (k == count && testNextEdge); k++)
702
Vector vertex =
_vertices
[k % count];
912
return
_vertices
;
962
if (true == HitTestPolygonCircle(
_vertices
, hitCenter, hitRadius))
987
if (true == HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd))
1074
int i = 0, count =
_vertices
.Length;
1078
vertex =
_vertices
[i] * pressureFactor;
1089
count =
_vertices
.Length;
1100
i = (i + 1) %
_vertices
.Length;
1101
Vector nextVertex =
_vertices
[i] * pressureFactor;
1140
count =
_vertices
.Length;
1141
while (!DoubleUtil.AreClose((endNode.Position +
_vertices
[i] * pressureFactor), quad.B) && (count != 0))
1143
i = (i + 1) %
_vertices
.Length;
1225
? HitTestPolygonCircle(
_vertices
, hitBegin, hitEnd)
1226
: HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd))