X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxdevice.h;h=caaa983e56e75649af66d014c99dedc6c42b1733;hp=0d9a99460d832dec36508c60694793eb7e228c21;hb=e0a27e1bd83ff2d60745dd6030e0f5ef7ef97b82;hpb=3ca63a765deda9737dbbf336322daf7a9a551ba8 diff --git a/lib/gfxdevice.h b/lib/gfxdevice.h index 0d9a994..caaa983 100644 --- a/lib/gfxdevice.h +++ b/lib/gfxdevice.h @@ -35,6 +35,9 @@ typedef struct _gfxfont const char*id; int num_glyphs; int max_unicode; + + double ascent,descent; + gfxglyph_t*glyphs; int* unicode2glyph; } gfxfont_t; @@ -119,6 +122,8 @@ typedef struct _gfxdevice void (*endpage)(struct _gfxdevice*dev); + const char* (*geterror)(); + gfxresult_t* (*finish)(struct _gfxdevice*dev); void* internal;