MS\Internal\Media\ParserStreamGeometryContext.cs (28)
87byte packedByte = PackByte(ParserGeometryContextOpCodes.FillRule, boolFillRule, false);
119SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, startPoint, isFilled, isClosed);
130SerializePointAndTwoBools(ParserGeometryContextOpCodes.LineTo, point, isStroked, isSmoothJoin);
141SerializePointAndTwoBools(ParserGeometryContextOpCodes.QuadraticBezierTo, point1, isStroked, isSmoothJoin);
155SerializePointAndTwoBools(ParserGeometryContextOpCodes.BezierTo, point1, isStroked, isSmoothJoin);
172SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyLineTo, points, isStroked, isSmoothJoin);
183SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyQuadraticBezierTo, points, isStroked, isSmoothJoin);
194SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyBezierTo, points, isStroked, isSmoothJoin);
211SerializePointAndTwoBools(ParserGeometryContextOpCodes.ArcTo, point, isStroked, isSmoothJoin);
267SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, _startPoint, _isFilled, _isClosed);
301_bw.Write((byte) ParserGeometryContextOpCodes.Closed);
314ParserGeometryContextOpCodes opCode = UnPackOpCode(currentByte);
318case ParserGeometryContextOpCodes.FillRule :
322case ParserGeometryContextOpCodes.BeginFigure :
326case ParserGeometryContextOpCodes.LineTo :
330case ParserGeometryContextOpCodes.QuadraticBezierTo :
334case ParserGeometryContextOpCodes.BezierTo :
338case ParserGeometryContextOpCodes.PolyLineTo :
342case ParserGeometryContextOpCodes.PolyQuadraticBezierTo :
346case ParserGeometryContextOpCodes.PolyBezierTo :
350case ParserGeometryContextOpCodes.ArcTo :
354case ParserGeometryContextOpCodes.Closed :
526private static ParserGeometryContextOpCodes UnPackOpCode(byte packedByte)
528return ((ParserGeometryContextOpCodes) (packedByte & 0x0F));
635private void SerializePointAndTwoBools(ParserGeometryContextOpCodes opCode,
662private void SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes opCode, IList<Point> points, bool bool1, bool bool2)
691private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2)
709private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2, bool bool3, bool bool4)