MS\Internal\Media\ParserStreamGeometryContext.cs (28)
92byte packedByte = PackByte(ParserGeometryContextOpCodes.FillRule, boolFillRule, false);
124SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, startPoint, isFilled, isClosed);
135SerializePointAndTwoBools(ParserGeometryContextOpCodes.LineTo, point, isStroked, isSmoothJoin);
146SerializePointAndTwoBools(ParserGeometryContextOpCodes.QuadraticBezierTo, point1, isStroked, isSmoothJoin);
160SerializePointAndTwoBools(ParserGeometryContextOpCodes.BezierTo, point1, isStroked, isSmoothJoin);
177SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyLineTo, points, isStroked, isSmoothJoin);
188SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyQuadraticBezierTo, points, isStroked, isSmoothJoin);
199SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes.PolyBezierTo, points, isStroked, isSmoothJoin);
216SerializePointAndTwoBools(ParserGeometryContextOpCodes.ArcTo, point, isStroked, isSmoothJoin);
272SerializePointAndTwoBools(ParserGeometryContextOpCodes.BeginFigure, _startPoint, _isFilled, _isClosed);
306_bw.Write((byte) ParserGeometryContextOpCodes.Closed);
319ParserGeometryContextOpCodes opCode = UnPackOpCode(currentByte);
323case ParserGeometryContextOpCodes.FillRule :
327case ParserGeometryContextOpCodes.BeginFigure :
331case ParserGeometryContextOpCodes.LineTo :
335case ParserGeometryContextOpCodes.QuadraticBezierTo :
339case ParserGeometryContextOpCodes.BezierTo :
343case ParserGeometryContextOpCodes.PolyLineTo :
347case ParserGeometryContextOpCodes.PolyQuadraticBezierTo :
351case ParserGeometryContextOpCodes.PolyBezierTo :
355case ParserGeometryContextOpCodes.ArcTo :
359case ParserGeometryContextOpCodes.Closed :
531private static ParserGeometryContextOpCodes UnPackOpCode(byte packedByte)
533return ((ParserGeometryContextOpCodes) (packedByte & 0x0F));
640private void SerializePointAndTwoBools(ParserGeometryContextOpCodes opCode,
667private void SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes opCode, IList<Point> points, bool bool1, bool bool2)
696private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2)
714private static byte PackByte(ParserGeometryContextOpCodes opCode, bool bool1, bool bool2, bool bool3, bool bool4)