X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fdvi%2Fmdvi-lib%2Fmdvi.h;h=78244a4cddf2ab81123ad30c40775bc408803ab5;hb=16cc05ec4f7663103e45a52ac06d292e6b75a8c0;hp=961689a05a8405b82c67d98d301c134b63bb6721;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/backend/dvi/mdvi-lib/mdvi.h b/backend/dvi/mdvi-lib/mdvi.h index 961689a0..78244a4c 100644 --- a/backend/dvi/mdvi-lib/mdvi.h +++ b/backend/dvi/mdvi-lib/mdvi.h @@ -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; };