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=327e61fe39572b852e0e4cb4131eed439f4940b0;hb=11eb3f2a9d6062b2d38a549c1f9547d7985c7be5;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..327e61fe 100644 --- a/backend/dvi/mdvi-lib/mdvi.h +++ b/backend/dvi/mdvi-lib/mdvi.h @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _MDVI_DVI_H #define _MDVI_DVI_H 1 @@ -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; }; @@ -485,7 +490,7 @@ extern void flush_font_metrics __PROTO((void)); 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 *));