Circles and ellipses
Informations
Author: Olivier
License: Freeware
Description
This script allows to draw circles and ellipses. It requires FPDF 1.51.
function Circle(float x, float y, float r [, string style])
x: abscissa of center.
y: ordinate of center.
r: radius.
style: style of rendering, like for Rect (D, F or FD). Default
value: D.
function Ellipse(float x, float y, float rx, float ry [, string style])
x: abscissa of center.
y: ordinate of center.
rx: horizontal radius.
ry: vertical radius.
style: style of rendering.
The example prints a yellow disc inside an ellipse.