2 writes to _strokeDescriptorTable
PresentationCore (2)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
330
_strokeDescriptorTable
= new System.Collections.Generic.List<StrokeDescriptor>();
1700
_strokeDescriptorTable
= new List<StrokeDescriptor>(_coreStrokes.Count);
19 references to _strokeDescriptorTable
PresentationCore (19)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (19)
582
if (
_strokeDescriptorTable
.Count <= strokeDescriptorTableIndex)
586
strokeDescriptor =
_strokeDescriptorTable
[(int)strokeDescriptorTableIndex];
967
_strokeDescriptorTable
.Clear();
977
_strokeDescriptorTable
.Add(descr);
991
_strokeDescriptorTable
.Clear();
1024
_strokeDescriptorTable
.Add(descr);
2216
if (
_strokeDescriptorTable
.Count == 0)
2223
if (
_strokeDescriptorTable
.Count == 1)
2225
StrokeDescriptor tmp =
_strokeDescriptorTable
[0];
2245
for (count = 0; count <
_strokeDescriptorTable
.Count; count++)
2247
cbTotal += SerializationHelper.VarSize((
_strokeDescriptorTable
[count]).Size) + (
_strokeDescriptorTable
[count]).Size;
2255
for (count = 0; count <
_strokeDescriptorTable
.Count; count++)
2257
cbData += EncodeStrokeDescriptor(strm,
_strokeDescriptorTable
[count]);
2557
_strokeDescriptorTable
.Clear();
2574
for (int descriptorIndex = 0; descriptorIndex <
_strokeDescriptorTable
.Count; descriptorIndex++)
2576
if (strokeDescriptor.IsEqual(
_strokeDescriptorTable
[descriptorIndex]))
2585
_strokeDescriptorTable
.Add(strokeDescriptor);
2586
_strokeLookupTable[stroke].StrokeDescriptorTableIndex = (uint)
_strokeDescriptorTable
.Count - 1;