cvs: phpdoc-zh /reference/image/functions imagecolorresolvealpha.xml imagecopy.xml imagecreatefromgd2.xml imagecreatefromgd2part.xml imageloadfont.xml
imagepalettecopy.xml
| From: | Xiao shengwen | Date: | Fri, 15 Jul 2005 15:59:14 +0000 |
| Subject: | cvs: phpdoc-zh /reference/image/functions imagecolorresolvealpha.xml imagecopy.xml imagecreatefromgd2.xml imagecreatefromgd2part.xml imageloadfont.xml imagepalettecopy.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2056@lists.php.net to get a copy of this message | ||
yincheng Fri Jul 15 11:59:14 2005 EDT
Modified files:
/phpdoc-zh/reference/image/functions imagecolorresolvealpha.xml
imagecopy.xml
imagecreatefromgd2.xml
imagecreatefromgd2part.xml
imageloadfont.xml
imagepalettecopy.xml
Log:
up to en
http://cvs.php.net/diff.php/phpdoc-zh/reference/image/functions/imagecolorresolvealpha.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/image/functions/imagecolorresolvealpha.xml
diff -u phpdoc-zh/reference/image/functions/imagecolorresolvealpha.xml:1.1
phpdoc-zh/reference/image/functions/imagecolorresolvealpha.xml:1.2
--- phpdoc-zh/reference/image/functions/imagecolorresolvealpha.xml:1.1 Thu Aug 28 00:08:14 2003
+++ phpdoc-zh/reference/image/functions/imagecolorresolvealpha.xml Fri Jul 15 11:59:12 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready -->
<refentry id="function.imagecolorresolvealpha">
<refnamediv>
<refname>imagecolorresolvealpha</refname>
@@ -22,14 +22,10 @@
<para>
±¾º¯Êý¿ÉÒÔ±£Ö¤¶ÔËùÇëÇóµÄÑÕÉ«·µ»ØÒ»¸öÑÕÉ«Ë÷Òý£¬ÒªÃ´ÊÇÈ·ÇÐֵҪôÊÇËùÄܵõ½×î½Ó½üµÄÌæ´úÖµ¡£
</para>
+ ¬e.gd.2;
<para>
²Î¼û <function>imagecolorclosestalpha</function>¡£
</para>
- <note>
- <para>
- ±¾º¯ÊýÌí¼ÓÓÚ PHP 4.0.6 ²¢ÐèÒª GD 2.0.1¡£
- </para>
- </note>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc-zh/reference/image/functions/imagecopy.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/image/functions/imagecopy.xml
diff -u phpdoc-zh/reference/image/functions/imagecopy.xml:1.1
phpdoc-zh/reference/image/functions/imagecopy.xml:1.2
--- phpdoc-zh/reference/image/functions/imagecopy.xml:1.1 Thu Aug 28 00:08:14 2003
+++ phpdoc-zh/reference/image/functions/imagecopy.xml Fri Jul 15 11:59:12 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
<refentry id="function.imagecopy">
<refnamediv>
<refname>imagecopy</refname>
@@ -10,7 +10,7 @@
<refsect1>
<title>˵Ã÷</title>
<methodsynopsis>
- <type>int</type><methodname>imagecopy</methodname>
+ <type>bool</type><methodname>imagecopy</methodname>
<methodparam><type>resource</type><parameter>dst_im</parameter></methodparam>
<methodparam><type>resource</type><parameter>src_im</parameter></methodparam>
<methodparam><type>int</type><parameter>dst_x</parameter></methodparam>
http://cvs.php.net/diff.php/phpdoc-zh/reference/image/functions/imagecreatefromgd2.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/image/functions/imagecreatefromgd2.xml
diff -u phpdoc-zh/reference/image/functions/imagecreatefromgd2.xml:1.1
phpdoc-zh/reference/image/functions/imagecreatefromgd2.xml:1.2
--- phpdoc-zh/reference/image/functions/imagecreatefromgd2.xml:1.1 Thu Aug 28 00:08:14 2003
+++ phpdoc-zh/reference/image/functions/imagecreatefromgd2.xml Fri Jul 15 11:59:12 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
<refentry id='function.imagecreatefromgd2'>
<refnamediv>
<refname>imagecreatefromgd2</refname>
@@ -16,6 +16,7 @@
<para>
&warn.undocumented.func;
</para>
+ ¬e.gd.2;
&tip.fopen-wrapper;
&warn.no-win32-fopen-wrapper;
</refsect1>
http://cvs.php.net/diff.php/phpdoc-zh/reference/image/functions/imagecreatefromgd2part.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/image/functions/imagecreatefromgd2part.xml
diff -u phpdoc-zh/reference/image/functions/imagecreatefromgd2part.xml:1.1
phpdoc-zh/reference/image/functions/imagecreatefromgd2part.xml:1.2
--- phpdoc-zh/reference/image/functions/imagecreatefromgd2part.xml:1.1 Thu Aug 28 00:08:14 2003
+++ phpdoc-zh/reference/image/functions/imagecreatefromgd2part.xml Fri Jul 15 11:59:12 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
<refentry id='function.imagecreatefromgd2part'>
<refnamediv>
<refname>imagecreatefromgd2part</refname>
@@ -20,6 +20,7 @@
<para>
&warn.undocumented.func;
</para>
+ ¬e.gd.2;
&tip.fopen-wrapper;
&warn.no-win32-fopen-wrapper;
</refsect1>
http://cvs.php.net/diff.php/phpdoc-zh/reference/image/functions/imageloadfont.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/image/functions/imageloadfont.xml
diff -u phpdoc-zh/reference/image/functions/imageloadfont.xml:1.1
phpdoc-zh/reference/image/functions/imageloadfont.xml:1.2
--- phpdoc-zh/reference/image/functions/imageloadfont.xml:1.1 Thu Aug 28 00:08:14 2003
+++ phpdoc-zh/reference/image/functions/imageloadfont.xml Fri Jul 15 11:59:12 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
<refentry id="function.imageloadfont">
<refnamediv>
<refname>imageloadfont</refname>
@@ -17,6 +17,7 @@
<function>imageloadfont</function>
¼ÓÔØÒ»¸öÓû§¶¨ÒåµÄλͼ×ÖÌå²¢·µ»Ø¸Ã×ÖÌåµÄ±êʶ·û£¨ÆäÖµ×ÜÊÇ´óÓÚ
5£¬Òò´Ë²»»áºÍÄÚÖÃ×ÖÌå³åÍ»£©¡£
+ ÔÚ²úÉú´íÎóµÄÇé¿öÏ£¬¸Ãº¯Êý·µ»Ø &false; ¡£
</para>
<para>
×ÖÌåÎļþ¸ñʽĿǰÊǶþ½øÖƵÄÇÒºÍÆ½Ì¨Óйء£ÕâÒâζ×ÅÓ¦¸ÃÓúÍÄãÔËÐÐ
@@ -66,6 +67,24 @@
</table>
</para>
<para>
+ <example>
+ <title>ʹÓà imageloadfont</title>
+ <programlisting role="php">
+ <![CDATA[
+ <?php
+ $im = imagecreate(50, 20);
+ $black = imagecolorallocate($im, 0, 0, 0);
+ $white = imagecolorallocate($im, 255, 255, 255);
+ imagefilledrectangle($im, 0, 0, 49, 19, $white);
+ $font = imageloadfont("04b.gdf");
+ imagestring($im, $font, 0, 0, "Hello", $black);
+ imagepng($im);
+ ?>
+ ]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
²Î¼û <function>imagefontwidth</function> ºÍ
<function>imagefontheight</function>¡£
</para>
http://cvs.php.net/diff.php/phpdoc-zh/reference/image/functions/imagepalettecopy.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/image/functions/imagepalettecopy.xml
diff -u phpdoc-zh/reference/image/functions/imagepalettecopy.xml:1.1
phpdoc-zh/reference/image/functions/imagepalettecopy.xml:1.2
--- phpdoc-zh/reference/image/functions/imagepalettecopy.xml:1.1 Thu Aug 28 00:08:14 2003
+++ phpdoc-zh/reference/image/functions/imagepalettecopy.xml Fri Jul 15 11:59:12 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready -->
<refentry id="function.imagepalettecopy">
<refnamediv>
<refname>imagepalettecopy</refname>
@@ -10,7 +10,7 @@
<refsect1>
<title>˵Ã÷</title>
<methodsynopsis>
- <type>int</type><methodname>imagepalettecopy</methodname>
+ <type>void</type><methodname>imagepalettecopy</methodname>
<methodparam><type>resource</type><parameter>destination</parameter></methodparam>
<methodparam><type>resource</type><parameter>source</parameter></methodparam>
</methodsynopsis>