Annotation of 43BSD/contrib/X/ximpv/impv.h, revision 1.1.1.1

1.1       root        1: /* $Header* */
                      2: 
                      3: struct glyph {
                      4:        int     advance;        /* advance size */
                      5:        int     width;          /* width */
                      6:        int     left;           /* left offset */
                      7:        int     height;         /* height of glyph */
                      8:        int     top;            /* top offset */
                      9:        unsigned char   *bits;  /* pointer to actual bitmap */
                     10: } 
                     11: font0[128];
                     12: struct glyph *family[128];
                     13: short fam, member;
                     14: char fam_rot[128];
                     15: 
                     16: /* macro structure and variables*/
                     17: struct macro_struct{
                     18:        int length;
                     19:        unsigned char *pointer;
                     20: } 
                     21: macro[256];
                     22: int macro_length, macro_on, macro_count;
                     23: unsigned char *mp;
                     24: 
                     25: /* current state of the imagen */
                     26: int push_mask;
                     27: int advance_dir, orient;       
                     28: int horigin, vorigin;
                     29: int HPos, VPos, xpos, ypos;
                     30: int SpaceSize, BeginOfLine, InterLine, CurFamily;
                     31: int diameter;
                     32: int operation, texture;
                     33: short  finish, page, start;
                     34: short  pages;  /* set how many pages of document to save*/
                     35: short  magnification;
                     36: short  originlh, originlv, hvangle;
                     37: short  big, little;
                     38: 
                     39: struct state{
                     40:        int diameter, texture, SpaceSize, InterLine, BeginOfLine, fam;
                     41:        int HPos, VPos, advance_dir, horigin, vorigin, orient, push_mask;
                     42: } 
                     43: pstack;
                     44: struct state *push_stack[128], *stap;
                     45: int pushed;
                     46: 
                     47: short  fam_in, map_name, ntuples, vertex_count;
                     48: struct path {
                     49:        short hor;
                     50:        short vert;
                     51: } 
                     52: *path_point;
                     53: extern char map8_4[];
                     54: 
                     55: short backcolor;
                     56: #ifdef XWIND
                     57: unsigned char pscreen[SCREENSIZE];
                     58: #else XWIND
                     59: struct pixrect *pscreen;
                     60: short slide;
                     61: #ifdef COLOR
                     62: struct colors {
                     63:        float red,green,blue;
                     64: };
                     65: struct colors bc,cc;
                     66: #endif COLOR
                     67: #endif XWIND
                     68: 
                     69: int scr_x;
                     70: int wide;                      /* width of line in pixrect for page */
                     71: int scr_y;
                     72: int scr_d;
                     73: int scr_size;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.