2 instantiations of StrokeCollectionSerializer
PresentationCore (2)
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (2)
92StrokeCollectionSerializer serializer = new StrokeCollectionSerializer(this); 126StrokeCollectionSerializer serializer = new StrokeCollectionSerializer(this);
83 references to StrokeCollectionSerializer
PresentationCore (83)
Core\CSharp\MS\Internal\Ink\Bezier.cs (3)
77p.X *= StrokeCollectionSerializer.HimetricToAvalonMultiplier; 78p.Y *= StrokeCollectionSerializer.HimetricToAvalonMultiplier; 184fitError = 0.03f * (data.Distance() * StrokeCollectionSerializer.HimetricToAvalonMultiplier);
Core\CSharp\MS\Internal\Ink\CuspData.cs (4)
48point.X *= StrokeCollectionSerializer.AvalonToHimetricMultiplier; 49point.Y *= StrokeCollectionSerializer.AvalonToHimetricMultiplier; 68point2.X *= StrokeCollectionSerializer.AvalonToHimetricMultiplier; 69point2.Y *= StrokeCollectionSerializer.AvalonToHimetricMultiplier;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\AlgoModule.cs (7)
168throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Input buffer passed was shorter than expected")); 176throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("output buffer length was zero")); 216throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Input buffer was too short (must be at least 3 bytes)")); 256throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid decompression algo byte")); 285throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid compression specified or computed by FindPropAlgoByte")); 335throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("input.Length must be at least 2")); 345throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus isf, we don't decompress property data with lz"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\Compress.cs (2)
121throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage(SR.Get(SRID.DecompressPacketDataFailed))); 202throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage(SR.Get(SRID.DecompressPropertyFailed)));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (3)
472throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Custom Attribute tag embedded in ISF stream does not match guid table"), "tag"); 499throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"), "cbSize"); 520throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"), "cbSize");
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (11)
155throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("ISF size is larger than maximum stream size")); 164throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Drawing Attribute tag embedded in ISF stream does not match guid table")); 175throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid PenTip value found in ISF stream")); 198throw new InvalidOperationException(StrokeCollectionSerializer. ISFDebugMessage("ROP data size was not found")); 239throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("ISF size if greater then maximum stream size")); 246throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected")); 383stylusHeight *= StrokeCollectionSerializer.HimetricToAvalonMultiplier; 384stylusWidth *= StrokeCollectionSerializer.HimetricToAvalonMultiplier; 564throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("ROP data size was not found")); 573throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("ROP data was incorrectly serialized")); 685size *= StrokeCollectionSerializer.AvalonToHimetricMultiplier;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (6)
379throw new ArgumentNullException(StrokeCollectionSerializer.ISFDebugMessage("input or compressed data was null in Compress")); 404throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("Transform returned unexpected results")); 430throw new ArgumentNullException(StrokeCollectionSerializer.ISFDebugMessage("reader or compressedData was null in compress")); 464throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus GorillaEncodingType passed to compress")); 504throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus GorillaEncodingType passed to GetDataFromReader")); 673throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("bogus GorillaEncodingType passed to Uncompress"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GuidTagList.cs (3)
114throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Tag is outside of the known guid tag range")); 138throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Tag is outside of the known guid tag range")); 262uint bytesRead = StrokeCollectionSerializer.ReliableRead(strm, guids, Native.SizeOfGuid);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (1)
253throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("invalid huffman encoded data"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\HuffModule.cs (1)
76throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("invalid codec computed"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (12)
44StrokeCollectionSerializer.IdentityTransformDescriptor = transformDescriptor; 236uint bytesRead = StrokeCollectionSerializer.ReliableRead(isfStream, inputdata, cb); 239throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected"), "isfStream"); 617currentTabletToInkTransform.Scale(StrokeCollectionSerializer.HimetricToAvalonMultiplier, StrokeCollectionSerializer.HimetricToAvalonMultiplier); 765throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Global Custom Attribute tag embedded in ISF stream does not match guid table"), "inkdata"); 1143uint bytesRead = StrokeCollectionSerializer.ReliableRead(strm, data, size); 1236throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid argument passed to ReliableRead")); 1618throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Button guid tag embedded in ISF stream does not match guid table"),"strd"); 1634throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF with NoX or NoY specified"), "strd"); 1658throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Packet Description Property tag embedded in ISF stream does not match guid table"), "strd"); 2685TransformDescriptor xform = StrokeCollectionSerializer.IdentityTransformDescriptor;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (2)
296throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("MetricEntryType was persisted with Never flag which should never happen")); 443throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("MetricEntry cannot be null"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\MultiByteCodec.cs (1)
100throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("invalid input in MultiByteCodec.Decode"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (24)
93throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Stroke size (" + 183throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Packet buffer overflowed the ISF stream")); 209throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Stroke Custom Attribute tag embedded in ISF stream does not match guid table")); 222throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 257throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 271throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 280throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 289throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 297throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 306throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 310uint bytesRead = StrokeCollectionSerializer.ReliableRead(stream, in_buffer, propsize); 313throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Read different size from stream then expected")); 333throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Stroke Custom Attribute tag embedded in ISF stream does not match guid table")); 347throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("ExtendedProperty decoded totalBytesInStrokeBlockOfIsfStream exceeded ISF stream totalBytesInStrokeBlockOfIsfStream")); 357throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 400throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 420uint bytesRead = StrokeCollectionSerializer.ReliableRead(inputStream, inputBuffer, locallyDecodedBytesRemaining); 426throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 447throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Invalid ISF data")); 522throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Buffer range is smaller than expected expected size")); 554throw new ArgumentException(StrokeCollectionSerializer.ISFDebugMessage("Button data length not equal to expected length")); 707StrokeCollectionSerializer.StrokeLookupEntry strokeLookupEntry) 729StrokeCollectionSerializer.StrokeLookupEntry strokeLookupEntry, 858StrokeCollectionSerializer.StrokeLookupEntry strokeLookupEntry)
Core\CSharp\System\Windows\Ink\Stroke.cs (1)
255tolerance *= (StrokeCollectionSerializer.AvalonToHimetricMultiplier / 2);
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (2)
92StrokeCollectionSerializer serializer = new StrokeCollectionSerializer(this); 126StrokeCollectionSerializer serializer = new StrokeCollectionSerializer(this);