Annotation of researchv9/X11/src/X.V11R1/include/XWDFile.h, revision 1.1.1.1

1.1       root        1: #include <X11/copyright.h>
                      2: 
                      3: /* Copyright 1985, 1986, Massachusetts Institute of Technology */
                      4: 
                      5: /* $Header: XWDFile.h,v 1.6 87/09/11 16:51:01 rws Exp $ */
                      6: /*
                      7:  * XWDFile.h   MIT Project Athena, X Window system window raster
                      8:  *             image dumper, dump file format header file.
                      9:  *
                     10:  *  Author:    Tony Della Fera, DEC
                     11:  *             27-Jun-85
                     12:  * 
                     13:  * Modifier:    William F. Wyatt, SAO
                     14:  *              18-Nov-86  - version 6 for saving/restoring color maps
                     15:  */
                     16: 
                     17: typedef unsigned long xwdval;
                     18: 
                     19: #define XWD_FILE_VERSION 7
                     20: 
                     21: typedef struct _xwd_file_header {
                     22:        xwdval header_size;       /* Size of the entire file header (bytes). */
                     23:        xwdval file_version;      /* XWD_FILE_VERSION */
                     24:        xwdval pixmap_format;     /* Pixmap format */
                     25:        xwdval pixmap_depth;      /* Pixmap depth */
                     26:        xwdval pixmap_width;      /* Pixmap width */
                     27:        xwdval pixmap_height;     /* Pixmap height */
                     28:        xwdval xoffset;           /* Bitmap x offset */
                     29:        xwdval byte_order;        /* MSBFirst, LSBFirst */
                     30:        xwdval bitmap_unit;       /* Bitmap unit */
                     31:        xwdval bitmap_bit_order;  /* MSBFirst, LSBFirst */
                     32:        xwdval bitmap_pad;        /* Bitmap scanline pad */
                     33:        xwdval bits_per_pixel;    /* Bits per pixel */
                     34:        xwdval bytes_per_line;    /* Bytes per scanline */
                     35:        xwdval visual_class;      /* Class of colormap */
                     36:        xwdval red_mask;          /* Z red mask */
                     37:        xwdval green_mask;        /* Z green mask */
                     38:        xwdval blue_mask;         /* Z blue mask */
                     39:        xwdval bits_per_rgb;      /* Log base 2 of distinct color values */
                     40:        xwdval colormap_entries;  /* Number of entries in colormap */
                     41:        xwdval ncolors;           /* Number of Color structures */
                     42:        xwdval window_width;      /* Window width */
                     43:        xwdval window_height;     /* Window height */
                     44:        long window_x;            /* Window upper left X coordinate */
                     45:        long window_y;            /* Window upper left Y coordinate */
                     46:        xwdval window_bdrwidth;   /* Window border width */
                     47: } XWDFileHeader;

unix.superglobalmegacorp.com

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