X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxfont.h;h=695e965959ef2d6b88ec2d3e6b582716992447ef;hp=657598bfa0e3fa2567efa3fb841fddfe3ab78d67;hb=bf04757cd94e94c1f67fa3d2a4e3e59fa5bce0c0;hpb=76d7de03a9ce370259976be5412508b9182b5bb3 diff --git a/lib/gfxfont.h b/lib/gfxfont.h index 657598b..695e965 100644 --- a/lib/gfxfont.h +++ b/lib/gfxfont.h @@ -30,8 +30,10 @@ extern "C" { #endif -gfxfont_t* gfxfont_load(char*filename); -void gfxfont_free(); +/* The quality parameter is given by 1 divided by the zoom factor at which the font + still looks good. 1=normal, 0.5=double resolution etc. */ +gfxfont_t* gfxfont_load(char*id, char*filename, unsigned int flags, double quality); +void gfxfont_free(gfxfont_t*font); #ifdef __cplusplus }