Rotations

Informations

Author: Olivier
License: FPDF

Description

This script allows to perform a rotation around a given center.
The method to set a rotation is:

Rotate(float angle [, float x [, float y]])

angle: angle in degrees.
x: abscissa of the rotation center. Default value: current position.
y: ordinate of the rotation center. Default value: current position.

The rotation affects all elements which are printed after the method call (with the exception of clickable areas).

Remarks:

- Only the display is altered. The GetX() and GetY() methods are not affected, nor the automatic page break mechanism.
- Rotation is not kept from page to page. Each page begins with a null rotation.