28 #define U_CHAR unsigned char
32 #define U_SHORT unsigned short
36 #define U_INT unsigned int
40 #define U_LONG unsigned long
43 #ifdef PLPLOT_USE_TCL_CHANNELS
55 #ifdef PLPLOT_USE_TCL_CHANNELS
75 #define PDF_ERROR 1 // Unknown error
76 #define PDF_FNOPEN 2 // File not open
77 #define PDF_FAOPEN 3 // File already open
78 #define PDF_BADUN 4 // Bad unit number
79 #define PDF_BADNBITS 5 // Invalid # of bits
80 #define PDF_RDERR 6 // Read error
81 #define PDF_WRERR 7 // Write error
82 #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)
void PLFLT PLINT PLINT PLFLT x
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)
PLDLLIMPEXP int pdf_rd_1byte(PDFstrm *pdfs, U_CHAR *ps)
static PLFLT value(double n1, double n2, double hue)
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)