26 #define U_CHAR    unsigned char    30 #define U_SHORT    unsigned short    34 #define U_INT    unsigned int    38 #define U_LONG    unsigned long    41 #ifdef PLPLOT_USE_TCL_CHANNELS    53 #ifdef PLPLOT_USE_TCL_CHANNELS    73 #define PDF_ERROR       1               // Unknown error    74 #define PDF_FNOPEN      2               // File not open    75 #define PDF_FAOPEN      3               // File already open    76 #define PDF_BADUN       4               // Bad unit number    77 #define PDF_BADNBITS    5               // Invalid # of bits    78 #define PDF_RDERR       6               // Read error    79 #define PDF_WRERR       7               // Write error    80 #define PDF_NOTPDF      8               // Not a valid PDF file 
PLDLLIMPEXP int pdf_wr_2bytes(PDFstrm *pdfs, U_SHORT s)
PLDLLIMPEXP int pdf_wr_4bytes(PDFstrm *pdfs, U_LONG s)
PLDLLIMPEXP int pdf_wr_header(PDFstrm *pdfs, const char *header)
PLDLLIMPEXP int pdf_wr_1byte(PDFstrm *pdfs, U_CHAR s)
PLDLLIMPEXP int pdf_rd_4bytes(PDFstrm *pdfs, U_LONG *ps)
PLDLLIMPEXP PDFstrm * pdf_fopen(const char *fileName, const char *mode)
PLDLLIMPEXP int pdf_rd_ieeef(PDFstrm *pdfs, float *pf)
PLDLLIMPEXP int pdf_close(PDFstrm *pdfs)
int pdf_rd_string(PDFstrm *pdfs, char *string, int nmax)
static const char * fileName
PLDLLIMPEXP int pdf_ungetc(int c, PDFstrm *pdfs)
int pdf_wr_string(PDFstrm *pdfs, const char *string)
int pdf_rdx(U_CHAR *x, long nitems, PDFstrm *pdfs)
PDFstrm * plLibOpenPdfstrm(const char *fn)
static PLFLT value(double n1, double n2, double hue)
PLDLLIMPEXP int pdf_rd_1byte(PDFstrm *pdfs, U_CHAR *ps)
PLDLLIMPEXP int pdf_rd_header(PDFstrm *pdfs, char *header)
PLDLLIMPEXP int pdf_rd_2nbytes(PDFstrm *pdfs, U_SHORT *s, PLINT n)
PLDLLIMPEXP PDFstrm * pdf_finit(FILE *file)
PLDLLIMPEXP int pdf_wr_ieeef(PDFstrm *pdfs, float f)
PLDLLIMPEXP PDFstrm * pdf_bopen(U_CHAR *buffer, size_t bufmax)
int pdf_putc(int c, PDFstrm *pdfs)
PLDLLIMPEXP int pdf_getc(PDFstrm *pdfs)
PLDLLIMPEXP int pdf_wr_2nbytes(PDFstrm *pdfs, U_SHORT *s, PLINT n)
PLDLLIMPEXP int pdf_rd_2bytes(PDFstrm *pdfs, U_SHORT *ps)
void pdf_set(char *option, int value)