X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxtools.h;fp=lib%2Fgfxtools.h;h=430b2e40459e826ac29f0d625ccc0e6710be002a;hp=d038e06d577ddce6175f1838147ae3ab2c3badeb;hb=6c8f037f0f76ce4b28b80a2133e4150d93012ef7;hpb=b174b88412be23f82cb844d1d99f9c6761c94cbb diff --git a/lib/gfxtools.h b/lib/gfxtools.h index d038e06..430b2e4 100644 --- a/lib/gfxtools.h +++ b/lib/gfxtools.h @@ -101,6 +101,19 @@ gfxline_t*gfxline_makerectangle(double x1, double y1, double x2, double y2); gfxline_t*gfxline_makecircle(double x,double y,double rx, double ry); void gfxline_show(gfxline_t*line, FILE*fi); +typedef struct _gfxparam { + const char*key; + const char*value; + struct _gfxparam* next; +} gfxparam_t; +typedef struct _gfxparams { + gfxparam_t*params; + gfxparam_t*last; +} gfxparams_t; +gfxparams_t* gfxparams_new(); +void gfxparams_store(gfxparams_t*params, const char*name, const char*value); +void gfxparams_free(gfxparams_t*params); + #ifdef __cplusplus } #endif