2 writes to _strokeDescriptorTable
PresentationCore (2)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
317
_strokeDescriptorTable
= new System.Collections.Generic.List<StrokeDescriptor>();
1687
_strokeDescriptorTable
= new List<StrokeDescriptor>(_coreStrokes.Count);
19 references to _strokeDescriptorTable
PresentationCore (19)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (19)
569
if (
_strokeDescriptorTable
.Count <= strokeDescriptorTableIndex)
573
strokeDescriptor =
_strokeDescriptorTable
[(int)strokeDescriptorTableIndex];
954
_strokeDescriptorTable
.Clear();
964
_strokeDescriptorTable
.Add(descr);
978
_strokeDescriptorTable
.Clear();
1011
_strokeDescriptorTable
.Add(descr);
2203
if (
_strokeDescriptorTable
.Count == 0)
2210
if (
_strokeDescriptorTable
.Count == 1)
2212
StrokeDescriptor tmp =
_strokeDescriptorTable
[0];
2232
for (count = 0; count <
_strokeDescriptorTable
.Count; count++)
2234
cbTotal += SerializationHelper.VarSize((
_strokeDescriptorTable
[count]).Size) + (
_strokeDescriptorTable
[count]).Size;
2242
for (count = 0; count <
_strokeDescriptorTable
.Count; count++)
2244
cbData += EncodeStrokeDescriptor(strm,
_strokeDescriptorTable
[count]);
2544
_strokeDescriptorTable
.Clear();
2561
for (int descriptorIndex = 0; descriptorIndex <
_strokeDescriptorTable
.Count; descriptorIndex++)
2563
if (strokeDescriptor.IsEqual(
_strokeDescriptorTable
[descriptorIndex]))
2572
_strokeDescriptorTable
.Add(strokeDescriptor);
2573
_strokeLookupTable[stroke].StrokeDescriptorTableIndex = (uint)
_strokeDescriptorTable
.Count - 1;