./pdfopen
pdfopen
SYNOPSIS
#include <panda/constants.h> #include <panda/functions.h>
pdf *pdfopen(char *filename, char *mode);
DESCRIPTION
The function pdfopen opens a PDF document in the given
mode. At the current time the only mode supported is "w",
which means write from scratch. Further modes will be
implemented at a later time. Any number of PDF documents
may be open simultaneously.
This function is modelled on the fopen() call.
EXAMPLE
Simply use:
#include <panda/constants.h>
#include <panda/functions.h>
pdf *demo;
demo = pdfopen("output.pdf", "w");
RETURNS
pdfopen returns NULL if the document could not be opened
for any reason. Otherwise a pointer to the PDF document is
returned.
AUTHOR
Panda is under development by Michael Still
(mikal@stillhq.com). All code is Copyright Michael Still
2000, and is released under the GPL. Code submissions are
welcomed. Contact Michael at the address above if you have
something you would like to contribute.
BUGS
There are no known bugs in Panda. If you find one, please
contact mikal@stillhq.com and let me know.
VERSION
This information relates to version 0.2 of Panda
Man(1) output converted with
man2html