home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / texmf / source / dvips / amiga / include / emspecial_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-08  |  2.4 KB  |  115 lines

  1. /* Prototypes for functions defined in
  2. emspecial.c
  3.  */
  4.  
  5. void emclear(void);
  6.  
  7. struct empt * emptput(shalfword point,
  8.                       integer x,
  9.                       integer y);
  10.  
  11. struct empt * emptget(shalfword point);
  12.  
  13. double emunits(double width,
  14.                char * unit);
  15.  
  16. void emspecial(char * p);
  17.  
  18. integer readinteger(FILE * f);
  19.  
  20. halfword readhalfword(FILE * f);
  21.  
  22. typedef struct 
  23. {
  24.     quarterword man;
  25.     quarterword ver;
  26.     quarterword enc;
  27.     quarterword bitperpix;
  28.     halfword xmin;
  29.     halfword ymin;
  30.     halfword xmax;
  31.     halfword ymax;
  32.     halfword hres;
  33.     halfword vres;
  34.     quarterword pal[48];
  35.     quarterword reserved;
  36.     quarterword colorplanes;
  37.     halfword byteperline;
  38.     halfword paltype;
  39.     quarterword fill[58];
  40. } PCXHEAD; 
  41.  
  42. int PCXreadhead(FILE * pcxf,
  43.                 PCXHEAD * pcxh);
  44.  
  45. int PCXreadline(FILE * pcxf,
  46.                 unsigned char * pcxbuf,
  47.                 unsigned int byteperline);
  48.  
  49. void PCXgetpalette(FILE * pcxf,
  50.                    PCXHEAD * pcxh,
  51.                    unsigned char * r,
  52.                    unsigned char * g,
  53.                    unsigned char * b);
  54.  
  55. void PCXshowpicture(FILE * pcxf,
  56.                     int wide,
  57.                     int high,
  58.                     int bytes,
  59.                     int cp,
  60.                     int bp,
  61.                     unsigned char * r,
  62.                     unsigned char *g,
  63.                     unsigned char * b);
  64.  
  65. void imagehead(char * filename,
  66.                int wide,
  67.                int high,
  68.                double emwidth,
  69.                double emheight);
  70.  
  71. void imagetail(void);
  72.  
  73. void pcxgraph(FILE * pcxf,
  74.               char * filename,
  75.               double emwidth,
  76.               double emheight);
  77.  
  78. void MSP_2_ps(FILE * f,
  79.               int wide,
  80.               int high);
  81.  
  82. void MSP_1_ps(FILE * f,
  83.               int wide,
  84.               int high);
  85.  
  86. void mspgraph(FILE * f,
  87.               char * filename,
  88.               double emwidth,
  89.               double emheight);
  90.  
  91. void rgbread(FILE * f,
  92.              int w,
  93.              int b,
  94.              char * s);
  95.  
  96. void rle4read(FILE * f,
  97.               int w,
  98.               int b,
  99.               char * s);
  100.  
  101. void rle8read(FILE * f,
  102.               int w,
  103.               int b,
  104.               char * s);
  105.  
  106. void bmpgraph(FILE * f,
  107.               char * filename,
  108.               double emwidth,
  109.               double emheight);
  110.  
  111. void emgraph(char * filename,
  112.              double emwidth,
  113.              double emheight);
  114.  
  115.