Content-type: text/html Manpage of PANDA_NEWOBJECT

PANDA_NEWOBJECT

Section:  (3)
Updated: 19 September 2002
Index Return to Main Contents
 

NAME

panda_newobject - create a new object  

SYNOPSIS

 #include<panda/constants.h>
 #include<panda/functions.h>
 panda_object *panda_newobject (panda_pdf *output, int type);
 

DESCRIPTION

PANDA INTERNAL. Create a new object within the PDF document output. The types of object are panda_object_normal and panda_object_placeholder -- the difference is that a placeholder object wont be written out when the PDF is dumped to disc. This is an internal function call and would only be need by API users if they are creating support for object types not currently supported by Panda. If this is the case, then these users are encouraged to submit their code changes back to mikal@stillhq.com for inclusion with the next release of Panda, and are reminded of their obligations under the GNU GPL.  

RETURNS

A pointer to the new object (a panda_object *)  

EXAMPLE

#include<panda/constants.h> #include<panda/functions.h> panda_pdf *document; panda_object *obj; panda_init(); document = panda_open("filename.pdf", "w"); obj = panda_newobject(document, panda_object_normal);  

SEE ALSO

panda_freeobject, panda_writeobject, panda_traverseobjects, panda_addchild  

VERSION

This documentation was generated for Panda 0.4.2 by autodocbook (http://www.stillhq.com).  

AUTHOR

Panda is under development by Michael Still (mikal@stillhq.com). All code is Copyright Michael Still 2000 and 2001, and is released under the GNU 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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
EXAMPLE
SEE ALSO
VERSION
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 23:44:05 GMT, September 18, 2002