man PS_begin_template (Fonctions bibliothèques) - Starts a new template

NAME

PS_begin_template - Starts a new template

SYNOPSIS

#include <pslib.h>

int PS_begin_template(PSDoc *psdoc, float width, float height)

DESCRIPTION

Starts a new template which must be ended by PS_end_template(3). Templates are similar to macros which can be placed on a page like images. Within a template one can call any drawing function. Once a template has been ended by PS_end_template(3) it can be placed on a page by PS_place_image(3). Templates are commonly use for repeating objects like page headers in order to minimize the document size.

RETURN VALUE

Returns an id for referencing the template.

SEE ALSO

AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.