from ctypes import * _libraries = {} _libraries['libming.so.4'] = CDLL('./libming.so.4') STRING = c_char_p # def __DEQUALIFY(type,var): return ((type)(uintptr_t)(const volatile void *)(var)) # macro SWFBLEND_MODE_INV = 9 def __printflike(fmtarg,firstvararg): return __attribute__((__format__ (__printf__, fmtarg, firstvararg))) # macro # def __sgetc(p): return (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++)) # macro def ferror_unlocked(p): return __sferror(p) # macro def __FBSDID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) # macro def __scanflike(fmtarg,firstvararg): return __attribute__((__format__ (__scanf__, fmtarg, firstvararg))) # macro SWFBLEND_MODE_LAYER = 2 def fileno_unlocked(p): return __sfileno(p) # macro # def __IDSTRING(name,string): return __asm__(".ident\t\"" string "\"") # macro SWFBLEND_MODE_HARDLIGHT = 13 def __section(x): return __attribute__((__section__(x))) # macro def SWFBUTTON_ONKEYPRESS(c): return (((c)&0x7f)<<9) # macro def fwopen(cookie,fn): return funopen(cookie, 0, fn, 0, 0) # macro def __RCSID(s): return __IDSTRING(__CONCAT(__rcsid_,__LINE__),s) # macro SWFBLEND_MODE_NORMAL = 1 # def __sferror(p): return (((p)->_flags & __SERR) != 0) # macro def getc_unlocked(fp): return __sgetc(fp) # macro SWFBLEND_MODE_NULL = 0 def __SCCSID(s): return __IDSTRING(__CONCAT(__sccsid_,__LINE__),s) # macro SWFTEXTFIELD_ALIGN_RIGHT = 1 def getchar_unlocked(): return getc_unlocked(stdin) # macro def __XSTRING(x): return __STRING(x) # macro SWFTEXTFIELD_ALIGN_JUSTIFY = 3 # def __warn_references(sym,msg): return __asm__(".section .gnu.warning." #sym); __asm__(".asciz \"" msg "\""); __asm__(".previous") # macro def putc_unlocked(x,fp): return __sputc(x, fp) # macro SWFBLEND_MODE_SCREEN = 4 def __nonnull(x): return __attribute__((__nonnull__(x))) # macro # def clearerr(p): return (!__isthreaded ? __sclearerr(p) : (clearerr)(p)) # macro def putchar_unlocked(x): return putc_unlocked(x, stdout) # macro # def ferror(p): return (!__isthreaded ? __sferror(p) : (ferror)(p)) # macro def feof_unlocked(p): return __sfeof(p) # macro # def __DECONST(type,var): return ((type)(uintptr_t)(const void *)(var)) # macro SWFBLEND_MODE_DIFF = 8 def __printf0like(fmtarg,firstvararg): return __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) # macro # def __DEVOLATILE(type,var): return ((type)(uintptr_t)(volatile void *)(var)) # macro SWFBLEND_MODE_ALPHA = 10 def __rangeof(type,start,end): return (__offsetof(type, end) - __offsetof(type, start)) # macro def __CONCAT(x,y): return __CONCAT1(x,y) # macro # def fileno(p): return (!__isthreaded ? __sfileno(p) : (fileno)(p)) # macro # def __sfileno(p): return ((p)->_file) # macro # def __GNUC_PREREQ__(ma,mi): return (__GNUC__ > (ma) || __GNUC__ == (ma) && __GNUC_MINOR__ >= (mi)) # macro def SWFShape_drawFontGlyph(s,f,c): return SWFShape_drawGlyph(s,f,c) # macro SWFBLEND_MODE_OVERLAY = 12 # def __sclearerr(p): return ((void)((p)->_flags &= ~(__SERR|__SEOF))) # macro def SWFBUTTON_KEYPRESS(c): return (((c)&0x7f)<<9) # macro def fropen(cookie,fn): return funopen(cookie, fn, 0, 0, 0) # macro def __P(protos): return protos # macro # def __sfeof(p): return (((p)->_flags & __SEOF) != 0) # macro SWFBLEND_MODE_ADD = 6 # def getc(fp): return (!__isthreaded ? __sgetc(fp) : (getc)(fp)) # macro def SWFText_setXY(t,x,y): return SWFText_moveTo((t),(x),(y)) # macro def __RCSID_SOURCE(s): return __IDSTRING(__CONCAT(__rcsid_source_,__LINE__),s) # macro def __predict_true(exp): return __builtin_expect((exp), 1) # macro SWFTEXTFIELD_ALIGN_LEFT = 0 def __predict_false(exp): return __builtin_expect((exp), 0) # macro def getchar(): return getc(stdin) # macro def __CONCAT1(x,y): return x ## y # macro def __STRING(x): return #x # macro SWFTEXTFIELD_ALIGN_CENTER = 2 # def __strong_reference(sym,aliassym): return extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym))); # macro # def putc(x,fp): return (!__isthreaded ? __sputc(x, fp) : (putc)(x, fp)) # macro SWFBLEND_MODE_MULT = 3 # def __weak_reference(sym,alias): return __asm__(".weak " #alias); __asm__(".equ " #alias ", " #sym) # macro def __aligned(x): return __attribute__((__aligned__(x))) # macro def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s) # macro # def feof(p): return (!__isthreaded ? __sfeof(p) : (feof)(p)) # macro def putchar(x): return putc(x, stdout) # macro SWFBLEND_MODE_DARKEN = 5 # def __offsetof(type,field): return ((size_t)(&((type *)0)->field)) # macro def clearerr_unlocked(p): return __sclearerr(p) # macro SWFBLEND_MODE_SUB = 7 SWFBLEND_MODE_ERASE = 11 byte = c_ubyte class SWFBlock_s(Structure): pass SWFBlock_s._fields_ = [ ] SWFBlock = POINTER(SWFBlock_s) class SWFMatrix_s(Structure): pass SWFMatrix = POINTER(SWFMatrix_s) SWFMatrix_s._fields_ = [ ] class SWFInput_s(Structure): pass SWFInput = POINTER(SWFInput_s) SWFInput_s._fields_ = [ ] class SWFCharacter_s(Structure): pass SWFCharacter = POINTER(SWFCharacter_s) SWFCharacter_s._fields_ = [ ] class SWFDBLBitmap_s(Structure): pass SWFDBLBitmap = POINTER(SWFDBLBitmap_s) SWFDBLBitmap_s._fields_ = [ ] class SWFDBLBitmapData_s(Structure): pass SWFDBLBitmapData_s._fields_ = [ ] SWFDBLBitmapData = POINTER(SWFDBLBitmapData_s) class SWFJpegBitmap_s(Structure): pass SWFJpegBitmap_s._fields_ = [ ] SWFJpegBitmap = POINTER(SWFJpegBitmap_s) class SWFJpegWithAlpha_s(Structure): pass SWFJpegWithAlpha = POINTER(SWFJpegWithAlpha_s) SWFJpegWithAlpha_s._fields_ = [ ] class SWFGradient_s(Structure): pass SWFGradient = POINTER(SWFGradient_s) SWFGradient_s._fields_ = [ ] class SWFFillStyle_s(Structure): pass SWFFillStyle_s._fields_ = [ ] SWFFillStyle = POINTER(SWFFillStyle_s) class SWFLineStyle_s(Structure): pass SWFLineStyle = POINTER(SWFLineStyle_s) SWFLineStyle_s._fields_ = [ ] class SWFShape_s(Structure): pass SWFShape = POINTER(SWFShape_s) SWFShape_s._fields_ = [ ] class SWFMorph_s(Structure): pass SWFMorph_s._fields_ = [ ] SWFMorph = POINTER(SWFMorph_s) class SWFFont_s(Structure): pass SWFFont_s._fields_ = [ ] SWFFont = POINTER(SWFFont_s) class SWFText_s(Structure): pass SWFText = POINTER(SWFText_s) SWFText_s._fields_ = [ ] class SWFBrowserFont_s(Structure): pass SWFBrowserFont = POINTER(SWFBrowserFont_s) SWFBrowserFont_s._fields_ = [ ] class SWFFontCharacter_s(Structure): pass SWFFontCharacter = POINTER(SWFFontCharacter_s) SWFFontCharacter_s._fields_ = [ ] class SWFTextField_s(Structure): pass SWFTextField = POINTER(SWFTextField_s) SWFTextField_s._fields_ = [ ] class SWFSoundStream_s(Structure): pass SWFSoundStream = POINTER(SWFSoundStream_s) SWFSoundStream_s._fields_ = [ ] class SWFSound_s(Structure): pass SWFSound_s._fields_ = [ ] SWFSound = POINTER(SWFSound_s) class SWFSoundInstance_s(Structure): pass SWFSoundInstance_s._fields_ = [ ] SWFSoundInstance = POINTER(SWFSoundInstance_s) class SWFCXform_s(Structure): pass SWFCXform_s._fields_ = [ ] SWFCXform = POINTER(SWFCXform_s) class SWFOutputBlock_s(Structure): pass SWFAction = POINTER(SWFOutputBlock_s) SWFOutputBlock_s._fields_ = [ ] class SWFButton_s(Structure): pass SWFButton = POINTER(SWFButton_s) SWFButton_s._fields_ = [ ] class SWFSprite_s(Structure): pass SWFSprite_s._fields_ = [ ] SWFSprite = POINTER(SWFSprite_s) class SWFPosition_s(Structure): pass SWFPosition = POINTER(SWFPosition_s) SWFPosition_s._fields_ = [ ] class SWFDisplayItem_s(Structure): pass SWFDisplayItem_s._fields_ = [ ] SWFDisplayItem = POINTER(SWFDisplayItem_s) class SWFFill_s(Structure): pass SWFFill_s._fields_ = [ ] SWFFill = POINTER(SWFFill_s) class SWFMovieClip_s(Structure): pass SWFMovieClip_s._fields_ = [ ] SWFMovieClip = POINTER(SWFMovieClip_s) class SWFMovie_s(Structure): pass SWFMovie_s._fields_ = [ ] SWFMovie = POINTER(SWFMovie_s) class SWFVideoStream_s(Structure): pass SWFVideoStream = POINTER(SWFVideoStream_s) SWFVideoStream_s._fields_ = [ ] class SWFPrebuiltClip_s(Structure): pass SWFPrebuiltClip_s._fields_ = [ ] SWFPrebuiltClip = POINTER(SWFPrebuiltClip_s) class SWFFilter_s(Structure): pass SWFFilter = POINTER(SWFFilter_s) SWFFilter_s._fields_ = [ ] Ming_init = _libraries['libming.so.4'].Ming_init Ming_init.restype = c_int Ming_init.argtypes = [] Ming_cleanup = _libraries['libming.so.4'].Ming_cleanup Ming_cleanup.restype = None Ming_cleanup.argtypes = [] Ming_collectGarbage = _libraries['libming.so.4'].Ming_collectGarbage Ming_collectGarbage.restype = None Ming_collectGarbage.argtypes = [] Ming_useConstants = _libraries['libming.so.4'].Ming_useConstants Ming_useConstants.restype = None Ming_useConstants.argtypes = [c_int] Ming_setCubicThreshold = _libraries['libming.so.4'].Ming_setCubicThreshold Ming_setCubicThreshold.restype = None Ming_setCubicThreshold.argtypes = [c_int] Ming_setScale = _libraries['libming.so.4'].Ming_setScale Ming_setScale.restype = None Ming_setScale.argtypes = [c_float] Ming_getScale = _libraries['libming.so.4'].Ming_getScale Ming_getScale.restype = c_float Ming_getScale.argtypes = [] Ming_useSWFVersion = _libraries['libming.so.4'].Ming_useSWFVersion Ming_useSWFVersion.restype = None Ming_useSWFVersion.argtypes = [c_int] Ming_setSWFCompression = _libraries['libming.so.4'].Ming_setSWFCompression Ming_setSWFCompression.restype = c_int Ming_setSWFCompression.argtypes = [c_int] SWFMsgFunc = CFUNCTYPE(None, STRING) Ming_setWarnFunction = _libraries['libming.so.4'].Ming_setWarnFunction Ming_setWarnFunction.restype = SWFMsgFunc Ming_setWarnFunction.argtypes = [SWFMsgFunc] Ming_setErrorFunction = _libraries['libming.so.4'].Ming_setErrorFunction Ming_setErrorFunction.restype = SWFMsgFunc Ming_setErrorFunction.argtypes = [SWFMsgFunc] SWFByteOutputMethod = CFUNCTYPE(None, c_ubyte, c_void_p) SWFMatrix_getScaleX = _libraries['libming.so.4'].SWFMatrix_getScaleX SWFMatrix_getScaleX.restype = c_float SWFMatrix_getScaleX.argtypes = [SWFMatrix] SWFMatrix_getRotate0 = _libraries['libming.so.4'].SWFMatrix_getRotate0 SWFMatrix_getRotate0.restype = c_float SWFMatrix_getRotate0.argtypes = [SWFMatrix] SWFMatrix_getRotate1 = _libraries['libming.so.4'].SWFMatrix_getRotate1 SWFMatrix_getRotate1.restype = c_float SWFMatrix_getRotate1.argtypes = [SWFMatrix] SWFMatrix_getScaleY = _libraries['libming.so.4'].SWFMatrix_getScaleY SWFMatrix_getScaleY.restype = c_float SWFMatrix_getScaleY.argtypes = [SWFMatrix] SWFMatrix_getTranslateX = _libraries['libming.so.4'].SWFMatrix_getTranslateX SWFMatrix_getTranslateX.restype = c_int SWFMatrix_getTranslateX.argtypes = [SWFMatrix] SWFMatrix_getTranslateY = _libraries['libming.so.4'].SWFMatrix_getTranslateY SWFMatrix_getTranslateY.restype = c_int SWFMatrix_getTranslateY.argtypes = [SWFMatrix] class __sFILE(Structure): pass FILE = __sFILE newSWFInput_file = _libraries['libming.so.4'].newSWFInput_file newSWFInput_file.restype = SWFInput newSWFInput_file.argtypes = [POINTER(FILE)] newSWFInput_stream = _libraries['libming.so.4'].newSWFInput_stream newSWFInput_stream.restype = SWFInput newSWFInput_stream.argtypes = [POINTER(FILE)] newSWFInput_buffer = _libraries['libming.so.4'].newSWFInput_buffer newSWFInput_buffer.restype = SWFInput newSWFInput_buffer.argtypes = [POINTER(c_ubyte), c_int] newSWFInput_allocedBuffer = _libraries['libming.so.4'].newSWFInput_allocedBuffer newSWFInput_allocedBuffer.restype = SWFInput newSWFInput_allocedBuffer.argtypes = [POINTER(c_ubyte), c_int] newSWFInput_input = _libraries['libming.so.4'].newSWFInput_input newSWFInput_input.restype = SWFInput newSWFInput_input.argtypes = [SWFInput, c_uint] destroySWFInput = _libraries['libming.so.4'].destroySWFInput destroySWFInput.restype = None destroySWFInput.argtypes = [SWFInput] SWFInput_length = _libraries['libming.so.4'].SWFInput_length SWFInput_length.restype = c_int SWFInput_length.argtypes = [SWFInput] SWFInput_rewind = _libraries['libming.so.4'].SWFInput_rewind SWFInput_rewind.restype = None SWFInput_rewind.argtypes = [SWFInput] SWFInput_tell = _libraries['libming.so.4'].SWFInput_tell SWFInput_tell.restype = c_int SWFInput_tell.argtypes = [SWFInput] SWFInput_seek = _libraries['libming.so.4'].SWFInput_seek SWFInput_seek.restype = None SWFInput_seek.argtypes = [SWFInput, c_long, c_int] SWFInput_eof = _libraries['libming.so.4'].SWFInput_eof SWFInput_eof.restype = c_int SWFInput_eof.argtypes = [SWFInput] SWFCharacter_getWidth = _libraries['libming.so.4'].SWFCharacter_getWidth SWFCharacter_getWidth.restype = c_float SWFCharacter_getWidth.argtypes = [SWFCharacter] SWFCharacter_getHeight = _libraries['libming.so.4'].SWFCharacter_getHeight SWFCharacter_getHeight.restype = c_float SWFCharacter_getHeight.argtypes = [SWFCharacter] SWFBitmap = SWFCharacter newSWFBitmap_fromInput = _libraries['libming.so.4'].newSWFBitmap_fromInput newSWFBitmap_fromInput.restype = SWFBitmap newSWFBitmap_fromInput.argtypes = [SWFInput] destroySWFBitmap = _libraries['libming.so.4'].destroySWFBitmap destroySWFBitmap.restype = None destroySWFBitmap.argtypes = [SWFBitmap] SWFBitmap_getWidth = _libraries['libming.so.4'].SWFBitmap_getWidth SWFBitmap_getWidth.restype = c_int SWFBitmap_getWidth.argtypes = [SWFBitmap] SWFBitmap_getHeight = _libraries['libming.so.4'].SWFBitmap_getHeight SWFBitmap_getHeight.restype = c_int SWFBitmap_getHeight.argtypes = [SWFBitmap] newSWFDBLBitmap = _libraries['libming.so.4'].newSWFDBLBitmap newSWFDBLBitmap.restype = SWFDBLBitmap newSWFDBLBitmap.argtypes = [POINTER(FILE)] newSWFDBLBitmap_fromInput = _libraries['libming.so.4'].newSWFDBLBitmap_fromInput newSWFDBLBitmap_fromInput.restype = SWFDBLBitmap newSWFDBLBitmap_fromInput.argtypes = [SWFInput] newSWFJpegBitmap = _libraries['libming.so.4'].newSWFJpegBitmap newSWFJpegBitmap.restype = SWFJpegBitmap newSWFJpegBitmap.argtypes = [POINTER(FILE)] newSWFJpegBitmap_fromInput = _libraries['libming.so.4'].newSWFJpegBitmap_fromInput newSWFJpegBitmap_fromInput.restype = SWFJpegBitmap newSWFJpegBitmap_fromInput.argtypes = [SWFInput] newSWFJpegWithAlpha = _libraries['libming.so.4'].newSWFJpegWithAlpha newSWFJpegWithAlpha.restype = SWFJpegWithAlpha newSWFJpegWithAlpha.argtypes = [POINTER(FILE), POINTER(FILE)] newSWFJpegWithAlpha_fromInput = _libraries['libming.so.4'].newSWFJpegWithAlpha_fromInput newSWFJpegWithAlpha_fromInput.restype = SWFJpegWithAlpha newSWFJpegWithAlpha_fromInput.argtypes = [SWFInput, SWFInput] newSWFGradient = _libraries['libming.so.4'].newSWFGradient newSWFGradient.restype = SWFGradient newSWFGradient.argtypes = [] destroySWFGradient = _libraries['libming.so.4'].destroySWFGradient destroySWFGradient.restype = None destroySWFGradient.argtypes = [SWFGradient] SWFGradient_addEntry = _libraries['libming.so.4'].SWFGradient_addEntry SWFGradient_addEntry.restype = None SWFGradient_addEntry.argtypes = [SWFGradient, c_float, byte, byte, byte, byte] newSWFSolidFillStyle = _libraries['libming.so.4'].newSWFSolidFillStyle newSWFSolidFillStyle.restype = SWFFillStyle newSWFSolidFillStyle.argtypes = [byte, byte, byte, byte] newSWFGradientFillStyle = _libraries['libming.so.4'].newSWFGradientFillStyle newSWFGradientFillStyle.restype = SWFFillStyle newSWFGradientFillStyle.argtypes = [SWFGradient, byte] newSWFBitmapFillStyle = _libraries['libming.so.4'].newSWFBitmapFillStyle newSWFBitmapFillStyle.restype = SWFFillStyle newSWFBitmapFillStyle.argtypes = [SWFCharacter, byte] SWFFillStyle_getMatrix = _libraries['libming.so.4'].SWFFillStyle_getMatrix SWFFillStyle_getMatrix.restype = SWFMatrix SWFFillStyle_getMatrix.argtypes = [SWFFillStyle] newSWFLineStyle = _libraries['libming.so.4'].newSWFLineStyle newSWFLineStyle.restype = SWFLineStyle newSWFLineStyle.argtypes = [c_ushort, byte, byte, byte, byte] newSWFShape = _libraries['libming.so.4'].newSWFShape newSWFShape.restype = SWFShape newSWFShape.argtypes = [] newSWFShapeFromBitmap = _libraries['libming.so.4'].newSWFShapeFromBitmap newSWFShapeFromBitmap.restype = SWFShape newSWFShapeFromBitmap.argtypes = [SWFBitmap, c_int] destroySWFShape = _libraries['libming.so.4'].destroySWFShape destroySWFShape.restype = None destroySWFShape.argtypes = [SWFShape] SWFShape_end = _libraries['libming.so.4'].SWFShape_end SWFShape_end.restype = None SWFShape_end.argtypes = [SWFShape] SWFShape_movePenTo = _libraries['libming.so.4'].SWFShape_movePenTo SWFShape_movePenTo.restype = None SWFShape_movePenTo.argtypes = [SWFShape, c_float, c_float] SWFShape_movePen = _libraries['libming.so.4'].SWFShape_movePen SWFShape_movePen.restype = None SWFShape_movePen.argtypes = [SWFShape, c_float, c_float] SWFShape_getPenX = _libraries['libming.so.4'].SWFShape_getPenX SWFShape_getPenX.restype = c_float SWFShape_getPenX.argtypes = [SWFShape] SWFShape_getPenY = _libraries['libming.so.4'].SWFShape_getPenY SWFShape_getPenY.restype = c_float SWFShape_getPenY.argtypes = [SWFShape] SWFShape_getPen = _libraries['libming.so.4'].SWFShape_getPen SWFShape_getPen.restype = None SWFShape_getPen.argtypes = [SWFShape, POINTER(c_float), POINTER(c_float)] SWFShape_drawLineTo = _libraries['libming.so.4'].SWFShape_drawLineTo SWFShape_drawLineTo.restype = None SWFShape_drawLineTo.argtypes = [SWFShape, c_float, c_float] SWFShape_drawLine = _libraries['libming.so.4'].SWFShape_drawLine SWFShape_drawLine.restype = None SWFShape_drawLine.argtypes = [SWFShape, c_float, c_float] SWFShape_drawCurveTo = _libraries['libming.so.4'].SWFShape_drawCurveTo SWFShape_drawCurveTo.restype = None SWFShape_drawCurveTo.argtypes = [SWFShape, c_float, c_float, c_float, c_float] SWFShape_drawCurve = _libraries['libming.so.4'].SWFShape_drawCurve SWFShape_drawCurve.restype = None SWFShape_drawCurve.argtypes = [SWFShape, c_float, c_float, c_float, c_float] SWFShape_setLineStyle = _libraries['libming.so.4'].SWFShape_setLineStyle SWFShape_setLineStyle.restype = None SWFShape_setLineStyle.argtypes = [SWFShape, c_ushort, byte, byte, byte, byte] SWFShape_hideLine = _libraries['libming.so.4'].SWFShape_hideLine SWFShape_hideLine.restype = None SWFShape_hideLine.argtypes = [SWFShape] SWFShape_addSolidFillStyle = _libraries['libming.so.4'].SWFShape_addSolidFillStyle SWFShape_addSolidFillStyle.restype = SWFFillStyle SWFShape_addSolidFillStyle.argtypes = [SWFShape, byte, byte, byte, byte] SWFShape_addGradientFillStyle = _libraries['libming.so.4'].SWFShape_addGradientFillStyle SWFShape_addGradientFillStyle.restype = SWFFillStyle SWFShape_addGradientFillStyle.argtypes = [SWFShape, SWFGradient, byte] SWFShape_addBitmapFillStyle = _libraries['libming.so.4'].SWFShape_addBitmapFillStyle SWFShape_addBitmapFillStyle.restype = SWFFillStyle SWFShape_addBitmapFillStyle.argtypes = [SWFShape, SWFBitmap, byte] SWFShape_setLeftFillStyle = _libraries['libming.so.4'].SWFShape_setLeftFillStyle SWFShape_setLeftFillStyle.restype = None SWFShape_setLeftFillStyle.argtypes = [SWFShape, SWFFillStyle] SWFShape_setRightFillStyle = _libraries['libming.so.4'].SWFShape_setRightFillStyle SWFShape_setRightFillStyle.restype = None SWFShape_setRightFillStyle.argtypes = [SWFShape, SWFFillStyle] newSWFMorphShape = _libraries['libming.so.4'].newSWFMorphShape newSWFMorphShape.restype = SWFMorph newSWFMorphShape.argtypes = [] destroySWFMorph = _libraries['libming.so.4'].destroySWFMorph destroySWFMorph.restype = None destroySWFMorph.argtypes = [SWFMorph] SWFMorph_getShape1 = _libraries['libming.so.4'].SWFMorph_getShape1 SWFMorph_getShape1.restype = SWFShape SWFMorph_getShape1.argtypes = [SWFMorph] SWFMorph_getShape2 = _libraries['libming.so.4'].SWFMorph_getShape2 SWFMorph_getShape2.restype = SWFShape SWFMorph_getShape2.argtypes = [SWFMorph] newSWFFont = _libraries['libming.so.4'].newSWFFont newSWFFont.restype = SWFFont newSWFFont.argtypes = [] loadSWFFontFromFile = _libraries['libming.so.4'].loadSWFFontFromFile loadSWFFontFromFile.restype = SWFFont loadSWFFontFromFile.argtypes = [POINTER(FILE)] destroySWFFont = _libraries['libming.so.4'].destroySWFFont destroySWFFont.restype = None destroySWFFont.argtypes = [SWFFont] SWFFont_getStringWidth = _libraries['libming.so.4'].SWFFont_getStringWidth SWFFont_getStringWidth.restype = c_float SWFFont_getStringWidth.argtypes = [SWFFont, POINTER(c_ubyte)] SWFFont_getUTF8StringWidth = _libraries['libming.so.4'].SWFFont_getUTF8StringWidth SWFFont_getUTF8StringWidth.restype = c_float SWFFont_getUTF8StringWidth.argtypes = [SWFFont, POINTER(c_ubyte)] SWFFont_getWideStringWidth = _libraries['libming.so.4'].SWFFont_getWideStringWidth SWFFont_getWideStringWidth.restype = c_float SWFFont_getWideStringWidth.argtypes = [SWFFont, POINTER(c_ushort), c_int] SWFFont_getAscent = _libraries['libming.so.4'].SWFFont_getAscent SWFFont_getAscent.restype = c_float SWFFont_getAscent.argtypes = [SWFFont] SWFFont_getDescent = _libraries['libming.so.4'].SWFFont_getDescent SWFFont_getDescent.restype = c_float SWFFont_getDescent.argtypes = [SWFFont] SWFFont_getLeading = _libraries['libming.so.4'].SWFFont_getLeading SWFFont_getLeading.restype = c_float SWFFont_getLeading.argtypes = [SWFFont] SWFFont_getShape = _libraries['libming.so.4'].SWFFont_getShape SWFFont_getShape.restype = STRING SWFFont_getShape.argtypes = [SWFFont, c_ushort] newSWFText = _libraries['libming.so.4'].newSWFText newSWFText.restype = SWFText newSWFText.argtypes = [] newSWFText2 = _libraries['libming.so.4'].newSWFText2 newSWFText2.restype = SWFText newSWFText2.argtypes = [] destroySWFText = _libraries['libming.so.4'].destroySWFText destroySWFText.restype = None destroySWFText.argtypes = [SWFText] SWFText_setFont = _libraries['libming.so.4'].SWFText_setFont SWFText_setFont.restype = None SWFText_setFont.argtypes = [SWFText, c_void_p] SWFText_setHeight = _libraries['libming.so.4'].SWFText_setHeight SWFText_setHeight.restype = None SWFText_setHeight.argtypes = [SWFText, c_float] SWFText_setColor = _libraries['libming.so.4'].SWFText_setColor SWFText_setColor.restype = None SWFText_setColor.argtypes = [SWFText, byte, byte, byte, byte] SWFText_moveTo = _libraries['libming.so.4'].SWFText_moveTo SWFText_moveTo.restype = None SWFText_moveTo.argtypes = [SWFText, c_float, c_float] SWFText_addString = _libraries['libming.so.4'].SWFText_addString SWFText_addString.restype = None SWFText_addString.argtypes = [SWFText, STRING, POINTER(c_int)] SWFText_addUTF8String = _libraries['libming.so.4'].SWFText_addUTF8String SWFText_addUTF8String.restype = None SWFText_addUTF8String.argtypes = [SWFText, STRING, POINTER(c_int)] SWFText_addWideString = _libraries['libming.so.4'].SWFText_addWideString SWFText_addWideString.restype = None SWFText_addWideString.argtypes = [SWFText, POINTER(c_ushort), c_int, POINTER(c_int)] SWFText_setSpacing = _libraries['libming.so.4'].SWFText_setSpacing SWFText_setSpacing.restype = None SWFText_setSpacing.argtypes = [SWFText, c_float] SWFText_getStringWidth = _libraries['libming.so.4'].SWFText_getStringWidth SWFText_getStringWidth.restype = c_float SWFText_getStringWidth.argtypes = [SWFText, POINTER(c_ubyte)] SWFText_getUTF8StringWidth = _libraries['libming.so.4'].SWFText_getUTF8StringWidth SWFText_getUTF8StringWidth.restype = c_float SWFText_getUTF8StringWidth.argtypes = [SWFText, POINTER(c_ubyte)] SWFText_getWideStringWidth = _libraries['libming.so.4'].SWFText_getWideStringWidth SWFText_getWideStringWidth.restype = c_float SWFText_getWideStringWidth.argtypes = [SWFText, POINTER(c_ushort)] SWFText_getAscent = _libraries['libming.so.4'].SWFText_getAscent SWFText_getAscent.restype = c_float SWFText_getAscent.argtypes = [SWFText] SWFText_getDescent = _libraries['libming.so.4'].SWFText_getDescent SWFText_getDescent.restype = c_float SWFText_getDescent.argtypes = [SWFText] SWFText_getLeading = _libraries['libming.so.4'].SWFText_getLeading SWFText_getLeading.restype = c_float SWFText_getLeading.argtypes = [SWFText] newSWFBrowserFont = _libraries['libming.so.4'].newSWFBrowserFont newSWFBrowserFont.restype = SWFBrowserFont newSWFBrowserFont.argtypes = [STRING] destroySWFBrowserFont = _libraries['libming.so.4'].destroySWFBrowserFont destroySWFBrowserFont.restype = None destroySWFBrowserFont.argtypes = [SWFBrowserFont] SWFMovie_addFont = _libraries['libming.so.4'].SWFMovie_addFont SWFMovie_addFont.restype = SWFFontCharacter SWFMovie_addFont.argtypes = [SWFMovie, SWFFont] SWFFontCharacter_addChars = _libraries['libming.so.4'].SWFFontCharacter_addChars SWFFontCharacter_addChars.restype = None SWFFontCharacter_addChars.argtypes = [SWFFontCharacter, STRING] SWFFontCharacter_addUTF8Chars = _libraries['libming.so.4'].SWFFontCharacter_addUTF8Chars SWFFontCharacter_addUTF8Chars.restype = None SWFFontCharacter_addUTF8Chars.argtypes = [SWFFontCharacter, STRING] SWFMovie_importFont = _libraries['libming.so.4'].SWFMovie_importFont SWFMovie_importFont.restype = SWFFontCharacter SWFMovie_importFont.argtypes = [SWFMovie, STRING, STRING] # values for enumeration 'SWFTextFieldAlignment' SWFTextFieldAlignment = c_int # enum newSWFTextField = _libraries['libming.so.4'].newSWFTextField newSWFTextField.restype = SWFTextField newSWFTextField.argtypes = [] destroySWFTextField = _libraries['libming.so.4'].destroySWFTextField destroySWFTextField.restype = None destroySWFTextField.argtypes = [SWFTextField] SWFTextField_setFont = _libraries['libming.so.4'].SWFTextField_setFont SWFTextField_setFont.restype = None SWFTextField_setFont.argtypes = [SWFTextField, SWFBlock] SWFTextField_setBounds = _libraries['libming.so.4'].SWFTextField_setBounds SWFTextField_setBounds.restype = None SWFTextField_setBounds.argtypes = [SWFTextField, c_float, c_float] SWFTextField_setFlags = _libraries['libming.so.4'].SWFTextField_setFlags SWFTextField_setFlags.restype = None SWFTextField_setFlags.argtypes = [SWFTextField, c_int] SWFTextField_setColor = _libraries['libming.so.4'].SWFTextField_setColor SWFTextField_setColor.restype = None SWFTextField_setColor.argtypes = [SWFTextField, byte, byte, byte, byte] SWFTextField_setVariableName = _libraries['libming.so.4'].SWFTextField_setVariableName SWFTextField_setVariableName.restype = None SWFTextField_setVariableName.argtypes = [SWFTextField, STRING] SWFTextField_addString = _libraries['libming.so.4'].SWFTextField_addString SWFTextField_addString.restype = None SWFTextField_addString.argtypes = [SWFTextField, STRING] SWFTextField_addUTF8String = _libraries['libming.so.4'].SWFTextField_addUTF8String SWFTextField_addUTF8String.restype = None SWFTextField_addUTF8String.argtypes = [SWFTextField, STRING] SWFTextField_setHeight = _libraries['libming.so.4'].SWFTextField_setHeight SWFTextField_setHeight.restype = None SWFTextField_setHeight.argtypes = [SWFTextField, c_float] SWFTextField_setFieldHeight = _libraries['libming.so.4'].SWFTextField_setFieldHeight SWFTextField_setFieldHeight.restype = None SWFTextField_setFieldHeight.argtypes = [SWFTextField, c_float] SWFTextField_setLeftMargin = _libraries['libming.so.4'].SWFTextField_setLeftMargin SWFTextField_setLeftMargin.restype = None SWFTextField_setLeftMargin.argtypes = [SWFTextField, c_float] SWFTextField_setRightMargin = _libraries['libming.so.4'].SWFTextField_setRightMargin SWFTextField_setRightMargin.restype = None SWFTextField_setRightMargin.argtypes = [SWFTextField, c_float] SWFTextField_setIndentation = _libraries['libming.so.4'].SWFTextField_setIndentation SWFTextField_setIndentation.restype = None SWFTextField_setIndentation.argtypes = [SWFTextField, c_float] SWFTextField_setLineSpacing = _libraries['libming.so.4'].SWFTextField_setLineSpacing SWFTextField_setLineSpacing.restype = None SWFTextField_setLineSpacing.argtypes = [SWFTextField, c_float] SWFTextField_setPadding = _libraries['libming.so.4'].SWFTextField_setPadding SWFTextField_setPadding.restype = None SWFTextField_setPadding.argtypes = [SWFTextField, c_float] SWFTextField_addChars = _libraries['libming.so.4'].SWFTextField_addChars SWFTextField_addChars.restype = None SWFTextField_addChars.argtypes = [SWFTextField, STRING] SWFTextField_setAlignment = _libraries['libming.so.4'].SWFTextField_setAlignment SWFTextField_setAlignment.restype = None SWFTextField_setAlignment.argtypes = [SWFTextField, SWFTextFieldAlignment] SWFTextField_setLength = _libraries['libming.so.4'].SWFTextField_setLength SWFTextField_setLength.restype = None SWFTextField_setLength.argtypes = [SWFTextField, c_int] newSWFSoundStream = _libraries['libming.so.4'].newSWFSoundStream newSWFSoundStream.restype = SWFSoundStream newSWFSoundStream.argtypes = [POINTER(FILE)] newSWFSoundStreamFromFileno = _libraries['libming.so.4'].newSWFSoundStreamFromFileno newSWFSoundStreamFromFileno.restype = SWFSoundStream newSWFSoundStreamFromFileno.argtypes = [c_int] newSWFSoundStream_fromInput = _libraries['libming.so.4'].newSWFSoundStream_fromInput newSWFSoundStream_fromInput.restype = SWFSoundStream newSWFSoundStream_fromInput.argtypes = [SWFInput] SWFSoundStream_getFrames = _libraries['libming.so.4'].SWFSoundStream_getFrames SWFSoundStream_getFrames.restype = c_int SWFSoundStream_getFrames.argtypes = [SWFSoundStream] destroySWFSoundStream = _libraries['libming.so.4'].destroySWFSoundStream destroySWFSoundStream.restype = None destroySWFSoundStream.argtypes = [SWFSoundStream] newSWFSound = _libraries['libming.so.4'].newSWFSound newSWFSound.restype = SWFSound newSWFSound.argtypes = [POINTER(FILE), byte] newSWFSoundFromFileno = _libraries['libming.so.4'].newSWFSoundFromFileno newSWFSoundFromFileno.restype = SWFSound newSWFSoundFromFileno.argtypes = [c_int, byte] newSWFSound_fromInput = _libraries['libming.so.4'].newSWFSound_fromInput newSWFSound_fromInput.restype = SWFSound newSWFSound_fromInput.argtypes = [SWFInput, byte] destroySWFSound = _libraries['libming.so.4'].destroySWFSound destroySWFSound.restype = None destroySWFSound.argtypes = [SWFSound] SWFSoundInstance_setLoopInPoint = _libraries['libming.so.4'].SWFSoundInstance_setLoopInPoint SWFSoundInstance_setLoopInPoint.restype = None SWFSoundInstance_setLoopInPoint.argtypes = [SWFSoundInstance, c_uint] SWFSoundInstance_setLoopOutPoint = _libraries['libming.so.4'].SWFSoundInstance_setLoopOutPoint SWFSoundInstance_setLoopOutPoint.restype = None SWFSoundInstance_setLoopOutPoint.argtypes = [SWFSoundInstance, c_uint] SWFSoundInstance_setLoopCount = _libraries['libming.so.4'].SWFSoundInstance_setLoopCount SWFSoundInstance_setLoopCount.restype = None SWFSoundInstance_setLoopCount.argtypes = [SWFSoundInstance, c_int] SWFSoundInstance_setNoMultiple = _libraries['libming.so.4'].SWFSoundInstance_setNoMultiple SWFSoundInstance_setNoMultiple.restype = None SWFSoundInstance_setNoMultiple.argtypes = [SWFSoundInstance] newSWFCXform = _libraries['libming.so.4'].newSWFCXform newSWFCXform.restype = SWFCXform newSWFCXform.argtypes = [c_int, c_int, c_int, c_int, c_float, c_float, c_float, c_float] newSWFAddCXform = _libraries['libming.so.4'].newSWFAddCXform newSWFAddCXform.restype = SWFCXform newSWFAddCXform.argtypes = [c_int, c_int, c_int, c_int] newSWFMultCXform = _libraries['libming.so.4'].newSWFMultCXform newSWFMultCXform.restype = SWFCXform newSWFMultCXform.argtypes = [c_float, c_float, c_float, c_float] destroySWFCXform = _libraries['libming.so.4'].destroySWFCXform destroySWFCXform.restype = None destroySWFCXform.argtypes = [SWFCXform] SWFCXform_setColorAdd = _libraries['libming.so.4'].SWFCXform_setColorAdd SWFCXform_setColorAdd.restype = None SWFCXform_setColorAdd.argtypes = [SWFCXform, c_int, c_int, c_int, c_int] SWFCXform_setColorMult = _libraries['libming.so.4'].SWFCXform_setColorMult SWFCXform_setColorMult.restype = None SWFCXform_setColorMult.argtypes = [SWFCXform, c_float, c_float, c_float, c_float] compileSWFActionCode = _libraries['libming.so.4'].compileSWFActionCode compileSWFActionCode.restype = SWFAction compileSWFActionCode.argtypes = [STRING] destroySWFAction = _libraries['libming.so.4'].destroySWFAction destroySWFAction.restype = None destroySWFAction.argtypes = [SWFAction] newSWFButton = _libraries['libming.so.4'].newSWFButton newSWFButton.restype = SWFButton newSWFButton.argtypes = [] destroySWFButton = _libraries['libming.so.4'].destroySWFButton destroySWFButton.restype = None destroySWFButton.argtypes = [SWFButton] SWFButton_addShape = _libraries['libming.so.4'].SWFButton_addShape SWFButton_addShape.restype = None SWFButton_addShape.argtypes = [SWFButton, SWFCharacter, byte] SWFButton_addAction = _libraries['libming.so.4'].SWFButton_addAction SWFButton_addAction.restype = None SWFButton_addAction.argtypes = [SWFButton, SWFAction, c_int] SWFButton_addSound = _libraries['libming.so.4'].SWFButton_addSound SWFButton_addSound.restype = SWFSoundInstance SWFButton_addSound.argtypes = [SWFButton, SWFSound, byte] SWFButton_setMenu = _libraries['libming.so.4'].SWFButton_setMenu SWFButton_setMenu.restype = None SWFButton_setMenu.argtypes = [SWFButton, c_int] SWFButton_setScalingGrid = _libraries['libming.so.4'].SWFButton_setScalingGrid SWFButton_setScalingGrid.restype = None SWFButton_setScalingGrid.argtypes = [SWFButton, c_int, c_int, c_int, c_int] SWFButton_removeScalingGrid = _libraries['libming.so.4'].SWFButton_removeScalingGrid SWFButton_removeScalingGrid.restype = None SWFButton_removeScalingGrid.argtypes = [SWFButton] destroySWFVideoStream = _libraries['libming.so.4'].destroySWFVideoStream destroySWFVideoStream.restype = None destroySWFVideoStream.argtypes = [SWFVideoStream] newSWFVideoStream_fromFile = _libraries['libming.so.4'].newSWFVideoStream_fromFile newSWFVideoStream_fromFile.restype = SWFVideoStream newSWFVideoStream_fromFile.argtypes = [POINTER(FILE)] newSWFVideoStream_fromInput = _libraries['libming.so.4'].newSWFVideoStream_fromInput newSWFVideoStream_fromInput.restype = SWFVideoStream newSWFVideoStream_fromInput.argtypes = [SWFInput] newSWFVideoStream = _libraries['libming.so.4'].newSWFVideoStream newSWFVideoStream.restype = SWFVideoStream newSWFVideoStream.argtypes = [] SWFVideoStream_setDimension = _libraries['libming.so.4'].SWFVideoStream_setDimension SWFVideoStream_setDimension.restype = None SWFVideoStream_setDimension.argtypes = [SWFVideoStream, c_int, c_int] SWFVideoStream_getNumFrames = _libraries['libming.so.4'].SWFVideoStream_getNumFrames SWFVideoStream_getNumFrames.restype = c_int SWFVideoStream_getNumFrames.argtypes = [SWFVideoStream] SWFVideoStream_hasAudio = _libraries['libming.so.4'].SWFVideoStream_hasAudio SWFVideoStream_hasAudio.restype = c_int SWFVideoStream_hasAudio.argtypes = [SWFVideoStream] newSWFSprite = _libraries['libming.so.4'].newSWFSprite newSWFSprite.restype = SWFSprite newSWFSprite.argtypes = [] destroySWFSprite = _libraries['libming.so.4'].destroySWFSprite destroySWFSprite.restype = None destroySWFSprite.argtypes = [SWFSprite] SWFSprite_addBlock = _libraries['libming.so.4'].SWFSprite_addBlock SWFSprite_addBlock.restype = None SWFSprite_addBlock.argtypes = [SWFSprite, SWFBlock] class _swfPosition(Structure): pass _swfPosition._fields_ = [ ('x', c_int), ('y', c_int), ('xScale', c_float), ('yScale', c_float), ('xSkew', c_float), ('ySkew', c_float), ('rot', c_float), ('matrix', SWFMatrix), ] newSWFPosition = _libraries['libming.so.4'].newSWFPosition newSWFPosition.restype = SWFPosition newSWFPosition.argtypes = [SWFMatrix] destroySWFPosition = _libraries['libming.so.4'].destroySWFPosition destroySWFPosition.restype = None destroySWFPosition.argtypes = [SWFPosition] SWFPosition_skewX = _libraries['libming.so.4'].SWFPosition_skewX SWFPosition_skewX.restype = None SWFPosition_skewX.argtypes = [SWFPosition, c_float] SWFPosition_skewXTo = _libraries['libming.so.4'].SWFPosition_skewXTo SWFPosition_skewXTo.restype = None SWFPosition_skewXTo.argtypes = [SWFPosition, c_float] SWFPosition_skewY = _libraries['libming.so.4'].SWFPosition_skewY SWFPosition_skewY.restype = None SWFPosition_skewY.argtypes = [SWFPosition, c_float] SWFPosition_skewYTo = _libraries['libming.so.4'].SWFPosition_skewYTo SWFPosition_skewYTo.restype = None SWFPosition_skewYTo.argtypes = [SWFPosition, c_float] SWFPosition_scaleX = _libraries['libming.so.4'].SWFPosition_scaleX SWFPosition_scaleX.restype = None SWFPosition_scaleX.argtypes = [SWFPosition, c_float] SWFPosition_scaleXTo = _libraries['libming.so.4'].SWFPosition_scaleXTo SWFPosition_scaleXTo.restype = None SWFPosition_scaleXTo.argtypes = [SWFPosition, c_float] SWFPosition_scaleY = _libraries['libming.so.4'].SWFPosition_scaleY SWFPosition_scaleY.restype = None SWFPosition_scaleY.argtypes = [SWFPosition, c_float] SWFPosition_scaleYTo = _libraries['libming.so.4'].SWFPosition_scaleYTo SWFPosition_scaleYTo.restype = None SWFPosition_scaleYTo.argtypes = [SWFPosition, c_float] SWFPosition_scaleXY = _libraries['libming.so.4'].SWFPosition_scaleXY SWFPosition_scaleXY.restype = None SWFPosition_scaleXY.argtypes = [SWFPosition, c_float, c_float] SWFPosition_scaleXYTo = _libraries['libming.so.4'].SWFPosition_scaleXYTo SWFPosition_scaleXYTo.restype = None SWFPosition_scaleXYTo.argtypes = [SWFPosition, c_float, c_float] SWFPosition_getMatrix = _libraries['libming.so.4'].SWFPosition_getMatrix SWFPosition_getMatrix.restype = SWFMatrix SWFPosition_getMatrix.argtypes = [SWFPosition] SWFPosition_setMatrix = _libraries['libming.so.4'].SWFPosition_setMatrix SWFPosition_setMatrix.restype = None SWFPosition_setMatrix.argtypes = [SWFPosition, c_float, c_float, c_float, c_float, c_float, c_float] SWFPosition_rotate = _libraries['libming.so.4'].SWFPosition_rotate SWFPosition_rotate.restype = None SWFPosition_rotate.argtypes = [SWFPosition, c_float] SWFPosition_rotateTo = _libraries['libming.so.4'].SWFPosition_rotateTo SWFPosition_rotateTo.restype = None SWFPosition_rotateTo.argtypes = [SWFPosition, c_float] SWFPosition_move = _libraries['libming.so.4'].SWFPosition_move SWFPosition_move.restype = None SWFPosition_move.argtypes = [SWFPosition, c_float, c_float] SWFPosition_moveTo = _libraries['libming.so.4'].SWFPosition_moveTo SWFPosition_moveTo.restype = None SWFPosition_moveTo.argtypes = [SWFPosition, c_float, c_float] class SWFColor(Structure): pass SWFColor._fields_ = [ ('red', c_ubyte), ('green', c_ubyte), ('blue', c_ubyte), ('alpha', c_ubyte), ] class Shadow_s(Structure): pass Shadow_s._fields_ = [ ] SWFShadow = POINTER(Shadow_s) newSWFShadow = _libraries['libming.so.4'].newSWFShadow newSWFShadow.restype = SWFShadow newSWFShadow.argtypes = [c_float, c_float, c_float] destroySWFShadow = _libraries['libming.so.4'].destroySWFShadow destroySWFShadow.restype = None destroySWFShadow.argtypes = [SWFShadow] class Blur_s(Structure): pass Blur_s._fields_ = [ ] SWFBlur = POINTER(Blur_s) newSWFBlur = _libraries['libming.so.4'].newSWFBlur newSWFBlur.restype = SWFBlur newSWFBlur.argtypes = [c_float, c_float, c_int] destroySWFBlur = _libraries['libming.so.4'].destroySWFBlur destroySWFBlur.restype = None destroySWFBlur.argtypes = [SWFBlur] class FilterMatrix_s(Structure): pass FilterMatrix_s._fields_ = [ ] SWFFilterMatrix = POINTER(FilterMatrix_s) newSWFFilterMatrix = _libraries['libming.so.4'].newSWFFilterMatrix newSWFFilterMatrix.restype = SWFFilterMatrix newSWFFilterMatrix.argtypes = [c_int, c_int, POINTER(c_float)] destroySWFFilterMatrix = _libraries['libming.so.4'].destroySWFFilterMatrix destroySWFFilterMatrix.restype = None destroySWFFilterMatrix.argtypes = [SWFFilterMatrix] destroySWFFilter = _libraries['libming.so.4'].destroySWFFilter destroySWFFilter.restype = None destroySWFFilter.argtypes = [SWFFilter] newColorMatrixFilter = _libraries['libming.so.4'].newColorMatrixFilter newColorMatrixFilter.restype = SWFFilter newColorMatrixFilter.argtypes = [SWFFilterMatrix] newConvolutionFilter = _libraries['libming.so.4'].newConvolutionFilter newConvolutionFilter.restype = SWFFilter newConvolutionFilter.argtypes = [SWFFilterMatrix, c_float, c_float, SWFColor, c_int] newGradientBevelFilter = _libraries['libming.so.4'].newGradientBevelFilter newGradientBevelFilter.restype = SWFFilter newGradientBevelFilter.argtypes = [SWFGradient, SWFBlur, SWFShadow, c_int] newGradientGlowFilter = _libraries['libming.so.4'].newGradientGlowFilter newGradientGlowFilter.restype = SWFFilter newGradientGlowFilter.argtypes = [SWFGradient, SWFBlur, SWFShadow, c_int] newBevelFilter = _libraries['libming.so.4'].newBevelFilter newBevelFilter.restype = SWFFilter newBevelFilter.argtypes = [SWFColor, SWFColor, SWFBlur, SWFShadow, c_int] newGlowFilter = _libraries['libming.so.4'].newGlowFilter newGlowFilter.restype = SWFFilter newGlowFilter.argtypes = [SWFColor, SWFBlur, c_float, c_int] newBlurFilter = _libraries['libming.so.4'].newBlurFilter newBlurFilter.restype = SWFFilter newBlurFilter.argtypes = [SWFBlur] newDropShadowFilter = _libraries['libming.so.4'].newDropShadowFilter newDropShadowFilter.restype = SWFFilter newDropShadowFilter.argtypes = [SWFColor, SWFBlur, SWFShadow, c_int] SWFDisplayItem_getCharacter = _libraries['libming.so.4'].SWFDisplayItem_getCharacter SWFDisplayItem_getCharacter.restype = SWFCharacter SWFDisplayItem_getCharacter.argtypes = [SWFDisplayItem] SWFDisplayItem_endMask = _libraries['libming.so.4'].SWFDisplayItem_endMask SWFDisplayItem_endMask.restype = None SWFDisplayItem_endMask.argtypes = [SWFDisplayItem] SWFDisplayItem_get_x = _libraries['libming.so.4'].SWFDisplayItem_get_x SWFDisplayItem_get_x.restype = c_float SWFDisplayItem_get_x.argtypes = [SWFDisplayItem] SWFDisplayItem_get_y = _libraries['libming.so.4'].SWFDisplayItem_get_y SWFDisplayItem_get_y.restype = c_float SWFDisplayItem_get_y.argtypes = [SWFDisplayItem] SWFDisplayItem_get_xScale = _libraries['libming.so.4'].SWFDisplayItem_get_xScale SWFDisplayItem_get_xScale.restype = c_float SWFDisplayItem_get_xScale.argtypes = [SWFDisplayItem] SWFDisplayItem_get_yScale = _libraries['libming.so.4'].SWFDisplayItem_get_yScale SWFDisplayItem_get_yScale.restype = c_float SWFDisplayItem_get_yScale.argtypes = [SWFDisplayItem] SWFDisplayItem_get_xSkew = _libraries['libming.so.4'].SWFDisplayItem_get_xSkew SWFDisplayItem_get_xSkew.restype = c_float SWFDisplayItem_get_xSkew.argtypes = [SWFDisplayItem] SWFDisplayItem_get_ySkew = _libraries['libming.so.4'].SWFDisplayItem_get_ySkew SWFDisplayItem_get_ySkew.restype = c_float SWFDisplayItem_get_ySkew.argtypes = [SWFDisplayItem] SWFDisplayItem_get_rot = _libraries['libming.so.4'].SWFDisplayItem_get_rot SWFDisplayItem_get_rot.restype = c_float SWFDisplayItem_get_rot.argtypes = [SWFDisplayItem] SWFDisplayItem_move = _libraries['libming.so.4'].SWFDisplayItem_move SWFDisplayItem_move.restype = None SWFDisplayItem_move.argtypes = [SWFDisplayItem, c_float, c_float] SWFDisplayItem_moveTo = _libraries['libming.so.4'].SWFDisplayItem_moveTo SWFDisplayItem_moveTo.restype = None SWFDisplayItem_moveTo.argtypes = [SWFDisplayItem, c_float, c_float] SWFDisplayItem_rotate = _libraries['libming.so.4'].SWFDisplayItem_rotate SWFDisplayItem_rotate.restype = None SWFDisplayItem_rotate.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_rotateTo = _libraries['libming.so.4'].SWFDisplayItem_rotateTo SWFDisplayItem_rotateTo.restype = None SWFDisplayItem_rotateTo.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_scale = _libraries['libming.so.4'].SWFDisplayItem_scale SWFDisplayItem_scale.restype = None SWFDisplayItem_scale.argtypes = [SWFDisplayItem, c_float, c_float] SWFDisplayItem_scaleTo = _libraries['libming.so.4'].SWFDisplayItem_scaleTo SWFDisplayItem_scaleTo.restype = None SWFDisplayItem_scaleTo.argtypes = [SWFDisplayItem, c_float, c_float] SWFDisplayItem_skewX = _libraries['libming.so.4'].SWFDisplayItem_skewX SWFDisplayItem_skewX.restype = None SWFDisplayItem_skewX.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_skewXTo = _libraries['libming.so.4'].SWFDisplayItem_skewXTo SWFDisplayItem_skewXTo.restype = None SWFDisplayItem_skewXTo.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_skewY = _libraries['libming.so.4'].SWFDisplayItem_skewY SWFDisplayItem_skewY.restype = None SWFDisplayItem_skewY.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_skewYTo = _libraries['libming.so.4'].SWFDisplayItem_skewYTo SWFDisplayItem_skewYTo.restype = None SWFDisplayItem_skewYTo.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_getPosition = _libraries['libming.so.4'].SWFDisplayItem_getPosition SWFDisplayItem_getPosition.restype = None SWFDisplayItem_getPosition.argtypes = [SWFDisplayItem, POINTER(c_float), POINTER(c_float)] SWFDisplayItem_getRotation = _libraries['libming.so.4'].SWFDisplayItem_getRotation SWFDisplayItem_getRotation.restype = None SWFDisplayItem_getRotation.argtypes = [SWFDisplayItem, POINTER(c_float)] SWFDisplayItem_getScale = _libraries['libming.so.4'].SWFDisplayItem_getScale SWFDisplayItem_getScale.restype = None SWFDisplayItem_getScale.argtypes = [SWFDisplayItem, POINTER(c_float), POINTER(c_float)] SWFDisplayItem_getSkew = _libraries['libming.so.4'].SWFDisplayItem_getSkew SWFDisplayItem_getSkew.restype = None SWFDisplayItem_getSkew.argtypes = [SWFDisplayItem, POINTER(c_float), POINTER(c_float)] SWFDisplayItem_getMatrix = _libraries['libming.so.4'].SWFDisplayItem_getMatrix SWFDisplayItem_getMatrix.restype = SWFMatrix SWFDisplayItem_getMatrix.argtypes = [SWFDisplayItem] SWFDisplayItem_setMatrix = _libraries['libming.so.4'].SWFDisplayItem_setMatrix SWFDisplayItem_setMatrix.restype = None SWFDisplayItem_setMatrix.argtypes = [SWFDisplayItem, c_float, c_float, c_float, c_float, c_float, c_float] SWFDisplayItem_getDepth = _libraries['libming.so.4'].SWFDisplayItem_getDepth SWFDisplayItem_getDepth.restype = c_int SWFDisplayItem_getDepth.argtypes = [SWFDisplayItem] SWFDisplayItem_setDepth = _libraries['libming.so.4'].SWFDisplayItem_setDepth SWFDisplayItem_setDepth.restype = None SWFDisplayItem_setDepth.argtypes = [SWFDisplayItem, c_int] SWFDisplayItem_remove = _libraries['libming.so.4'].SWFDisplayItem_remove SWFDisplayItem_remove.restype = None SWFDisplayItem_remove.argtypes = [SWFDisplayItem] SWFDisplayItem_setName = _libraries['libming.so.4'].SWFDisplayItem_setName SWFDisplayItem_setName.restype = None SWFDisplayItem_setName.argtypes = [SWFDisplayItem, STRING] SWFDisplayItem_setMaskLevel = _libraries['libming.so.4'].SWFDisplayItem_setMaskLevel SWFDisplayItem_setMaskLevel.restype = None SWFDisplayItem_setMaskLevel.argtypes = [SWFDisplayItem, c_int] SWFDisplayItem_setRatio = _libraries['libming.so.4'].SWFDisplayItem_setRatio SWFDisplayItem_setRatio.restype = None SWFDisplayItem_setRatio.argtypes = [SWFDisplayItem, c_float] SWFDisplayItem_setCXform = _libraries['libming.so.4'].SWFDisplayItem_setCXform SWFDisplayItem_setCXform.restype = None SWFDisplayItem_setCXform.argtypes = [SWFDisplayItem, SWFCXform] SWFDisplayItem_setColorAdd = _libraries['libming.so.4'].SWFDisplayItem_setColorAdd SWFDisplayItem_setColorAdd.restype = None SWFDisplayItem_setColorAdd.argtypes = [SWFDisplayItem, c_int, c_int, c_int, c_int] SWFDisplayItem_setColorMult = _libraries['libming.so.4'].SWFDisplayItem_setColorMult SWFDisplayItem_setColorMult.restype = None SWFDisplayItem_setColorMult.argtypes = [SWFDisplayItem, c_float, c_float, c_float, c_float] SWFDisplayItem_addAction = _libraries['libming.so.4'].SWFDisplayItem_addAction SWFDisplayItem_addAction.restype = None SWFDisplayItem_addAction.argtypes = [SWFDisplayItem, SWFAction, c_int] SWFDisplayItem_cacheAsBitmap = _libraries['libming.so.4'].SWFDisplayItem_cacheAsBitmap SWFDisplayItem_cacheAsBitmap.restype = None SWFDisplayItem_cacheAsBitmap.argtypes = [SWFDisplayItem, c_int] # values for unnamed enumeration SWFDisplayItem_setBlendMode = _libraries['libming.so.4'].SWFDisplayItem_setBlendMode SWFDisplayItem_setBlendMode.restype = None SWFDisplayItem_setBlendMode.argtypes = [SWFDisplayItem, c_int] SWFDisplayItem_addFilter = _libraries['libming.so.4'].SWFDisplayItem_addFilter SWFDisplayItem_addFilter.restype = None SWFDisplayItem_addFilter.argtypes = [SWFDisplayItem, SWFFilter] newSWFFill = _libraries['libming.so.4'].newSWFFill newSWFFill.restype = SWFFill newSWFFill.argtypes = [SWFFillStyle] destroySWFFill = _libraries['libming.so.4'].destroySWFFill destroySWFFill.restype = None destroySWFFill.argtypes = [SWFFill] SWFFill_skewX = _libraries['libming.so.4'].SWFFill_skewX SWFFill_skewX.restype = None SWFFill_skewX.argtypes = [SWFFill, c_float] SWFFill_skewXTo = _libraries['libming.so.4'].SWFFill_skewXTo SWFFill_skewXTo.restype = None SWFFill_skewXTo.argtypes = [SWFFill, c_float] SWFFill_skewY = _libraries['libming.so.4'].SWFFill_skewY SWFFill_skewY.restype = None SWFFill_skewY.argtypes = [SWFFill, c_float] SWFFill_skewYTo = _libraries['libming.so.4'].SWFFill_skewYTo SWFFill_skewYTo.restype = None SWFFill_skewYTo.argtypes = [SWFFill, c_float] SWFFill_scaleX = _libraries['libming.so.4'].SWFFill_scaleX SWFFill_scaleX.restype = None SWFFill_scaleX.argtypes = [SWFFill, c_float] SWFFill_scaleXTo = _libraries['libming.so.4'].SWFFill_scaleXTo SWFFill_scaleXTo.restype = None SWFFill_scaleXTo.argtypes = [SWFFill, c_float] SWFFill_scaleY = _libraries['libming.so.4'].SWFFill_scaleY SWFFill_scaleY.restype = None SWFFill_scaleY.argtypes = [SWFFill, c_float] SWFFill_scaleYTo = _libraries['libming.so.4'].SWFFill_scaleYTo SWFFill_scaleYTo.restype = None SWFFill_scaleYTo.argtypes = [SWFFill, c_float] SWFFill_scaleXY = _libraries['libming.so.4'].SWFFill_scaleXY SWFFill_scaleXY.restype = None SWFFill_scaleXY.argtypes = [SWFFill, c_float, c_float] SWFFill_scaleXYTo = _libraries['libming.so.4'].SWFFill_scaleXYTo SWFFill_scaleXYTo.restype = None SWFFill_scaleXYTo.argtypes = [SWFFill, c_float, c_float] SWFFill_rotate = _libraries['libming.so.4'].SWFFill_rotate SWFFill_rotate.restype = None SWFFill_rotate.argtypes = [SWFFill, c_float] SWFFill_rotateTo = _libraries['libming.so.4'].SWFFill_rotateTo SWFFill_rotateTo.restype = None SWFFill_rotateTo.argtypes = [SWFFill, c_float] SWFFill_move = _libraries['libming.so.4'].SWFFill_move SWFFill_move.restype = None SWFFill_move.argtypes = [SWFFill, c_float, c_float] SWFFill_moveTo = _libraries['libming.so.4'].SWFFill_moveTo SWFFill_moveTo.restype = None SWFFill_moveTo.argtypes = [SWFFill, c_float, c_float] SWFFill_setMatrix = _libraries['libming.so.4'].SWFFill_setMatrix SWFFill_setMatrix.restype = None SWFFill_setMatrix.argtypes = [SWFFill, c_float, c_float, c_float, c_float, c_float, c_float] SWFShape_setLine = _libraries['libming.so.4'].SWFShape_setLine SWFShape_setLine.restype = None SWFShape_setLine.argtypes = [SWFShape, c_ushort, byte, byte, byte, byte] SWFShape_addSolidFill = _libraries['libming.so.4'].SWFShape_addSolidFill SWFShape_addSolidFill.restype = SWFFill SWFShape_addSolidFill.argtypes = [SWFShape, byte, byte, byte, byte] SWFShape_addGradientFill = _libraries['libming.so.4'].SWFShape_addGradientFill SWFShape_addGradientFill.restype = SWFFill SWFShape_addGradientFill.argtypes = [SWFShape, SWFGradient, byte] SWFShape_addBitmapFill = _libraries['libming.so.4'].SWFShape_addBitmapFill SWFShape_addBitmapFill.restype = SWFFill SWFShape_addBitmapFill.argtypes = [SWFShape, SWFBitmap, byte] SWFShape_setLeftFill = _libraries['libming.so.4'].SWFShape_setLeftFill SWFShape_setLeftFill.restype = None SWFShape_setLeftFill.argtypes = [SWFShape, SWFFill] SWFShape_setRightFill = _libraries['libming.so.4'].SWFShape_setRightFill SWFShape_setRightFill.restype = None SWFShape_setRightFill.argtypes = [SWFShape, SWFFill] SWFShape_drawArc = _libraries['libming.so.4'].SWFShape_drawArc SWFShape_drawArc.restype = None SWFShape_drawArc.argtypes = [SWFShape, c_float, c_float, c_float] SWFShape_drawCircle = _libraries['libming.so.4'].SWFShape_drawCircle SWFShape_drawCircle.restype = None SWFShape_drawCircle.argtypes = [SWFShape, c_float] SWFShape_drawGlyph = _libraries['libming.so.4'].SWFShape_drawGlyph SWFShape_drawGlyph.restype = None SWFShape_drawGlyph.argtypes = [SWFShape, SWFFont, c_ushort] SWFShape_drawSizedGlyph = _libraries['libming.so.4'].SWFShape_drawSizedGlyph SWFShape_drawSizedGlyph.restype = None SWFShape_drawSizedGlyph.argtypes = [SWFShape, SWFFont, c_ushort, c_int] SWFShape_drawCubic = _libraries['libming.so.4'].SWFShape_drawCubic SWFShape_drawCubic.restype = c_int SWFShape_drawCubic.argtypes = [SWFShape, c_float, c_float, c_float, c_float, c_float, c_float] SWFShape_drawCubicTo = _libraries['libming.so.4'].SWFShape_drawCubicTo SWFShape_drawCubicTo.restype = c_int SWFShape_drawCubicTo.argtypes = [SWFShape, c_float, c_float, c_float, c_float, c_float, c_float] SWFShape_drawCharacterBounds = _libraries['libming.so.4'].SWFShape_drawCharacterBounds SWFShape_drawCharacterBounds.restype = None SWFShape_drawCharacterBounds.argtypes = [SWFShape, SWFCharacter] newSWFMovieClip = _libraries['libming.so.4'].newSWFMovieClip newSWFMovieClip.restype = SWFMovieClip newSWFMovieClip.argtypes = [] destroySWFMovieClip = _libraries['libming.so.4'].destroySWFMovieClip destroySWFMovieClip.restype = None destroySWFMovieClip.argtypes = [SWFMovieClip] SWFMovieClip_setNumberOfFrames = _libraries['libming.so.4'].SWFMovieClip_setNumberOfFrames SWFMovieClip_setNumberOfFrames.restype = None SWFMovieClip_setNumberOfFrames.argtypes = [SWFMovieClip, c_int] SWFMovieClip_nextFrame = _libraries['libming.so.4'].SWFMovieClip_nextFrame SWFMovieClip_nextFrame.restype = None SWFMovieClip_nextFrame.argtypes = [SWFMovieClip] SWFMovieClip_labelFrame = _libraries['libming.so.4'].SWFMovieClip_labelFrame SWFMovieClip_labelFrame.restype = None SWFMovieClip_labelFrame.argtypes = [SWFMovieClip, STRING] SWFMovieClip_add = _libraries['libming.so.4'].SWFMovieClip_add SWFMovieClip_add.restype = SWFDisplayItem SWFMovieClip_add.argtypes = [SWFMovieClip, SWFBlock] SWFMovieClip_remove = _libraries['libming.so.4'].SWFMovieClip_remove SWFMovieClip_remove.restype = None SWFMovieClip_remove.argtypes = [SWFMovieClip, SWFDisplayItem] SWFMovieClip_setSoundStream = _libraries['libming.so.4'].SWFMovieClip_setSoundStream SWFMovieClip_setSoundStream.restype = None SWFMovieClip_setSoundStream.argtypes = [SWFMovieClip, SWFSoundStream, c_float] SWFMovie_setSoundStreamAt = _libraries['libming.so.4'].SWFMovie_setSoundStreamAt SWFMovie_setSoundStreamAt.restype = None SWFMovie_setSoundStreamAt.argtypes = [SWFMovie, SWFSoundStream, c_float] SWFMovieClip_startSound = _libraries['libming.so.4'].SWFMovieClip_startSound SWFMovieClip_startSound.restype = SWFSoundInstance SWFMovieClip_startSound.argtypes = [SWFMovieClip, SWFSound] SWFMovieClip_stopSound = _libraries['libming.so.4'].SWFMovieClip_stopSound SWFMovieClip_stopSound.restype = None SWFMovieClip_stopSound.argtypes = [SWFMovieClip, SWFSound] SWFMovieClip_setScalingGrid = _libraries['libming.so.4'].SWFMovieClip_setScalingGrid SWFMovieClip_setScalingGrid.restype = None SWFMovieClip_setScalingGrid.argtypes = [SWFMovieClip, c_int, c_int, c_int, c_int] SWFMovieClip_removeScalingGrid = _libraries['libming.so.4'].SWFMovieClip_removeScalingGrid SWFMovieClip_removeScalingGrid.restype = None SWFMovieClip_removeScalingGrid.argtypes = [SWFMovieClip] destroySWFPrebuiltClip = _libraries['libming.so.4'].destroySWFPrebuiltClip destroySWFPrebuiltClip.restype = None destroySWFPrebuiltClip.argtypes = [SWFPrebuiltClip] newSWFPrebuiltClip_fromFile = _libraries['libming.so.4'].newSWFPrebuiltClip_fromFile newSWFPrebuiltClip_fromFile.restype = SWFPrebuiltClip newSWFPrebuiltClip_fromFile.argtypes = [STRING] newSWFPrebuiltClip_fromInput = _libraries['libming.so.4'].newSWFPrebuiltClip_fromInput newSWFPrebuiltClip_fromInput.restype = SWFPrebuiltClip newSWFPrebuiltClip_fromInput.argtypes = [SWFInput] SWFMovie_writeExports = _libraries['libming.so.4'].SWFMovie_writeExports SWFMovie_writeExports.restype = None SWFMovie_writeExports.argtypes = [SWFMovie] newSWFMovie = _libraries['libming.so.4'].newSWFMovie newSWFMovie.restype = SWFMovie newSWFMovie.argtypes = [] newSWFMovieWithVersion = _libraries['libming.so.4'].newSWFMovieWithVersion newSWFMovieWithVersion.restype = SWFMovie newSWFMovieWithVersion.argtypes = [c_int] destroySWFMovie = _libraries['libming.so.4'].destroySWFMovie destroySWFMovie.restype = None destroySWFMovie.argtypes = [SWFMovie] SWFMovie_setRate = _libraries['libming.so.4'].SWFMovie_setRate SWFMovie_setRate.restype = None SWFMovie_setRate.argtypes = [SWFMovie, c_float] SWFMovie_setDimension = _libraries['libming.so.4'].SWFMovie_setDimension SWFMovie_setDimension.restype = None SWFMovie_setDimension.argtypes = [SWFMovie, c_float, c_float] SWFMovie_setNumberOfFrames = _libraries['libming.so.4'].SWFMovie_setNumberOfFrames SWFMovie_setNumberOfFrames.restype = None SWFMovie_setNumberOfFrames.argtypes = [SWFMovie, c_int] SWFMovie_addExport = _libraries['libming.so.4'].SWFMovie_addExport SWFMovie_addExport.restype = None SWFMovie_addExport.argtypes = [SWFMovie, SWFBlock, STRING] SWFMovie_setBackground = _libraries['libming.so.4'].SWFMovie_setBackground SWFMovie_setBackground.restype = None SWFMovie_setBackground.argtypes = [SWFMovie, byte, byte, byte] SWFMovie_setSoundStream = _libraries['libming.so.4'].SWFMovie_setSoundStream SWFMovie_setSoundStream.restype = None SWFMovie_setSoundStream.argtypes = [SWFMovie, SWFSoundStream] SWFMovie_startSound = _libraries['libming.so.4'].SWFMovie_startSound SWFMovie_startSound.restype = SWFSoundInstance SWFMovie_startSound.argtypes = [SWFMovie, SWFSound] SWFMovie_stopSound = _libraries['libming.so.4'].SWFMovie_stopSound SWFMovie_stopSound.restype = None SWFMovie_stopSound.argtypes = [SWFMovie, SWFSound] SWFMovie_add = _libraries['libming.so.4'].SWFMovie_add SWFMovie_add.restype = SWFDisplayItem ##SWFMovie_add.argtypes = [SWFMovie, SWFBlock] SWFMovie_add.argtypes = [SWFMovie, c_void_p] ## TODO: Cast? SWFMovie_remove = _libraries['libming.so.4'].SWFMovie_remove SWFMovie_remove.restype = None SWFMovie_remove.argtypes = [SWFMovie, SWFDisplayItem] SWFMovie_nextFrame = _libraries['libming.so.4'].SWFMovie_nextFrame SWFMovie_nextFrame.restype = None SWFMovie_nextFrame.argtypes = [SWFMovie] SWFMovie_labelFrame = _libraries['libming.so.4'].SWFMovie_labelFrame SWFMovie_labelFrame.restype = None SWFMovie_labelFrame.argtypes = [SWFMovie, STRING] SWFMovie_namedAnchor = _libraries['libming.so.4'].SWFMovie_namedAnchor SWFMovie_namedAnchor.restype = None SWFMovie_namedAnchor.argtypes = [SWFMovie, STRING] SWFMovie_output = _libraries['libming.so.4'].SWFMovie_output SWFMovie_output.restype = c_int SWFMovie_output.argtypes = [SWFMovie, SWFByteOutputMethod, c_void_p] SWFMovie_save = _libraries['libming.so.4'].SWFMovie_save SWFMovie_save.restype = c_int SWFMovie_save.argtypes = [SWFMovie, STRING] SWFMovie_output_to_stream = _libraries['libming.so.4'].SWFMovie_output_to_stream SWFMovie_output_to_stream.restype = c_int SWFMovie_output_to_stream.argtypes = [SWFMovie, POINTER(FILE)] SWFMovie_protect = _libraries['libming.so.4'].SWFMovie_protect SWFMovie_protect.restype = None SWFMovie_protect.argtypes = [SWFMovie, STRING] SWFMovie_setNetworkAccess = _libraries['libming.so.4'].SWFMovie_setNetworkAccess SWFMovie_setNetworkAccess.restype = None SWFMovie_setNetworkAccess.argtypes = [SWFMovie, c_int] SWFMovie_addMetadata = _libraries['libming.so.4'].SWFMovie_addMetadata SWFMovie_addMetadata.restype = None SWFMovie_addMetadata.argtypes = [SWFMovie, STRING] SWFMovie_setScriptLimits = _libraries['libming.so.4'].SWFMovie_setScriptLimits SWFMovie_setScriptLimits.restype = None SWFMovie_setScriptLimits.argtypes = [SWFMovie, c_int, c_int] SWFMovie_importCharacter = _libraries['libming.so.4'].SWFMovie_importCharacter SWFMovie_importCharacter.restype = SWFCharacter SWFMovie_importCharacter.argtypes = [SWFMovie, STRING, STRING] SWFFILL_TILED_BITMAP = 64 # Variable c_int SWF_SOUND_ADPCM_COMPRESSED = 16 # Variable c_int SWFACTION_DRAGOVER = 32768 # Variable c_int EOF = -1 # Variable c_int __SNBF = 2 # Variable c_int __SOFF = 4096 # Variable c_int SWFFILL_SOLID = 0 # Variable c_int SWFACTION_CONSTRUCT = 262144 # Variable c_int SWF_SOUND_MONO = 0 # Variable c_int SWFFILL_BITMAP = 64 # Variable c_int HAVE_GETOPT_LONG = 1 # Variable c_int _IONBF = 2 # Variable c_int SWF_SOUND_NOT_COMPRESSED = 0 # Variable c_int SWFTEXTFIELD_DRAWBOX = 2048 # Variable c_int SWFTEXTFIELD_HTML = 512 # Variable c_int SWFBUTTONRECORD_UPSTATE = 1 # Variable c_int HAVE_STDINT_H = 1 # Variable c_int SWFBUTTON_OUTDOWNTOOVERDOWN = 32 # Variable c_int SWFTEXTFIELD_HASLAYOUT = 8192 # Variable c_int SWF_SOUND_COMPRESSION = 240 # Variable c_int SWF_SOUND_44KHZ = 12 # Variable c_int FILTER_MODE_INNER = 128 # Variable c_int HAVE_MKSTEMP = 1 # Variable c_int P_tmpdir = '/var/tmp/' # Variable STRING SWF_SOUND_16BITS = 2 # Variable c_int STDC_HEADERS = 1 # Variable c_int SWFBUTTONRECORD_HITSTATE = 8 # Variable c_int SWFACTION_RELEASE = 2048 # Variable c_int PACKAGE_VERSION = '0.4.0.beta4' # Variable STRING FILTER_MODE_COMPOSITE = 32 # Variable c_int VERSION = '0.4.0.beta4' # Variable STRING HAVE_MEMORY_H = 1 # Variable c_int SWFBUTTON_OVERUPTOOVERDOWN = 4 # Variable c_int SWFACTION_PRESS = 1024 # Variable c_int TMP_MAX = 308915776 # Variable c_int SWFBUTTON_DRAGOUT = 272 # Variable c_int SWFACTION_UNLOAD = 4 # Variable c_int SWF_SOUND_CHANNELS = 1 # Variable c_int FOPEN_MAX = 20 # Variable c_int SWFTEXTFIELD_OFFMASK = 15359 # Variable c_int SWFACTION_MOUSEDOWN = 16 # Variable c_int SWFTEXTFIELD_HASTEXT = 128 # Variable c_int HAVE_GETOPT = 1 # Variable c_int SWFBUTTONRECORD_OVERSTATE = 2 # Variable c_int PACKAGE_BUGREPORT = '' # Variable STRING SWFTEXTFIELD_HASLENGTH = 2 # Variable c_int SWFFILL_GRADIENT = 16 # Variable c_int USE_CXX = 1 # Variable c_int SWFTEXTFIELD_WORDWRAP = 64 # Variable c_int SWF_SOUND_BITS = 2 # Variable c_int HAVE_DLFCN_H = 1 # Variable c_int SWFACTION_ROLLOUT = 16384 # Variable c_int L_ctermid = 1024 # Variable c_int FILTER_MODE_KO = 64 # Variable c_int HAVE_STDLIB_H = 1 # Variable c_int SWFACTION_DATA = 256 # Variable c_int SWF_SOUND_MP3_COMPRESSED = 32 # Variable c_int __SMOD = 8192 # Variable c_int FILTER_FLAG_CLAMP = 2 # Variable c_int __SOPT = 1024 # Variable c_int _IOFBF = 0 # Variable c_int __POSIX_VISIBLE = 200112 # Variable c_int FILTER_MODE_ONTOP = 16 # Variable c_int SWF_SOUND_22KHZ = 8 # Variable c_int SEEK_END = 2 # Variable c_int __SIGN = 32768 # Variable c_int SWFTEXTFIELD_NOEDIT = 8 # Variable c_int SWF_SOUND_NELLY_COMPRESSED = 96 # Variable c_int HAVE_STRINGS_H = 1 # Variable c_int SWFBUTTON_OVERDOWNTOIDLE = 256 # Variable c_int SWFBUTTON_OVERUPTOIDLE = 2 # Variable c_int SWFBUTTON_UP = 1 # Variable c_int SWFTEXTFIELD_MULTILINE = 32 # Variable c_int USE_ZLIB = 1 # Variable c_int SWF_SOUND_11KHZ = 4 # Variable c_int HAVE_STRING_H = 1 # Variable c_int SWFACTION_INIT = 512 # Variable c_int L_tmpnam = 1024 # Variable c_int SWF_SOUND_5KHZ = 0 # Variable c_int __SLBF = 1 # Variable c_int SWFTEXTFIELD_HASCOLOR = 4 # Variable c_int SWFACTION_MOUSEMOVE = 8 # Variable c_int PACKAGE_STRING = 'ming 0.4.0.beta4' # Variable STRING SWFBUTTON_OUTDOWNTOIDLE = 64 # Variable c_int SWFACTION_DRAGOUT = 65536 # Variable c_int SWFBUTTON_DOWN = 4 # Variable c_int SWFBUTTON_OVERDOWNTOOUTDOWN = 16 # Variable c_int __XSI_VISIBLE = 600 # Variable c_int __BSD_VISIBLE = 1 # Variable c_int SWFTEXTFIELD_AUTOSIZE = 16384 # Variable c_int HAVE_INTTYPES_H = 1 # Variable c_int SWF_SOUND_RATE = 12 # Variable c_int SWFBUTTON_OVERDOWNTOOVERUP = 8 # Variable c_int SWFACTION_KEYUP = 128 # Variable c_int HAVE_UNISTD_H = 1 # Variable c_int SWFACTION_KEYDOWN = 64 # Variable c_int __SERR = 64 # Variable c_int __ISO_C_VISIBLE = 1999 # Variable c_int MING_VERSION_TEXT = '0.4.0.beta4' # Variable STRING __SRD = 4 # Variable c_int HAVE_SYS_STAT_H = 1 # Variable c_int SWFBUTTONRECORD_DOWNSTATE = 4 # Variable c_int SWFBUTTON_DRAGOVER = 160 # Variable c_int __SEOF = 32 # Variable c_int __SRW = 16 # Variable c_int SWFTEXTFIELD_HASFONT = 1 # Variable c_int SWFTEXTFIELD_NOSELECT = 4096 # Variable c_int FILENAME_MAX = 1024 # Variable c_int L_cuserid = 17 # Variable c_int SWF_SOUND_NOT_COMPRESSED_LE = 48 # Variable c_int SWFBUTTON_IDLETOOVERDOWN = 128 # Variable c_int SWFACTION_ONLOAD = 1 # Variable c_int SWFBUTTON_OVER = 2 # Variable c_int __SALC = 16384 # Variable c_int PACKAGE_TARNAME = 'ming' # Variable STRING SWFBUTTON_HIT = 8 # Variable c_int SWFTEXTFIELD_USEFONT = 256 # Variable c_int SWFACTION_ENTERFRAME = 2 # Variable c_int YYTEXT_POINTER = 1 # Variable c_int SWF_SOUND_8BITS = 0 # Variable c_int __SMBF = 128 # Variable c_int SWFFILL_CLIPPED_BITMAP = 65 # Variable c_int SEEK_CUR = 1 # Variable c_int SWFFILL_LINEAR_GRADIENT = 16 # Variable c_int HAVE_VASPRINTF = 1 # Variable c_int SWFTEXTFIELD_PASSWORD = 16 # Variable c_int HAVE_SYS_TYPES_H = 1 # Variable c_int NULL = 0 # Variable c_int SWF_SOUND_STEREO = 1 # Variable c_int __SAPP = 256 # Variable c_int PACKAGE = 'ming' # Variable STRING SWFTEXTFIELD_ONMASK = 8197 # Variable c_int SWFACTION_RELEASEOUTSIDE = 4096 # Variable c_int SEEK_SET = 0 # Variable c_int SWFBUTTON_IDLETOOVERUP = 1 # Variable c_int SWFACTION_MOUSEUP = 32 # Variable c_int SWFACTION_KEYPRESS = 131072 # Variable c_int __SNPT = 2048 # Variable c_int HAVE_ZLIB_H = 1 # Variable c_int SWF_POSITION_SIZE = 32 # Variable c_uint SWFACTION_ROLLOVER = 8192 # Variable c_int SWFFILL_RADIAL_GRADIENT = 18 # Variable c_int TRACK_ALLOCS = 1 # Variable c_int __SSTR = 512 # Variable c_int PACKAGE_NAME = 'ming' # Variable STRING FILTER_FLAG_PRESERVE_ALPHA = 1 # Variable c_int __SWR = 8 # Variable c_int USE_FREETYPE = 1 # Variable c_int _IOLBF = 1 # Variable c_int BUFSIZ = 1024 # Variable c_int __int8_t = c_byte __uint8_t = c_ubyte __int16_t = c_short __uint16_t = c_ushort __int32_t = c_int __uint32_t = c_uint __int64_t = c_longlong __uint64_t = c_ulonglong __clock_t = c_ulong __cpumask_t = c_uint __critical_t = __int32_t __double_t = c_double __float_t = c_double __intfptr_t = __int32_t __intmax_t = __int64_t __intptr_t = __int32_t __int_fast8_t = __int32_t __int_fast16_t = __int32_t __int_fast32_t = __int32_t __int_fast64_t = __int64_t __int_least8_t = __int8_t __int_least16_t = __int16_t __int_least32_t = __int32_t __int_least64_t = __int64_t __ptrdiff_t = __int32_t __register_t = __int32_t __segsz_t = __int32_t __size_t = __uint32_t __ssize_t = __int32_t __time_t = __int32_t __uintfptr_t = __uint32_t __uintmax_t = __uint64_t __uintptr_t = __uint32_t __uint_fast8_t = __uint32_t __uint_fast16_t = __uint32_t __uint_fast32_t = __uint32_t __uint_fast64_t = __uint64_t __uint_least8_t = __uint8_t __uint_least16_t = __uint16_t __uint_least32_t = __uint32_t __uint_least64_t = __uint64_t __u_register_t = __uint32_t __vm_offset_t = __uint32_t __vm_ooffset_t = __int64_t __vm_paddr_t = __uint32_t __vm_pindex_t = __uint64_t __vm_size_t = __uint32_t __va_list = STRING __gnuc_va_list = __va_list __off_t = __int64_t fpos_t = __off_t size_t = __size_t va_list = __va_list class __sbuf(Structure): pass __sbuf._fields_ = [ ('_base', POINTER(c_ubyte)), ('_size', c_int), ] class __sFILEX(Structure): pass __sFILEX._fields_ = [ ] __sFILE._pack_ = 4 __sFILE._fields_ = [ ('_p', POINTER(c_ubyte)), ('_r', c_int), ('_w', c_int), ('_flags', c_short), ('_file', c_short), ('_bf', __sbuf), ('_lbfsize', c_int), ('_cookie', c_void_p), ('_close', CFUNCTYPE(c_int, c_void_p)), ('_read', CFUNCTYPE(c_int, c_void_p, STRING, c_int)), ('_seek', CFUNCTYPE(fpos_t, c_void_p, c_longlong, c_int)), ('_write', CFUNCTYPE(c_int, c_void_p, STRING, c_int)), ('_ub', __sbuf), ('_extra', POINTER(__sFILEX)), ('_ur', c_int), ('_ubuf', c_ubyte * 3), ('_nbuf', c_ubyte * 1), ('_lb', __sbuf), ('_blksize', c_int), ('_offset', fpos_t), ] __clockid_t = __int32_t __fflags_t = __uint32_t __fsblkcnt_t = __uint64_t __fsfilcnt_t = __uint64_t __gid_t = __uint32_t __id_t = __int64_t __ino_t = __uint32_t __key_t = c_long __lwpid_t = __int32_t __mode_t = __uint16_t __nl_item = c_int __nlink_t = __uint16_t __pid_t = __int32_t __rlim_t = __int64_t __sa_family_t = __uint8_t __socklen_t = __uint32_t __suseconds_t = c_long __timer_t = __int32_t __uid_t = __uint32_t __useconds_t = c_uint __ct_rune_t = c_int __rune_t = __ct_rune_t __wchar_t = __ct_rune_t __wint_t = __ct_rune_t __dev_t = __uint32_t __fixpt_t = __uint32_t __all__ = ['destroySWFFilter', 'SWFFILL_TILED_BITMAP', 'SWFFont_getWideStringWidth', '__int16_t', 'EOF', '__uint_least16_t', 'getc_unlocked', 'SWF_SOUND_ADPCM_COMPRESSED', 'SWFFontCharacter_addChars', '__int_fast16_t', 'SWFFILL_BITMAP', 'SWFShape_drawGlyph', 'SWFDisplayItem_get_y', 'SWFDisplayItem_get_x', 'SWFMovie_add', 'newSWFVideoStream_fromInput', 'HAVE_STDINT_H', 'SWFMorph_getShape1', 'SWFMorph_getShape2', 'SWFCXform', 'fpos_t', 'SWFBLEND_MODE_OVERLAY', 'newSWFMovieClip', 'SWFText_getUTF8StringWidth', 'SWF_SOUND_COMPRESSION', 'newSWFAddCXform', 'FILTER_MODE_INNER', 'SWFShape_drawSizedGlyph', '__segsz_t', 'SWFMovie_remove', 'SWFTextField_addChars', 'STDC_HEADERS', '__scanflike', 'SWFOutputBlock_s', 'SWFBUTTON_IDLETOOVERDOWN', 'SWFFill_scaleXY', 'destroySWFBlur', 'SWFText', 'SWFFill_skewY', 'SWFFill_skewX', 'SWFFill_scaleX', 'SWFFill_scaleY', 'SWFBUTTON_OVERUPTOOVERDOWN', 'SWFBUTTON_OUTDOWNTOOVERDOWN', '__time_t', 'destroySWFCXform', 'SWFVideoStream_setDimension', 'SWFTextField_setPadding', 'SWFShape_addBitmapFillStyle', 'SWFSoundStream_s', '__clockid_t', 'newSWFSolidFillStyle', 'SWFShape_getPen', 'newSWFShapeFromBitmap', 'SWFACTION_MOUSEDOWN', 'HAVE_GETOPT_LONG', 'SWFShape_drawArc', 'Ming_useSWFVersion', '__uint64_t', 'SWF_SOUND_NOT_COMPRESSED', '__uintptr_t', 'SWFTEXTFIELD_WORDWRAP', 'SWFMovie_nextFrame', 'SWFText_getDescent', 'newSWFCXform', 'SWFDBLBitmap_s', 'destroySWFGradient', 'SWFText_s', 'SWFGradient_addEntry', 'SWFMovie_startSound', 'SWFFill_skewXTo', 'SWFSound', 'getchar_unlocked', 'SWFMatrix', 'SWFDisplayItem_cacheAsBitmap', 'YYTEXT_POINTER', 'SWFMovie_setSoundStreamAt', 'SWFTextField_setIndentation', 'va_list', 'SWFDisplayItem_scaleTo', 'SWFInput', 'SWF_SOUND_MP3_COMPRESSED', 'SWFShape_movePen', '__SMOD', 'SWFCXform_setColorAdd', '__nl_item', 'SWFMovieClip_removeScalingGrid', 'SWFTextField_setFlags', 'Ming_setCubicThreshold', 'SWFMovie_setNetworkAccess', '__SEOF', 'SWF_SOUND_NOT_COMPRESSED_LE', 'SWFFill', 'HAVE_STRINGS_H', '__int_fast64_t', 'SWFBUTTON_UP', 'SWFPosition_moveTo', 'Ming_collectGarbage', 'newSWFJpegWithAlpha', 'newDropShadowFilter', 'SWFShape_drawLineTo', 'SWFTextField_setLineSpacing', 'SWFMatrix_getRotate0', 'SWFACTION_INIT', '__mode_t', 'SWFShape', 'newBlurFilter', 'destroySWFMorph', 'newGradientGlowFilter', '__off_t', 'PACKAGE_STRING', 'getchar', 'SWFDisplayItem_setRatio', '__uint_fast64_t', '__XSI_VISIBLE', 'newGradientBevelFilter', '_IOFBF', 'HAVE_INTTYPES_H', 'SWF_SOUND_44KHZ', 'SWFBUTTON_OVERDOWNTOOVERUP', 'SWFACTION_KEYDOWN', 'SWFText_addUTF8String', 'HAVE_SYS_STAT_H', '__int8_t', '__aligned', '__rlim_t', 'SWFBUTTONRECORD_DOWNSTATE', 'SWFDisplayItem_get_ySkew', 'newColorMatrixFilter', 'SWFDisplayItem_getRotation', 'SWFFontCharacter_s', 'SWFDisplayItem_setBlendMode', 'SWFBLEND_MODE_SUB', 'SWFDisplayItem_scale', 'newSWFJpegBitmap_fromInput', 'newSWFTextField', 'SWFACTION_ENTERFRAME', 'loadSWFFontFromFile', '__SNBF', 'SWFFont_getDescent', 'newSWFFill', 'SWFCharacter', 'SWFShape_addSolidFill', 'HAVE_VASPRINTF', 'SWFMovie_setRate', 'SWFTEXTFIELD_PASSWORD', 'SWFText_addWideString', '__fsblkcnt_t', '__uintfptr_t', 'SWFTEXTFIELD_NOSELECT', 'SWFFont_getUTF8StringWidth', '__uint_least64_t', 'newSWFPosition', 'Ming_setErrorFunction', 'newSWFSprite', 'newSWFInput_stream', 'putc_unlocked', 'SWFShape_setLineStyle', 'SWFAction', 'SWFBUTTON_IDLETOOVERUP', 'SWFJpegBitmap', 'SWFShape_hideLine', 'SWFShadow', 'SWFMovieClip_add', '__SNPT', 'SWFPosition_rotate', 'SWFDisplayItem_getCharacter', 'TRACK_ALLOCS', 'SWFInput_rewind', 'SWFMovie_stopSound', 'FILTER_FLAG_PRESERVE_ALPHA', 'SWFFilterMatrix', 'SWFShape_drawCurve', 'USE_FREETYPE', 'VERSION', 'SWFSoundInstance_setLoopCount', '__clock_t', 'newSWFSound_fromInput', '__fsfilcnt_t', 'SWFDisplayItem_get_rot', 'SWFSound_s', 'newSWFText', 'SWFShape_setRightFillStyle', 'SWFMovie_output_to_stream', 'SWF_SOUND_MONO', 'SWFVideoStream_s', '__uid_t', '_IONBF', 'FILE', 'ferror_unlocked', 'size_t', 'SWFBitmap_getWidth', 'SWFLineStyle_s', 'SWFMovie_addFont', 'SWFButton_removeScalingGrid', 'SWFCharacter_getHeight', '__COPYRIGHT', 'SWFShape_drawFontGlyph', 'SWFBUTTON_DRAGOUT', 'HAVE_MKSTEMP', 'feof_unlocked', '__fflags_t', 'SWFMovieClip_setNumberOfFrames', 'SWFMorph_s', 'SWF_POSITION_SIZE', 'PACKAGE_VERSION', 'SWFBitmap', 'SWFMovie_save', 'newSWFMorphShape', 'HAVE_MEMORY_H', 'SWFDisplayItem_skewXTo', 'newSWFMovieWithVersion', 'SWFACTION_PRESS', 'TMP_MAX', 'SWFDisplayItem_get_yScale', 'SWFButton_addShape', 'newSWFInput_file', '__int32_t', 'SWFDisplayItem', 'SWFVideoStream_getNumFrames', 'SWFMovie', 'SWFMovie_setDimension', 'newSWFSoundStreamFromFileno', 'SWF_SOUND_BITS', 'SWFACTION_DRAGOUT', 'HAVE_STDLIB_H', 'fileno_unlocked', 'HAVE_DLFCN_H', 'Ming_init', 'Ming_setScale', '__useconds_t', '__FBSDID', '__int_least16_t', '__size_t', 'SWFBLEND_MODE_NULL', 'SWFButton_s', 'SWFTEXTFIELD_ALIGN_RIGHT', 'SWFShape_setLine', 'SWFMovieClip_setScalingGrid', 'SWFShape_setLeftFill', 'SWFText_setFont', 'SWFMovieClip_labelFrame', 'SWFPosition_scaleX', 'SWFPosition_scaleY', '__SOPT', '__gnuc_va_list', '__P', 'byte', 'SWFBUTTON_OVERDOWNTOOUTDOWN', 'SWF_SOUND_22KHZ', 'putchar', '__dev_t', 'newSWFInput_buffer', 'SWFCharacter_s', 'newSWFShadow', '__vm_offset_t', '__ino_t', 'USE_ZLIB', 'SWFText_addString', 'SWFBLEND_MODE_NORMAL', 'destroySWFButton', 'SWFTEXTFIELD_HASLAYOUT', '__rune_t', 'SWF_SOUND_5KHZ', 'newSWFVideoStream_fromFile', 'SWFTEXTFIELD_HASCOLOR', 'fwopen', 'SWFDisplayItem_setCXform', 'SWFACTION_MOUSEMOVE', 'SWFDisplayItem_move', 'SWFBUTTON_OUTDOWNTOIDLE', 'SWFACTION_UNLOAD', 'SWFColor', 'SWFFILL_GRADIENT', 'newSWFBitmap_fromInput', 'SWFTEXTFIELD_AUTOSIZE', 'SWFBLEND_MODE_ERASE', 'SWF_SOUND_RATE', '__float_t', 'SWFFillStyle', 'L_ctermid', 'SWFMovie_setBackground', '__predict_true', '__uint8_t', 'SWFFILL_RADIAL_GRADIENT', 'SWFDisplayItem_setColorAdd', 'SWFButton', 'SWFInput_tell', 'SWF_SOUND_CHANNELS', 'SWFMovie_importFont', 'newSWFInput_input', 'SWFBUTTON_OVER', '__uintmax_t', 'SWFTextFieldAlignment', 'newSWFPrebuiltClip_fromInput', 'SWFTEXTFIELD_ALIGN_CENTER', 'SWFShape_addSolidFillStyle', '__printf0like', 'SWFTEXTFIELD_ONMASK', 'destroySWFShape', 'newSWFMovie', 'SWFMatrix_getTranslateY', 'SWFMatrix_getTranslateX', 'SWFTextField_setBounds', 'Ming_setSWFCompression', 'SWFACTION_ROLLOUT', 'SWFDisplayItem_getMatrix', 'newSWFFont', '__ssize_t', 'destroySWFPrebuiltClip', 'SWFSoundInstance_setLoopInPoint', 'SWFDisplayItem_rotate', 'SWFMovieClip_setSoundStream', 'SWFInput_s', 'SWFMatrix_s', 'newSWFMultCXform', 'SWFShape_end', '__section', '__gid_t', 'SWFShape_setLeftFillStyle', 'SWFACTION_RELEASEOUTSIDE', 'SWFFont_getAscent', 'SWFText_getWideStringWidth', '__SCCSID', 'SWFDisplayItem_addFilter', 'SWFText_setColor', 'SWFSoundInstance_s', 'SWFTextField', 'newSWFFilterMatrix', '__ptrdiff_t', 'SWFFontCharacter_addUTF8Chars', 'SWFPosition_getMatrix', 'SWFFont_getStringWidth', 'destroySWFVideoStream', 'SWFMovie_output', '__SSTR', 'SWFDisplayItem_addAction', 'newSWFVideoStream', 'SWFFillStyle_s', '__intfptr_t', 'destroySWFMovieClip', 'SWFLineStyle', 'SWFFill_skewYTo', 'Ming_cleanup', 'newGlowFilter', 'newBevelFilter', '__uint16_t', '__SOFF', 'SWFDisplayItem_skewX', 'SWFDisplayItem_skewY', '__u_register_t', 'destroySWFSound', 'SWFFILL_SOLID', 'newSWFGradientFillStyle', 'putchar_unlocked', 'SWFShape_drawCubicTo', 'SWFTEXTFIELD_HTML', 'SWFACTION_DATA', 'destroySWFInput', 'SWFMatrix_getScaleY', 'SWFMatrix_getScaleX', 'newSWFLineStyle', 'SWFMovie_importCharacter', 'SWFMovie_addMetadata', 'SWFMorph', 'SWFMovie_writeExports', 'SWFGradient_s', 'SWFFilter', 'destroySWFTextField', 'SWFPrebuiltClip', 'SWFFill_scaleYTo', 'SWFBitmap_getHeight', 'SWFBUTTONRECORD_HITSTATE', 'SWFShape_addBitmapFill', 'FILTER_MODE_COMPOSITE', 'newSWFInput_allocedBuffer', 'newSWFDBLBitmap_fromInput', 'SWFInput_eof', 'newSWFPrebuiltClip_fromFile', 'SWFMovieClip_remove', 'SWFDisplayItem_remove', 'SWFFont_s', '__sa_family_t', 'SWFFilter_s', 'FOPEN_MAX', 'SWFDisplayItem_setColorMult', 'SWFText_setXY', 'SWFText_getAscent', 'SWFMovieClip_nextFrame', 'SWFFill_scaleXTo', 'PACKAGE_TARNAME', 'SWFTEXTFIELD_HASLENGTH', 'destroySWFShadow', 'SWFBUTTON_HIT', 'SWFBLEND_MODE_DARKEN', 'SWFFont_getLeading', 'SWFTEXTFIELD_DRAWBOX', 'SWFPosition_scaleXY', 'SWFCXform_setColorMult', 'SWFShape_drawCurveTo', 'destroySWFFont', 'SWFButton_setMenu', 'SWFTextField_setFieldHeight', 'newSWFSoundStream', 'SWFFill_rotateTo', 'SWFDisplayItem_setName', 'SWFBUTTON_ONKEYPRESS', 'SWFFont_getShape', 'newSWFButton', '__sbuf', 'SWFDisplayItem_s', 'newSWFDBLBitmap', 'SWFFontCharacter', '__cpumask_t', 'SWFPosition_setMatrix', 'SWFACTION_KEYPRESS', 'FILTER_MODE_KO', 'SWFPosition_s', 'newSWFSound', 'destroySWFPosition', 'destroySWFBrowserFont', 'FILTER_FLAG_CLAMP', 'SWFDisplayItem_getPosition', '__RCSID', 'SWFPosition_skewXTo', 'SWFShape_drawCircle', 'SWFPosition_move', 'SWFFill_setMatrix', '__uint_fast16_t', 'SWFJpegWithAlpha_s', 'SWFBLEND_MODE_DIFF', '__lwpid_t', '__printflike', '__POSIX_VISIBLE', 'FILTER_MODE_ONTOP', 'SWFButton_addSound', '__int_fast8_t', 'SWFDisplayItem_getDepth', '__predict_false', 'newSWFText2', 'SWF_SOUND_11KHZ', 'L_tmpnam', '__SLBF', 'SWFPosition_skewYTo', 'SWFSprite_addBlock', 'SWFSoundStream_getFrames', 'SWFText_getStringWidth', '__intptr_t', 'destroySWFBitmap', 'SWFBUTTON_DOWN', 'SWFDisplayItem_moveTo', 'SWFMovie_s', 'SWFShape_drawCharacterBounds', 'clearerr_unlocked', 'SWFFILL_LINEAR_GRADIENT', 'NULL', 'SWFMovie_setSoundStream', 'SWFPrebuiltClip_s', 'SWFTextField_setAlignment', 'HAVE_UNISTD_H', 'Ming_useConstants', 'SWFJpegWithAlpha', '__ISO_C_VISIBLE', 'SWFMovie_setScriptLimits', 'MING_VERSION_TEXT', 'SWFInput_seek', 'SWFFill_move', 'SWFBLEND_MODE_INV', '__SRW', 'SWFTEXTFIELD_HASFONT', 'FILENAME_MAX', 'L_cuserid', 'SWFMovie_namedAnchor', 'SWFACTION_ONLOAD', '__suseconds_t', 'SWFTextField_setColor', 'SWFSoundInstance', 'SWF_SOUND_8BITS', '__SMBF', 'SWFFILL_CLIPPED_BITMAP', 'SWFText_moveTo', 'SWFBrowserFont_s', 'destroySWFSprite', 'SWF_SOUND_NELLY_COMPRESSED', 'newConvolutionFilter', '__uint_least8_t', 'SWFSoundInstance_setNoMultiple', '__sFILE', 'SWFSprite_s', 'SWFDisplayItem_rotateTo', 'SWFDisplayItem_getScale', 'destroySWFFilterMatrix', 'SWFTextField_setVariableName', 'SWFFill_rotate', 'SWFInput_length', 'SWF_SOUND_STEREO', 'SWFByteOutputMethod', '__sFILEX', 'SWFShape_getPenX', 'SEEK_SET', 'SWFVideoStream', 'compileSWFActionCode', 'SWFMovieClip_s', 'HAVE_ZLIB_H', '__SERR', 'newSWFSoundFromFileno', 'SWFShape_drawCubic', 'PACKAGE_NAME', '__int_least64_t', 'SWFFont', '__int64_t', 'newSWFBrowserFont', 'SWFACTION_DRAGOVER', 'SWFMovieClip_startSound', 'SWFACTION_CONSTRUCT', '__timer_t', 'SWFMatrix_getRotate1', 'SWFBUTTONRECORD_UPSTATE', 'SWFText_getLeading', '__uint32_t', 'HAVE_STRING_H', 'SWFPosition', '__nonnull', 'SWFBLEND_MODE_ADD', 'SWFBrowserFont', 'SWFText_setHeight', '__wint_t', 'P_tmpdir', 'SWF_SOUND_16BITS', 'SWFShape_s', 'SWFBLEND_MODE_SCREEN', 'Ming_setWarnFunction', 'SWFBlock_s', 'SWFTextField_setHeight', '__int_fast32_t', 'SWFACTION_RELEASE', '__int_least32_t', 'SWFDisplayItem_skewYTo', 'SWFPosition_scaleXTo', 'SWFDBLBitmapData_s', 'SWFButton_setScalingGrid', '__uint_fast8_t', '__SWR', 'SWFTEXTFIELD_OFFMASK', '__critical_t', 'fropen', 'SWFFill_scaleXYTo', 'SWFBLEND_MODE_MULT', 'SWFMovie_addExport', 'SWFMovie_labelFrame', 'SWFTEXTFIELD_HASTEXT', 'HAVE_GETOPT', '__XSTRING', 'destroySWFText', 'SWFFillStyle_getMatrix', 'SWFDBLBitmap', '__vm_size_t', '__uint_fast32_t', '__rangeof', 'SWFFill_s', 'SWFMsgFunc', 'SWFBLEND_MODE_LAYER', 'SWFSoundInstance_setLoopOutPoint', 'destroySWFSoundStream', 'SWFTEXTFIELD_ALIGN_LEFT', '__SALC', '__id_t', 'SWFSoundStream', 'newSWFSoundStream_fromInput', '__fixpt_t', 'destroySWFAction', '__wchar_t', 'SWFDisplayItem_setMatrix', 'SWFTextField_setFont', 'newSWFBitmapFillStyle', 'SWFCXform_s', 'SWFMovieClip_stopSound', '__nlink_t', 'newSWFShape', 'Shadow_s', 'SEEK_END', '__SIGN', 'SWFTEXTFIELD_NOEDIT', 'SWFBUTTON_OVERDOWNTOIDLE', '__CONCAT', '__vm_ooffset_t', 'SWFDisplayItem_endMask', 'SWFTEXTFIELD_MULTILINE', 'SWFJpegBitmap_s', 'SWFShape_movePenTo', '__ct_rune_t', 'Blur_s', 'SEEK_CUR', '__vm_paddr_t', 'SWFBlock', 'SWFDisplayItem_getSkew', '__va_list', 'PACKAGE_BUGREPORT', 'SWFDBLBitmapData', 'SWFTEXTFIELD_ALIGN_JUSTIFY', 'SWFPosition_scaleYTo', '__uint_least32_t', 'USE_CXX', 'SWFTextField_setRightMargin', 'SWFSprite', 'SWFACTION_KEYUP', 'SWFShape_drawLine', 'SWFACTION_ROLLOVER', 'SWFDisplayItem_setMaskLevel', 'SWFDisplayItem_setDepth', 'SWFMovie_protect', 'SWFPosition_rotateTo', '__int_least8_t', 'SWFBUTTON_DRAGOVER', 'BUFSIZ', '__CONCAT1', 'SWFTextField_setLength', 'destroySWFFill', 'SWFPosition_skewY', 'SWFPosition_skewX', 'SWFShape_addGradientFill', 'SWFTEXTFIELD_USEFONT', 'SWFBLEND_MODE_ALPHA', 'SWFButton_addAction', 'newSWFBlur', 'FilterMatrix_s', 'SWFTextField_addUTF8String', 'SWFBUTTONRECORD_OVERSTATE', '__BSD_VISIBLE', 'SWFBLEND_MODE_HARDLIGHT', 'HAVE_SYS_TYPES_H', '__RCSID_SOURCE', '__STRING', 'SWFBUTTON_OVERUPTOIDLE', '_swfPosition', '__intmax_t', 'SWFShape_getPenY', 'SWFVideoStream_hasAudio', '__SRD', 'SWFDisplayItem_get_xScale', '__SAPP', 'SWFCharacter_getWidth', 'PACKAGE', 'SWFDisplayItem_get_xSkew', 'newSWFGradient', 'SWFShape_setRightFill', '__key_t', '__double_t', '__pid_t', 'SWFFill_moveTo', 'SWFMovie_setNumberOfFrames', '__register_t', 'SWFBUTTON_KEYPRESS', 'SWFACTION_MOUSEUP', 'SWFText_setSpacing', 'SWFShape_addGradientFillStyle', 'newSWFJpegBitmap', 'destroySWFMovie', 'SWFTextField_addString', 'newSWFJpegWithAlpha_fromInput', 'SWFPosition_scaleXYTo', 'SWFTextField_setLeftMargin', '__vm_pindex_t', '__socklen_t', 'SWFMovieClip', 'Ming_getScale', '_IOLBF', 'SWFBlur', 'SWFTextField_s', 'SWFGradient']