X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxdevice.h;h=caaa983e56e75649af66d014c99dedc6c42b1733;hb=66a03382aab040571f94b0861719753bda3ff8f1;hp=0d9a99460d832dec36508c60694793eb7e228c21;hpb=3ca63a765deda9737dbbf336322daf7a9a551ba8;p=swftools.git 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;