Rounded rectangle

Informations

Author: Maxime Delorme
License: FPDF

Description

Allows to draw rounded rectangles. Parameters are:

x, y: top left corner of the rectangle.
w, h: width and height.
r: radius of the rounded corners.
style: same as Rect(): F, D (default value), FD or DF.

Remark: there's another version of this script that allows to choose what corners should be rounded.