imagepolygon <<< |
imagepsbbox | imagepscopyfont >>> |
6.14 Images 6 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes pré-définies . Exemples . gd_info . getimagesize . image_type_to_extension . image_type_to_mime_type . image2wbmp . imagealphablending . imageantialias . imagearc . imagechar . imagecharup . imagecolorallocate . imagecolorallocatealpha . imagecolorat . imagecolorclosest . imagecolorclosestalpha . imagecolorclosesthwb . imagecolordeallocate . imagecolorexact . imagecolorexactalpha . imagecolormatch . imagecolorresolve . imagecolorresolvealpha . imagecolorset . imagecolorsforindex . imagecolorstotal . imagecolortransparent . imageconvolution . imagecopy . imagecopymerge . imagecopymergegray . imagecopyresampled . imagecopyresized . imagecreate . imagecreatefromgd . imagecreatefromgd2 . imagecreatefromgd2part . imagecreatefromgif . imagecreatefromjpeg . imagecreatefrompng . imagecreatefromstring . imagecreatefromwbmp . imagecreatefromxbm . imagecreatefromxpm . imagecreatetruecolor . imagedashedline . imagedestroy . imageellipse . imagefill . imagefilledarc . imagefilledellipse . imagefilledpolygon . imagefilledrectangle . imagefilltoborder . imagefilter . imagefontheight . imagefontwidth . imageftbbox . imagefttext . imagegammacorrect . imagegd . imagegd2 . imagegif . imageinterlace . imageistruecolor . imagejpeg . imagelayereffect . imageline . imageloadfont . imagepalettecopy . imagepng . imagepolygon ->imagepsbbox . imagepscopyfont . imagepsencodefont . imagepsextendfont . imagepsfreefont . imagepsloadfont . imagepsslantfont . imagepstext . imagerectangle . imagerotate . imagesavealpha . imagesetbrush . imagesetpixel . imagesetstyle . imagesetthickness . imagesettile . imagestring . imagestringup . imagesx . imagesy . imagetruecolortopalette . imagettfbbox . imagettftext . imagetypes . imagewbmp . imagexbm . iptcembed . iptcparse . jpeg2wbmp . png2wbmp |
6.14.79 imagepsbbox() Retourne le rectangle entourant un texte et dessiné avec une police PostScript Type1[ Exemples avec imagepsbbox ] PHP 3 >= 3.0.9, PHP 4, PHP 5 array imagepsbbox ( string text , int font , int size , int space , int tightness , float angle )size est exprimé en pixels. space permet de changer la valeur par défaut du caractère espace. Cette valeur est ajoutée lors des dessins et, donc, peut être négative. tightness permet de contrôler la quantité d'espace entre les caractères. Cette quantité est ajoutée lors des dessins, et peut donc être négative. angle est en degrés. Les paramètres space et tightness sont exprimés en unité d'espacement de caractères, avec 1 unité vaut 1/1000 d'un em carré (un em : unité de mesure représentée par un carré dont la dimension horizontale est la même que le corps du caractère). Les paramètres space , tightness et angle sont optionnels. Le rectangle entourant est calculé en utilisant les informations disponibles sur les tailles de caractères, et, malheureusement, il a tendance à être légèrement différent du résultat réel final. Si l'angle est de 0 degré, vous pouvez-vous attendre à avoir besoin d'un rectangle d'au moins un pixel plus grand dans toutes les directions.
imagepsbbox retourne un tableau contenant les éléments suivants :
Voir aussi imagepstext . |
<< | imagepsbbox | >> |
imagepolygon | Images | imagepscopyfont |