1 write to _coreStrokes
PresentationCore (1)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
42
_coreStrokes
= coreStrokes;
22 references to _coreStrokes
PresentationCore (22)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (22)
322
if (0 !=
_coreStrokes
.Count ||
_coreStrokes
.ExtendedProperties.Count != 0)
652
_coreStrokes
.AddWithoutEvent(localStroke);
756
_coreStrokes
.ExtendedProperties[guid] = data;
1675
new System.Collections.Generic.Dictionary<Stroke, StrokeLookupEntry>(
_coreStrokes
.Count);
1678
for (int i = 0; i <
_coreStrokes
.Count; i++)
1680
_strokeLookupTable.Add(
_coreStrokes
[i], new StrokeLookupEntry());
1684
_strokeDescriptorTable = new List<StrokeDescriptor>(
_coreStrokes
.Count);
1689
using (MemoryStream localStream = new MemoryStream(
_coreStrokes
.Count * 125)) //reasonable default
1696
foreach (Stroke s in
_coreStrokes
)
1814
if (
_coreStrokes
.ExtendedProperties.Count > 0)
1817
cumulativeEncodedSize += ExtendedPropertySerializer.EncodeAsISF(
_coreStrokes
.ExtendedProperties, localStream, guidList, GetCompressionAlgorithm(), true);
1827
cumulativeEncodedSize += SaveStrokeIds(
_coreStrokes
, localStream, false);
1875
int[] strokeIds = StrokeIdGenerator.GetStrokeIds(
_coreStrokes
);
1876
for (int i = 0; i <
_coreStrokes
.Count; i++)
1878
Stroke s =
_coreStrokes
[i];
2122
ExtendedPropertyCollection attributes =
_coreStrokes
.ExtendedProperties;
2129
for (int j = 0; j <
_coreStrokes
.Count; j++)
2131
BuildStrokeGuidList(
_coreStrokes
[j], guidList);
2532
for (count = 0; count <
_coreStrokes
.Count; count++)
2534
Stroke stroke =
_coreStrokes
[count];
2615
DrawingAttributes drattrs =
_coreStrokes
[count].DrawingAttributes;