★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.imagepsbbox.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to グラフィックス
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
グラフィックス
* GetImageSize
* ImageArc
* ImageChar
* ImageCharUp
* ImageColorAllocate
* ImageColorDeAllocate
* ImageColorAt
* ImageColorClosest
* ImageColorExact
* ImageColorResolve
* ImageGammaCorrect
* ImageColorSet
* ImageColorsForIndex
* ImageColorsTotal
* ImageColorTransparent
* ImageCopy
* ImageCopyResized
* ImageCreate
* ImageCreateFromGif
* ImageCreateFromJPEG
* ImageCreateFromPNG
* ImageDashedLine
* ImageDestroy
* ImageFill
* ImageFilledPolygon
* ImageFilledRectangle
* ImageFillToBorder
* ImageFontHeight
* ImageFontWidth
* ImageGif
* ImagePng
* ImageJPEG
* ImageInterlace
* ImageLine
* ImageLoadFont
* ImagePolygon
* ImagePSBBox
* ImagePSEncodeFont
* ImagePSFreeFont
* ImagePSLoadFont
* ImagePsExtendFont
* ImagePsSlantFont
* ImagePSText
* ImageRectangle
* ImageSetPixel
* ImageString
* ImageStringUp
* ImageSX
* ImageSY
* ImageTTFBBox
* ImageTTFText
* ImageTypes
* read_exif_data
Manual: ImagePSBBox
View the source code for this pageSearch the site



Previous page
 ImagePolygon
 Updated
Sat, 12 Aug 2000
ImagePSEncodeFont 
Next page


ImagePSBBox

(unknown)

ImagePSBBox --  PostScript Type1 フォントを用いてテキスト矩形のバウンディングボックス を指定する

説明

array imagepsbbox (string text, int font, int size [, int space [, int tightness [, float angle]]])

size はピクセル単位で表されます。

space によりフォントが占める空間のデフォルト値を変更することが 可能です。 この値が元の値に付加されます。また、負の値とすることも可能です。

tightness により文字間の空白の量を制御できます。 この量は元の文字幅に追加され、負の値とすることも可能です。

angle は度で表されます。

パラメータ space および tightness は文字間隔の単位、つまり、1単位が文字矩形の 1/1000 で表されます。

パラメータ space, tightness, angle はオプションです。

バウンディングボックスは文字メトリックスから得られる情報を用いて計算されますが、 残念なことに実際に描画される文字列の描画結果とはわずかに異なる傾向があります。 角度が0度の場合、全ての方向に1ピクセル分多く必要であると予想することができます。

この関�は次の要素を有する配列を返します。

0左下の x 座標
1左下の y 座標
2右上の x 座標
3右上の y 座標

imagepstext()も参照下さい。


 About Notes


Previous page
 ImagePolygon
 Updated
Sat, 12 Aug 2000
ImagePSEncodeFont 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.