コード例 #1
0
ファイル: vstructui.py プロジェクト: sLxiaosheng/all_notes
 def __init__(self):
     VStruct.__init__(self)
     self.a = v_uint8()
     self.b = v_uint16()
     self.c = v_uint32()
     self.d = v_uint8()
     self.e = VArray(
         (v_uint32(), v_uint32(), v_uint32(), v_uint32()))
コード例 #2
0
 def __init__(self, shape=1):
     VStruct.__init__(self)
     self.FillStyles     = FILLSTYLEARRAY(shape=shape)
     self.LineStyles     = LINESTYLEARRAY(shape=shape)
     self.NumBits        = VBitField()
     self.NumBits.NumFillBits    = v_bits(4)
     self.NumBits.NumLineBits    = v_bits(4)
     self.ShapeRecords           = VArray()
コード例 #3
0
 def __init__(self,shape=1):
     VStruct.__init__(self)
     self._swf_shape = shape
     self.BitFields       = VBitField()
     self.BitFields.SpreadMode           = v_bits(2)
     self.BitFields.InterpolationMode    = v_bits(2)
     self.BitFields.NumGradients         = v_bits(4)
     self.GradientRecords = VArray()
コード例 #4
0
 def __init__(self):
     VStruct.__init__(self)
     self.Header = SwfHeader()
     self.Tags = VArray()
コード例 #5
0
 def __init__(self, size):
     VStruct.__init__(self)
     self.SceneCount         = EncodedU32()
     self.Scenes             = VArray()
     self.FrameLabelCount    = EncodedU32()
     self.Frames             = VArray()
コード例 #6
0
 def __init__(self,shape=1):
     VStruct.__init__(self)
     self._swf_shape = 1
     self.LineStyleCount     = v_uint8()
     self.LineStyleCountEx   = v_uint16()
     self.LineStyles         = VArray()