private void ParseGeneric(Stream input, BitStream bits, ref UInt16 fillBits, ref UInt16 lineBits, bool first)
{
if (this._stateMoveTo)
{
this._moveBits = (byte)bits.GetBits(5);
this._moveDeltaX = (Int32)bits.GetBitsSigned((UInt32)this._moveBits);
this._moveDeltaY = (Int32)bits.GetBitsSigned((UInt32)this._moveBits);
}
if (this._stateFillStyle0)
{
this._fillStyle0 = bits.GetBits((UInt32)fillBits);
}
if (this._stateFillStyle1)
{
this._fillStyle1 = bits.GetBits((UInt32)fillBits);
}
if (this._stateLineStyle)
{
this._lineStyle = bits.GetBits((UInt32)lineBits);
}
}