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;
DviDevDestroy dev_destroy;
DviRefresh refresh;
DviSetColor set_color;
+ DviPSDraw draw_ps;
void * device_data;
};
extern void mdvi_sort_pages __PROTO((DviContext *, DviPageSort));
-extern void mdvi_init_kpathsea __PROTO((const char *, const char *, const char *, int));
+extern void mdvi_init_kpathsea __PROTO((const char *, const char *, const char *, int, const char *));
extern DviContext* mdvi_init_context __PROTO((DviParams *, DviPageSpec *, const char *));
extern void mdvi_destroy_context __PROTO((DviContext *));