1 write to _coreStrokes
PresentationCore (1)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
43
_coreStrokes
= coreStrokes;
22 references to _coreStrokes
PresentationCore (22)
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (22)
323
if (0 !=
_coreStrokes
.Count ||
_coreStrokes
.ExtendedProperties.Count != 0)
653
_coreStrokes
.AddWithoutEvent(localStroke);
757
_coreStrokes
.ExtendedProperties[guid] = data;
1678
new System.Collections.Generic.Dictionary<Stroke, StrokeLookupEntry>(
_coreStrokes
.Count);
1681
for (int i = 0; i <
_coreStrokes
.Count; i++)
1683
_strokeLookupTable.Add(
_coreStrokes
[i], new StrokeLookupEntry());
1687
_strokeDescriptorTable = new List<StrokeDescriptor>(
_coreStrokes
.Count);
1692
using (MemoryStream localStream = new MemoryStream(
_coreStrokes
.Count * 125)) //reasonable default
1699
foreach (Stroke s in
_coreStrokes
)
1817
if (
_coreStrokes
.ExtendedProperties.Count > 0)
1820
cumulativeEncodedSize += ExtendedPropertySerializer.EncodeAsISF(
_coreStrokes
.ExtendedProperties, localStream, guidList, GetCompressionAlgorithm(), true);
1830
cumulativeEncodedSize += SaveStrokeIds(
_coreStrokes
, localStream, false);
1878
int[] strokeIds = StrokeIdGenerator.GetStrokeIds(
_coreStrokes
);
1879
for (int i = 0; i <
_coreStrokes
.Count; i++)
1881
Stroke s =
_coreStrokes
[i];
2133
ExtendedPropertyCollection attributes =
_coreStrokes
.ExtendedProperties;
2140
for (int j = 0; j <
_coreStrokes
.Count; j++)
2142
BuildStrokeGuidList(
_coreStrokes
[j], guidList);
2550
for (count = 0; count <
_coreStrokes
.Count; count++)
2552
Stroke stroke =
_coreStrokes
[count];
2633
DrawingAttributes drattrs =
_coreStrokes
[count].DrawingAttributes;