Content-type: text/html Manpage of PANDA_TRANSSTYLE

PANDA_TRANSSTYLE

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

NAME

panda_transstyle - specify the type of page change transition that should occur  

SYNOPSIS

 #include<panda/constants.h>
 #include<panda/functions.h>
 void panda_transstyle (panda_page *target, int style);
 

DESCRIPTION

his function records information within the PDF indicating the preferred page transition style to use. The following are valid styles to use:

1.
panda_pagetrans_split_yi -- vertical split from the inside of the page
2.
panda_pagetrans_split_yo -- vertical split from the outside of the page
3.
panda_pagetrans_split_xi -- horizontal split from the inside of the page
4.
panda_pagetrans_split_xo -- horizontal split from the outside of the page
5.
panda_pagetrans_blinds_y -- vertical blinds effect
6.
panda_pagetrans_blinds_x -- horizontal blinds effect
7.
panda_pagetrans_box_i -- box expanding from the inside of the page
8.
panda_pagetrans_box_o -- box contracting from the outside of the page
9.
panda_pagetrans_wipe_0 -- a single line wipes the page away from the left to the right
10.
panda_pagetrans_wipe_90 -- a single line wipes the page away from the bottom to the top
11.
panda_pagetrans_wipe_180 -- a single line wipes the page away from the right to the left
12.
panda_pagetrans_wipe_270 -- a single line wipes the page away from the top to the bottom
13.
panda_pagetrans_dissolve -- the old page dissolves slowly into the new page
14.
panda_pagetrans_glitter_0 -- a glitter effect that moves from the left to the right of the page
15.
panda_pagetrans_glitter_270 -- a glitter effect that moves from the top to the bottom of the page
16.
panda_pagetrans_glitter_315 -- a glitter effect that moves from the top left to the bottom right of the page
17.
panda_pagetrans_none -- no transition effect

he default transition is to have no transition at all. It should be noted that not all viewers support these transition effects.  

RETURNS

Nothing  

EXAMPLE

#include<panda/constants.h> #include<panda/functions.h> panda_pdf *document; panda_page *page; panda_init(); document = panda_open("filename.pdf", "w"); page = panda_newpage (document, panda_pagesize_a4); panda_transduration (page, 30.5);  

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
VERSION
AUTHOR
BUGS

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