X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=5450b5c6ca2c6d7f2b2fbc475dca0a08b8035fe3;hb=a72d10185525aafd3fb4053573c5f44aa521f3d0;hp=a5e89917ec6e0953ee253352d2d0954492a504f4;hpb=ebf53a918174ecce8bf0ff64fa69e12677e52bae;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index a5e8991..5450b5c 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -562,8 +562,7 @@ int swf_FontSetInfo(TAG * t,SWFFONT * f); void swf_FontCreateLayout(SWFFONT*f); void swf_FontAddLayout(SWFFONT * f, int ascent, int descent, int leading); -int swf_FontExtract_DefineTextCallback(int id,SWFFONT * f,TAG * t,int jobs, - void(*callback)(int*chars, int nr, int id)); +int swf_ParseDefineText(TAG * t, void(*callback)(void*self, int*chars, int*xpos, int nr, int fontid, int fontsize, int xstart, int ystart, RGBA* color), void*self); void swf_WriteFont(SWFFONT* font, char* filename); SWFFONT* swf_ReadFont(char* filename);