コード例 #1
0
ファイル: tags.py プロジェクト: pombredanne/py-swf-parse
def define_shape_4(stream):
    print "ShapeId:",stream.read('uintle:16')
    print "ShapeBounds:"
    stream = datatypes.rect(stream)
    print "EdgeBounds:"
    stream = datatypes.rect(stream)
    stream.pos += 5
    print "UsesFillWindingRule:",stream.read('bool')
    print "UsesNonScalingStrokes:",stream.read('bool')
    print "UsesScalingStrokes:",stream.read('bool')
    datatypes.shape_with_style(stream,"DefineShape4")
コード例 #2
0
ファイル: tags.py プロジェクト: pombredanne/py-swf-parse
def define_shape_3(stream):
    print "ShapeId:",stream.read('uintle:16')
    print "ShapeBounds:"
    stream = datatypes.rect(stream)
    datatypes.shape_with_style(stream,"DefineShape3")