X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=1b40494ae0cb21ce96e8288b44bb9644b09d3d98;hb=251500bcdc5f8e159ad6793ccbe545abde19bc40;hp=d10b0b2689afd9ebffa045b0e5818c12d4667cd7;hpb=d3f96573d464920ff5cde35e62a880bc8b54592f;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index d10b0b2..1b40494 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -30,6 +30,7 @@ extern "C" { #include #include +#include #include #include #include @@ -201,6 +202,7 @@ int swf_WriteSWF(int handle,SWF * swf); // Writes SWF to file, returns lengt int swf_WriteSWC(int handle, SWF * swf); // for convenience, equal to swf->compressed=1;swf_WriteSWF(..) int swf_WriteCGI(SWF * swf); // Outputs SWF with valid CGI header to stdout void swf_FreeTags(SWF * swf); // Frees all malloc'ed memory for swf +SWF* swf_CopySWF(SWF*swf); // for streaming: int swf_WriteHeader(int handle,SWF * swf); // Writes Header of swf to file @@ -959,7 +961,7 @@ typedef struct RENDERBUF void*internal; } RENDERBUF; -void swf_Render_Init(RENDERBUF*buf, int posx, int posy, int width, int height, char antialize); +void swf_Render_Init(RENDERBUF*buf, int posx, int posy, int width, int height, char antialize, int scale); RGBA* swf_Render(RENDERBUF*dest); void swf_RenderShape(RENDERBUF*dest, SHAPE2*shape, MATRIX*m, CXFORM*c, U16 depth,U16 clipdepth); void swf_Render_AddImage(RENDERBUF*buf, U16 id, RGBA*img, int width, int height);