cvs: phpdoc /ja chapters.ent /ja/features images.xml /ja/functions image.xml

From: Date: Tue, 17 Oct 2000 15:02:35 +0000
Subject: cvs: phpdoc /ja chapters.ent /ja/features images.xml /ja/functions image.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332509@lists.php.net to get a copy of this message
hirokawa Tue Oct 17 08:02:35 2000 EDT Modified files: /phpdoc/ja chapters.ent /phpdoc/ja/features images.xml /phpdoc/ja/functions image.xml Log: added ovrimos.xml and update translation. Index: phpdoc/ja/chapters.ent diff -u phpdoc/ja/chapters.ent:1.18 phpdoc/ja/chapters.ent:1.19 --- phpdoc/ja/chapters.ent:1.18 Sun Oct 1 15:21:24 2000 +++ phpdoc/ja/chapters.ent Tue Oct 17 08:02:25 2000 @@ -75,6 +75,7 @@ <!ENTITY reference.nis SYSTEM "functions/nis.xml"> <!ENTITY reference.oci8 SYSTEM "functions/oci8.xml"> <!ENTITY reference.oracle SYSTEM "functions/oracle.xml"> +<!ENTITY reference.ovrimos SYSTEM "functions/ovrimos.xml"> <!ENTITY reference.outcontrol SYSTEM "functions/outcontrol.xml"> <!ENTITY reference.pcre SYSTEM "functions/pcre.xml"> <!ENTITY reference.pdf SYSTEM "functions/pdf.xml"> Index: phpdoc/ja/features/images.xml diff -u phpdoc/ja/features/images.xml:1.2 phpdoc/ja/features/images.xml:1.3 --- phpdoc/ja/features/images.xml:1.2 Sun Aug 13 08:09:17 2000 +++ phpdoc/ja/features/images.xml Tue Oct 17 08:02:25 2000 @@ -13,16 +13,16 @@ <para> <example> - <title>PHPによるGIFの作成</title> + <title>PHPによるPNGの作成</title> <programlisting role="php"> &lt;?php - Header("Content-type: image/gif"); + Header("Content-type: image/png"); $string=implode($argv," "); - $im = imagecreatefromgif("images/button1.gif"); + $im = imageCreateFromPng("images/button1.png"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); - ImageGif($im); + ImagePng($im); ImageDestroy($im); ?> </programlisting> @@ -31,7 +31,7 @@ この例は、次のようなタグのあるページからコールされます。 &lt;img src=&quot;button.php?text&quot;&gt; 上の button.php3 スクリプトは文字列 &quot;text&quot; を引数とし、 - その文字列をここではベースイメージ &quot;images/button1.gif&quot; の上に + その文字列をここではベースイメージ &quot;images/button1.png&quot; の上に 重ね描きし、結果のイメージを出力します。 この手法は非常に便利で、ボタンのテキストを変更する度に 新しいイメージボタンを描く必要がなくなります。 Index: phpdoc/ja/functions/image.xml diff -u phpdoc/ja/functions/image.xml:1.14 phpdoc/ja/functions/image.xml:1.15 --- phpdoc/ja/functions/image.xml:1.14 Fri Sep 29 19:01:27 2000 +++ phpdoc/ja/functions/image.xml Tue Oct 17 08:02:35 2000 @@ -4,10 +4,12 @@ <partintro> <simpara> - PHPのイメージ関数により<acronym>JPEG</acronym>、<acronym>GIF</acronym>、 - <acronym>PNG</acronym>、<acronym>SWF</acronym>画像の大きさを知ることができます。 - また、<acronym>GD</acronym>ライブラリ( <ulink url="&url.gd;">&url.gd; - </ulink>で取得可能)があれば、画像の作成と操作を行なうこともできます。 + PHPのイメージ関数により<acronym>JPEG</acronym>、 + <acronym>GIF</acronym>、<acronym>PNG</acronym>、 + <acronym>SWF</acronym>画像の大きさを知ることができます。また、 + <acronym>GD</acronym>ライブラリ( <ulink + url="&url.gd;">&url.gd;</ulink>で取得可能)があれば、画像の作成と操 + 作を行なうこともできます。 </simpara> <simpara> 操作できるイメージのフォーマットは、インストールされているgdと @@ -1315,7 +1317,7 @@ 角度が0度の場合、全ての方向に1ピクセル分多く必要であると予想することができます。 </para> <para> - ã“ã®é–¢æ¯æ¬¡ã®è¦ç´ ã‚’有する配列を返します。 + この関毦̡の要素を有する配列を返します。 <informaltable> <tgroup cols="2"> <tbody>

« previous php.doc (#969332509) next »