(PHP 4, PHP 5, PHP 7)
Give the bounding box of a text using TrueType fonts
array imagettfbbox ( float $size, float $angle, string $fontfile, string $text )
This function calculates and returns the bounding box in pixels for a TrueType text.
Parameters:
size
The font size.
Note: In GD 1, this is measured in pixels. In GD 2, this is measured in points.