1 write to _coreStrokes
PresentationCore (1)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
56
_coreStrokes
= coreStrokes;
22 references to _coreStrokes
PresentationCore (22)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (22)
336
if (0 !=
_coreStrokes
.Count ||
_coreStrokes
.ExtendedProperties.Count != 0)
666
_coreStrokes
.AddWithoutEvent(localStroke);
770
_coreStrokes
.ExtendedProperties[guid] = data;
1691
new System.Collections.Generic.Dictionary<Stroke, StrokeLookupEntry>(
_coreStrokes
.Count);
1694
for (int i = 0; i <
_coreStrokes
.Count; i++)
1696
_strokeLookupTable.Add(
_coreStrokes
[i], new StrokeLookupEntry());
1700
_strokeDescriptorTable = new List<StrokeDescriptor>(
_coreStrokes
.Count);
1705
using (MemoryStream localStream = new MemoryStream(
_coreStrokes
.Count * 125)) //reasonable default
1712
foreach (Stroke s in
_coreStrokes
)
1830
if (
_coreStrokes
.ExtendedProperties.Count > 0)
1833
cumulativeEncodedSize += ExtendedPropertySerializer.EncodeAsISF(
_coreStrokes
.ExtendedProperties, localStream, guidList, GetCompressionAlgorithm(), true);
1843
cumulativeEncodedSize += SaveStrokeIds(
_coreStrokes
, localStream, false);
1891
int[] strokeIds = StrokeIdGenerator.GetStrokeIds(
_coreStrokes
);
1892
for (int i = 0; i <
_coreStrokes
.Count; i++)
1894
Stroke s =
_coreStrokes
[i];
2146
ExtendedPropertyCollection attributes =
_coreStrokes
.ExtendedProperties;
2153
for (int j = 0; j <
_coreStrokes
.Count; j++)
2155
BuildStrokeGuidList(
_coreStrokes
[j], guidList);
2563
for (count = 0; count <
_coreStrokes
.Count; count++)
2565
Stroke stroke =
_coreStrokes
[count];
2646
DrawingAttributes drattrs =
_coreStrokes
[count].DrawingAttributes;