replaced libart with new polygon code
[swftools.git] / lib / gfxdevice.h
index 0d9a994..caaa983 100644 (file)
@@ -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;