PANDA_TRANSSTYLE(3)PANDA_TRANSSTYLE(3)NAMEpanda_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
This function records information within the PDF indicating the pre‐
ferred page transition style to use. The following are valid styles to
use: <orderedlist> <listitem>panda_pagetrans_split_yi -- vertical split
from the inside of the page</listitem> <listitem>panda_page‐
trans_split_yo -- vertical split from the outside of the page</lis‐
titem> <listitem>panda_pagetrans_split_xi -- horizontal split from the
inside of the page</listitem> <listitem>panda_pagetrans_split_xo --
horizontal split from the outside of the page</listitem> <lis‐
titem>panda_pagetrans_blinds_y -- vertical blinds effect</listitem>
<listitem>panda_pagetrans_blinds_x -- horizontal blinds effect</lis‐
titem> <listitem>panda_pagetrans_box_i -- box expanding from the inside
of the page</listitem> <listitem>panda_pagetrans_box_o -- box contract‐
ing from the outside of the page</listitem> <listitem>panda_page‐
trans_wipe_0 -- a single line wipes the page away from the left to the
right</listitem> <listitem>panda_pagetrans_wipe_90 -- a single line
wipes the page away from the bottom to the top</listitem> <lis‐
titem>panda_pagetrans_wipe_180 -- a single line wipes the page away
from the right to the left</listitem> <listitem>panda_page‐
trans_wipe_270 -- a single line wipes the page away from the top to the
bottom</listitem> <listitem>panda_pagetrans_dissolve -- the old page
dissolves slowly into the new page</listitem> <listitem>panda_page‐
trans_glitter_0 -- a glitter effect that moves from the left to the
right of the page</listitem> <listitem>panda_pagetrans_glitter_270 -- a
glitter effect that moves from the top to the bottom of the page</lis‐
titem> <listitem>panda_pagetrans_glitter_315 -- a glitter effect that
moves from the top left to the bottom right of the page</listitem>
<listitem>panda_pagetrans_none -- no transition effect</listitem>
</orderedlist> </para> <para> The 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.5.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 - 2003, 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.
28 May 2003 PANDA_TRANSSTYLE(3)