X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=01b85f99a29a43744a7cac49a5dfd55a942116f4;hb=e062e242b05435bf68a739977f57434fd98748ec;hp=ea60818bf407a1589fb9abb78aa069a0c0b8b02f;hpb=5d8d800fc5ba13dadea83dd0ca63bfe1211d9372;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index ea60818..01b85f9 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -345,7 +345,9 @@ SRECT swf_TurnRect(SRECT r, MATRIX* m); #define ST_SCRIPTLIMITS 65 /* version 7- u16 maxrecursedepth, u16 scripttimeoutseconds */ #define ST_SETTABINDEX 66 /* version 7- u16 depth(!), u16 tab order value */ +/* custom tags- only valid for swftools */ #define ST_REFLEX 777 /* to identify generator software */ +#define ST_GLYPHNAMES 778 // Advanced Funtions @@ -586,6 +588,7 @@ void swf_DrawText(drawer_t*draw, SWFFONT*font, char*text); SWFFONT* swf_LoadTrueTypeFont(char*filename); SWFFONT* swf_LoadT1Font(char*filename); +SWFFONT* swf_LoadFont(char*filename); // swfdump.c @@ -720,7 +723,7 @@ U16 swf_GetDefineID(TAG * t); SRECT swf_GetDefineBBox(TAG * t); void swf_SetDefineID(TAG * t, U16 newid); U16 swf_GetPlaceID(TAG * t); //PLACEOBJECT, PLACEOBJECT2 (sometimes), REMOVEOBJECT -U16 swf_GetDepth(TAG * t); //PLACEOBJECT,PLACEOBJECT2,REMOVEOBJECT,REMOVEOBJECT2 +int swf_GetDepth(TAG * t); //PLACEOBJECT,PLACEOBJECT2,REMOVEOBJECT,REMOVEOBJECT2,SETTABINDEX char* swf_GetName(TAG * t); //PLACEOBJECT2, FRAMELABEL MATRIX * swf_MatrixJoin(MATRIX * d,MATRIX * s1,MATRIX * s2); MATRIX * swf_MatrixMapTriangle(MATRIX * m,int dx,int dy, @@ -728,6 +731,7 @@ MATRIX * swf_MatrixMapTriangle(MATRIX * m,int dx,int dy, int swf_GetNumUsedIDs(TAG * t); void swf_GetUsedIDs(TAG * t, int * positions); void swf_Relocate(SWF*swf, char*bitmap); // bitmap is 65536 bytes, bitmap[a]==0 means id a is free +void swf_RelocateDepth(SWF*swf, char*bitmap); // bitmap is 65536 bytes, bitmap[d]==0 means depth d is free // swfcgi.c