private void GetFlags(byte firstFive)
{
if (this._caller.Equals(TagTypes.DefineShape2) || this._caller.Equals(TagTypes.DefineShape3))
{
this._stateNewStyles = GetBit(firstFive, 3);
this._stateLineStyle = GetBit(firstFive, 4);
this._stateFillStyle1 = GetBit(firstFive, 5);
this._stateFillStyle0 = GetBit(firstFive, 6);
this._stateMoveTo = GetBit(firstFive, 7);
}
else
{
this._stateNewStyles = false;
this._stateLineStyle = GetBit(firstFive, 4);
this._stateFillStyle1 = GetBit(firstFive, 5);
this._stateFillStyle0 = GetBit(firstFive, 6);
this._stateMoveTo = GetBit(firstFive, 7);
}
}