/* CHAPTER 17. Creating New PDFs */

/* cpdf_blankDocument(width, height, num_pages) creates a blank document with
 * pages of the given width (in points), height (in points), and number of
 * pages.
 */
int cpdf_blankDocument(double, double, int);

/*
 * cpdf_blankDocumentPaper(papersize, num_pages) makes a blank document given
 * a page size and number of pages.
 */
int cpdf_blankDocumentPaper(enum cpdf_papersize, int);

/* cpdf_textToPDF(w, h, font, fontsize, filename) typesets a UTF8 text file
 * ragged right on a page of size w * h in points in the given font and font
 * size. */
int cpdf_textToPDF(double, double, int, double, const char[]);

/* cpdf_textToPDF(papersize font, fontsize, filename) typesets a UTF8 text file
 * ragged right on a page of the given size in the given font and font size. */
int cpdf_textToPDFPaper(int, int, double, const char[]);

/* cpdf_fromPNG(filename) builds a PDF from a 24-bit non-interlaced
 * non-transparent PNG. */
int cpdf_fromPNG(const char[]);

/* cpdf_fromJPEG(filename) builds a PDF from a JPEG/ */
int cpdf_fromJPEG(const char[]);

