1 write to _vertices
PresentationCore (1)
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (1)
53
_vertices
= nodeShape.GetVerticesAsVectors();
56 references to _vertices
PresentationCore (56)
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (56)
72
for (i = 0; (i + 1) <
_vertices
.Length; i += 2)
74
_shapeBounds.Union(new Rect((Point)
_vertices
[i], (Point)
_vertices
[i + 1]));
76
if (i <
_vertices
.Length)
78
_shapeBounds.Union((Point)
_vertices
[i]);
105
for (int i = 0; i <
_vertices
.Length; i++)
107
pointBuffer.Add(node.Position +
_vertices
[i]);
112
for (int i = 0; i <
_vertices
.Length; i++)
114
pointBuffer.Add(node.Position + (
_vertices
[i] * pressureFactor));
133
Point vertex = node.Position + (
_vertices
[
_vertices
.Length - 1] * node.PressureFactor);
134
for (int i = 0; i <
_vertices
.Length; i++)
136
Point nextVertex = node.Position + (
_vertices
[i] * node.PressureFactor);
145
for (int i = 0, count =
_vertices
.Length; i < count; i++)
147
Point vertex = node.Position + (
_vertices
[i] * node.PressureFactor);
153
Point nextVertex = node.Position + (
_vertices
[i] * node.PressureFactor);
214
int count =
_vertices
.Length;
218
Vector connection = spine +
_vertices
[i] * pressureDelta;
233
HitResult goingTo = WhereIsVectorAboutVector(connection,
_vertices
[(i + 1) % count] -
_vertices
[i]);
240
HitResult comingFrom = WhereIsVectorAboutVector(
_vertices
[i] -
_vertices
[j], connection);
244
quad.A = beginNode.Position +
_vertices
[i] * beginNode.PressureFactor;
245
quad.B = endNode.Position +
_vertices
[i] * endNode.PressureFactor;
259
HitResult comingFrom = WhereIsVectorAboutVector(
_vertices
[i] -
_vertices
[j], connection);
263
quad.C = endNode.Position +
_vertices
[i] * endNode.PressureFactor;
264
quad.D = beginNode.Position +
_vertices
[i] * beginNode.PressureFactor;
331
return HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd);
361
int i = 0, count =
_vertices
.Length;
365
vertex =
_vertices
[i] * pressureFactor;
386
count =
_vertices
.Length;
389
i = (i + 1) %
_vertices
.Length;
390
Vector nextVertex = (pressureFactor == 1) ?
_vertices
[i] : (
_vertices
[i] * pressureFactor);
420
count =
_vertices
.Length;
421
while (((endNode.Position +
_vertices
[i] * pressureFactor) != quad.B) && (count != 0))
423
i = (i + 1) %
_vertices
.Length;
498
if (true == HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd))
711
Vector lastVertex =
_vertices
[
_vertices
.Length - 1];
721
for (int k = 0, count =
_vertices
.Length; k < count || (k == count && testNextEdge); k++)
723
Vector vertex =
_vertices
[k % count];
933
return
_vertices
;
983
if (true == HitTestPolygonCircle(
_vertices
, hitCenter, hitRadius))
1008
if (true == HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd))
1095
int i = 0, count =
_vertices
.Length;
1099
vertex =
_vertices
[i] * pressureFactor;
1110
count =
_vertices
.Length;
1121
i = (i + 1) %
_vertices
.Length;
1122
Vector nextVertex =
_vertices
[i] * pressureFactor;
1161
count =
_vertices
.Length;
1162
while (!DoubleUtil.AreClose((endNode.Position +
_vertices
[i] * pressureFactor), quad.B) && (count != 0))
1164
i = (i + 1) %
_vertices
.Length;
1246
? HitTestPolygonCircle(
_vertices
, hitBegin, hitEnd)
1247
: HitTestPolygonSegment(
_vertices
, hitBegin, hitEnd))