From e6b4ceefbdfaa2e2a2837105b4255262bae797de Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 23 Nov 2004 19:34:30 +0000 Subject: [PATCH] added background color support to swf_Render*. --- lib/rfxswf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 3888319..fc39f3f 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -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); -- 1.7.10.4