]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/mdvi.h
Split API documentation into libdocument, libview and shell. Required
[evince.git] / backend / dvi / mdvi-lib / mdvi.h
index 961689a05a8405b82c67d98d301c134b63bb6721..78244a4cddf2ab81123ad30c40775bc408803ab5 100644 (file)
@@ -102,6 +102,10 @@ typedef void (*DviPutPixel)        __PROTO((void *image, int x, int y, Ulong color));
 typedef void (*DviDevDestroy)   __PROTO((void *data));
 typedef void (*DviRefresh)      __PROTO((DviContext *dvi, void *device_data));
 typedef void (*DviSetColor)    __PROTO((void *device_data, Ulong, Ulong));
+typedef void (*DviPSDraw)       __PROTO((DviContext *context,
+                                        const char *filename, 
+                                        int x, int y,
+                                        Uint width, Uint height));
 
 struct _DviDevice {
        DviGlyphDraw    draw_glyph;
@@ -113,6 +117,7 @@ struct _DviDevice {
        DviDevDestroy   dev_destroy;
        DviRefresh      refresh;
        DviSetColor     set_color;
+       DviPSDraw       draw_ps;
        void *          device_data;
 };