Doc Eng Logo
University of Nottingham CS
Home People Research

Simple Examples

Here are some simple examples which use the library. You can view the source Perl program and the resulting PDF file for each example. Detailed explanations of the code are given in the manual which comes with the library. This is just to give you a feel for things.


SOURCE OUTPUT PDF Hello World!

SOURCE OUTPUT PDF Two Pages

SOURCE OUTPUT PDF Repeated GMAs

SOURCE OUTPUT PDF Save/Restore Environment

SOURCE OUTPUT PDF Line Samples on smaller page size

SOURCE OUTPUT PDF Bezier Curves

SOURCE OUTPUT PDF Scaled and Boxed Text String

SOURCE OUTPUT PDF Circular Arcs and Circles

SOURCE OUTPUT PDF The Transformation Matrix

SOURCE OUTPUT PDF Clipping

SOURCE OUTPUT PDF Text as Clipping Path

SOURCE OUTPUT PDF Text Blocks and Text Parameters

SOURCE OUTPUT PDF Set Color Spaces