X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=dvi%2Fmdvi-lib%2Fmdvi.h;h=961689a05a8405b82c67d98d301c134b63bb6721;hb=082a08309e217bcbe1d31622a5eb55dec8475e77;hp=fbbab5bcee2f63e9f310602e2dffcb75f5e09296;hpb=c3e1500a4815225f08e1b20dd066559e8c92c280;p=evince.git diff --git a/dvi/mdvi-lib/mdvi.h b/dvi/mdvi-lib/mdvi.h index fbbab5bc..961689a0 100644 --- a/dvi/mdvi-lib/mdvi.h +++ b/dvi/mdvi-lib/mdvi.h @@ -65,7 +65,6 @@ typedef enum { TRUE = 1 } DviBool; -#include "assoc.h" #include "hash.h" #include "paper.h" @@ -307,8 +306,6 @@ struct _DviParams { DviOrientation orientation; /* page orientation */ int base_x; int base_y; - Ulong *pixels; /* colors used for antialiasing */ - int npixels; /* number of entries in `pixels' */ }; typedef enum { @@ -387,10 +384,11 @@ struct _DviContext { DviDevice device; /* device-specific routines */ Ulong curr_fg; /* rendering color */ Ulong curr_bg; + DviColorPair *color_stack; - DviHashTable assoc; int color_top; int color_size; + DviFontRef *(*findref) __PROTO((DviContext *, Int32)); void *user_data; /* client data attached to this context */ }; @@ -523,12 +521,6 @@ extern int mdvi_in_range __PROTO((DviRange *, int, int)); extern int mdvi_range_length __PROTO((DviRange *, int)); extern int mdvi_page_selected __PROTO((DviPageSpec *, PageNum, int)); -/* Color support */ -extern void mdvi_set_color __PROTO((DviContext *, Ulong, Ulong)); -extern void mdvi_push_color __PROTO((DviContext *, Ulong, Ulong)); -extern void mdvi_pop_color __PROTO((DviContext *)); -extern void mdvi_reset_color __PROTO((DviContext *)); - /* Specials */ extern int mdvi_register_special __PROTO(( const char *label,