Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (28)
95byte packedByte = PackByte(ParserGeometryContextOpCodes.FillRule, boolFillRule, false);
127SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, startPoint, isFilled, isClosed);
138SerializePointAndTwoBools(ParserGeometryContextOpCodes.LineTo, point, isStroked, isSmoothJoin);
149SerializePointAndTwoBools(ParserGeometryContextOpCodes.QuadraticBezierTo, point1, isStroked, isSmoothJoin);
163SerializePointAndTwoBools(ParserGeometryContextOpCodes.BezierTo, point1, isStroked, isSmoothJoin);
180SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyLineTo, points, isStroked, isSmoothJoin);
191SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyQuadraticBezierTo, points, isStroked, isSmoothJoin);
202SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyBezierTo, points, isStroked, isSmoothJoin);
219SerializePointAndTwoBools(ParserGeometryContextOpCodes.ArcTo, point, isStroked, isSmoothJoin);
275SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, _startPoint, _isFilled, _isClosed);
309_bw.Write((byte) ParserGeometryContextOpCodes.Closed);
322ParserGeometryContextOpCodes opCode = UnPackOpCode(currentByte);
326case ParserGeometryContextOpCodes.FillRule :
330case ParserGeometryContextOpCodes.BeginFigure :
334case ParserGeometryContextOpCodes.LineTo :
338case ParserGeometryContextOpCodes.QuadraticBezierTo :
342case ParserGeometryContextOpCodes.BezierTo :
346case ParserGeometryContextOpCodes.PolyLineTo :
350case ParserGeometryContextOpCodes.PolyQuadraticBezierTo :
354case ParserGeometryContextOpCodes.PolyBezierTo :
358case ParserGeometryContextOpCodes.ArcTo :
362case ParserGeometryContextOpCodes.Closed :
535private static ParserGeometryContextOpCodes UnPackOpCode(byte packedByte)
537return ((ParserGeometryContextOpCodes) (packedByte & 0x0F));
644private void SerializePointAndTwoBools(ParserGeometryContextOpCodes opCode,
671private void SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes opCode, IList<Point> points, bool bool1, bool bool2)
700private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2)
718private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2, bool bool3, bool bool4)