From bb635d6bf7fd21a5b5f64144b94fedd8336c3658 Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 23 Jul 2005 08:24:14 +0000 Subject: [PATCH] added quality param to gfxfont_load() --- lib/gfxfont.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/gfxfont.h b/lib/gfxfont.h index 70583e8..9644213 100644 --- a/lib/gfxfont.h +++ b/lib/gfxfont.h @@ -30,7 +30,9 @@ extern "C" { #endif -gfxfont_t* gfxfont_load(char*filename); +/* 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*filename, double quality); void gfxfont_free(gfxfont_t*font); #ifdef __cplusplus -- 1.7.10.4