|
imagepsbbox(PHP 4, PHP 5) imagepsbbox — Give the bounding box of a text rectangle using PostScript Type1 fonts Описание
array imagepsbbox
( string $text
, resource $font
, int $size
)
array imagepsbbox
( string $text
, resource $font
, int $size
, int $space
, int $tightness
, float $angle
)
Gives the bounding box of a text rectangle using PostScript Type1 fonts. The bounding box is calculated using information available from character metrics, and unfortunately tends to differ slightly from the results achieved by actually rasterizing the text. If the angle is 0 degrees, you can expect the text to need 1 pixel more to every direction. Список параметров
Возвращаемые значенияReturns an array containing the following elements:
ПримерыПример #1 imagepsbbox() usage
<?php Примечания
|
|||||||||