X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=23bd0e1b7f8a6e6735614bfca8ffceab27bc35e0;hb=0701d578fc4bfa1c92f62b2c248574ca7742f0e9;hp=cf4f7071871d2282f1fb1959bf5269bdaf5f62d3;hpb=59fc08ccbcddc4155d463231dec7e5a4f7cd0b64;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index cf4f707..23bd0e1 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -30,6 +30,7 @@ extern "C" { #include #include +#include #include #include #include @@ -462,6 +463,9 @@ void swf_ParseDefineShape(TAG*tag, SHAPE2*shape); void swf_Shape2ToShape(SHAPE2*shape2, SHAPE*shape); void swf_SetShape2(TAG*tag, SHAPE2*shape2); +void swf_RecodeShapeData(U8*data, int bitlen, int in_bits_fill, int in_bits_line, + U8**destdata, U32*destbitlen, int out_bits_fill, int out_bits_line); + // swfdraw.c void swf_Shape10DrawerInit(drawer_t*draw, TAG*tag); @@ -956,7 +960,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);