private void ParseDefineShape23(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);
}
if (this._stateNewStyles)
{
bits.Reset();
this._fillStyles.Parse(input, this._caller);
this._lineStyles.Parse(input, this._caller);
this._newNumFillBits = (UInt16)bits.GetBits(4);
this._newNumLineBits = (UInt16)bits.GetBits(4);
fillBits = this._newNumFillBits;
lineBits = this._newNumLineBits;
}
}