Content-type: text/html Manpage of PANDA_IMAGEBOX

PANDA_IMAGEBOX

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

NAME

panda_imagebox - insert an image into the PDF document at the specified location  

SYNOPSIS

 #include<panda/constants.h>
 #include<panda/functions.h>
 void panda_panda_imagebox (panda_pdf * output, panda_page * target, int top, int left, int bottom, int right, char *filename, int type);
 

DESCRIPTION

This function call inserts an image into the PDF document at the specified location using a reasonable default for rotation (none). This call is included for backward compatability withprevious releases of the API and it is recommened that new code call panda_imageboxrot(). It is unlikely that this call will be retired however. The image types accepted by this call are: panda_image_tiff, panda_image_jpeg and panda_image_png.  

RETURNS

Nothing  

EXAMPLE

#include<panda/constants.h> #include<panda/functions.h> panda_pdf *demo; panda_page *currPage; panda_init (); if ((demo = panda_open ("output.pdf", "w")) == NULL) panda_error (panda_true, "demo: could not open output.pdf to write to."); currPage = panda_newpage (demo, panda_pagesize_a4); panda_imagebox (demo, currPage, 0, 0, currPage->height / 2, currPage->width, "input.tif", panda_image_tiff);  

SEE ALSO

panda_imageboxrot  

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