4 writes to _size
PresentationCore (4)
Core\CSharp\System\Windows\Media\MatrixStack.cs (4)
84
_size
++;
122
_size
++;
152
_size
++;
169
_size
--;
23 references to _size
PresentationCore (23)
Core\CSharp\System\Windows\Media\MatrixStack.cs (23)
48
if (
_size
== _items.Length)
50
Matrix[] newItems = new Matrix[s_growFactor *
_size
];
51
Array.Copy(_items, newItems,
_size
);
67
if (combine && (
_size
> 0))
72
_items[
_size
] = matrix;
75
MatrixUtil.MultiplyMatrix(ref _items[
_size
], ref _items[
_size
- 1]);
81
_items[
_size
] = matrix;
88
_highWaterMark = Math.Max(_highWaterMark,
_size
);
107
if (combine && (
_size
> 0))
114
transform.MultiplyValueByMatrix(ref _items[
_size
], ref _items[
_size
- 1]);
119
_items[
_size
] = transform.Value;
126
_highWaterMark = Math.Max(_highWaterMark,
_size
);
137
if (combine && (
_size
> 0))
140
_items[
_size
] = _items[
_size
-1];
146
_items[
_size
] = Matrix.Identity;
150
MatrixUtil.PrependOffset(ref _items[
_size
], offset.X, offset.Y);
156
_highWaterMark = Math.Max(_highWaterMark,
_size
);
178
return _items[
_size
-1];
184
public bool IsEmpty { get { return
_size
== 0; } }
193
Debug.Assert(
_size
== 0); // The stack must be empty before this is called.