added background color support to swf_Render*.
authorkramm <kramm>
Tue, 23 Nov 2004 19:34:30 +0000 (19:34 +0000)
committerkramm <kramm>
Tue, 23 Nov 2004 19:34:30 +0000 (19:34 +0000)
lib/rfxswf.h

index 3888319..fc39f3f 100644 (file)
@@ -962,6 +962,8 @@ typedef struct RENDERBUF
 } RENDERBUF;
 
 void swf_Render_Init(RENDERBUF*buf, int posx, int posy, int width, int height, char antialize, int scale);
+void swf_Render_SetBackground(RENDERBUF*buf, RGBA*img, int width, int height);
+void swf_Render_SetBackgroundColor(RENDERBUF*buf, RGBA color);
 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);