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;
1676
new System.Collections.Generic.Dictionary<Stroke, StrokeLookupEntry>(
_coreStrokes
.Count);
1679
for (int i = 0; i <
_coreStrokes
.Count; i++)
1681
_strokeLookupTable.Add(
_coreStrokes
[i], new StrokeLookupEntry());
1685
_strokeDescriptorTable = new List<StrokeDescriptor>(
_coreStrokes
.Count);
1690
using (MemoryStream localStream = new MemoryStream(
_coreStrokes
.Count * 125)) //reasonable default
1697
foreach (Stroke s in
_coreStrokes
)
1815
if (
_coreStrokes
.ExtendedProperties.Count > 0)
1818
cumulativeEncodedSize += ExtendedPropertySerializer.EncodeAsISF(
_coreStrokes
.ExtendedProperties, localStream, guidList, GetCompressionAlgorithm(), true);
1828
cumulativeEncodedSize += SaveStrokeIds(
_coreStrokes
, localStream, false);
1876
int[] strokeIds = StrokeIdGenerator.GetStrokeIds(
_coreStrokes
);
1877
for (int i = 0; i <
_coreStrokes
.Count; i++)
1879
Stroke s =
_coreStrokes
[i];
2123
ExtendedPropertyCollection attributes =
_coreStrokes
.ExtendedProperties;
2130
for (int j = 0; j <
_coreStrokes
.Count; j++)
2132
BuildStrokeGuidList(
_coreStrokes
[j], guidList);
2533
for (count = 0; count <
_coreStrokes
.Count; count++)
2535
Stroke stroke =
_coreStrokes
[count];
2616
DrawingAttributes drattrs =
_coreStrokes
[count].DrawingAttributes;