From: kramm Date: Thu, 11 Nov 2004 09:33:53 +0000 (+0000) Subject: added antialiase option to swf_Render_Init(). X-Git-Tag: release-0-6-3~193 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=59fc08ccbcddc4155d463231dec7e5a4f7cd0b64;p=swftools.git added antialiase option to swf_Render_Init(). --- diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 3e0dfcd..cf4f707 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -76,6 +76,10 @@ void* rfx_alloc(int size); void* rfx_calloc(int size); void* rfx_realloc(void*data, int size); void rfx_free(void*data); +#ifdef MEMORY_INFO +long rfx_memory_used(); +char* rfx_memory_used_str(); +#endif // SWF Types @@ -952,7 +956,7 @@ typedef struct RENDERBUF void*internal; } RENDERBUF; -void swf_Render_Init(RENDERBUF*buf, int posx, int posy, int width, int height); +void swf_Render_Init(RENDERBUF*buf, int posx, int posy, int width, int height, char antialize); 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);