MS\Internal\Media\ParserStreamGeometryContext.cs (28)
88byte packedByte = PackByte(ParserGeometryContextOpCodes.FillRule, boolFillRule, false);
120SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, startPoint, isFilled, isClosed);
131SerializePointAndTwoBools(ParserGeometryContextOpCodes.LineTo, point, isStroked, isSmoothJoin);
142SerializePointAndTwoBools(ParserGeometryContextOpCodes.QuadraticBezierTo, point1, isStroked, isSmoothJoin);
156SerializePointAndTwoBools(ParserGeometryContextOpCodes.BezierTo, point1, isStroked, isSmoothJoin);
173SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyLineTo, points, isStroked, isSmoothJoin);
184SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyQuadraticBezierTo, points, isStroked, isSmoothJoin);
195SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyBezierTo, points, isStroked, isSmoothJoin);
212SerializePointAndTwoBools(ParserGeometryContextOpCodes.ArcTo, point, isStroked, isSmoothJoin);
268SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, _startPoint, _isFilled, _isClosed);
302_bw.Write((byte) ParserGeometryContextOpCodes.Closed);
315ParserGeometryContextOpCodes opCode = UnPackOpCode(currentByte);
319case ParserGeometryContextOpCodes.FillRule :
323case ParserGeometryContextOpCodes.BeginFigure :
327case ParserGeometryContextOpCodes.LineTo :
331case ParserGeometryContextOpCodes.QuadraticBezierTo :
335case ParserGeometryContextOpCodes.BezierTo :
339case ParserGeometryContextOpCodes.PolyLineTo :
343case ParserGeometryContextOpCodes.PolyQuadraticBezierTo :
347case ParserGeometryContextOpCodes.PolyBezierTo :
351case ParserGeometryContextOpCodes.ArcTo :
355case ParserGeometryContextOpCodes.Closed :
527private static ParserGeometryContextOpCodes UnPackOpCode(byte packedByte)
529return ((ParserGeometryContextOpCodes) (packedByte & 0x0F));
636private void SerializePointAndTwoBools(ParserGeometryContextOpCodes opCode,
663private void SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes opCode, IList<Point> points, bool bool1, bool bool2)
692private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2)
710private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2, bool bool3, bool bool4)