A guide to using Panda
Michael Still
Copyright © 2002 Michael Still
Table of Contents
1.
Introduction
2.
libpngDummyFlushProc.sgml
libpngDummyFlushProc
-- mangle libpng to do image conversion in memory without temportary files
3.
libpngDummyWriteProc.sgml
libpngDummyWriteProc
-- mangle libpng to do image conversion in memory without temportary files
4.
libtiffDummyCloseProc.sgml
libtiffDummyCloseProc
-- mangle libtiff to do image conversion in memory without temportary files
5.
libtiffDummyReadProc.sgml
libtiffDummyReadProc
-- mangle libtiff to do image conversion in memory without temportary files
6.
libtiffDummySeekProc.sgml
libtiffDummySeekProc
-- mangle libtiff to doc image conversion in memory without temportary files
7.
libtiffDummyWriteProc.sgml
libtiffDummyWriteProc
-- mangle libtiff to do image conversion in memory without temportary files
8.
panda_addchild.sgml
panda_addchild
-- add an object to the object tree
9.
panda_addcubiccurvesegment.sgml
panda_addcubiccurvesegment
-- add a curved segment to the line shape we are drawing
10.
panda_addlinesegment.sgml
panda_addlinesegment
-- add a straight segment to the line shape we are drawing
11.
panda_addquadraticcurvesegmentone.sgml
panda_addquadraticcurvesegmentone
-- add a curved segment to the line shape that we are drawing
12.
panda_addquadraticcurvesegmenttwo.sgml
panda_addquadraticcurvesegmenttwo
-- add a curved segment to the line shape that we are drawing
13.
panda_applytemplate.sgml
panda_applytemplate
-- use a template page previously created
14.
panda_centerwindow.sgml
panda_centerwindow
-- ask the viewer to center the document's window on the screen when the PDF is displayed
15.
panda_checkinfo.sgml
panda_checkinfo
-- ensure an info object exists
16.
panda_closeline.sgml
panda_closeline
-- close off the line shape we are drawing
17.
panda_close.sgml
panda_close
-- write a PDF document out to disk
18.
panda_closetext.sgml
panda_closetext
-- a traversal callback used for closing text streams within the PDF
19.
panda_createandinsertpage.sgml
panda_createandinsertpage
-- create a page within the PDF document
20.
panda_createfont.sgml
panda_createfont
-- return a handle to the requested font
21.
panda_dbclose.sgml
panda_dbclose
-- finalize the use of the Panda internal database
22.
panda_dbopen.sgml
panda_dbopen
-- prepare the Panda internal database for use
23.
panda_dbread.sgml
panda_dbread
-- read a value from the Panda internal database
24.
panda_dbwrite.sgml
panda_dbwrite
-- write a value into the Panda internal database
25.
panda_endline.sgml
panda_endline
-- finalise the current line shape
26.
panda_entergraphicsmode.sgml
panda_entergraphicsmode
-- make sure the page description stream is in graphics mode
27.
panda_error.sgml
panda_error
-- handle a
Panda
error
28.
panda_exitgraphicsmode.sgml
panda_exitgraphicsmode
-- make sure the page description stream is out of graphics mode
29.
panda_fillline.sgml
panda_fillline
-- fill the closed shape we just drew
30.
panda_fitwindow.sgml
panda_fitwindow
-- ask the viewer to fit the viewer window to the first page of the PDF document when it is opened
31.
panda_freeobject.sgml
panda_freeobject
-- free the memory used by a previously created object
32.
panda_freetextannotation.sgml
panda_freetextannotation
-- draw a text annotation which doesn't look like a sticky note onto a page
33.
panda_freetextannotation .sgml
panda_freetextannotation
-- draw a text annotation which doesn't look like a sticky note onto a page
34.
panda_fullscreen.sgml
panda_fullscreen
-- ask the viewer to display the PDF document in fullscreen mode
35.
panda_getfontobj.sgml
panda_getfontobj
-- get the object that the named font is stored in
36.
panda_hexstring.sgml
panda_hexstring
-- take a string of possibly binary bytes, and represent them in hex
37.
panda_hidemenubar.sgml
panda_hidemenubar
-- ask the viewer to hide it's menu bar when this PDF is displayed
38.
panda_hidetoolbar.sgml
panda_hidetoolbar
-- ask the viewer to hide it's tool bar when this PDF is displayed
39.
panda_hidewindowui.sgml
panda_hidewindowui
-- ask the viewer to hide it's display window user interface when this PDF is displayed
40.
panda_imageboxrot.sgml
panda_imageboxrot
-- insert an image into the PDF document at the specified location
41.
panda_imagebox.sgml
panda_imagebox
-- insert an image into the PDF document at the specified location
42.
panda_imagesize.sgml
panda_imagesize
-- determine the size of an image
43.
panda_init.sgml
panda_init
-- setup Panda ready for use
44.
panda_insertannotation.sgml
panda_insertannotation
-- actually insert an annotation
45.
panda_insertannotation .sgml
panda_insertannotation
-- actually insert an annotation
46.
panda_insertJPEG.sgml
panda_insertJPEG
-- insert a JPEG image into the PDF
47.
panda_insertPNG.sgml
panda_insertPNG
-- insert a PNG image into the PDF
48.
panda_insertTIFF.sgml
panda_insertTIFF
-- insert a TIFF image into the PDF
49.
panda_internallink .sgml
panda_internallink
-- do work common to panda_urilink and panda_link
50.
panda_link .sgml
panda_link
-- Create a link to an internal location in a PDF.
51.
panda_makedate.sgml
panda_makedate
-- format a date into the internal PDF representation
52.
panda_md5hash.sgml
panda_md5hash
-- a wrapper to Rivest's MD5 code
53.
panda_newobject.sgml
panda_newobject
-- create a new object
54.
panda_newpage.sgml
panda_newpage
-- create a new page in the PDF
55.
panda_newtemplate.sgml
panda_newtemplate
-- create a template page in the PDF
56.
panda_nfspagemodde.sgml
panda_nfspagemodde
-- defines display characteristics for the PDF document if it is using non fullscreen mode after defaulting to fullscreen mode
57.
panda_nowdate.sgml
panda_nowdate
-- return the string for now
58.
panda_open_actual.sgml
panda_open_actual
-- actually open a PDF document
59.
panda_open.sgml
panda_open
-- open a PDF document
60.
panda_open_suppress.sgml
panda_open_suppress
-- open a PDF document with some special options
61.
panda_pageduration.sgml
panda_pageduration
-- specify the maximum number of seconds that a page should be displayed by the viewer before moving on
62.
panda_printf.sgml
panda_printf
-- output a formatted string to the PDF file
63.
panda_print.sgml
panda_print
-- output a simple string to the PDF file
64.
panda_processtrans.sgml
panda_processtrans
-- a traversal callback used for processing transition objects within the PDF
65.
panda_putc.sgml
panda_putc
-- output a single character to the PDF file
66.
panda_rectangle.sgml
panda_rectangle
-- draw a rectangle
67.
panda_setauthor.sgml
panda_setauthor
-- set the author string for the PDF document
68.
panda_setcharacterspacing.sgml
panda_setcharacterspacing
-- set the space between characters
69.
panda_setcreator.sgml
panda_setcreator
-- set the creator string for the PDF document
70.
panda_setfillcolor.sgml
panda_setfillcolor
-- set the color to fill a close shape with
71.
panda_setfontmode.sgml
panda_setfontmode
-- set the current font mode
72.
panda_setfont.sgml
panda_setfont
-- set the current font to be that specified
73.
panda_setfontsize.sgml
panda_setfontsize
-- set the current font size
74.
panda_sethorizontalscaling.sgml
panda_sethorizontalscaling
-- set the horizontal scaling of text
75.
panda_setid.sgml
panda_setid
-- set the id string for the PDF document
76.
panda_setkeywords.sgml
panda_setkeywords
-- set the keywords string for the PDF document
77.
panda_setleading.sgml
panda_setleading
-- set the amount of space between lines of text
78.
panda_setlinecap.sgml
panda_setlinecap
-- sets the line cap for the lines we are drawing now
79.
panda_setlinecolor.sgml
panda_setlinecolor
-- change the color of the line drawn
80.
panda_setlinedashing.sgml
panda_setlinedashing
-- draw the subsequent lines with the defined dashing pattern
81.
panda_setlinejoin.sgml
panda_setlinejoin
-- is used to set the line join style
82.
panda_setlinestart.sgml
panda_setlinestart
-- sets the starting point of a curve
83.
panda_setlinewidth.sgml
panda_setlinewidth
-- sets the width of the line that we are drawing
84.
panda_setobjectproperty.sgml
panda_setobjectproperty
-- set a property value for an object
85.
panda_setsubject.sgml
panda_setsubject
-- set the subject string for the PDF document
86.
panda_settitle.sgml
panda_settitle
-- set the title string for the PDF document
87.
panda_setwordspacing.sgml
panda_setwordspacing
-- set the space between words
88.
panda_streamprintf.sgml
panda_streamprintf
-- output a formatted string to the text stream associated with a given object
89.
panda_strokeline.sgml
panda_strokeline
-- stroke the line shape we have just drawn
90.
panda_textannotation.sgml
panda_textannotation
-- draw a text annotation which looks like a sticky note onto a page
91.
panda_textannotation .sgml
panda_textannotation
-- draw a text annotation which looks like a sticky note onto a page
92.
panda_textboxrot.sgml
panda_textboxrot
-- display some text at a jaunty angle on the PDF page specified
93.
panda_textbox.sgml
panda_textbox
-- display some text on the PDF page specified
94.
panda_textdirection.sgml
panda_textdirection
-- specify the direction that the text flows within the document
95.
panda_transduration.sgml
panda_transduration
-- specify the number of seconds that a page transition effect should take to occur
96.
panda_transstyle.sgml
panda_transstyle
-- specify the type of page change transition that should occur
97.
panda_traverseobjects.sgml
panda_traverseobjects
-- traverse the PDF object tree and perform an operation
98.
panda_urilink .sgml
panda_urilink
-- insert link to a URI.
99.
panda_writeobject.sgml
panda_writeobject
-- write a given object to disc
100.
panda_writetrailer.sgml
panda_writetrailer
-- write out the trailer for the PDF document
101.
panda_writexref.sgml
panda_writexref
-- write out the table that lists object locations in the file
102.
panda_xfree.sgml
panda_xfree
-- deallocate memory in a safe manner
103.
panda_xmalloc.sgml
panda_xmalloc
-- allocate some memory
104.
panda_xrealloc.sgml
panda_xrealloc
-- allocate some memory, resizing it if already exists
105.
panda_xsnprintf.sgml
panda_xsnprintf
-- a safe version of vnsprintf
Next
Introduction