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)
582if (_strokeDescriptorTable.Count <= strokeDescriptorTableIndex) 586strokeDescriptor = _strokeDescriptorTable[(int)strokeDescriptorTableIndex]; 967_strokeDescriptorTable.Clear(); 977_strokeDescriptorTable.Add(descr); 991_strokeDescriptorTable.Clear(); 1024_strokeDescriptorTable.Add(descr); 2216if (_strokeDescriptorTable.Count == 0) 2223if (_strokeDescriptorTable.Count == 1) 2225StrokeDescriptor tmp = _strokeDescriptorTable[0]; 2245for (count = 0; count < _strokeDescriptorTable.Count; count++) 2247cbTotal += SerializationHelper.VarSize((_strokeDescriptorTable[count]).Size) + (_strokeDescriptorTable[count]).Size; 2255for (count = 0; count < _strokeDescriptorTable.Count; count++) 2257cbData += EncodeStrokeDescriptor(strm, _strokeDescriptorTable[count]); 2557_strokeDescriptorTable.Clear(); 2574for (int descriptorIndex = 0; descriptorIndex < _strokeDescriptorTable.Count; descriptorIndex++) 2576if (strokeDescriptor.IsEqual(_strokeDescriptorTable[descriptorIndex])) 2585_strokeDescriptorTable.Add(strokeDescriptor); 2586_strokeLookupTable[stroke].StrokeDescriptorTableIndex = (uint)_strokeDescriptorTable.Count - 1;