cvs: phpdoc /ja/appendices resources.xml /ja/functions array.xml datetime.xml dbx.xml image.xml ming.xml strings.xml
| From: | Rui Hirokawa | Date: | Thu, 19 Apr 2001 14:08:54 +0000 |
| Subject: | cvs: phpdoc /ja/appendices resources.xml /ja/functions array.xml datetime.xml dbx.xml image.xml ming.xml strings.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335042@lists.php.net to get a copy of this message | ||
hirokawa Thu Apr 19 07:08:54 2001 EDT
Modified files:
/phpdoc/ja/appendices resources.xml
/phpdoc/ja/functions array.xml datetime.xml dbx.xml image.xml
ming.xml strings.xml
Log:
update translation.
Index: phpdoc/ja/appendices/resources.xml diff -u phpdoc/ja/appendices/resources.xml:1.1 phpdoc/ja/appendices/resources.xml:1.2 --- phpdoc/ja/appendices/resources.xml:1.1 Wed Mar 28 05:45:34 2001 +++ phpdoc/ja/appendices/resources.xml Thu Apr 19 07:08:53 2001 @@ -286,7 +286,8 @@ <function>imagecreatefromjpeg</function>, <function>imagecreatefrompng</function>, <function>imagecreatefromwbmp</function>, - <function>imagecreatefromstring</function> + <function>imagecreatefromstring</function>, + <function>imagecreatetruecolor</function> </entry> <entry> <function>imagearc</function>, @@ -324,7 +325,20 @@ <function>imagestringup</function>, <function>imagesx</function>, <function>imagesy</function>, - <function>imagettftext</function> + <function>imagettftext</function>, + <function>imagefilledarc</function>, + <function>imageellipse</function>, + <function>imagefilledellipse</function>, + <function>imagecolorclosestalpha</function>, + <function>imagecolorexactalpha</function>, + <function>imagecolorresolvealpha</function>, + <function>imagecopymerge</function>, + <function>imagecopymergegray</function>, + <function>imagecopyresampled</function>, + <function>imagetruecolortopalette</function>, + <function>imagesetbrush</function>, + <function>imagesettile</function>, + <function>imagesetthickness</function> </entry> <entry>imagedestroy</entry> <entry>GD Image</entry> Index: phpdoc/ja/functions/array.xml diff -u phpdoc/ja/functions/array.xml:1.24 phpdoc/ja/functions/array.xml:1.25 --- phpdoc/ja/functions/array.xml:1.24 Fri Apr 13 07:03:33 2001 +++ phpdoc/ja/functions/array.xml Thu Apr 19 07:08:53 2001 @@ -314,16 +314,36 @@ $array = array ("blue", "red", "green", "blue", "blue"); array_keys ($array, "blue"); // é å (0, 3, 4) ãè¿ãã¾ã + +$array = array ("color" => array("blue", "red", "green"), "size" => array("small", "medium", "large")); +array_keys ($array); // é å("color", "size") ãè¿ãã¾ã </programlisting> </example> </para> + <note> + <para> + ãã®é¢æ°ã¯ãPHP 4ã§è¿½å ããã¾ããã以ä¸ã¯ãã¾ã PHP 3ã使ç¨ãã¦ã + ãå ´åã®å®è£ ã§ãã + <example> + <title> + PHP 3ã¦ã¼ã¶ç¨ã®<function>array_keys</function>ã®å®è£ + </title> + <programlisting role="php"> +function array_keys ($arr, $term="") { + $t = array(); + while (list($k,$v) = each($arr)) { + if ($term && $v != $term) + continue; + $t[] = $k; + } + return $t; +} + </programlisting> + </example> + </para> + </note> <para> <function>array_values</function>ãåç §ä¸ããã - <note> - <para> - ãã®é¢æ°ã¯ãPHP 4.0ã§è¿½å ããã¾ããã - </para> - </note> </para> </refsect1> </refentry> Index: phpdoc/ja/functions/datetime.xml diff -u phpdoc/ja/functions/datetime.xml:1.23 phpdoc/ja/functions/datetime.xml:1.24 --- phpdoc/ja/functions/datetime.xml:1.23 Sun Apr 8 16:07:41 2001 +++ phpdoc/ja/functions/datetime.xml Thu Apr 19 07:08:53 2001 @@ -348,9 +348,9 @@ <title><function>getdate</function> ã®ä¾</title> <programlisting> $today = getdate(); -$month = $today[month]; -$mday = $today[mday]; -$year = $today[year]; +$month = $today['month']; +$mday = $today['mday']; +$year = $today['year']; echo "$month $mday, $year"; </programlisting> </example> Index: phpdoc/ja/functions/dbx.xml diff -u phpdoc/ja/functions/dbx.xml:1.1 phpdoc/ja/functions/dbx.xml:1.2 --- phpdoc/ja/functions/dbx.xml:1.1 Sat Apr 14 03:39:45 2001 +++ phpdoc/ja/functions/dbx.xml Thu Apr 19 07:08:53 2001 @@ -386,7 +386,7 @@ <programlisting role="php"> <?php function user_re_order ($a, $b) { - $rv = dbx_cmp_asc ($a, $b, "parentid"); + $rv = dbx_cmp_desc ($a, $b, "parentid"); if (!$rv) $rv = dbx_cmp_asc ($a, $b, "id"); return $rv; } @@ -395,8 +395,8 @@ or die ("æ¥ç¶ã§ãã¾ãã"); $result = dbx_query ($link, "SELECT id, parentid, description FROM tbl ORDER BY id"); echo "çµæã¯ãidã§ã½ã¼ãããã¦ãã¾ã<br>"; -dbx_query ($result, "user_re_order"); -echo "çµæã¯parentidã§ã½ã¼ããããç¶ãã¦ãidã§ã½ã¼ãããã¾ã<br>"; +dbx_sort ($result, "user_re_order"); +echo "çµæã¯parentidã§(éé ã«)ã½ã¼ããããç¶ãã¦ãidã§ã½ã¼ãããã¾ã<br>"; dbx_close ($link); ?> </programlisting> @@ -423,18 +423,27 @@ <paramdef>array <parameter>row_a</parameter></paramdef> <paramdef>array <parameter>row_b</parameter></paramdef> <paramdef>string <parameter>columnname_or_index</parameter></paramdef> + <paramdef>int + <parameter><optional>comparison_type</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> row_a[$columnname_or_index] ã row_b[$columnname_or_index] ã«çã ãå ´åã« 0ããã大ããå ´åã« 1ãããå°ããå ´åã« -1 ãè¿ãã¾ãã </para> + <para> + ãã©ã¡ã¼ã¿ <parameter>comparison_type</parameter> ã¯ã + (DBX_CMP_NUMBERã«è¨å®ãããã¨ã«ããã)å¼·å¶çã«æ°å¤ã¨ãã¦æ¯è¼ãè¡ + ãããã«ä½¿ç¨ããã¾ããããã©ã«ãã®æ¯è¼ã¯ãããã¹ãã¨ãã¦è¡ããã¾ + ãã(ä¾ãã°ã"20"ã¯ã"100"ããã大ãããªãã¾ãã) + </para> <example> <title><function>dbx_cmp_asc</function>ã®ä¾</title> <programlisting role="php"> <?php function user_re_order ($a, $b) { - $rv = dbx_cmp_asc ($a, $b, "parentid"); + $rv = dbx_cmp_desc ($a, $b, "parentid"); if (!$rv) { $rv = dbx_cmp_asc ($a, $b, "id"); return $rv; @@ -445,8 +454,8 @@ or die ("æ¥ç¶ã§ãã¾ãã"); $result = dbx_query ($link, "SELECT id, parentid, description FROM tbl ORDER BY id"); echo "çµæã¯idã§ã½ã¼ãããã¾ãã<br>"; -dbx_query ($result, "user_re_order"); -echo "çµæã¯parentidããã¦idã§ã½ã¼ãããã¾ãã<br>"; +dbx_sort ($result, "user_re_order"); +echo "çµæã¯parentidã§(éé ã«)ã½ã¼ããããå¾ãidã§ã½ã¼ãããã¾ãã<br>"; dbx_close ($link); ?> </programlisting> Index: phpdoc/ja/functions/image.xml diff -u phpdoc/ja/functions/image.xml:1.22 phpdoc/ja/functions/image.xml:1.23 --- phpdoc/ja/functions/image.xml:1.22 Sat Apr 14 03:39:45 2001 +++ phpdoc/ja/functions/image.xml Thu Apr 19 07:08:53 2001 @@ -184,6 +184,125 @@ </refsect1> </refentry> + <refentry id="function.imagefilledarc"> + <refnamediv> + <refname>ImageFilledArc</refname> + <refpurpose>é¨åæ¥åãæç»ããå¡ãã¤ã¶ã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagefilledarc</function></funcdef> + <paramdef>int <parameter>im</parameter></paramdef> + <paramdef>int <parameter>cx</parameter></paramdef> + <paramdef>int <parameter>cy</parameter></paramdef> + <paramdef>int <parameter>w</parameter></paramdef> + <paramdef>int <parameter>h</parameter></paramdef> + <paramdef>int <parameter>s</parameter></paramdef> + <paramdef>int <parameter>e</parameter></paramdef> + <paramdef>int <parameter>col</parameter></paramdef> + <paramdef>int <parameter>style</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageFilledArc</function> ã¯ã + <parameter>im</parameter>ã§è¡¨ããã¤ã¡ã¼ã¸ã« + <parameter>cx</parameter>,<parameter>cy</parameter> (å·¦ä¸ã0,0)ã + ä¸å¿ã¨ããé¨åæ¥åãæç»ãã¾ãã<parameter>w</parameter> 㨠+ <parameter>h</parameter> ã¯ããããæ¥åã®å¹ ã¨é«ããæå®ãã¾ãã + ã¾ããéå§ç¹ã¨çµç¹ã¯ã弿°<parameter>s</parameter>ããã³ + <parameter>e</parameter>ã§åº¦åä½ã§æå®ããã¾ãã + <parameter>style</parameter> ã¯æ¬¡ã®é¸æè¢ã®ãããåã§ãã + <orderedlist> + <listitem><simpara>IMG_ARC_PIE</simpara></listitem> + <listitem><simpara>IMG_ARC_CHORD</simpara></listitem> + <listitem><simpara>IMG_ARC_NOFILL</simpara></listitem> + <listitem><simpara>IMG_ARC_EDGED</simpara></listitem> + </orderedlist> + IMG_ARC_PIE ããã³ IMG_ARC_CHORD ã¯ç¸åãã¾ããIMG_ARC_CHORD ã¯ã + éå§è§ã¨çµäºè§ãç´ç·ã§çµã¶ã ãã§ãããIMG_ARC_PIEã¯ãè§ã丸ãã¾ãã + IMG_ARC_NOFILL ã¯ãå¼§ã¨å¼¦ãç¸ã©ããå¡ãã¤ã¶ãããªããã¨ãæå®ãã¾ + ããIMG_ARC_EDGEDã¯ãIMG_ARC_NOFILLã¨å ±ã«æå®ãããã¨ã«ããã + éå§è§ã¨çµç«¯è§ã¯ä¸å¿ã¨çµã°ãã¾ããããã¯ã(å¡ãã¤ã¶ãããã)ãã + ã¤ã®åã端ããç¸ã©ãè¯ãæ¹æ³ã§ãã + </para> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã + </para> + </note> + </refsect1> + </refentry> + + <refentry id="function.imageellipse"> + <refnamediv> + <refname>ImageEllipse</refname> + <refpurpose>æ¥åãæç»ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imageellipse</function></funcdef> + <paramdef>resource <parameter>im</parameter></paramdef> + <paramdef>int <parameter>cx</parameter></paramdef> + <paramdef>int <parameter>cy</parameter></paramdef> + <paramdef>int <parameter>w</parameter></paramdef> + <paramdef>int <parameter>h</parameter></paramdef> + <paramdef>int <parameter>col</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageEllipse</function> ã¯ã<parameter>im</parameter>ã§ + 表ããã¤ã¡ã¼ã¸ã« + <parameter>cx</parameter>,<parameter>cy</parameter> (å·¦ä¸ã0,0)ã + ä¸å¿ã¨ããæ¥åãæç»ãã¾ãã<parameter>w</parameter> 㨠+ <parameter>h</parameter> ã¯ãããããæ¥åã®å¹ ã¨é«ããæå®ãã¾ãã + æ¥åã®è²ã<parameter>col</parameter>ã§æå®ãã¾ãã + </para> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã + </para> + </note> + </refsect1> + </refentry> + + <refentry id="function.imagefilledellipse"> + <refnamediv> + <refname>ImageFilledEllipse</refname> + <refpurpose>å¡ãã¤ã¶ãããæ¥åãæç»ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagefilledellipse</function></funcdef> + <paramdef>resource <parameter>im</parameter></paramdef> + <paramdef>int <parameter>cx</parameter></paramdef> + <paramdef>int <parameter>cy</parameter></paramdef> + <paramdef>int <parameter>w</parameter></paramdef> + <paramdef>int <parameter>h</parameter></paramdef> + <paramdef>int <parameter>col</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageFilledEllipse</function> ã¯ã + <parameter>im</parameter>ã§è¡¨ããã¤ã¡ã¼ã¸ã« + <parameter>cx</parameter>, <parameter>cy</parameter> (å·¦ä¸ã0, 0) + ãä¸å¿ã¨ããæ¥åãæç»ãã¾ãã<parameter>w</parameter> ããã³ + <parameter>h</parameter> ã§æ¥åã®å¹ ã¨é«ããããããæå®ãã¾ããæ¥ + åã¯ã<parameter>col</parameter>ã§å¡ãã¤ã¶ããã¾ãã + </para> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã + </para> + </note> + </refsect1> + </refentry> + <refentry id="function.imagechar"> <refnamediv> <refname>ImageChar</refname> @@ -376,7 +495,7 @@ <refnamediv> <refname>ImageColorClosestAlpha</refname> <refpurpose> - Get the index of the closest color to the specified color + alpha + æå®ããè²+ã¢ã«ãã¡å¤ã«æãè¿ãè²ã®IDãåå¾ </refpurpose> </refnamediv> <refsect1> @@ -400,7 +519,7 @@ </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -437,7 +556,7 @@ <refentry id="function.imagecolorexactalpha"> <refnamediv> <refname>ImageColorExactAlpha</refname> - <refpurpose>Get the index of the specified color + alpha</refpurpose> + <refpurpose>æå®ããè²+ã¢ã«ãã¡å¤ã®IDãåå¾</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -452,20 +571,17 @@ </funcprototype> </funcsynopsis> <para> - Returns the index of the specified color+alpha in the palette of the - image. + ã¤ã¡ã¼ã¸ã®ãã¬ããã§æå®ããè²+ã¢ã«ãã¡å¤ã®IDãè¿ãã¾ãã </para> <para> - If the color does not exist in the image's palette, -1 is - returned. + æå®ããè²ãã¤ã¡ã¼ã¸ã®ãã¬ããã«åå¨ããªãå ´åã-1ãè¿ããã¾ãã </para> <para> - See also <function>imagecolorclosestalpha</function>. + <function>imagecolorclosestalpha</function>ãåç §ä¸ããã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -499,134 +615,11 @@ </refsect1> </refentry> - <refentry id="function.imageellipse"> - <refnamediv> - <refname>ImageEllipse</refname> - <refpurpose>Draw an ellipse</refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>imageellipse</function></funcdef> - <paramdef>resource <parameter>im</parameter></paramdef> - <paramdef>int <parameter>cx</parameter></paramdef> - <paramdef>int <parameter>cy</parameter></paramdef> - <paramdef>int <parameter>w</parameter></paramdef> - <paramdef>int <parameter>h</parameter></paramdef> - <paramdef>int <parameter>col</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>ImageEllipse</function> draws an ellipse centered at - <parameter>cx</parameter>, <parameter>cy</parameter> (top left is - 0, 0) in the image represented by <parameter>im</parameter>. - <parameter>W</parameter> and <parameter>h</parameter> specifies the - ellipse's width and height respectively. The color of the ellipse is - specified by <parameter>color</parameter>. - </para> - <note> - <para> - This function was added in PHP 4.0.6 and requires GD 2.0.2 or - later - </para> - </note> - </refsect1> - </refentry> - - <refentry id="function.imagefilledarc"> - <refnamediv> - <refname>ImageFilledArc</refname> - <refpurpose>Draw a partial ellipse and fill it</refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>imagefilledarc</function></funcdef> - <paramdef>int <parameter>im</parameter></paramdef> - <paramdef>int <parameter>cx</parameter></paramdef> - <paramdef>int <parameter>cy</parameter></paramdef> - <paramdef>int <parameter>w</parameter></paramdef> - <paramdef>int <parameter>h</parameter></paramdef> - <paramdef>int <parameter>s</parameter></paramdef> - <paramdef>int <parameter>e</parameter></paramdef> - <paramdef>int <parameter>col</parameter></paramdef> - <paramdef>int <parameter>style</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>ImageFilledArc</function> draws a partial ellipse centered at - <parameter>cx</parameter>, <parameter>cy</parameter> (top left is - 0, 0) in the image represented by im. <parameter>W</parameter> - and <parameter>h</parameter> specifies the ellipse's width and - height respectively while the start and end points are specified - in degrees indicated by the <parameter>s</parameter> and - <parameter>e</parameter>. arguments. - <parameter>style</parameter> is a bitwise OR of the following possibilities: - <orderedlist> - <listitem><simpara>IMG_ARC_PIE</simpara></listitem> - <listitem><simpara>IMG_ARC_CHORD</simpara></listitem> - <listitem><simpara>IMG_ARC_NOFILL</simpara></listitem> - <listitem><simpara>IMG_ARC_EDGED</simpara></listitem> - </orderedlist> - IMG_ARC_PIE and IMG_ARC_CHORD are mutually exclusive; IMG_ARC_CHORD just - connects the starting and ending angles with a straight line, while - IMG_ARC_PIE produces a rounded edge. IMG_ARC_NOFILL indicates that the arc - or chord should be outlined, not filled. IMG_ARC_EDGED, used together with - IMG_ARC_NOFILL, indicates that the beginning and ending angles should be - connected to the center - this is a good way to outline (rather than fill) - a 'pie slice'. - </para> - <note> - <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 - </para> - </note> - </refsect1> - </refentry> - - <refentry id="function.imagefilledellipse"> - <refnamediv> - <refname>ImageFilledEllipse</refname> - <refpurpose>Draw a filled ellipse</refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>imagefilledellipse</function></funcdef> - <paramdef>resource <parameter>im</parameter></paramdef> - <paramdef>int <parameter>cx</parameter></paramdef> - <paramdef>int <parameter>cy</parameter></paramdef> - <paramdef>int <parameter>w</parameter></paramdef> - <paramdef>int <parameter>h</parameter></paramdef> - <paramdef>int <parameter>col</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>ImageFilledEllipse</function> draws an ellipse centered at - <parameter>cx</parameter>, <parameter>cy</parameter> (top left is - 0, 0) in the image represented by <parameter>im</parameter>. - <parameter>W</parameter> and <parameter>h</parameter> specifies the - ellipse's width and height respectively. The ellipse is filled using - <parameter>color</parameter> - </para> - <note> - <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later - </para> - </note> - </refsect1> - </refentry> - <refentry id="function.imagecolorresolvealpha"> <refnamediv> <refname>ImageColorResolveAlpha</refname> <refpurpose> - Get the index of the specified color + alpha or its closest possible - alternative + æå®ããè²+ã¢ã«ãã¡å¤ã¾ãã¯æãè¿ãè²ã®IDãåå¾ãã </refpurpose> </refnamediv> <refsect1> @@ -642,16 +635,15 @@ </funcprototype> </funcsynopsis> <para> - This function is guaranteed to return a color index for a - requested color, either the exact color or the closest possible - alternative. + ãã®é¢æ°ã¯ãæå®ããè²ã®è²IDãå¿ ãè¿ãã¾ããããã§ãªãå ´åãæ£ç¢º + ãªè²ã¾ãã¯æãè¿ãå¥ã®è²ã®ã©ã¡ãããè¿ãã¾ãã </para> <para> - See also <function>imagecolorclosestalpha</function>. + <function>imagecolorclosestalpha</function>ãåç §ä¸ããã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -668,26 +660,18 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>imagegammacorrect</function> - </funcdef> - <paramdef>int - <parameter>im</parameter> - </paramdef> - <paramdef>double - <parameter>inputgamma</parameter> - </paramdef> - <paramdef>double - <parameter>outputgamma</parameter> - </paramdef> + <funcdef>int <function>imagegammacorrect</function></funcdef> + <paramdef>int <parameter>im</parameter></paramdef> + <paramdef>double <parameter>inputgamma</parameter></paramdef> + <paramdef>double <parameter>outputgamma</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - 颿°<function>ImageGammaCorrect</function>ã¯ã - gdã¤ã¡ã¼ã¸ã¹ããªã¼ã (<parameter>im</parameter>)ã«ã¬ã³ãè£æ£ãé©ç¨ãã¾ãã - ãã®é¢æ°ã«ã¯ã - å ¥åã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>inputgamma</parameter>ããã³ - åºåã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>outputgamma</parameter>ãæå®ãã¾ãã + 颿°<function>ImageGammaCorrect</function>ã¯ãgdã¤ã¡ã¼ã¸ã¹ããªã¼ + ã (<parameter>im</parameter>)ã«ã¬ã³ãè£æ£ãé©ç¨ãã¾ãããã®é¢æ°ã« + ã¯ãå ¥åã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>inputgamma</parameter>ãã + ã³åºåã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>outputgamma</parameter>ãæ + å®ãã¾ãã </para> </refsect1> </refentry> @@ -761,11 +745,11 @@ </funcprototype> </funcsynopsis> <para> - æå®ããç»åãã¬ããã®è²æ£?è¿ãã¾ãã + æå®ããç»åãã¬ããã®è²æ°ãè¿ãã¾ãã </para> <para> <function>imagecolorat</function>ããã³ - <function>imagecolorsforindex</function>ãåèã«ãã¦ãã ããã + <function>imagecolorsforindex</function>ãåèã«ãã¦ãã ããã </para> </refsect1> </refentry> @@ -789,14 +773,15 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageColorTransparent</function>ã¯ãç»å<parameter>im</parameter> - ä¸ã®éæè²ã<parameter>col</parameter>ã«è¨å®ãã¾ãã - <parameter>im</parameter>ã¯<function>imagecreate</function>ã«ãã£ã¦è¿ããã - ç»åIDã§ã<parameter>col</parameter>ã¯<function>imagecolorallocate</function> - ã«ãã£ã¦è¿ãããè²IDã§ãã + <function>ImageColorTransparent</function>ã¯ãã¤ã¡ã¼ã¸ + <parameter>im</parameter>ä¸ã®éæè²ã<parameter>col</parameter>ã« + è¨å®ãã¾ãã<parameter>im</parameter>㯠+ <function>imagecreate</function>ã«ãã£ã¦è¿ãããã¤ã¡ã¼ã¸IDã§ã + <parameter>col</parameter>㯠+ <function>imagecolorallocate</function>ã«ãã£ã¦è¿ãããè²IDã§ãã </para> <para> - æ°ãã(æå®ãããªãå ´åã¯ç¾å¨ã®)éæè²ã® ID ãè¿ããã¾ãã + æ°ãã(æå®ãããªãå ´åã¯ç¾å¨ã®)éæè²ã®IDãè¿ããã¾ãã </para> </refsect1> </refentry> @@ -812,42 +797,25 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>ImageCopy</function> - </funcdef> - <paramdef>int - <parameter>dst_im</parameter> - </paramdef> - <paramdef>int - <parameter>src_im</parameter> - </paramdef> - <paramdef>int - <parameter>dst_x</parameter> - </paramdef> - <paramdef>int - <parameter>dst_y</parameter> - </paramdef> - <paramdef>int - <parameter>src_x</parameter> - </paramdef> - <paramdef>int - <parameter>src_y</parameter> - </paramdef> - <paramdef>int - <parameter>src_w</parameter> - </paramdef> - <paramdef>int - <parameter>src_h</parameter> - </paramdef> + <funcdef>int <function>ImageCopy</function></funcdef> + <paramdef>int <parameter>dst_im</parameter></paramdef> + <paramdef>int <parameter>src_im</parameter></paramdef> + <paramdef>int <parameter>dst_x</parameter></paramdef> + <paramdef>int <parameter>dst_y</parameter></paramdef> + <paramdef>int <parameter>src_x</parameter></paramdef> + <paramdef>int <parameter>src_y</parameter></paramdef> + <paramdef>int <parameter>src_w</parameter></paramdef> + <paramdef>int <parameter>src_h</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <parameter>src_im</parameter>ã®ä¸é¨ãã¤ã¾ãã - x,y座æ¨<parameter>src_x</parameter>, <parameter>src_y</parameter> - ãåºæºã¨ãã¦å¹ <parameter>src_w</parameter>ãé«ã<parameter>src_h</parameter> - ã®é åã<parameter>dst_im</parameter>ã«ã³ãã¼ãã¾ãã - æå®ãããé åã¯ãx,y座æ¨<parameter>dst_x</parameter>, - <parameter>dst_y</parameter>ã«ã³ãã¼ããã¾ãã + <parameter>src_im</parameter>ã®ä¸é¨ãã¤ã¾ããx,yåº§æ¨ + <parameter>src_x</parameter>, <parameter>src_y</parameter> + ãåºæºã¨ãã¦å¹ <parameter>src_w</parameter>ãé«ã + <parameter>src_h</parameter>ã®é åã<parameter>dst_im</parameter> + ã«ã³ãã¼ãã¾ããæå®ãããé åã¯ãx,yåº§æ¨ + <parameter>dst_x</parameter>,<parameter>dst_y</parameter>ã«ã³ãã¼ + ããã¾ãã </para> </refsect1> </refentry> @@ -856,7 +824,7 @@ <refnamediv> <refname>ImageCopyMerge</refname> <refpurpose> - Copy and merge part of an image + ã¤ã¡ã¼ã¸ã®ä¸é¨ãã³ãã¼ããã¼ã¸ãã </refpurpose> </refnamediv> <refsect1> @@ -876,17 +844,16 @@ </funcprototype> </funcsynopsis> <para> - Copy a part of <parameter>src_im</parameter> onto - <parameter>dst_im</parameter> starting at the x,y coordinates - <parameter>src_x</parameter>, <parameter>src_y </parameter> with - a width of <parameter>src_w</parameter> and a height of - <parameter>src_h</parameter>. The portion defined will be copied - onto the x,y coordinates, <parameter>dst_x</parameter> and - <parameter>dst_y</parameter>. - The two images will be merged according to <parameter>pct</parameter> - which can range from 0 to 100. When <parameter>pct</parameter> = 0, - no action is taken, when 100 this function behaves identically - to <function>ImageCopy</function>. + <parameter>src_im</parameter>ã®<parameter>src_x</parameter>, + <parameter>src_y </parameter> ã§å§ã¾ãå¹ + <parameter>src_w</parameter>ãé«ã<parameter>src_h</parameter>ã® + é åãx,y座æ¨ã§æå®ãã <parameter>dst_im</parameter>ã«ã³ãã¼ãã¾ + ããå®ç¾©ãããé¨åã¯ãx,y座æ¨ã<parameter>dst_x</parameter>ã + <parameter>dst_y</parameter>ã«ã³ãã¼ããã¾ããäºã¤ã®ã¤ã¡ã¼ã¸ã¯ã + 0ãã100ã®ç¯å²ã§æå®ãã <parameter>pct</parameter>ã«åºã¥ããã¼ã¸ + ããã¾ãã<parameter>pct</parameter> = 0 ã®æã¯ãä½ãè¡ããã¾ããã + 100ã®å ´åããã®é¢æ°ã®åä½ã¯ã<function>ImageCopy</function>ã¨åã + ã¨ãªãã¾ãã </para> </refsect1> </refentry> @@ -895,7 +862,7 @@ <refnamediv> <refname>ImageCopyMergeGray</refname> <refpurpose> - Copy and merge part of an image with gray scale + ã°ã¬ã¼ã¹ã±ã¼ã«ã§ã¤ã¡ã¼ã¸ã®ä¸é¨ãã³ãã¼ããã¼ã¸ãã </refpurpose> </refnamediv> <refsect1> @@ -915,29 +882,35 @@ </funcprototype> </funcsynopsis> <para> - This function is identical to <function>ImageCopyMerge</function> except - that when merging it preservese the hue of the source by converting - the destination pixels to gray scale before the copy operation. - </para> - <para> - Copy a part of <parameter>src_im</parameter> onto - <parameter>dst_im</parameter> starting at the x,y coordinates - <parameter>src_x</parameter>, <parameter>src_y </parameter> with - a width of <parameter>src_w</parameter> and a height of - <parameter>src_h</parameter>. The portion defined will be copied - onto the x,y coordinates, <parameter>dst_x</parameter> and - <parameter>dst_y</parameter>. - The two images will be merged according to <parameter>pct</parameter> - which can range from 0 to 100. When <parameter>pct</parameter> = 0, - no action is taken, when 100 this function behaves identically - to <function>ImageCopy</function>. - </para> - <para> - This function is identical to <function>ImageCopyMerge</function> except - that when merging it preservese the hue of the source by converting - the destination pixels to gray scale before the copy operation. + ãã®é¢æ°ã¯ <function>ImageCopyMerge</function> ã¨åãã§ããããã¼ + ã¸ãããéã«ãã³ãã¼åã«ã³ãã¼å ã®ãã¯ã»ã«ãã°ã¬ã¼ã¹ã±ã¼ã«ã«å¤æ + ãããã¨ã«ãããã³ãã¼å ã®ãã¯ã»ã«ãã³ãã¼å ã®è²ç¸ãç¶æããã¨ã + ããç°ãªãã¾ãã + </para> + <para> + <parameter>src_im</parameter> ã® X,Yåº§æ¨ + <parameter>src_x</parameter>, <parameter>src_y </parameter> ãã + å§ã¾ãå¹ <parameter>src_w</parameter>ãé«ã + <parameter>src_h</parameter> ã®é åã + <parameter>dst_im</parameter>ã«ã³ãã¼ãã¾ãã + å®ç¾©ãããé¨åã¯ãxãy座æ¨<parameter>dst_x</parameter>ã + <parameter>dst_y</parameter>ã«ã³ãã¼ããã¾ããäºã¤ã®ã¤ã¡ã¼ã¸ã¯ã + <parameter>pct</parameter> ã«åºã¥ããã¼ã¸ããã¾ãããã®å¤ã®ç¯å²ã¯ + 0ãã100ã¾ã§ã§ãã<parameter>pct</parameter> = 0ã®å ´åãä½ãå¦ç + ã¯è¡ããã¾ããã100ã®å ´åããã®é¢æ°ã¯ã + <function>ImageCopy</function>ã¨åãå¦çãè¡ãã¾ãã + </para> + <para> + ãã®é¢æ°ã¯ã<function>ImageCopyMerge</function>ã¨åãã§ããã + ãã¼ã¸ãè¡ãéãã³ãã¼å¦çãè¡ãåã«ã³ãã¼å ã®ç»ç´ ãã°ã¬ã¼ã¹ã±ã¼ + ã«ã«å¤æãããã¨ã«ãããã³ãã¼å ã®è²å½©ãç¶æããã¨ãããç°ãªãã¾ + ãã </para> - <note><para>This function was added in PHP 4.0.6</para></note> + <note> + <para> + ãã®é¢æ°ã¯ãPHP 4.0.6ã§è¿½å ããã¾ããã + </para> + </note> </refsect1> </refentry> @@ -964,14 +937,14 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCopyResized</function>ã¯æå®ããç»åã®ç©å½¢é¨åãå¥ã®ç»å - ã¸ã³ãã¼ãã¾ãã<parameter>dst_im</parameter>ã¯ã³ãã¼å ã®ç»åIDã - <parameter>src_im</parameter>ã¯ã³ãã¼å ã®ç»åIDã§ãã - ã³ãã¼å ã¨ã³ãã¼å ã®åº§æ¨ãå¹ ããã¦é«ããç°ãªãã°ãç»åã®ä¸é¨ãé©å½ã« - 伸縮ããã¾ãã座æ¨ã®åç¹ã¯å·¦ä¸ã§ãã(ä»®ã«ã - <parameter>dst_im</parameter>ã¨<parameter>src_im</parameter>ã - åä¸ã§ããã°)颿°ã¯é åã®ã³ãã¼ã«ä½¿ããã¨ãã§ãã¾ããã - é åãéãªã£ãã¨ãã®çµæã¯äºæ¸¬ã§ãã¾ããã + <function>ImageCopyResized</function>ã¯æå®ããç»åã®ç©å½¢é¨åãå¥ + ã®ç»åã¸ã³ãã¼ãã¾ãã<parameter>dst_im</parameter>ã¯ã³ãã¼å ã®ã¤ + ã¡ã¼ã¸IDã<parameter>src_im</parameter>ã¯ã³ãã¼å ã®ã¤ã¡ã¼ã¸IDã§ãã + ã³ãã¼å ã¨ã³ãã¼å ã®åº§æ¨ãå¹ ãé«ããç°ãªã£ãå ´åãç»åã®ä¸é¨ãé© + å½ã«ä¼¸ç¸®ããã¾ãã座æ¨ã®åç¹ã¯å·¦ä¸ã§ãã(ä»®ã«ã + <parameter>dst_im</parameter>ã¨<parameter>src_im</parameter>ãå + ä¸ã§ããã°)颿°ã¯é åã®ã³ãã¼ã«ä½¿ããã¨ãã§ãã¾ãããé åãéãªã£ + ãã¨ãã®çµæã¯äºæ¸¬ã§ãã¾ããã </para> <para> <function>ImageCopyResampled</function>ãåç §ä¸ããã @@ -982,7 +955,9 @@ <refentry id="function.imagecopyresampled"> <refnamediv> <refname>ImageCopyResampled</refname> - <refpurpose>Copy and resize part of an image with resampling</refpurpose> + <refpurpose> + åãµã³ããªã³ã°ãè¡ãã¤ã¡ã¼ã¸ã®ä¸é¨ãã³ãã¼ã伸縮ãã + </refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1002,27 +977,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCopyResampled</function> copies a rectangular - portion of one image to another image, smoothly interpolating pixel - values so that, in particular, reducing the size of an image still - retains a great deal of clarity. - <parameter>Dst_im</parameter> is the destination image, - <parameter>src_im</parameter> is the source image identifier. If - the source and destination coordinates and width and heights - differ, appropriate stretching or shrinking of the image fragment - will be performed. The coordinates refer to the upper left - corner. This function can be used to copy regions within the - same image (if <parameter>dst_im</parameter> is the same as - <parameter>src_im</parameter>) but if the regions overlap the - results will be unpredictable. + <function>ImageCopyResampled</function> ã¯ãã¤ã¡ã¼ã¸ã®ç©å½¢ã®é¨å + ãå¥ã®ã¤ã¡ã¼ã¸ã«ã³ãã¼ãã¾ããåæã«ãã¯ã»ã«å¤ãæ»ããã«è£éãè¡ + ãããã®ãããç¹ã«ãµã¤ãºãå°ããããå ´åã«ã¯é®®æããç¶æããã¾ãã + <parameter>dst_im</parameter> ã¯ãã³ãã¼å ã®ã¤ã¡ã¼ã¸ã§ã + <parameter>src_im</parameter> ã¯ã³ãã¼å ã®ã¤ã¡ã¼ã¸IDã§ããã³ãã¼ + å ã¨ã³ãã¼å ã®åº§æ¨ãå¹ ãé«ããç°ãªãå ´åã«ã¯ãé©å½ãªã¤ã¡ã¼ã¸ä¼¸ç¸® + ãè¡ããã¾ãã座æ¨ã¯ãå·¦ä¸ãåºæºã¨ãã¾ãããã®é¢æ°ã¯ãåãã¤ã¡ã¼ + ã¸å ã®é åã«ã³ãã¼ããå ´åã«ã使ç¨å¯è½ã§ãã + (<parameter>dst_im</parameter>ã <parameter>src_im</parameter>㨠+ åãå ´åã)ããããé åãéãªãå ´åã®çµæã¯äºæ¸¬ã§ãã¾ããã </para> <para> - See also <function>ImageCopyResized</function>. + <function>ImageCopyResized</function>ãåç §ä¸ããã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -1043,8 +1014,8 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCreate</function>ã¯ã<parameter>x_size</parameter>対 - <parameter>y_size</parameter>ã®ç©ºã®ç»åã表ããç»åIDãè¿ãã¾ãã + <function>ImageCreate</function>ã¯ã<parameter>x_size</parameter> + 対<parameter>y_size</parameter>ã®ç©ºã®ç»åã表ããç»åIDãè¿ãã¾ãã </para> <example> <title> @@ -1068,7 +1039,7 @@ <refentry id="function.imagecreatetruecolor"> <refnamediv> <refname>ImageCreateTrueColor</refname> - <refpurpose>Create a new true color image</refpurpose> + <refpurpose>TrueColorã¤ã¡ã¼ã¸ãæ°è¦ã«ä½æãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1080,19 +1051,22 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCreateTrueColor</function> returns an image identifier - representing a black image of size <parameter>x_size</parameter> - by <parameter>y_size</parameter>. + <function>ImageCreateTrueColor</function> ã¯ã + <parameter>x_size</parameter>Ã<parameter>y_size</parameter> ã®å¤§ + ããã®é»ã®ã¤ã¡ã¼ã¸ã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã </para> - <note><para>This function was added in PHP 4.0.6</para></note> - <note><para>This function requires GD 2.0.1 or later</para></note> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã + </para> + </note> </refsect1> </refentry> <refentry id="function.imagetruecolortopalette"> <refnamediv> <refname>ImageTrueColorToPalette</refname> - <refpurpose>Convert a true color image to a palette image</refpurpose> + <refpurpose>TrueColorã¤ã¡ã¼ã¸ããã¬ããã¤ã¡ã¼ã¸ã«å¤æãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1100,20 +1074,34 @@ <funcprototype> <funcdef>void <function>imagetruecolortopalette</function></funcdef> <paramdef>resource <parameter>im</parameter></paramdef> + <paramdef>bool <parameter>dither</parameter></paramdef> + <paramdef>int <parameter>ncolors</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <function>ImageTrueColorToPalette</function> converts a truecolor image - to a palette image. The code for this function was originally drawn from - the Independent JPEG Group library code, which is excellent. The code - has been modified to preserve as much alpha channel information as - possible in the resulting palette, in addition to preserving colors as - well as possible. This does not work as well as might be hoped. It is - usually best to simply produce a truecolor output image instead, which - guarantees the highest output quality. + <function>ImageTrueColorToPalette</function> ã¯ãTrueColorã¤ã¡ã¼ + ã¸ããã¬ããã¤ã¡ã¼ã¸ã«å¤æãã¾ãããã®é¢æ°ã®ã³ã¼ãã¯ãå ã + Independent JPEG Groupã©ã¤ãã©ãªç¨ã«æ¸ããããã®ã§ãç´ æ´ãããã + ã®ã§ãããã®ã³ã¼ãã¯ãè²ãã§ããéãç¶æãããã¨ã«å ãã¦ãã¢ã«ãã¡ + ãã£ãã«ã«é¢ããæ å ±ãåºåããããã¬ããã«ããã¦ã§ããã ãç¶æã + ãããã«ä¿®æ£ããã¦ãã¾ããããã¯ãæå¾ éãã«ãã¾ãããã¾ãããé + 常ã¯ãæé«ã®åºåå質ãä¿éãããTrueColoråºåã¤ã¡ã¼ã¸ãåã«åºåã + ãã®ãæè¯ã®æ¹æ³ã§ãã + </para> + <para> + <parameter>dither</parameter> ã¯ãã¤ã¡ã¼ã¸ã«ãã£ã¶ã¼ããããã㨠+ ãæå®ãã¾ããããããtrueã®å ´åããã£ã¶ã¼ãè¡ãããåºåã¯ã¼ãã + ã¾ãããè²ã®è¿ä¼¼ã¯ããè¯ããªãã¾ãã + </para> + <para> + <parameter>ncolors</parameter> ã«ã¯ããã¬ããã«ä¿æãããæå¤§ã®è² + æ°ãè¨å®ãã¾ãã </para> - <note><para>This function was added in PHP 4.0.6</para></note> - <note><para>This function requires GD 2.0.1 or later</para></note> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã + </para> + </note> </refsect1> </refentry> @@ -1182,14 +1170,14 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCreateFromJPEG</function>ã¯å¼æ°filenameããå¾ãããç»å - ã表ãç»åIDãè¿ãã¾ãã + <function>ImageCreateFromJPEG</function>ã¯å¼æ°filenameããå¾ãã + ãç»åã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã </para> <para> <function>imagecreatefromjpeg</function>ã¯ã¨ã©ã¼æã«ç©ºã®æååã - è¿ãã¾ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããã¾ããããã®å ´åãæ®å¿µãªãã¨ã« - ãã©ã¦ã¶ä¸ã®ãªã³ã¯ã¯å£ãã¦ãã¾ãã¾ãã - ãããã°ãç°¡åã«ããããã«ä»¥ä¸ã®ä¾ã§ã¯ã¨ã©ã¼è¡¨ç¤ºç¨JPEGãåºåãã¦ãã¾ãã + è¿ãã¾ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããã¾ããããã®å ´åãæ®å¿µãªã㨠+ ã«ãã©ã¦ã¶ä¸ã®ãªã³ã¯ã¯å£ãã¦ãã¾ãã¾ãããããã°ãç°¡åã«ãããã + ã«ä»¥ä¸ã®ä¾ã§ã¯ã¨ã©ã¼è¡¨ç¤ºç¨JPEGãåºåãã¦ãã¾ãã <example> <title> 使æã®ã¨ã©ã¼ãå¦çããä¾ (vic@zymsys.comã«ãã) @@ -1374,8 +1362,8 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageDestroy</function>ã¯ç»å<parameter>im</parameter>ãä¿æãã - ã¡ã¢ãªãè§£æ¾ãã¾ãã<parameter>im</parameter>ã¯ã + <function>ImageDestroy</function>ã¯ç»å<parameter>im</parameter> + ãä¿æããã¡ã¢ãªãè§£æ¾ãã¾ãã<parameter>im</parameter>ã¯ã <function>ImageCreate</function>颿°ãè¿ãç»åIDã§ãã </para> </refsect1> @@ -1398,9 +1386,9 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFill</function>ã¯ãç»å<parameter>im</parameter>ã«ãã㦠- 座æ¨<parameter>x</parameter>, <parameter>y</parameter>(å·¦ä¸ã0,0)ãã - è²<parameter>col</parameter>ã§é åãå¡ãã¤ã¶ãã¾ãã + <function>ImageFill</function>ã¯ãç»å<parameter>im</parameter>ã« + ããã¦åº§æ¨<parameter>x</parameter>, <parameter>y</parameter>(å·¦ä¸ + ã0,0)ããè²<parameter>col</parameter>ã§é åãå¡ãã¤ã¶ãã¾ãã </para> </refsect1> </refentry> @@ -1422,10 +1410,10 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFilledPolygon</function>ã¯ç»å<parameter>im</parameter>ä¸ã« - å¡ãã¤ã¶ããå¤è§å½¢ãçæãã¾ãã - <parameter>points</parameter>ã¯PHPã®é åã§ãå¤è§å½¢ã®é ç¹ãããªãã¡ã - points[0] = x0, points[1] = y0, points[2] = x1, + <function>ImageFilledPolygon</function>ã¯ç»å + <parameter>im</parameter>ä¸ã«å¡ãã¤ã¶ããå¤è§å½¢ãçæãã¾ãã + <parameter>points</parameter>ã¯PHPã®é åã§ãå¤è§å½¢ã®é ç¹ãããªã + ã¡ãpoints[0] = x0, points[1] = y0, points[2] = x1, points[3] = y1ãªã©ã¨ããå ·åã«ãªã£ã¦ãã¾ãã <parameter>num_points</parameter>ã¯é ç¹ã®ç·æ°ã§ãã </para> @@ -1451,11 +1439,12 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFilledRectangle</function>ã¯ãç»å<parameter>im</parameter> - ä¸ã«å·¦ä¸ã®åº§æ¨ã(<parameter>x1</parameter>, <parameter>y1</parameter>)ã - å³ä¸ã®åº§æ¨ã(<parameter>x2</parameter>, <parameter>y2</parameter>)ã¨ããç©å½¢ã - æç»ãã¾ããå·¦ä¸é ã座æ¨(0,0)ã¨ãªãã¾ãã - ç©å½¢ã¯<function>col</function>è²ã§å¡ãã¤ã¶ããã¾ãã + <function>ImageFilledRectangle</function>ã¯ãç»å + <parameter>im</parameter>ä¸ã«å·¦ä¸ã®åº§æ¨ã + (<parameter>x1</parameter>, <parameter>y1</parameter>)ãå³ä¸ã®åº§ + æ¨ã(<parameter>x2</parameter>, <parameter>y2</parameter>)ã¨ãã + ç©å½¢ãæç»ãã¾ããå·¦ä¸é ã座æ¨(0,0)ã¨ãªãã¾ããç©å½¢ã¯ + <function>col</function>è²ã§å¡ãã¤ã¶ããã¾ãã </para> </refsect1> </refentry> @@ -1478,10 +1467,11 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFillToBorder</function>ã¯ã<parameter>border</parameter>ã§æå®ãã - è²ãå¢çè²ã¨ãã¦å¡ãã¤ã¶ããè¡ãã¾ãã - (<parameter>x</parameter>,<parameter>y</parameter>)ãå¡ãã¤ã¶ãã®å§ç¹(å·¦ä¸ã0, 0)ã§ã - é åå ã<parameter>col</parameter>è²ã§å¡ãã¤ã¶ãã¾ãã + <function>ImageFillToBorder</function>ã¯ã + <parameter>border</parameter>ã§æå®ããè²ãå¢çè²ã¨ãã¦å¡ãã¤ã¶ã + ãè¡ãã¾ãã(<parameter>x</parameter>,<parameter>y</parameter>)ã + å¡ãã¤ã¶ãã®å§ç¹(å·¦ä¸ã0, 0)ã§ãé åå ã + <parameter>col</parameter>è²ã§å¡ãã¤ã¶ãã¾ãã </para> </refsect1> </refentry> @@ -1504,7 +1494,8 @@ </para> <para> <function>imagefontwidth</function>ããã³ - <function>imageloadfont</function>ãåèã«ãã¦ãã ããã </para> + <function>imageloadfont</function>ãåèã«ãã¦ãã ããã + </para> </refsect1> </refentry> @@ -1790,9 +1781,9 @@ </funcprototype> </funcsynopsis> <para> - ImageInterlaceã¯ãã¤ã³ã¿ã¼ã¬ã¼ã¹ãããã®ãªã³ãªããåãæ¿ãã¾ãã - interlaceã1ã®å ´åã«ç»å im ã¯ã¤ã³ã¿ã¼ã¬ã¼ã¹ã¨ãªãã0 ã§ããã°ã¤ - ã³ã¿ã¼ã¬ã¼ã¹ãããã¯æ¶ãã¾ãã + <function>ImageInterlace</function> ã¯ãã¤ã³ã¿ã¼ã¬ã¼ã¹ããããon + ã¾ãã¯offã«åãæ¿ãã¾ããinterlaceã1ã®å ´åãã¤ã¡ã¼ã¸ im ã¯ã¤ã³ã¿ã¼ + ã¬ã¼ã¹ã¨ãªãã0 ã§ããã°ã¤ã³ã¿ã¼ã¬ã¼ã¹ãããã¯offã«ãªãã¾ãã </para> <para> ãã®é¢æ°ã¯ããã®ç»åã®ã¤ã³ã¿ã¬ã¼ã¹ããããã»ããããã¦ãããã©ã @@ -2363,7 +2354,7 @@ <refentry id="function.imagesetbrush"> <refnamediv> <refname>ImageSetBrush</refname> - <refpurpose>Set the brush image for line drawing</refpurpose> + <refpurpose>ç·ã®æç»ç¨ã«ãã©ã·ã¤ã¡ã¼ã¸ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2375,18 +2366,18 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageSetBrush</function> sets the brush image to be - used by all line drawing functions (such as <function>ImageLine</function> - and <function>ImagePolygon</function>) when drawing with the special - colors IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED. + <function>ImageSetBrush</function> ã¯ãç¹å¥ãªè² + IMG_COLOR_BRUSHED ã¾ã㯠IMG_COLOR_STYLEDBRUSHED ã§æç»ãããéã« + (<function>ImageLine</function>ã + <function>ImagePolygon</function>ã®ãããª) å ¨ã¦ã®ç·æç»é¢æ°ã§ä½¿ç¨ + ããããã©ã·ã¤ã¡ã¼ã¸ãè¨å®ãã¾ãã </para> <note> <para> - You need not take special action when you are finished with a - brush, but if you - destroy the brush image, you must not use the IMG_COLOR_BRUSHED - or IMG_COLOR_STYLEDBRUSHED - colors until you have set a new brush image! + ãã©ã·ã®ä½¿ç¨ãçµã£ãéã«ã¯ãç¹å¥ãªå¦çã¯ä¸è¦ã§ããããã©ã·ã¤ã¡ã¼ + ã¸ãç ´æ£ããå ´åã«ã¯ãæ°ãã«ãã©ã·ã¤ã¡ã¼ã¸ãè¨å®ããã¾ã§ã¯ãè² + IMG_COLOR_BRUSHED ã¾ã㯠IMG_COLOR_STYLEDBRUSHED ã使ç¨ããã¹ã + ã§ã¯ããã¾ããã </para> </note> <note> @@ -2400,7 +2391,7 @@ <refentry id="function.imagesettile"> <refnamediv> <refname>ImageSetTile</refname> - <refpurpose>Set the tile image for filling</refpurpose> + <refpurpose>å¡ãã¤ã¶ãç¨ã®ã¤ã¡ã¼ã¸ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2412,30 +2403,38 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageSetTile</function> sets the tile image to be - used by all region filling functions (such as <function>ImageFill</function> - and <function>ImageFilledPolygon</function>) when filling with the special - color IMG_COLOR_TILED. + <function>ImageSetTile</function> ã¯ãç¹å¥ãªè² + IMG_COLOR_TILED ãæå®ãã¦å¡ãã¤ã¶ãããå ´åã«ã + (<function>ImageFill</function>ã + <function>ImageFilledPolygon</function>ã®ãããª) + é åå¡ãã¤ã¶ã颿°ã§ä½¿ç¨ãããã¿ã¤ã«ã¤ã¡ã¼ã¸ãè¨å®ãã¾ãã </para> <para> - A tile is an image used to fill an area with a repeated pattern. <emphasis>Any</emphasis> - GD image can be used as a tile, and by setting the transparent color index of the tile - image with <function>ImageColorTransparent</function>, a tile allows certain parts - of the underlying area to shine through can be created. + ã¿ã¤ã«ã¯ãé åãå¡ãã¤ã¶ãããã«ç¹°ãè¿ã使ç¨ãããã¤ã¡ã¼ã¸ã§ãã + å ¨ã¦ã®GDã¤ã¡ã¼ã¸ãã¿ã¤ã«ã¨ãã¦ä½¿ç¨å¯è½ã§ã + <function>ImageColorTransparent</function>ã«ããã¿ã¤ã«ã®ééè²ID + ãè¨å®ãããã¨ã«ããããã®ä¸é¨ããä¸ã®é¨åãéãã¦è¦ãããããªã¿ + ã¤ã«ã使ãããã¨ãå¯è½ã§ãã </para> <note> - <para>You need not take special action when you are finished with a tile, but if you - destroy the tile image, you must not use the IMG_COLOR_TILED color until you have - set a new tile image!</para> + <para> + ã¿ã¤ã«ã®ä½¿ç¨ãçµã£ãéã«ã¯ãç¹å¥ãªå¦çã¯ä¸è¦ã§ãããã¿ã¤ã«ã¤ã¡ã¼ + ã¸ãç ´æ£ããå ´åã«ã¯ãæ°ãã«ã¿ã¤ã«ã¤ã¡ã¼ã¸ãè¨å®ããã¾ã§ã¯ãè² + IMG_COLOR_TILEDã使ç¨ããã¹ãã¾ããã + </para> + </note> + <note> + <para> + ãã®é¢æ°ã¯ãPHP 4.0.6ã§è¿½å ããã¾ããã + </para> </note> - <note><para>This function was added in PHP 4.0.6</para></note> </refsect1> </refentry> <refentry id="function.imagesetthickness"> <refnamediv> <refname>ImageSetThickness</refname> - <refpurpose>Set the thickness for line drawing</refpurpose> + <refpurpose>ç·æç»ç¨ã®ç·å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2447,14 +2446,13 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageSetThickness</function> sets the thickness of the lines - drawn when drawing rectangles, polygons, ellipses etc. etc. to - <parameter>thickness</parameter> pixels. + <function>ImageSetThickness</function> ã¯ãé·æ¹å½¢ãå¤è§å½¢ãæ¥åç + ãæç»ããéã®ç·å¹ ã<parameter>thickness</parameter>ãã¯ã»ã«ã«è¨ + å®ãã¾ãã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later + ãã®é¢æ°ã¯ PHP 4.0.6 ã§è¿½å ãããGD 2.0.1 以éãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> Index: phpdoc/ja/functions/ming.xml diff -u phpdoc/ja/functions/ming.xml:1.2 phpdoc/ja/functions/ming.xml:1.3 --- phpdoc/ja/functions/ming.xml:1.2 Sun Apr 8 16:07:42 2001 +++ phpdoc/ja/functions/ming.xml Thu Apr 19 07:08:53 2001 @@ -99,71 +99,70 @@ </simpara> <itemizedlist> <listitem> - <simpara> - <function>swfmovie</function>. + <simpara> + <function>swfmovie</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfshape</function>. + <simpara> + <function>swfshape</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfdisplayitem</function>. + <simpara> + <function>swfdisplayitem</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfgradient</function>. + <simpara> + <function>swfgradient</function>. </simpara> - </listitem> - + </listitem> <listitem> - <simpara> - <function>swfbitmap</function>. + <simpara> + <function>swfbitmap</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swffill</function>. + <simpara> + <function>swffill</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfmorph</function>. + <simpara> + <function>swfmorph</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swftext</function>. + <simpara> + <function>swftext</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swffont</function>. + <simpara> + <function>swffont</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swftextfield</function>. + <simpara> + <function>swftextfield</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfsprite</function>. + <simpara> + <function>swfsprite</function>. </simpara> - </listitem> - <listitem> - <simpara> - <function>swfbutton</function>. + </listitem> + <listitem> + <simpara> + <function>swfbutton</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfaction</function>. + <simpara> + <function>swfaction</function>. </simpara> - </listitem> + </listitem> </itemizedlist> </sect1> </partintro> @@ -1493,7 +1492,7 @@ <refentry id="function.swfshape.setleftfill"> <refnamediv> <refname>SWFShape->setLeftFill</refname> - <refpurpose>Sets left rasterizing color.</refpurpose> + <refpurpose>å·¦ã©ã¹ã¿ã¼è²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1509,7 +1508,9 @@ <paramdef>integer <parameter>red</parameter></paramdef> <paramdef>integer <parameter>green</parameter></paramdef> <paramdef>integer <parameter>blue</parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -1539,7 +1540,7 @@ <refentry id="function.swfshape.setrightfill"> <refnamediv> <refname>SWFShape->setRightFill</refname> - <refpurpose>Sets right rasterizing color.</refpurpose> + <refpurpose>å³ã©ã¹ã¿ã¼è²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1555,7 +1556,9 @@ <paramdef>integer <parameter>red</parameter></paramdef> <paramdef>integer <parameter>green</parameter></paramdef> <paramdef>integer <parameter>blue</parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <simpara> @@ -2115,7 +2118,7 @@ <refentry id="function.swffill.skewxto"> <refnamediv> <refname>SWFFill->skewXTo</refname> - <refpurpose>Sets fill x-skew</refpurpose> + <refpurpose>x-skewãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2136,7 +2139,7 @@ <refentry id="function.swffill.skewyto"> <refnamediv> <refname>SWFFill->skewYTo</refname> - <refpurpose>Sets fill y-skew</refpurpose> + <refpurpose>y-skewãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2159,7 +2162,7 @@ <refentry id="function.swfmorph"> <refnamediv> <refname>SWFMorph</refname> - <refpurpose>Creates a new SWFMorph object.</refpurpose> + <refpurpose>æ°è¦ã«SWFMorphãªãã¸ã§ã¯ãã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2192,7 +2195,7 @@ This simple example will morph a big red square into a smaller blue black-bordered square. <example> - <title><function>swfmorph</function> example</title> + <title><function>swfmorph</function>ã®ä¾</title> <programlisting role="php"> <?php $p = new SWFMorph(); @@ -2244,7 +2247,7 @@ <refentry id="function.swfmorph.getshape1"> <refnamediv> <refname>SWFMorph->getshape1</refname> - <refpurpose>Gets a handle to the starting shape</refpurpose> + <refpurpose>æåã®ã·ã§ã¼ãã¸ã®ãã³ãã«ãå¾ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2265,7 +2268,7 @@ <refentry id="function.swfmorph.getshape2"> <refnamediv> <refname>SWFMorph->getshape2</refname> - <refpurpose>Gets a handle to the ending shape</refpurpose> + <refpurpose>æå¾ã®ã·ã§ã¼ãã¸ã®ãã³ãã«ãå¾ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2288,7 +2291,7 @@ <refentry id="function.swftext"> <refnamediv> <refname>SWFMorph</refname> - <refpurpose>Creates a new SWFText object.</refpurpose> + <refpurpose>æ°è¦ã«SWFTextãªãã¸ã§ã¯ãã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2312,7 +2315,7 @@ This simple example will draw a big yellow "PHP generates Flash with Ming" text, on white background. <example> - <title><function>swftext</function> example</title> + <title><function>swftext</function>ã®ä¾</title> <programlisting role="php"> <?php $f = new SWFFont("Techno.fdb"); @@ -2360,7 +2363,7 @@ <refentry id="function.swftext.setheight"> <refnamediv> <refname>SWFText->setHeight</refname> - <refpurpose>Sets the current font height</refpurpose> + <refpurpose>ã«ã¬ã³ãã®ãã©ã³ãã®é«ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2380,7 +2383,7 @@ <refentry id="function.swftext.setspacing"> <refnamediv> <refname>SWFText->setSpacing</refname> - <refpurpose>Sets the current font spacing</refpurpose> + <refpurpose>ã«ã¬ã³ãã®ãã©ã³ãã®ééãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2406,7 +2409,7 @@ <refentry id="function.swftext.setcolor"> <refnamediv> <refname>SWFText->setColor</refname> - <refpurpose>Sets the current font color</refpurpose> + <refpurpose>ã«ã¬ã³ãã®ãã©ã³ãè²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2429,7 +2432,7 @@ <refentry id="function.swftext.moveto"> <refnamediv> <refname>SWFText->moveTo</refname> - <refpurpose>Moves the pen</refpurpose> + <refpurpose>ãã³ãç§»åãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2452,7 +2455,7 @@ <refentry id="function.swftext.addstring"> <refnamediv> <refname>SWFText->addString</refname> - <refpurpose>Draws a string</refpurpose> + <refpurpose>æååãç»ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2473,7 +2476,7 @@ <refentry id="function.swftext.getwidth"> <refnamediv> <refname>SWFText->getWidth</refname> - <refpurpose>Computes string's width</refpurpose> + <refpurpose>æååã®å¹ ãè¨ç®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2548,7 +2551,7 @@ <refentry id="function.swffont.getwidth"> <refnamediv> <refname>getwidth</refname> - <refpurpose>Returns the string's width</refpurpose> + <refpurpose>æååã®å¹ ãè¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2572,14 +2575,16 @@ <refentry id="function.swftextfield"> <refnamediv> <refname>SWFTextField</refname> - <refpurpose>Creates a text field object</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®ãªãã¸ã§ã¯ãã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>new <function>swftextfield</function></funcdef> - <paramdef>int <parameter><optional>flags</optional></parameter></paramdef> + <paramdef>int + <parameter><optional>flags</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -2647,7 +2652,7 @@ <refentry id="function.swftextfield.setfont"> <refnamediv> <refname>SWFTextField->setFont</refname> - <refpurpose>Sets the text field font</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ããã©ã³ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2667,7 +2672,7 @@ <refentry id="function.swftextfield.setbounds"> <refnamediv> <refname>SWFTextField->setbounds</refname> - <refpurpose>Sets the text field width and height</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®å¹ ã¨é«ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2690,7 +2695,7 @@ <refentry id="function.swftextfield.align"> <refnamediv> <refname>SWFTextField->align</refname> - <refpurpose>Sets the text field alignment</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®ã¢ã©ã¤ã¡ã³ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2713,7 +2718,9 @@ <refentry id="function.swftextfield.setheight"> <refnamediv> <refname>SWFTextField->setHeight</refname> - <refpurpose>Sets the font height of this text field font.</refpurpose> + <refpurpose> + æå®ããããã¹ããã£ã¼ã«ããã©ã³ãã®é«ããè¨å®ãã + </refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2733,7 +2740,7 @@ <refentry id="function.swftextfield.setleftmargin"> <refnamediv> <refname>SWFTextField->setLeftMargin</refname> - <refpurpose>Sets the left margin width of the text field.</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®å·¦ãã¼ã¸ã³å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2753,7 +2760,7 @@ <refentry id="function.swftextfield.setrightmargin"> <refnamediv> <refname>SWFTextField->setrightMargin</refname> - <refpurpose>Sets the right margin width of the text field.</refpurpose> + <refpurpose>ãã¹ããã£ã¼ã«ãã®å³ãã¼ã¸ã³å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2773,7 +2780,7 @@ <refentry id="function.swftextfield.setmargins"> <refnamediv> <refname>SWFTextField->setMargins</refname> - <refpurpose>Sets the margins width of the text field.</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®ãã¼ã¸ã³å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2794,7 +2801,7 @@ <refentry id="function.swftextfield.setindentation"> <refnamediv> <refname>SWFTextField->setindentation</refname> - <refpurpose>Sets the indentation of the first line.</refpurpose> + <refpurpose>å é è¡ã®ã¤ã³ãã³ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2814,7 +2821,7 @@ <refentry id="function.swftextfield.setlinespacing"> <refnamediv> <refname>SWFTextField->setLineSpacing</refname> - <refpurpose>Sets the line spacing of the text field.</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®è¡éãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2834,7 +2841,7 @@ <refentry id="function.swftextfield.setcolor"> <refnamediv> <refname>SWFTextField->setcolor</refname> - <refpurpose>Sets the color of the text field. </refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®è²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2857,7 +2864,7 @@ <refentry id="function.swftextfield.setname"> <refnamediv> <refname>SWFTextField->setname</refname> - <refpurpose>Sets the variable name</refpurpose> + <refpurpose>夿°åãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2878,7 +2885,7 @@ <refentry id="function.swftextfield.addstring"> <refnamediv> <refname>SWFTextField->addstring</refname> - <refpurpose>Concatenates the given string to the text field</refpurpose> + <refpurpose>æå®ããæååãããã¹ããã£ã¼ã«ãã«çµåãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2889,8 +2896,8 @@ </funcprototype> </funcsynopsis> <para> - <function>swftextfield->setname</function> concatenates the string - <parameter>string</parameter> to the text field. + <function>swftextfield->setname</function> ã¯ãæåå + <parameter>string</parameter>ãããã¹ããã£ã¼ã«ãã«çµåãã¾ãã </para> </refsect1> </refentry> @@ -2900,7 +2907,7 @@ <refentry id="function.swfsprite"> <refnamediv> <refname>SWFSprite</refname> - <refpurpose>Creates a movie clip (a sprite)</refpurpose> + <refpurpose>ã ã¼ãã¼ã¯ãªãã(ã¹ãã©ã¤ã)ã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2924,7 +2931,7 @@ <para> This simple example will spin gracefully a big red square. <example> - <title><function>swfsprite</function> example</title> + <title><function>swfsprite</function> ã®ä¾</title> <programlisting role="php"> <?php $s = new SWFShape(); @@ -2969,7 +2976,7 @@ <refentry id="function.swfsprite.add"> <refnamediv> <refname>SWFSprite->add</refname> - <refpurpose>Adds an object to a sprite</refpurpose> + <refpurpose>ãªãã¸ã§ã¯ããã¹ãã©ã¤ãã«è¿½å ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2996,7 +3003,7 @@ <refentry id="function.swfsprite.remove"> <refnamediv> <refname>SWFSprite->remove</refname> - <refpurpose>Removes an object to a sprite</refpurpose> + <refpurpose>ãªãã¸ã§ã¯ããã¹ãã©ã¤ãããåé¤ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3018,7 +3025,7 @@ <refentry id="function.swfsprite.setframes"> <refnamediv> <refname>SWFSprite->setframes</refname> - <refpurpose>Sets the total number of frames in the animation.</refpurpose> + <refpurpose>ã¢ãã¡ã¼ã·ã§ã³ã®ç·ãã¬ã¼ã æ°ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3038,7 +3045,7 @@ <refentry id="function.swfsprite.nextframe"> <refnamediv> <refname>SWFSprite->nextframe</refname> - <refpurpose>Moves to the next frame of the animation.</refpurpose> + <refpurpose>ã¢ãã¡ã¼ã·ã§ã³ã®æ¬¡ã®ãã¬ã¼ã ã«ç§»åãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3060,7 +3067,7 @@ <refentry id="function.swfbutton"> <refnamediv> <refname>SWFbutton</refname> - <refpurpose>Creates a new Button.</refpurpose> + <refpurpose>æ°è¦ãã¿ã³ã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3222,7 +3229,7 @@ <refentry id="function.swfbutton.addshape"> <refnamediv> <refname>SWFbutton->addShape</refname> - <refpurpose>Adds a shape to a button</refpurpose> + <refpurpose>ãã¿ã³ã«ã·ã§ã¼ãã追å ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3248,7 +3255,7 @@ <refentry id="function.swfbutton.setup"> <refnamediv> <refname>SWFbutton->setUp</refname> - <refpurpose>Alias for addShape(shape, SWFBUTTON_UP)</refpurpose> + <refpurpose>addShape(shape, SWFBUTTON_UP)ã¸ã®ã¨ã¤ãªã¢ã¹</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3267,7 +3274,7 @@ <refentry id="function.swfbutton.setover"> <refnamediv> <refname>SWFbutton->setOver</refname> - <refpurpose>Alias for addShape(shape, SWFBUTTON_OVER)</refpurpose> + <refpurpose>addShape(shape, SWFBUTTON_OVER)ã¸ã®ã¨ã¤ãªã¢ã¹</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3286,7 +3293,7 @@ <refentry id="function.swfbutton.sethit"> <refnamediv> <refname>SWFbutton->setHit</refname> - <refpurpose>Alias for addShape(shape, SWFBUTTON_HIT)</refpurpose> + <refpurpose>addShape(shape, SWFBUTTON_HIT)ã¸ã®ã¨ã¤ãªã¢ã¹</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3305,7 +3312,7 @@ <refentry id="function.swfbutton.setAction"> <refnamediv> <refname>SWFbutton->setAction</refname> - <refpurpose>Sets the action</refpurpose> + <refpurpose>ã¢ã¯ã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3328,7 +3335,7 @@ <refentry id="function.swfaction"> <refnamediv> <refname>SWFAction</refname> - <refpurpose>Creates a new Action.</refpurpose> + <refpurpose>æ°è¦ã¢ã¯ã·ã§ã³ã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3729,7 +3736,7 @@ <para> This simple example will move the red square across the window. <example> - <title><function>swfaction</function> example</title> + <title><function>swfaction</function>ã®ä¾</title> <programlisting role="php"> <?php $s = new SWFShape(); Index: phpdoc/ja/functions/strings.xml diff -u phpdoc/ja/functions/strings.xml:1.32 phpdoc/ja/functions/strings.xml:1.33 --- phpdoc/ja/functions/strings.xml:1.32 Thu Apr 12 08:30:00 2001 +++ phpdoc/ja/functions/strings.xml Thu Apr 19 07:08:53 2001 @@ -2703,8 +2703,9 @@ </example> </para> <para> - <function>substr</function>,<function>stristr</function>, - <function>strstr</function>ãåç §ä¸ããã + <function>strchr</function>, <function>substr</function>, + <function>stristr</function>, <function>strstr</function>. + ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -2885,8 +2886,9 @@ </example> </para> <para> - <function>strrchr</function>,<function>substr</function>, - <function>ereg</function> ãåç §ä¸ããã + <function>strchr</function>, <function>stristr</function>, + <function>strrchr</function>, <function>substr</function>, + <function>ereg</function>ãåç §ä¸ããã </para> </refsect1> </refentry>
Index: phpdoc/ja/appendices/resources.xml diff -u phpdoc/ja/appendices/resources.xml:1.1 phpdoc/ja/appendices/resources.xml:1.2 --- phpdoc/ja/appendices/resources.xml:1.1 Wed Mar 28 05:45:34 2001 +++ phpdoc/ja/appendices/resources.xml Thu Apr 19 07:08:53 2001 @@ -286,7 +286,8 @@ <function>imagecreatefromjpeg</function>, <function>imagecreatefrompng</function>, <function>imagecreatefromwbmp</function>, - <function>imagecreatefromstring</function> + <function>imagecreatefromstring</function>, + <function>imagecreatetruecolor</function> </entry> <entry> <function>imagearc</function>, @@ -324,7 +325,20 @@ <function>imagestringup</function>, <function>imagesx</function>, <function>imagesy</function>, - <function>imagettftext</function> + <function>imagettftext</function>, + <function>imagefilledarc</function>, + <function>imageellipse</function>, + <function>imagefilledellipse</function>, + <function>imagecolorclosestalpha</function>, + <function>imagecolorexactalpha</function>, + <function>imagecolorresolvealpha</function>, + <function>imagecopymerge</function>, + <function>imagecopymergegray</function>, + <function>imagecopyresampled</function>, + <function>imagetruecolortopalette</function>, + <function>imagesetbrush</function>, + <function>imagesettile</function>, + <function>imagesetthickness</function> </entry> <entry>imagedestroy</entry> <entry>GD Image</entry> Index: phpdoc/ja/functions/array.xml diff -u phpdoc/ja/functions/array.xml:1.24 phpdoc/ja/functions/array.xml:1.25 --- phpdoc/ja/functions/array.xml:1.24 Fri Apr 13 07:03:33 2001 +++ phpdoc/ja/functions/array.xml Thu Apr 19 07:08:53 2001 @@ -314,16 +314,36 @@ $array = array ("blue", "red", "green", "blue", "blue"); array_keys ($array, "blue"); // é å (0, 3, 4) ãè¿ãã¾ã + +$array = array ("color" => array("blue", "red", "green"), "size" => array("small", "medium", "large")); +array_keys ($array); // é å("color", "size") ãè¿ãã¾ã </programlisting> </example> </para> + <note> + <para> + ãã®é¢æ°ã¯ãPHP 4ã§è¿½å ããã¾ããã以ä¸ã¯ãã¾ã PHP 3ã使ç¨ãã¦ã + ãå ´åã®å®è£ ã§ãã + <example> + <title> + PHP 3ã¦ã¼ã¶ç¨ã®<function>array_keys</function>ã®å®è£ + </title> + <programlisting role="php"> +function array_keys ($arr, $term="") { + $t = array(); + while (list($k,$v) = each($arr)) { + if ($term && $v != $term) + continue; + $t[] = $k; + } + return $t; +} + </programlisting> + </example> + </para> + </note> <para> <function>array_values</function>ãåç §ä¸ããã - <note> - <para> - ãã®é¢æ°ã¯ãPHP 4.0ã§è¿½å ããã¾ããã - </para> - </note> </para> </refsect1> </refentry> Index: phpdoc/ja/functions/datetime.xml diff -u phpdoc/ja/functions/datetime.xml:1.23 phpdoc/ja/functions/datetime.xml:1.24 --- phpdoc/ja/functions/datetime.xml:1.23 Sun Apr 8 16:07:41 2001 +++ phpdoc/ja/functions/datetime.xml Thu Apr 19 07:08:53 2001 @@ -348,9 +348,9 @@ <title><function>getdate</function> ã®ä¾</title> <programlisting> $today = getdate(); -$month = $today[month]; -$mday = $today[mday]; -$year = $today[year]; +$month = $today['month']; +$mday = $today['mday']; +$year = $today['year']; echo "$month $mday, $year"; </programlisting> </example> Index: phpdoc/ja/functions/dbx.xml diff -u phpdoc/ja/functions/dbx.xml:1.1 phpdoc/ja/functions/dbx.xml:1.2 --- phpdoc/ja/functions/dbx.xml:1.1 Sat Apr 14 03:39:45 2001 +++ phpdoc/ja/functions/dbx.xml Thu Apr 19 07:08:53 2001 @@ -386,7 +386,7 @@ <programlisting role="php"> <?php function user_re_order ($a, $b) { - $rv = dbx_cmp_asc ($a, $b, "parentid"); + $rv = dbx_cmp_desc ($a, $b, "parentid"); if (!$rv) $rv = dbx_cmp_asc ($a, $b, "id"); return $rv; } @@ -395,8 +395,8 @@ or die ("æ¥ç¶ã§ãã¾ãã"); $result = dbx_query ($link, "SELECT id, parentid, description FROM tbl ORDER BY id"); echo "çµæã¯ãidã§ã½ã¼ãããã¦ãã¾ã<br>"; -dbx_query ($result, "user_re_order"); -echo "çµæã¯parentidã§ã½ã¼ããããç¶ãã¦ãidã§ã½ã¼ãããã¾ã<br>"; +dbx_sort ($result, "user_re_order"); +echo "çµæã¯parentidã§(éé ã«)ã½ã¼ããããç¶ãã¦ãidã§ã½ã¼ãããã¾ã<br>"; dbx_close ($link); ?> </programlisting> @@ -423,18 +423,27 @@ <paramdef>array <parameter>row_a</parameter></paramdef> <paramdef>array <parameter>row_b</parameter></paramdef> <paramdef>string <parameter>columnname_or_index</parameter></paramdef> + <paramdef>int + <parameter><optional>comparison_type</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> row_a[$columnname_or_index] ã row_b[$columnname_or_index] ã«çã ãå ´åã« 0ããã大ããå ´åã« 1ãããå°ããå ´åã« -1 ãè¿ãã¾ãã </para> + <para> + ãã©ã¡ã¼ã¿ <parameter>comparison_type</parameter> ã¯ã + (DBX_CMP_NUMBERã«è¨å®ãããã¨ã«ããã)å¼·å¶çã«æ°å¤ã¨ãã¦æ¯è¼ãè¡ + ãããã«ä½¿ç¨ããã¾ããããã©ã«ãã®æ¯è¼ã¯ãããã¹ãã¨ãã¦è¡ããã¾ + ãã(ä¾ãã°ã"20"ã¯ã"100"ããã大ãããªãã¾ãã) + </para> <example> <title><function>dbx_cmp_asc</function>ã®ä¾</title> <programlisting role="php"> <?php function user_re_order ($a, $b) { - $rv = dbx_cmp_asc ($a, $b, "parentid"); + $rv = dbx_cmp_desc ($a, $b, "parentid"); if (!$rv) { $rv = dbx_cmp_asc ($a, $b, "id"); return $rv; @@ -445,8 +454,8 @@ or die ("æ¥ç¶ã§ãã¾ãã"); $result = dbx_query ($link, "SELECT id, parentid, description FROM tbl ORDER BY id"); echo "çµæã¯idã§ã½ã¼ãããã¾ãã<br>"; -dbx_query ($result, "user_re_order"); -echo "çµæã¯parentidããã¦idã§ã½ã¼ãããã¾ãã<br>"; +dbx_sort ($result, "user_re_order"); +echo "çµæã¯parentidã§(éé ã«)ã½ã¼ããããå¾ãidã§ã½ã¼ãããã¾ãã<br>"; dbx_close ($link); ?> </programlisting> Index: phpdoc/ja/functions/image.xml diff -u phpdoc/ja/functions/image.xml:1.22 phpdoc/ja/functions/image.xml:1.23 --- phpdoc/ja/functions/image.xml:1.22 Sat Apr 14 03:39:45 2001 +++ phpdoc/ja/functions/image.xml Thu Apr 19 07:08:53 2001 @@ -184,6 +184,125 @@ </refsect1> </refentry> + <refentry id="function.imagefilledarc"> + <refnamediv> + <refname>ImageFilledArc</refname> + <refpurpose>é¨åæ¥åãæç»ããå¡ãã¤ã¶ã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagefilledarc</function></funcdef> + <paramdef>int <parameter>im</parameter></paramdef> + <paramdef>int <parameter>cx</parameter></paramdef> + <paramdef>int <parameter>cy</parameter></paramdef> + <paramdef>int <parameter>w</parameter></paramdef> + <paramdef>int <parameter>h</parameter></paramdef> + <paramdef>int <parameter>s</parameter></paramdef> + <paramdef>int <parameter>e</parameter></paramdef> + <paramdef>int <parameter>col</parameter></paramdef> + <paramdef>int <parameter>style</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageFilledArc</function> ã¯ã + <parameter>im</parameter>ã§è¡¨ããã¤ã¡ã¼ã¸ã« + <parameter>cx</parameter>,<parameter>cy</parameter> (å·¦ä¸ã0,0)ã + ä¸å¿ã¨ããé¨åæ¥åãæç»ãã¾ãã<parameter>w</parameter> 㨠+ <parameter>h</parameter> ã¯ããããæ¥åã®å¹ ã¨é«ããæå®ãã¾ãã + ã¾ããéå§ç¹ã¨çµç¹ã¯ã弿°<parameter>s</parameter>ããã³ + <parameter>e</parameter>ã§åº¦åä½ã§æå®ããã¾ãã + <parameter>style</parameter> ã¯æ¬¡ã®é¸æè¢ã®ãããåã§ãã + <orderedlist> + <listitem><simpara>IMG_ARC_PIE</simpara></listitem> + <listitem><simpara>IMG_ARC_CHORD</simpara></listitem> + <listitem><simpara>IMG_ARC_NOFILL</simpara></listitem> + <listitem><simpara>IMG_ARC_EDGED</simpara></listitem> + </orderedlist> + IMG_ARC_PIE ããã³ IMG_ARC_CHORD ã¯ç¸åãã¾ããIMG_ARC_CHORD ã¯ã + éå§è§ã¨çµäºè§ãç´ç·ã§çµã¶ã ãã§ãããIMG_ARC_PIEã¯ãè§ã丸ãã¾ãã + IMG_ARC_NOFILL ã¯ãå¼§ã¨å¼¦ãç¸ã©ããå¡ãã¤ã¶ãããªããã¨ãæå®ãã¾ + ããIMG_ARC_EDGEDã¯ãIMG_ARC_NOFILLã¨å ±ã«æå®ãããã¨ã«ããã + éå§è§ã¨çµç«¯è§ã¯ä¸å¿ã¨çµã°ãã¾ããããã¯ã(å¡ãã¤ã¶ãããã)ãã + ã¤ã®åã端ããç¸ã©ãè¯ãæ¹æ³ã§ãã + </para> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã + </para> + </note> + </refsect1> + </refentry> + + <refentry id="function.imageellipse"> + <refnamediv> + <refname>ImageEllipse</refname> + <refpurpose>æ¥åãæç»ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imageellipse</function></funcdef> + <paramdef>resource <parameter>im</parameter></paramdef> + <paramdef>int <parameter>cx</parameter></paramdef> + <paramdef>int <parameter>cy</parameter></paramdef> + <paramdef>int <parameter>w</parameter></paramdef> + <paramdef>int <parameter>h</parameter></paramdef> + <paramdef>int <parameter>col</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageEllipse</function> ã¯ã<parameter>im</parameter>ã§ + 表ããã¤ã¡ã¼ã¸ã« + <parameter>cx</parameter>,<parameter>cy</parameter> (å·¦ä¸ã0,0)ã + ä¸å¿ã¨ããæ¥åãæç»ãã¾ãã<parameter>w</parameter> 㨠+ <parameter>h</parameter> ã¯ãããããæ¥åã®å¹ ã¨é«ããæå®ãã¾ãã + æ¥åã®è²ã<parameter>col</parameter>ã§æå®ãã¾ãã + </para> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã + </para> + </note> + </refsect1> + </refentry> + + <refentry id="function.imagefilledellipse"> + <refnamediv> + <refname>ImageFilledEllipse</refname> + <refpurpose>å¡ãã¤ã¶ãããæ¥åãæç»ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagefilledellipse</function></funcdef> + <paramdef>resource <parameter>im</parameter></paramdef> + <paramdef>int <parameter>cx</parameter></paramdef> + <paramdef>int <parameter>cy</parameter></paramdef> + <paramdef>int <parameter>w</parameter></paramdef> + <paramdef>int <parameter>h</parameter></paramdef> + <paramdef>int <parameter>col</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageFilledEllipse</function> ã¯ã + <parameter>im</parameter>ã§è¡¨ããã¤ã¡ã¼ã¸ã« + <parameter>cx</parameter>, <parameter>cy</parameter> (å·¦ä¸ã0, 0) + ãä¸å¿ã¨ããæ¥åãæç»ãã¾ãã<parameter>w</parameter> ããã³ + <parameter>h</parameter> ã§æ¥åã®å¹ ã¨é«ããããããæå®ãã¾ããæ¥ + åã¯ã<parameter>col</parameter>ã§å¡ãã¤ã¶ããã¾ãã + </para> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã + </para> + </note> + </refsect1> + </refentry> + <refentry id="function.imagechar"> <refnamediv> <refname>ImageChar</refname> @@ -376,7 +495,7 @@ <refnamediv> <refname>ImageColorClosestAlpha</refname> <refpurpose> - Get the index of the closest color to the specified color + alpha + æå®ããè²+ã¢ã«ãã¡å¤ã«æãè¿ãè²ã®IDãåå¾ </refpurpose> </refnamediv> <refsect1> @@ -400,7 +519,7 @@ </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -437,7 +556,7 @@ <refentry id="function.imagecolorexactalpha"> <refnamediv> <refname>ImageColorExactAlpha</refname> - <refpurpose>Get the index of the specified color + alpha</refpurpose> + <refpurpose>æå®ããè²+ã¢ã«ãã¡å¤ã®IDãåå¾</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -452,20 +571,17 @@ </funcprototype> </funcsynopsis> <para> - Returns the index of the specified color+alpha in the palette of the - image. + ã¤ã¡ã¼ã¸ã®ãã¬ããã§æå®ããè²+ã¢ã«ãã¡å¤ã®IDãè¿ãã¾ãã </para> <para> - If the color does not exist in the image's palette, -1 is - returned. + æå®ããè²ãã¤ã¡ã¼ã¸ã®ãã¬ããã«åå¨ããªãå ´åã-1ãè¿ããã¾ãã </para> <para> - See also <function>imagecolorclosestalpha</function>. + <function>imagecolorclosestalpha</function>ãåç §ä¸ããã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -499,134 +615,11 @@ </refsect1> </refentry> - <refentry id="function.imageellipse"> - <refnamediv> - <refname>ImageEllipse</refname> - <refpurpose>Draw an ellipse</refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>imageellipse</function></funcdef> - <paramdef>resource <parameter>im</parameter></paramdef> - <paramdef>int <parameter>cx</parameter></paramdef> - <paramdef>int <parameter>cy</parameter></paramdef> - <paramdef>int <parameter>w</parameter></paramdef> - <paramdef>int <parameter>h</parameter></paramdef> - <paramdef>int <parameter>col</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>ImageEllipse</function> draws an ellipse centered at - <parameter>cx</parameter>, <parameter>cy</parameter> (top left is - 0, 0) in the image represented by <parameter>im</parameter>. - <parameter>W</parameter> and <parameter>h</parameter> specifies the - ellipse's width and height respectively. The color of the ellipse is - specified by <parameter>color</parameter>. - </para> - <note> - <para> - This function was added in PHP 4.0.6 and requires GD 2.0.2 or - later - </para> - </note> - </refsect1> - </refentry> - - <refentry id="function.imagefilledarc"> - <refnamediv> - <refname>ImageFilledArc</refname> - <refpurpose>Draw a partial ellipse and fill it</refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>imagefilledarc</function></funcdef> - <paramdef>int <parameter>im</parameter></paramdef> - <paramdef>int <parameter>cx</parameter></paramdef> - <paramdef>int <parameter>cy</parameter></paramdef> - <paramdef>int <parameter>w</parameter></paramdef> - <paramdef>int <parameter>h</parameter></paramdef> - <paramdef>int <parameter>s</parameter></paramdef> - <paramdef>int <parameter>e</parameter></paramdef> - <paramdef>int <parameter>col</parameter></paramdef> - <paramdef>int <parameter>style</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>ImageFilledArc</function> draws a partial ellipse centered at - <parameter>cx</parameter>, <parameter>cy</parameter> (top left is - 0, 0) in the image represented by im. <parameter>W</parameter> - and <parameter>h</parameter> specifies the ellipse's width and - height respectively while the start and end points are specified - in degrees indicated by the <parameter>s</parameter> and - <parameter>e</parameter>. arguments. - <parameter>style</parameter> is a bitwise OR of the following possibilities: - <orderedlist> - <listitem><simpara>IMG_ARC_PIE</simpara></listitem> - <listitem><simpara>IMG_ARC_CHORD</simpara></listitem> - <listitem><simpara>IMG_ARC_NOFILL</simpara></listitem> - <listitem><simpara>IMG_ARC_EDGED</simpara></listitem> - </orderedlist> - IMG_ARC_PIE and IMG_ARC_CHORD are mutually exclusive; IMG_ARC_CHORD just - connects the starting and ending angles with a straight line, while - IMG_ARC_PIE produces a rounded edge. IMG_ARC_NOFILL indicates that the arc - or chord should be outlined, not filled. IMG_ARC_EDGED, used together with - IMG_ARC_NOFILL, indicates that the beginning and ending angles should be - connected to the center - this is a good way to outline (rather than fill) - a 'pie slice'. - </para> - <note> - <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 - </para> - </note> - </refsect1> - </refentry> - - <refentry id="function.imagefilledellipse"> - <refnamediv> - <refname>ImageFilledEllipse</refname> - <refpurpose>Draw a filled ellipse</refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>imagefilledellipse</function></funcdef> - <paramdef>resource <parameter>im</parameter></paramdef> - <paramdef>int <parameter>cx</parameter></paramdef> - <paramdef>int <parameter>cy</parameter></paramdef> - <paramdef>int <parameter>w</parameter></paramdef> - <paramdef>int <parameter>h</parameter></paramdef> - <paramdef>int <parameter>col</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - <function>ImageFilledEllipse</function> draws an ellipse centered at - <parameter>cx</parameter>, <parameter>cy</parameter> (top left is - 0, 0) in the image represented by <parameter>im</parameter>. - <parameter>W</parameter> and <parameter>h</parameter> specifies the - ellipse's width and height respectively. The ellipse is filled using - <parameter>color</parameter> - </para> - <note> - <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later - </para> - </note> - </refsect1> - </refentry> - <refentry id="function.imagecolorresolvealpha"> <refnamediv> <refname>ImageColorResolveAlpha</refname> <refpurpose> - Get the index of the specified color + alpha or its closest possible - alternative + æå®ããè²+ã¢ã«ãã¡å¤ã¾ãã¯æãè¿ãè²ã®IDãåå¾ãã </refpurpose> </refnamediv> <refsect1> @@ -642,16 +635,15 @@ </funcprototype> </funcsynopsis> <para> - This function is guaranteed to return a color index for a - requested color, either the exact color or the closest possible - alternative. + ãã®é¢æ°ã¯ãæå®ããè²ã®è²IDãå¿ ãè¿ãã¾ããããã§ãªãå ´åãæ£ç¢º + ãªè²ã¾ãã¯æãè¿ãå¥ã®è²ã®ã©ã¡ãããè¿ãã¾ãã </para> <para> - See also <function>imagecolorclosestalpha</function>. + <function>imagecolorclosestalpha</function>ãåç §ä¸ããã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -668,26 +660,18 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>imagegammacorrect</function> - </funcdef> - <paramdef>int - <parameter>im</parameter> - </paramdef> - <paramdef>double - <parameter>inputgamma</parameter> - </paramdef> - <paramdef>double - <parameter>outputgamma</parameter> - </paramdef> + <funcdef>int <function>imagegammacorrect</function></funcdef> + <paramdef>int <parameter>im</parameter></paramdef> + <paramdef>double <parameter>inputgamma</parameter></paramdef> + <paramdef>double <parameter>outputgamma</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - 颿°<function>ImageGammaCorrect</function>ã¯ã - gdã¤ã¡ã¼ã¸ã¹ããªã¼ã (<parameter>im</parameter>)ã«ã¬ã³ãè£æ£ãé©ç¨ãã¾ãã - ãã®é¢æ°ã«ã¯ã - å ¥åã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>inputgamma</parameter>ããã³ - åºåã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>outputgamma</parameter>ãæå®ãã¾ãã + 颿°<function>ImageGammaCorrect</function>ã¯ãgdã¤ã¡ã¼ã¸ã¹ããªã¼ + ã (<parameter>im</parameter>)ã«ã¬ã³ãè£æ£ãé©ç¨ãã¾ãããã®é¢æ°ã« + ã¯ãå ¥åã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>inputgamma</parameter>ãã + ã³åºåã¬ã³ãå¤ããã©ã¡ã¼ã¿<parameter>outputgamma</parameter>ãæ + å®ãã¾ãã </para> </refsect1> </refentry> @@ -761,11 +745,11 @@ </funcprototype> </funcsynopsis> <para> - æå®ããç»åãã¬ããã®è²æ£?è¿ãã¾ãã + æå®ããç»åãã¬ããã®è²æ°ãè¿ãã¾ãã </para> <para> <function>imagecolorat</function>ããã³ - <function>imagecolorsforindex</function>ãåèã«ãã¦ãã ããã + <function>imagecolorsforindex</function>ãåèã«ãã¦ãã ããã </para> </refsect1> </refentry> @@ -789,14 +773,15 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageColorTransparent</function>ã¯ãç»å<parameter>im</parameter> - ä¸ã®éæè²ã<parameter>col</parameter>ã«è¨å®ãã¾ãã - <parameter>im</parameter>ã¯<function>imagecreate</function>ã«ãã£ã¦è¿ããã - ç»åIDã§ã<parameter>col</parameter>ã¯<function>imagecolorallocate</function> - ã«ãã£ã¦è¿ãããè²IDã§ãã + <function>ImageColorTransparent</function>ã¯ãã¤ã¡ã¼ã¸ + <parameter>im</parameter>ä¸ã®éæè²ã<parameter>col</parameter>ã« + è¨å®ãã¾ãã<parameter>im</parameter>㯠+ <function>imagecreate</function>ã«ãã£ã¦è¿ãããã¤ã¡ã¼ã¸IDã§ã + <parameter>col</parameter>㯠+ <function>imagecolorallocate</function>ã«ãã£ã¦è¿ãããè²IDã§ãã </para> <para> - æ°ãã(æå®ãããªãå ´åã¯ç¾å¨ã®)éæè²ã® ID ãè¿ããã¾ãã + æ°ãã(æå®ãããªãå ´åã¯ç¾å¨ã®)éæè²ã®IDãè¿ããã¾ãã </para> </refsect1> </refentry> @@ -812,42 +797,25 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>ImageCopy</function> - </funcdef> - <paramdef>int - <parameter>dst_im</parameter> - </paramdef> - <paramdef>int - <parameter>src_im</parameter> - </paramdef> - <paramdef>int - <parameter>dst_x</parameter> - </paramdef> - <paramdef>int - <parameter>dst_y</parameter> - </paramdef> - <paramdef>int - <parameter>src_x</parameter> - </paramdef> - <paramdef>int - <parameter>src_y</parameter> - </paramdef> - <paramdef>int - <parameter>src_w</parameter> - </paramdef> - <paramdef>int - <parameter>src_h</parameter> - </paramdef> + <funcdef>int <function>ImageCopy</function></funcdef> + <paramdef>int <parameter>dst_im</parameter></paramdef> + <paramdef>int <parameter>src_im</parameter></paramdef> + <paramdef>int <parameter>dst_x</parameter></paramdef> + <paramdef>int <parameter>dst_y</parameter></paramdef> + <paramdef>int <parameter>src_x</parameter></paramdef> + <paramdef>int <parameter>src_y</parameter></paramdef> + <paramdef>int <parameter>src_w</parameter></paramdef> + <paramdef>int <parameter>src_h</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <parameter>src_im</parameter>ã®ä¸é¨ãã¤ã¾ãã - x,y座æ¨<parameter>src_x</parameter>, <parameter>src_y</parameter> - ãåºæºã¨ãã¦å¹ <parameter>src_w</parameter>ãé«ã<parameter>src_h</parameter> - ã®é åã<parameter>dst_im</parameter>ã«ã³ãã¼ãã¾ãã - æå®ãããé åã¯ãx,y座æ¨<parameter>dst_x</parameter>, - <parameter>dst_y</parameter>ã«ã³ãã¼ããã¾ãã + <parameter>src_im</parameter>ã®ä¸é¨ãã¤ã¾ããx,yåº§æ¨ + <parameter>src_x</parameter>, <parameter>src_y</parameter> + ãåºæºã¨ãã¦å¹ <parameter>src_w</parameter>ãé«ã + <parameter>src_h</parameter>ã®é åã<parameter>dst_im</parameter> + ã«ã³ãã¼ãã¾ããæå®ãããé åã¯ãx,yåº§æ¨ + <parameter>dst_x</parameter>,<parameter>dst_y</parameter>ã«ã³ãã¼ + ããã¾ãã </para> </refsect1> </refentry> @@ -856,7 +824,7 @@ <refnamediv> <refname>ImageCopyMerge</refname> <refpurpose> - Copy and merge part of an image + ã¤ã¡ã¼ã¸ã®ä¸é¨ãã³ãã¼ããã¼ã¸ãã </refpurpose> </refnamediv> <refsect1> @@ -876,17 +844,16 @@ </funcprototype> </funcsynopsis> <para> - Copy a part of <parameter>src_im</parameter> onto - <parameter>dst_im</parameter> starting at the x,y coordinates - <parameter>src_x</parameter>, <parameter>src_y </parameter> with - a width of <parameter>src_w</parameter> and a height of - <parameter>src_h</parameter>. The portion defined will be copied - onto the x,y coordinates, <parameter>dst_x</parameter> and - <parameter>dst_y</parameter>. - The two images will be merged according to <parameter>pct</parameter> - which can range from 0 to 100. When <parameter>pct</parameter> = 0, - no action is taken, when 100 this function behaves identically - to <function>ImageCopy</function>. + <parameter>src_im</parameter>ã®<parameter>src_x</parameter>, + <parameter>src_y </parameter> ã§å§ã¾ãå¹ + <parameter>src_w</parameter>ãé«ã<parameter>src_h</parameter>ã® + é åãx,y座æ¨ã§æå®ãã <parameter>dst_im</parameter>ã«ã³ãã¼ãã¾ + ããå®ç¾©ãããé¨åã¯ãx,y座æ¨ã<parameter>dst_x</parameter>ã + <parameter>dst_y</parameter>ã«ã³ãã¼ããã¾ããäºã¤ã®ã¤ã¡ã¼ã¸ã¯ã + 0ãã100ã®ç¯å²ã§æå®ãã <parameter>pct</parameter>ã«åºã¥ããã¼ã¸ + ããã¾ãã<parameter>pct</parameter> = 0 ã®æã¯ãä½ãè¡ããã¾ããã + 100ã®å ´åããã®é¢æ°ã®åä½ã¯ã<function>ImageCopy</function>ã¨åã + ã¨ãªãã¾ãã </para> </refsect1> </refentry> @@ -895,7 +862,7 @@ <refnamediv> <refname>ImageCopyMergeGray</refname> <refpurpose> - Copy and merge part of an image with gray scale + ã°ã¬ã¼ã¹ã±ã¼ã«ã§ã¤ã¡ã¼ã¸ã®ä¸é¨ãã³ãã¼ããã¼ã¸ãã </refpurpose> </refnamediv> <refsect1> @@ -915,29 +882,35 @@ </funcprototype> </funcsynopsis> <para> - This function is identical to <function>ImageCopyMerge</function> except - that when merging it preservese the hue of the source by converting - the destination pixels to gray scale before the copy operation. - </para> - <para> - Copy a part of <parameter>src_im</parameter> onto - <parameter>dst_im</parameter> starting at the x,y coordinates - <parameter>src_x</parameter>, <parameter>src_y </parameter> with - a width of <parameter>src_w</parameter> and a height of - <parameter>src_h</parameter>. The portion defined will be copied - onto the x,y coordinates, <parameter>dst_x</parameter> and - <parameter>dst_y</parameter>. - The two images will be merged according to <parameter>pct</parameter> - which can range from 0 to 100. When <parameter>pct</parameter> = 0, - no action is taken, when 100 this function behaves identically - to <function>ImageCopy</function>. - </para> - <para> - This function is identical to <function>ImageCopyMerge</function> except - that when merging it preservese the hue of the source by converting - the destination pixels to gray scale before the copy operation. + ãã®é¢æ°ã¯ <function>ImageCopyMerge</function> ã¨åãã§ããããã¼ + ã¸ãããéã«ãã³ãã¼åã«ã³ãã¼å ã®ãã¯ã»ã«ãã°ã¬ã¼ã¹ã±ã¼ã«ã«å¤æ + ãããã¨ã«ãããã³ãã¼å ã®ãã¯ã»ã«ãã³ãã¼å ã®è²ç¸ãç¶æããã¨ã + ããç°ãªãã¾ãã + </para> + <para> + <parameter>src_im</parameter> ã® X,Yåº§æ¨ + <parameter>src_x</parameter>, <parameter>src_y </parameter> ãã + å§ã¾ãå¹ <parameter>src_w</parameter>ãé«ã + <parameter>src_h</parameter> ã®é åã + <parameter>dst_im</parameter>ã«ã³ãã¼ãã¾ãã + å®ç¾©ãããé¨åã¯ãxãy座æ¨<parameter>dst_x</parameter>ã + <parameter>dst_y</parameter>ã«ã³ãã¼ããã¾ããäºã¤ã®ã¤ã¡ã¼ã¸ã¯ã + <parameter>pct</parameter> ã«åºã¥ããã¼ã¸ããã¾ãããã®å¤ã®ç¯å²ã¯ + 0ãã100ã¾ã§ã§ãã<parameter>pct</parameter> = 0ã®å ´åãä½ãå¦ç + ã¯è¡ããã¾ããã100ã®å ´åããã®é¢æ°ã¯ã + <function>ImageCopy</function>ã¨åãå¦çãè¡ãã¾ãã + </para> + <para> + ãã®é¢æ°ã¯ã<function>ImageCopyMerge</function>ã¨åãã§ããã + ãã¼ã¸ãè¡ãéãã³ãã¼å¦çãè¡ãåã«ã³ãã¼å ã®ç»ç´ ãã°ã¬ã¼ã¹ã±ã¼ + ã«ã«å¤æãããã¨ã«ãããã³ãã¼å ã®è²å½©ãç¶æããã¨ãããç°ãªãã¾ + ãã </para> - <note><para>This function was added in PHP 4.0.6</para></note> + <note> + <para> + ãã®é¢æ°ã¯ãPHP 4.0.6ã§è¿½å ããã¾ããã + </para> + </note> </refsect1> </refentry> @@ -964,14 +937,14 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCopyResized</function>ã¯æå®ããç»åã®ç©å½¢é¨åãå¥ã®ç»å - ã¸ã³ãã¼ãã¾ãã<parameter>dst_im</parameter>ã¯ã³ãã¼å ã®ç»åIDã - <parameter>src_im</parameter>ã¯ã³ãã¼å ã®ç»åIDã§ãã - ã³ãã¼å ã¨ã³ãã¼å ã®åº§æ¨ãå¹ ããã¦é«ããç°ãªãã°ãç»åã®ä¸é¨ãé©å½ã« - 伸縮ããã¾ãã座æ¨ã®åç¹ã¯å·¦ä¸ã§ãã(ä»®ã«ã - <parameter>dst_im</parameter>ã¨<parameter>src_im</parameter>ã - åä¸ã§ããã°)颿°ã¯é åã®ã³ãã¼ã«ä½¿ããã¨ãã§ãã¾ããã - é åãéãªã£ãã¨ãã®çµæã¯äºæ¸¬ã§ãã¾ããã + <function>ImageCopyResized</function>ã¯æå®ããç»åã®ç©å½¢é¨åãå¥ + ã®ç»åã¸ã³ãã¼ãã¾ãã<parameter>dst_im</parameter>ã¯ã³ãã¼å ã®ã¤ + ã¡ã¼ã¸IDã<parameter>src_im</parameter>ã¯ã³ãã¼å ã®ã¤ã¡ã¼ã¸IDã§ãã + ã³ãã¼å ã¨ã³ãã¼å ã®åº§æ¨ãå¹ ãé«ããç°ãªã£ãå ´åãç»åã®ä¸é¨ãé© + å½ã«ä¼¸ç¸®ããã¾ãã座æ¨ã®åç¹ã¯å·¦ä¸ã§ãã(ä»®ã«ã + <parameter>dst_im</parameter>ã¨<parameter>src_im</parameter>ãå + ä¸ã§ããã°)颿°ã¯é åã®ã³ãã¼ã«ä½¿ããã¨ãã§ãã¾ãããé åãéãªã£ + ãã¨ãã®çµæã¯äºæ¸¬ã§ãã¾ããã </para> <para> <function>ImageCopyResampled</function>ãåç §ä¸ããã @@ -982,7 +955,9 @@ <refentry id="function.imagecopyresampled"> <refnamediv> <refname>ImageCopyResampled</refname> - <refpurpose>Copy and resize part of an image with resampling</refpurpose> + <refpurpose> + åãµã³ããªã³ã°ãè¡ãã¤ã¡ã¼ã¸ã®ä¸é¨ãã³ãã¼ã伸縮ãã + </refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1002,27 +977,23 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCopyResampled</function> copies a rectangular - portion of one image to another image, smoothly interpolating pixel - values so that, in particular, reducing the size of an image still - retains a great deal of clarity. - <parameter>Dst_im</parameter> is the destination image, - <parameter>src_im</parameter> is the source image identifier. If - the source and destination coordinates and width and heights - differ, appropriate stretching or shrinking of the image fragment - will be performed. The coordinates refer to the upper left - corner. This function can be used to copy regions within the - same image (if <parameter>dst_im</parameter> is the same as - <parameter>src_im</parameter>) but if the regions overlap the - results will be unpredictable. + <function>ImageCopyResampled</function> ã¯ãã¤ã¡ã¼ã¸ã®ç©å½¢ã®é¨å + ãå¥ã®ã¤ã¡ã¼ã¸ã«ã³ãã¼ãã¾ããåæã«ãã¯ã»ã«å¤ãæ»ããã«è£éãè¡ + ãããã®ãããç¹ã«ãµã¤ãºãå°ããããå ´åã«ã¯é®®æããç¶æããã¾ãã + <parameter>dst_im</parameter> ã¯ãã³ãã¼å ã®ã¤ã¡ã¼ã¸ã§ã + <parameter>src_im</parameter> ã¯ã³ãã¼å ã®ã¤ã¡ã¼ã¸IDã§ããã³ãã¼ + å ã¨ã³ãã¼å ã®åº§æ¨ãå¹ ãé«ããç°ãªãå ´åã«ã¯ãé©å½ãªã¤ã¡ã¼ã¸ä¼¸ç¸® + ãè¡ããã¾ãã座æ¨ã¯ãå·¦ä¸ãåºæºã¨ãã¾ãããã®é¢æ°ã¯ãåãã¤ã¡ã¼ + ã¸å ã®é åã«ã³ãã¼ããå ´åã«ã使ç¨å¯è½ã§ãã + (<parameter>dst_im</parameter>ã <parameter>src_im</parameter>㨠+ åãå ´åã)ããããé åãéãªãå ´åã®çµæã¯äºæ¸¬ã§ãã¾ããã </para> <para> - See also <function>ImageCopyResized</function>. + <function>ImageCopyResized</function>ãåç §ä¸ããã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> @@ -1043,8 +1014,8 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCreate</function>ã¯ã<parameter>x_size</parameter>対 - <parameter>y_size</parameter>ã®ç©ºã®ç»åã表ããç»åIDãè¿ãã¾ãã + <function>ImageCreate</function>ã¯ã<parameter>x_size</parameter> + 対<parameter>y_size</parameter>ã®ç©ºã®ç»åã表ããç»åIDãè¿ãã¾ãã </para> <example> <title> @@ -1068,7 +1039,7 @@ <refentry id="function.imagecreatetruecolor"> <refnamediv> <refname>ImageCreateTrueColor</refname> - <refpurpose>Create a new true color image</refpurpose> + <refpurpose>TrueColorã¤ã¡ã¼ã¸ãæ°è¦ã«ä½æãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1080,19 +1051,22 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCreateTrueColor</function> returns an image identifier - representing a black image of size <parameter>x_size</parameter> - by <parameter>y_size</parameter>. + <function>ImageCreateTrueColor</function> ã¯ã + <parameter>x_size</parameter>Ã<parameter>y_size</parameter> ã®å¤§ + ããã®é»ã®ã¤ã¡ã¼ã¸ã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã </para> - <note><para>This function was added in PHP 4.0.6</para></note> - <note><para>This function requires GD 2.0.1 or later</para></note> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1以éãå¿ è¦ã¨ãã¾ãã + </para> + </note> </refsect1> </refentry> <refentry id="function.imagetruecolortopalette"> <refnamediv> <refname>ImageTrueColorToPalette</refname> - <refpurpose>Convert a true color image to a palette image</refpurpose> + <refpurpose>TrueColorã¤ã¡ã¼ã¸ããã¬ããã¤ã¡ã¼ã¸ã«å¤æãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1100,20 +1074,34 @@ <funcprototype> <funcdef>void <function>imagetruecolortopalette</function></funcdef> <paramdef>resource <parameter>im</parameter></paramdef> + <paramdef>bool <parameter>dither</parameter></paramdef> + <paramdef>int <parameter>ncolors</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <function>ImageTrueColorToPalette</function> converts a truecolor image - to a palette image. The code for this function was originally drawn from - the Independent JPEG Group library code, which is excellent. The code - has been modified to preserve as much alpha channel information as - possible in the resulting palette, in addition to preserving colors as - well as possible. This does not work as well as might be hoped. It is - usually best to simply produce a truecolor output image instead, which - guarantees the highest output quality. + <function>ImageTrueColorToPalette</function> ã¯ãTrueColorã¤ã¡ã¼ + ã¸ããã¬ããã¤ã¡ã¼ã¸ã«å¤æãã¾ãããã®é¢æ°ã®ã³ã¼ãã¯ãå ã + Independent JPEG Groupã©ã¤ãã©ãªç¨ã«æ¸ããããã®ã§ãç´ æ´ãããã + ã®ã§ãããã®ã³ã¼ãã¯ãè²ãã§ããéãç¶æãããã¨ã«å ãã¦ãã¢ã«ãã¡ + ãã£ãã«ã«é¢ããæ å ±ãåºåããããã¬ããã«ããã¦ã§ããã ãç¶æã + ãããã«ä¿®æ£ããã¦ãã¾ããããã¯ãæå¾ éãã«ãã¾ãããã¾ãããé + 常ã¯ãæé«ã®åºåå質ãä¿éãããTrueColoråºåã¤ã¡ã¼ã¸ãåã«åºåã + ãã®ãæè¯ã®æ¹æ³ã§ãã + </para> + <para> + <parameter>dither</parameter> ã¯ãã¤ã¡ã¼ã¸ã«ãã£ã¶ã¼ããããã㨠+ ãæå®ãã¾ããããããtrueã®å ´åããã£ã¶ã¼ãè¡ãããåºåã¯ã¼ãã + ã¾ãããè²ã®è¿ä¼¼ã¯ããè¯ããªãã¾ãã + </para> + <para> + <parameter>ncolors</parameter> ã«ã¯ããã¬ããã«ä¿æãããæå¤§ã®è² + æ°ãè¨å®ãã¾ãã </para> - <note><para>This function was added in PHP 4.0.6</para></note> - <note><para>This function requires GD 2.0.1 or later</para></note> + <note> + <para> + ãã®é¢æ°ã¯PHP 4.0.6ã§è¿½å ãããGD 2.0.1ãå¿ è¦ã¨ãã¾ãã + </para> + </note> </refsect1> </refentry> @@ -1182,14 +1170,14 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageCreateFromJPEG</function>ã¯å¼æ°filenameããå¾ãããç»å - ã表ãç»åIDãè¿ãã¾ãã + <function>ImageCreateFromJPEG</function>ã¯å¼æ°filenameããå¾ãã + ãç»åã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã </para> <para> <function>imagecreatefromjpeg</function>ã¯ã¨ã©ã¼æã«ç©ºã®æååã - è¿ãã¾ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããã¾ããããã®å ´åãæ®å¿µãªãã¨ã« - ãã©ã¦ã¶ä¸ã®ãªã³ã¯ã¯å£ãã¦ãã¾ãã¾ãã - ãããã°ãç°¡åã«ããããã«ä»¥ä¸ã®ä¾ã§ã¯ã¨ã©ã¼è¡¨ç¤ºç¨JPEGãåºåãã¦ãã¾ãã + è¿ãã¾ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããã¾ããããã®å ´åãæ®å¿µãªã㨠+ ã«ãã©ã¦ã¶ä¸ã®ãªã³ã¯ã¯å£ãã¦ãã¾ãã¾ãããããã°ãç°¡åã«ãããã + ã«ä»¥ä¸ã®ä¾ã§ã¯ã¨ã©ã¼è¡¨ç¤ºç¨JPEGãåºåãã¦ãã¾ãã <example> <title> 使æã®ã¨ã©ã¼ãå¦çããä¾ (vic@zymsys.comã«ãã) @@ -1374,8 +1362,8 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageDestroy</function>ã¯ç»å<parameter>im</parameter>ãä¿æãã - ã¡ã¢ãªãè§£æ¾ãã¾ãã<parameter>im</parameter>ã¯ã + <function>ImageDestroy</function>ã¯ç»å<parameter>im</parameter> + ãä¿æããã¡ã¢ãªãè§£æ¾ãã¾ãã<parameter>im</parameter>ã¯ã <function>ImageCreate</function>颿°ãè¿ãç»åIDã§ãã </para> </refsect1> @@ -1398,9 +1386,9 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFill</function>ã¯ãç»å<parameter>im</parameter>ã«ãã㦠- 座æ¨<parameter>x</parameter>, <parameter>y</parameter>(å·¦ä¸ã0,0)ãã - è²<parameter>col</parameter>ã§é åãå¡ãã¤ã¶ãã¾ãã + <function>ImageFill</function>ã¯ãç»å<parameter>im</parameter>ã« + ããã¦åº§æ¨<parameter>x</parameter>, <parameter>y</parameter>(å·¦ä¸ + ã0,0)ããè²<parameter>col</parameter>ã§é åãå¡ãã¤ã¶ãã¾ãã </para> </refsect1> </refentry> @@ -1422,10 +1410,10 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFilledPolygon</function>ã¯ç»å<parameter>im</parameter>ä¸ã« - å¡ãã¤ã¶ããå¤è§å½¢ãçæãã¾ãã - <parameter>points</parameter>ã¯PHPã®é åã§ãå¤è§å½¢ã®é ç¹ãããªãã¡ã - points[0] = x0, points[1] = y0, points[2] = x1, + <function>ImageFilledPolygon</function>ã¯ç»å + <parameter>im</parameter>ä¸ã«å¡ãã¤ã¶ããå¤è§å½¢ãçæãã¾ãã + <parameter>points</parameter>ã¯PHPã®é åã§ãå¤è§å½¢ã®é ç¹ãããªã + ã¡ãpoints[0] = x0, points[1] = y0, points[2] = x1, points[3] = y1ãªã©ã¨ããå ·åã«ãªã£ã¦ãã¾ãã <parameter>num_points</parameter>ã¯é ç¹ã®ç·æ°ã§ãã </para> @@ -1451,11 +1439,12 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFilledRectangle</function>ã¯ãç»å<parameter>im</parameter> - ä¸ã«å·¦ä¸ã®åº§æ¨ã(<parameter>x1</parameter>, <parameter>y1</parameter>)ã - å³ä¸ã®åº§æ¨ã(<parameter>x2</parameter>, <parameter>y2</parameter>)ã¨ããç©å½¢ã - æç»ãã¾ããå·¦ä¸é ã座æ¨(0,0)ã¨ãªãã¾ãã - ç©å½¢ã¯<function>col</function>è²ã§å¡ãã¤ã¶ããã¾ãã + <function>ImageFilledRectangle</function>ã¯ãç»å + <parameter>im</parameter>ä¸ã«å·¦ä¸ã®åº§æ¨ã + (<parameter>x1</parameter>, <parameter>y1</parameter>)ãå³ä¸ã®åº§ + æ¨ã(<parameter>x2</parameter>, <parameter>y2</parameter>)ã¨ãã + ç©å½¢ãæç»ãã¾ããå·¦ä¸é ã座æ¨(0,0)ã¨ãªãã¾ããç©å½¢ã¯ + <function>col</function>è²ã§å¡ãã¤ã¶ããã¾ãã </para> </refsect1> </refentry> @@ -1478,10 +1467,11 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageFillToBorder</function>ã¯ã<parameter>border</parameter>ã§æå®ãã - è²ãå¢çè²ã¨ãã¦å¡ãã¤ã¶ããè¡ãã¾ãã - (<parameter>x</parameter>,<parameter>y</parameter>)ãå¡ãã¤ã¶ãã®å§ç¹(å·¦ä¸ã0, 0)ã§ã - é åå ã<parameter>col</parameter>è²ã§å¡ãã¤ã¶ãã¾ãã + <function>ImageFillToBorder</function>ã¯ã + <parameter>border</parameter>ã§æå®ããè²ãå¢çè²ã¨ãã¦å¡ãã¤ã¶ã + ãè¡ãã¾ãã(<parameter>x</parameter>,<parameter>y</parameter>)ã + å¡ãã¤ã¶ãã®å§ç¹(å·¦ä¸ã0, 0)ã§ãé åå ã + <parameter>col</parameter>è²ã§å¡ãã¤ã¶ãã¾ãã </para> </refsect1> </refentry> @@ -1504,7 +1494,8 @@ </para> <para> <function>imagefontwidth</function>ããã³ - <function>imageloadfont</function>ãåèã«ãã¦ãã ããã </para> + <function>imageloadfont</function>ãåèã«ãã¦ãã ããã + </para> </refsect1> </refentry> @@ -1790,9 +1781,9 @@ </funcprototype> </funcsynopsis> <para> - ImageInterlaceã¯ãã¤ã³ã¿ã¼ã¬ã¼ã¹ãããã®ãªã³ãªããåãæ¿ãã¾ãã - interlaceã1ã®å ´åã«ç»å im ã¯ã¤ã³ã¿ã¼ã¬ã¼ã¹ã¨ãªãã0 ã§ããã°ã¤ - ã³ã¿ã¼ã¬ã¼ã¹ãããã¯æ¶ãã¾ãã + <function>ImageInterlace</function> ã¯ãã¤ã³ã¿ã¼ã¬ã¼ã¹ããããon + ã¾ãã¯offã«åãæ¿ãã¾ããinterlaceã1ã®å ´åãã¤ã¡ã¼ã¸ im ã¯ã¤ã³ã¿ã¼ + ã¬ã¼ã¹ã¨ãªãã0 ã§ããã°ã¤ã³ã¿ã¼ã¬ã¼ã¹ãããã¯offã«ãªãã¾ãã </para> <para> ãã®é¢æ°ã¯ããã®ç»åã®ã¤ã³ã¿ã¬ã¼ã¹ããããã»ããããã¦ãããã©ã @@ -2363,7 +2354,7 @@ <refentry id="function.imagesetbrush"> <refnamediv> <refname>ImageSetBrush</refname> - <refpurpose>Set the brush image for line drawing</refpurpose> + <refpurpose>ç·ã®æç»ç¨ã«ãã©ã·ã¤ã¡ã¼ã¸ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2375,18 +2366,18 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageSetBrush</function> sets the brush image to be - used by all line drawing functions (such as <function>ImageLine</function> - and <function>ImagePolygon</function>) when drawing with the special - colors IMG_COLOR_BRUSHED or IMG_COLOR_STYLEDBRUSHED. + <function>ImageSetBrush</function> ã¯ãç¹å¥ãªè² + IMG_COLOR_BRUSHED ã¾ã㯠IMG_COLOR_STYLEDBRUSHED ã§æç»ãããéã« + (<function>ImageLine</function>ã + <function>ImagePolygon</function>ã®ãããª) å ¨ã¦ã®ç·æç»é¢æ°ã§ä½¿ç¨ + ããããã©ã·ã¤ã¡ã¼ã¸ãè¨å®ãã¾ãã </para> <note> <para> - You need not take special action when you are finished with a - brush, but if you - destroy the brush image, you must not use the IMG_COLOR_BRUSHED - or IMG_COLOR_STYLEDBRUSHED - colors until you have set a new brush image! + ãã©ã·ã®ä½¿ç¨ãçµã£ãéã«ã¯ãç¹å¥ãªå¦çã¯ä¸è¦ã§ããããã©ã·ã¤ã¡ã¼ + ã¸ãç ´æ£ããå ´åã«ã¯ãæ°ãã«ãã©ã·ã¤ã¡ã¼ã¸ãè¨å®ããã¾ã§ã¯ãè² + IMG_COLOR_BRUSHED ã¾ã㯠IMG_COLOR_STYLEDBRUSHED ã使ç¨ããã¹ã + ã§ã¯ããã¾ããã </para> </note> <note> @@ -2400,7 +2391,7 @@ <refentry id="function.imagesettile"> <refnamediv> <refname>ImageSetTile</refname> - <refpurpose>Set the tile image for filling</refpurpose> + <refpurpose>å¡ãã¤ã¶ãç¨ã®ã¤ã¡ã¼ã¸ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2412,30 +2403,38 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageSetTile</function> sets the tile image to be - used by all region filling functions (such as <function>ImageFill</function> - and <function>ImageFilledPolygon</function>) when filling with the special - color IMG_COLOR_TILED. + <function>ImageSetTile</function> ã¯ãç¹å¥ãªè² + IMG_COLOR_TILED ãæå®ãã¦å¡ãã¤ã¶ãããå ´åã«ã + (<function>ImageFill</function>ã + <function>ImageFilledPolygon</function>ã®ãããª) + é åå¡ãã¤ã¶ã颿°ã§ä½¿ç¨ãããã¿ã¤ã«ã¤ã¡ã¼ã¸ãè¨å®ãã¾ãã </para> <para> - A tile is an image used to fill an area with a repeated pattern. <emphasis>Any</emphasis> - GD image can be used as a tile, and by setting the transparent color index of the tile - image with <function>ImageColorTransparent</function>, a tile allows certain parts - of the underlying area to shine through can be created. + ã¿ã¤ã«ã¯ãé åãå¡ãã¤ã¶ãããã«ç¹°ãè¿ã使ç¨ãããã¤ã¡ã¼ã¸ã§ãã + å ¨ã¦ã®GDã¤ã¡ã¼ã¸ãã¿ã¤ã«ã¨ãã¦ä½¿ç¨å¯è½ã§ã + <function>ImageColorTransparent</function>ã«ããã¿ã¤ã«ã®ééè²ID + ãè¨å®ãããã¨ã«ããããã®ä¸é¨ããä¸ã®é¨åãéãã¦è¦ãããããªã¿ + ã¤ã«ã使ãããã¨ãå¯è½ã§ãã </para> <note> - <para>You need not take special action when you are finished with a tile, but if you - destroy the tile image, you must not use the IMG_COLOR_TILED color until you have - set a new tile image!</para> + <para> + ã¿ã¤ã«ã®ä½¿ç¨ãçµã£ãéã«ã¯ãç¹å¥ãªå¦çã¯ä¸è¦ã§ãããã¿ã¤ã«ã¤ã¡ã¼ + ã¸ãç ´æ£ããå ´åã«ã¯ãæ°ãã«ã¿ã¤ã«ã¤ã¡ã¼ã¸ãè¨å®ããã¾ã§ã¯ãè² + IMG_COLOR_TILEDã使ç¨ããã¹ãã¾ããã + </para> + </note> + <note> + <para> + ãã®é¢æ°ã¯ãPHP 4.0.6ã§è¿½å ããã¾ããã + </para> </note> - <note><para>This function was added in PHP 4.0.6</para></note> </refsect1> </refentry> <refentry id="function.imagesetthickness"> <refnamediv> <refname>ImageSetThickness</refname> - <refpurpose>Set the thickness for line drawing</refpurpose> + <refpurpose>ç·æç»ç¨ã®ç·å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2447,14 +2446,13 @@ </funcprototype> </funcsynopsis> <para> - <function>ImageSetThickness</function> sets the thickness of the lines - drawn when drawing rectangles, polygons, ellipses etc. etc. to - <parameter>thickness</parameter> pixels. + <function>ImageSetThickness</function> ã¯ãé·æ¹å½¢ãå¤è§å½¢ãæ¥åç + ãæç»ããéã®ç·å¹ ã<parameter>thickness</parameter>ãã¯ã»ã«ã«è¨ + å®ãã¾ãã </para> <note> <para> - This function was added in PHP 4.0.6 and requires GD 2.0.1 or - later + ãã®é¢æ°ã¯ PHP 4.0.6 ã§è¿½å ãããGD 2.0.1 以éãå¿ è¦ã¨ãã¾ãã </para> </note> </refsect1> Index: phpdoc/ja/functions/ming.xml diff -u phpdoc/ja/functions/ming.xml:1.2 phpdoc/ja/functions/ming.xml:1.3 --- phpdoc/ja/functions/ming.xml:1.2 Sun Apr 8 16:07:42 2001 +++ phpdoc/ja/functions/ming.xml Thu Apr 19 07:08:53 2001 @@ -99,71 +99,70 @@ </simpara> <itemizedlist> <listitem> - <simpara> - <function>swfmovie</function>. + <simpara> + <function>swfmovie</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfshape</function>. + <simpara> + <function>swfshape</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfdisplayitem</function>. + <simpara> + <function>swfdisplayitem</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfgradient</function>. + <simpara> + <function>swfgradient</function>. </simpara> - </listitem> - + </listitem> <listitem> - <simpara> - <function>swfbitmap</function>. + <simpara> + <function>swfbitmap</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swffill</function>. + <simpara> + <function>swffill</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfmorph</function>. + <simpara> + <function>swfmorph</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swftext</function>. + <simpara> + <function>swftext</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swffont</function>. + <simpara> + <function>swffont</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swftextfield</function>. + <simpara> + <function>swftextfield</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfsprite</function>. + <simpara> + <function>swfsprite</function>. </simpara> - </listitem> - <listitem> - <simpara> - <function>swfbutton</function>. + </listitem> + <listitem> + <simpara> + <function>swfbutton</function>. </simpara> - </listitem> + </listitem> <listitem> - <simpara> - <function>swfaction</function>. + <simpara> + <function>swfaction</function>. </simpara> - </listitem> + </listitem> </itemizedlist> </sect1> </partintro> @@ -1493,7 +1492,7 @@ <refentry id="function.swfshape.setleftfill"> <refnamediv> <refname>SWFShape->setLeftFill</refname> - <refpurpose>Sets left rasterizing color.</refpurpose> + <refpurpose>å·¦ã©ã¹ã¿ã¼è²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1509,7 +1508,9 @@ <paramdef>integer <parameter>red</parameter></paramdef> <paramdef>integer <parameter>green</parameter></paramdef> <paramdef>integer <parameter>blue</parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -1539,7 +1540,7 @@ <refentry id="function.swfshape.setrightfill"> <refnamediv> <refname>SWFShape->setRightFill</refname> - <refpurpose>Sets right rasterizing color.</refpurpose> + <refpurpose>å³ã©ã¹ã¿ã¼è²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -1555,7 +1556,9 @@ <paramdef>integer <parameter>red</parameter></paramdef> <paramdef>integer <parameter>green</parameter></paramdef> <paramdef>integer <parameter>blue</parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <simpara> @@ -2115,7 +2118,7 @@ <refentry id="function.swffill.skewxto"> <refnamediv> <refname>SWFFill->skewXTo</refname> - <refpurpose>Sets fill x-skew</refpurpose> + <refpurpose>x-skewãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2136,7 +2139,7 @@ <refentry id="function.swffill.skewyto"> <refnamediv> <refname>SWFFill->skewYTo</refname> - <refpurpose>Sets fill y-skew</refpurpose> + <refpurpose>y-skewãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2159,7 +2162,7 @@ <refentry id="function.swfmorph"> <refnamediv> <refname>SWFMorph</refname> - <refpurpose>Creates a new SWFMorph object.</refpurpose> + <refpurpose>æ°è¦ã«SWFMorphãªãã¸ã§ã¯ãã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2192,7 +2195,7 @@ This simple example will morph a big red square into a smaller blue black-bordered square. <example> - <title><function>swfmorph</function> example</title> + <title><function>swfmorph</function>ã®ä¾</title> <programlisting role="php"> <?php $p = new SWFMorph(); @@ -2244,7 +2247,7 @@ <refentry id="function.swfmorph.getshape1"> <refnamediv> <refname>SWFMorph->getshape1</refname> - <refpurpose>Gets a handle to the starting shape</refpurpose> + <refpurpose>æåã®ã·ã§ã¼ãã¸ã®ãã³ãã«ãå¾ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2265,7 +2268,7 @@ <refentry id="function.swfmorph.getshape2"> <refnamediv> <refname>SWFMorph->getshape2</refname> - <refpurpose>Gets a handle to the ending shape</refpurpose> + <refpurpose>æå¾ã®ã·ã§ã¼ãã¸ã®ãã³ãã«ãå¾ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2288,7 +2291,7 @@ <refentry id="function.swftext"> <refnamediv> <refname>SWFMorph</refname> - <refpurpose>Creates a new SWFText object.</refpurpose> + <refpurpose>æ°è¦ã«SWFTextãªãã¸ã§ã¯ãã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2312,7 +2315,7 @@ This simple example will draw a big yellow "PHP generates Flash with Ming" text, on white background. <example> - <title><function>swftext</function> example</title> + <title><function>swftext</function>ã®ä¾</title> <programlisting role="php"> <?php $f = new SWFFont("Techno.fdb"); @@ -2360,7 +2363,7 @@ <refentry id="function.swftext.setheight"> <refnamediv> <refname>SWFText->setHeight</refname> - <refpurpose>Sets the current font height</refpurpose> + <refpurpose>ã«ã¬ã³ãã®ãã©ã³ãã®é«ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2380,7 +2383,7 @@ <refentry id="function.swftext.setspacing"> <refnamediv> <refname>SWFText->setSpacing</refname> - <refpurpose>Sets the current font spacing</refpurpose> + <refpurpose>ã«ã¬ã³ãã®ãã©ã³ãã®ééãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2406,7 +2409,7 @@ <refentry id="function.swftext.setcolor"> <refnamediv> <refname>SWFText->setColor</refname> - <refpurpose>Sets the current font color</refpurpose> + <refpurpose>ã«ã¬ã³ãã®ãã©ã³ãè²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2429,7 +2432,7 @@ <refentry id="function.swftext.moveto"> <refnamediv> <refname>SWFText->moveTo</refname> - <refpurpose>Moves the pen</refpurpose> + <refpurpose>ãã³ãç§»åãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2452,7 +2455,7 @@ <refentry id="function.swftext.addstring"> <refnamediv> <refname>SWFText->addString</refname> - <refpurpose>Draws a string</refpurpose> + <refpurpose>æååãç»ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2473,7 +2476,7 @@ <refentry id="function.swftext.getwidth"> <refnamediv> <refname>SWFText->getWidth</refname> - <refpurpose>Computes string's width</refpurpose> + <refpurpose>æååã®å¹ ãè¨ç®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2548,7 +2551,7 @@ <refentry id="function.swffont.getwidth"> <refnamediv> <refname>getwidth</refname> - <refpurpose>Returns the string's width</refpurpose> + <refpurpose>æååã®å¹ ãè¿ã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2572,14 +2575,16 @@ <refentry id="function.swftextfield"> <refnamediv> <refname>SWFTextField</refname> - <refpurpose>Creates a text field object</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®ãªãã¸ã§ã¯ãã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>new <function>swftextfield</function></funcdef> - <paramdef>int <parameter><optional>flags</optional></parameter></paramdef> + <paramdef>int + <parameter><optional>flags</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -2647,7 +2652,7 @@ <refentry id="function.swftextfield.setfont"> <refnamediv> <refname>SWFTextField->setFont</refname> - <refpurpose>Sets the text field font</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ããã©ã³ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2667,7 +2672,7 @@ <refentry id="function.swftextfield.setbounds"> <refnamediv> <refname>SWFTextField->setbounds</refname> - <refpurpose>Sets the text field width and height</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®å¹ ã¨é«ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2690,7 +2695,7 @@ <refentry id="function.swftextfield.align"> <refnamediv> <refname>SWFTextField->align</refname> - <refpurpose>Sets the text field alignment</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®ã¢ã©ã¤ã¡ã³ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2713,7 +2718,9 @@ <refentry id="function.swftextfield.setheight"> <refnamediv> <refname>SWFTextField->setHeight</refname> - <refpurpose>Sets the font height of this text field font.</refpurpose> + <refpurpose> + æå®ããããã¹ããã£ã¼ã«ããã©ã³ãã®é«ããè¨å®ãã + </refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2733,7 +2740,7 @@ <refentry id="function.swftextfield.setleftmargin"> <refnamediv> <refname>SWFTextField->setLeftMargin</refname> - <refpurpose>Sets the left margin width of the text field.</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®å·¦ãã¼ã¸ã³å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2753,7 +2760,7 @@ <refentry id="function.swftextfield.setrightmargin"> <refnamediv> <refname>SWFTextField->setrightMargin</refname> - <refpurpose>Sets the right margin width of the text field.</refpurpose> + <refpurpose>ãã¹ããã£ã¼ã«ãã®å³ãã¼ã¸ã³å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2773,7 +2780,7 @@ <refentry id="function.swftextfield.setmargins"> <refnamediv> <refname>SWFTextField->setMargins</refname> - <refpurpose>Sets the margins width of the text field.</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®ãã¼ã¸ã³å¹ ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2794,7 +2801,7 @@ <refentry id="function.swftextfield.setindentation"> <refnamediv> <refname>SWFTextField->setindentation</refname> - <refpurpose>Sets the indentation of the first line.</refpurpose> + <refpurpose>å é è¡ã®ã¤ã³ãã³ããè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2814,7 +2821,7 @@ <refentry id="function.swftextfield.setlinespacing"> <refnamediv> <refname>SWFTextField->setLineSpacing</refname> - <refpurpose>Sets the line spacing of the text field.</refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®è¡éãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2834,7 +2841,7 @@ <refentry id="function.swftextfield.setcolor"> <refnamediv> <refname>SWFTextField->setcolor</refname> - <refpurpose>Sets the color of the text field. </refpurpose> + <refpurpose>ããã¹ããã£ã¼ã«ãã®è²ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2857,7 +2864,7 @@ <refentry id="function.swftextfield.setname"> <refnamediv> <refname>SWFTextField->setname</refname> - <refpurpose>Sets the variable name</refpurpose> + <refpurpose>夿°åãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2878,7 +2885,7 @@ <refentry id="function.swftextfield.addstring"> <refnamediv> <refname>SWFTextField->addstring</refname> - <refpurpose>Concatenates the given string to the text field</refpurpose> + <refpurpose>æå®ããæååãããã¹ããã£ã¼ã«ãã«çµåãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2889,8 +2896,8 @@ </funcprototype> </funcsynopsis> <para> - <function>swftextfield->setname</function> concatenates the string - <parameter>string</parameter> to the text field. + <function>swftextfield->setname</function> ã¯ãæåå + <parameter>string</parameter>ãããã¹ããã£ã¼ã«ãã«çµåãã¾ãã </para> </refsect1> </refentry> @@ -2900,7 +2907,7 @@ <refentry id="function.swfsprite"> <refnamediv> <refname>SWFSprite</refname> - <refpurpose>Creates a movie clip (a sprite)</refpurpose> + <refpurpose>ã ã¼ãã¼ã¯ãªãã(ã¹ãã©ã¤ã)ã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2924,7 +2931,7 @@ <para> This simple example will spin gracefully a big red square. <example> - <title><function>swfsprite</function> example</title> + <title><function>swfsprite</function> ã®ä¾</title> <programlisting role="php"> <?php $s = new SWFShape(); @@ -2969,7 +2976,7 @@ <refentry id="function.swfsprite.add"> <refnamediv> <refname>SWFSprite->add</refname> - <refpurpose>Adds an object to a sprite</refpurpose> + <refpurpose>ãªãã¸ã§ã¯ããã¹ãã©ã¤ãã«è¿½å ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -2996,7 +3003,7 @@ <refentry id="function.swfsprite.remove"> <refnamediv> <refname>SWFSprite->remove</refname> - <refpurpose>Removes an object to a sprite</refpurpose> + <refpurpose>ãªãã¸ã§ã¯ããã¹ãã©ã¤ãããåé¤ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3018,7 +3025,7 @@ <refentry id="function.swfsprite.setframes"> <refnamediv> <refname>SWFSprite->setframes</refname> - <refpurpose>Sets the total number of frames in the animation.</refpurpose> + <refpurpose>ã¢ãã¡ã¼ã·ã§ã³ã®ç·ãã¬ã¼ã æ°ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3038,7 +3045,7 @@ <refentry id="function.swfsprite.nextframe"> <refnamediv> <refname>SWFSprite->nextframe</refname> - <refpurpose>Moves to the next frame of the animation.</refpurpose> + <refpurpose>ã¢ãã¡ã¼ã·ã§ã³ã®æ¬¡ã®ãã¬ã¼ã ã«ç§»åãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3060,7 +3067,7 @@ <refentry id="function.swfbutton"> <refnamediv> <refname>SWFbutton</refname> - <refpurpose>Creates a new Button.</refpurpose> + <refpurpose>æ°è¦ãã¿ã³ã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3222,7 +3229,7 @@ <refentry id="function.swfbutton.addshape"> <refnamediv> <refname>SWFbutton->addShape</refname> - <refpurpose>Adds a shape to a button</refpurpose> + <refpurpose>ãã¿ã³ã«ã·ã§ã¼ãã追å ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3248,7 +3255,7 @@ <refentry id="function.swfbutton.setup"> <refnamediv> <refname>SWFbutton->setUp</refname> - <refpurpose>Alias for addShape(shape, SWFBUTTON_UP)</refpurpose> + <refpurpose>addShape(shape, SWFBUTTON_UP)ã¸ã®ã¨ã¤ãªã¢ã¹</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3267,7 +3274,7 @@ <refentry id="function.swfbutton.setover"> <refnamediv> <refname>SWFbutton->setOver</refname> - <refpurpose>Alias for addShape(shape, SWFBUTTON_OVER)</refpurpose> + <refpurpose>addShape(shape, SWFBUTTON_OVER)ã¸ã®ã¨ã¤ãªã¢ã¹</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3286,7 +3293,7 @@ <refentry id="function.swfbutton.sethit"> <refnamediv> <refname>SWFbutton->setHit</refname> - <refpurpose>Alias for addShape(shape, SWFBUTTON_HIT)</refpurpose> + <refpurpose>addShape(shape, SWFBUTTON_HIT)ã¸ã®ã¨ã¤ãªã¢ã¹</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3305,7 +3312,7 @@ <refentry id="function.swfbutton.setAction"> <refnamediv> <refname>SWFbutton->setAction</refname> - <refpurpose>Sets the action</refpurpose> + <refpurpose>ã¢ã¯ã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3328,7 +3335,7 @@ <refentry id="function.swfaction"> <refnamediv> <refname>SWFAction</refname> - <refpurpose>Creates a new Action.</refpurpose> + <refpurpose>æ°è¦ã¢ã¯ã·ã§ã³ã使ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> @@ -3729,7 +3736,7 @@ <para> This simple example will move the red square across the window. <example> - <title><function>swfaction</function> example</title> + <title><function>swfaction</function>ã®ä¾</title> <programlisting role="php"> <?php $s = new SWFShape(); Index: phpdoc/ja/functions/strings.xml diff -u phpdoc/ja/functions/strings.xml:1.32 phpdoc/ja/functions/strings.xml:1.33 --- phpdoc/ja/functions/strings.xml:1.32 Thu Apr 12 08:30:00 2001 +++ phpdoc/ja/functions/strings.xml Thu Apr 19 07:08:53 2001 @@ -2703,8 +2703,9 @@ </example> </para> <para> - <function>substr</function>,<function>stristr</function>, - <function>strstr</function>ãåç §ä¸ããã + <function>strchr</function>, <function>substr</function>, + <function>stristr</function>, <function>strstr</function>. + ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -2885,8 +2886,9 @@ </example> </para> <para> - <function>strrchr</function>,<function>substr</function>, - <function>ereg</function> ãåç §ä¸ããã + <function>strchr</function>, <function>stristr</function>, + <function>strrchr</function>, <function>substr</function>, + <function>ereg</function>ãåç §ä¸ããã </para> </refsect1> </refentry>