nlopess         Fri Jun 11 04:25:39 2004 EDT

  Modified files:              
    /phpdoc/en  language-snippets.ent 
    /phpdoc/en/reference/image/functions        imagealphablending.xml 
                                                imagecolorallocatealpha.xml 
                                                imagecolorclosestalpha.xml 
                                                imagecolorexactalpha.xml 
                                                imagecolormatch.xml 
                                                imagecolorresolvealpha.xml 
                                                imagecopyresampled.xml 
                                                imagecreatetruecolor.xml 
                                                imagefilledarc.xml 
                                                imagefilledellipse.xml 
                                                imageftbbox.xml 
                                                imagefttext.xml 
                                                imageistruecolor.xml 
                                                imagelayereffect.xml 
                                                imagesavealpha.xml 
                                                imagesetthickness.xml 
                                                imagetruecolortopalette.xml 
  Log:
  fix #28737: add GD 2 info
  
http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.95&r2=1.96&ty=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.95 phpdoc/en/language-snippets.ent:1.96
--- phpdoc/en/language-snippets.ent:1.95        Thu Jun 10 07:36:54 2004
+++ phpdoc/en/language-snippets.ent     Fri Jun 11 04:25:38 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.95 $ -->
+<!-- $Revision: 1.96 $ -->
 
 <!ENTITY warn.experimental '<warning><simpara>This extension is
 <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this extension --
@@ -116,6 +116,8 @@
 
 <!ENTITY note.bundled.gd '<note><simpara>This function is only available if
 PHP is compiled with the bundled version of the GD library.</simpara></note>'>
+
+<!ENTITY note.gd.2 '<note><simpara>This function requires GD 2.0.1 or 
later.</simpara></note>'>
 
 <!-- DomXml Notes -->
 <!ENTITY node.inserted 'This node will not show up in the document unless it
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagealphablending.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/image/functions/imagealphablending.xml
diff -u phpdoc/en/reference/image/functions/imagealphablending.xml:1.5 
phpdoc/en/reference/image/functions/imagealphablending.xml:1.6
--- phpdoc/en/reference/image/functions/imagealphablending.xml:1.5      Thu Nov  6 
11:07:38 2003
+++ phpdoc/en/reference/image/functions/imagealphablending.xml  Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagealphablending">
   <refnamediv>
@@ -28,11 +28,7 @@
     disabled.
     &return.success;
    </para>
-   <note>
-    <para>
-     This function was added in PHP 4.0.6 and requires GD 2.0.1
-    </para>
-   </note>
+   &note.gd.2;
   </refsect1>
  </refentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml
diff -u phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml:1.5 
phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml:1.6
--- phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml:1.5 Sat Aug 16 
17:19:31 2003
+++ phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml     Fri Jun 11 
04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
  <refentry id="function.imagecolorallocatealpha">
   <refnamediv>
    <refname>imagecolorallocatealpha</refname>
@@ -70,6 +70,7 @@
      </programlisting>
     </example>
    </para>
+   &note.gd.2;
    <para>
     See also <function>imagecolorallocate</function> and
     <function>imagecolordeallocate</function>.
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorclosestalpha.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorclosestalpha.xml
diff -u phpdoc/en/reference/image/functions/imagecolorclosestalpha.xml:1.4 
phpdoc/en/reference/image/functions/imagecolorclosestalpha.xml:1.5
--- phpdoc/en/reference/image/functions/imagecolorclosestalpha.xml:1.4  Fri Aug 15 
18:50:50 2003
+++ phpdoc/en/reference/image/functions/imagecolorclosestalpha.xml      Fri Jun 11 
04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorclosestalpha">
   <refnamediv>
@@ -20,11 +20,7 @@
     Returns the index of the color in the palette of the image which
     is "closest" to the specified <acronym>RGB</acronym> value and 
<parameter>alpha</parameter> level.
    </para>
-   <note>
-    <para>
-     This function was added in PHP 4.0.6 and requires GD 2.0.1
-    </para>
-   </note>
+   &note.gd.2;
    <para>
     See also <function>imagecolorexactalpha</function>.
    </para>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorexactalpha.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorexactalpha.xml
diff -u phpdoc/en/reference/image/functions/imagecolorexactalpha.xml:1.3 
phpdoc/en/reference/image/functions/imagecolorexactalpha.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolorexactalpha.xml:1.3    Thu Apr 18 
13:13:09 2002
+++ phpdoc/en/reference/image/functions/imagecolorexactalpha.xml        Fri Jun 11 
04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorexactalpha">
   <refnamediv>
@@ -24,10 +24,10 @@
     If the color does not exist in the image's palette, -1 is
     returned.
    </para>
+   &note.gd.2;
    <para>
     See also <function>imagecolorclosestalpha</function>.
    </para>
-   <note><para>This function was added in PHP 4.0.6 and requires GD 2.0.1 or 
later</para></note>
   </refsect1>
  </refentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolormatch.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagecolormatch.xml
diff -u phpdoc/en/reference/image/functions/imagecolormatch.xml:1.3 
phpdoc/en/reference/image/functions/imagecolormatch.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolormatch.xml:1.3 Mon Apr 12 18:58:32 
2004
+++ phpdoc/en/reference/image/functions/imagecolormatch.xml     Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <refentry id="function.imagecolormatch">
   <refnamediv>
    <refname>imagecolormatch</refname>
@@ -28,6 +28,7 @@
     &return.success;   
    </para>
    &note.bundled.gd;
+   &note.gd.2;
    <para>
     See also <function>imagecreatetruecolor</function>.
    </para>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorresolvealpha.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorresolvealpha.xml
diff -u phpdoc/en/reference/image/functions/imagecolorresolvealpha.xml:1.3 
phpdoc/en/reference/image/functions/imagecolorresolvealpha.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolorresolvealpha.xml:1.3  Thu Apr 18 
13:13:09 2002
+++ phpdoc/en/reference/image/functions/imagecolorresolvealpha.xml      Fri Jun 11 
04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorresolvealpha">
   <refnamediv>
@@ -24,10 +24,10 @@
     requested color, either the exact color or the closest possible
     alternative.
    </para>
+   &note.gd.2;
    <para>
     See also <function>imagecolorclosestalpha</function>.
    </para>
-   <note><para>This function was added in PHP 4.0.6 and requires GD 
2.0.1</para></note>
   </refsect1>
  </refentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecopyresampled.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/image/functions/imagecopyresampled.xml
diff -u phpdoc/en/reference/image/functions/imagecopyresampled.xml:1.4 
phpdoc/en/reference/image/functions/imagecopyresampled.xml:1.5
--- phpdoc/en/reference/image/functions/imagecopyresampled.xml:1.4      Thu Nov  6 
11:07:38 2003
+++ phpdoc/en/reference/image/functions/imagecopyresampled.xml  Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecopyresampled">
   <refnamediv>
@@ -49,11 +49,7 @@
      <function>imagecreatetruecolor</function>.
     </para>
    </note>
-   <note>
-    <para>
-     <function>imagecopyresampled</function> requires GD 2.0.l or greater.
-    </para>
-   </note>
+   &note.gd.2;
    <para>
     See also <function>imagecopyresized</function>.
    </para>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatetruecolor.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/image/functions/imagecreatetruecolor.xml
diff -u phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.7 
phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.8
--- phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.7    Mon Dec 15 
11:51:11 2003
+++ phpdoc/en/reference/image/functions/imagecreatetruecolor.xml        Fri Jun 11 
04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 -->
  <refentry id="function.imagecreatetruecolor">
   <refnamediv>
@@ -38,11 +38,7 @@
      </programlisting>
     </example>
    </para>
-   <note>
-    <para>
-     This function was added in PHP 4.0.6 and requires GD 2.0.1 or later.
-    </para>
-   </note>
+   &note.gd.2;
    <note>
     <para>
      This function will not work with GIF file formats.
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefilledarc.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/image/functions/imagefilledarc.xml
diff -u phpdoc/en/reference/image/functions/imagefilledarc.xml:1.6 
phpdoc/en/reference/image/functions/imagefilledarc.xml:1.7
--- phpdoc/en/reference/image/functions/imagefilledarc.xml:1.6  Thu Nov  6 11:07:38 
2003
+++ phpdoc/en/reference/image/functions/imagefilledarc.xml      Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagefilledarc">
   <refnamediv>
@@ -89,11 +89,7 @@
      </programlisting>
     </example>
    </para>
-   <note>
-    <para>
-     This function was added in PHP 4.0.6 and requires GD 2.0.1
-    </para>
-   </note>
+   &note.gd.2;
   </refsect1>
  </refentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefilledellipse.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/image/functions/imagefilledellipse.xml
diff -u phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.9 
phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.10
--- phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.9      Thu Dec 18 
12:44:49 2003
+++ phpdoc/en/reference/image/functions/imagefilledellipse.xml  Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagefilledellipse">
   <refnamediv>
@@ -58,6 +58,7 @@
      </programlisting>
     </example>
    </para>
+   &note.gd.2;
    <para>
     See also <function>imageellipse</function> and
     <function>imagefilledarc</function>.
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imageftbbox.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/image/functions/imageftbbox.xml
diff -u phpdoc/en/reference/image/functions/imageftbbox.xml:1.2 
phpdoc/en/reference/image/functions/imageftbbox.xml:1.3
--- phpdoc/en/reference/image/functions/imageftbbox.xml:1.2     Wed Apr 17 02:39:12 
2002
+++ phpdoc/en/reference/image/functions/imageftbbox.xml Fri Jun 11 04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.67 -->
   <refentry id='function.imageftbbox'>
    <refnamediv>
@@ -18,6 +18,7 @@
      </methodsynopsis>
     <para>
      &warn.undocumented.func;
+     &note.gd.2;
     </para>
    </refsect1>
   </refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagefttext.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagefttext.xml
diff -u phpdoc/en/reference/image/functions/imagefttext.xml:1.3 
phpdoc/en/reference/image/functions/imagefttext.xml:1.4
--- phpdoc/en/reference/image/functions/imagefttext.xml:1.3     Thu Apr 18 13:13:09 
2002
+++ phpdoc/en/reference/image/functions/imagefttext.xml Fri Jun 11 04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.67 -->
   <refentry id='function.imagefttext'>
    <refnamediv>
@@ -22,6 +22,7 @@
      </methodsynopsis>
     <para>
      &warn.undocumented.func;
+     &note.gd.2;
     </para>
    </refsect1>
   </refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imageistruecolor.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/image/functions/imageistruecolor.xml
diff -u phpdoc/en/reference/image/functions/imageistruecolor.xml:1.2 
phpdoc/en/reference/image/functions/imageistruecolor.xml:1.3
--- phpdoc/en/reference/image/functions/imageistruecolor.xml:1.2        Mon May 26 
23:04:31 2003
+++ phpdoc/en/reference/image/functions/imageistruecolor.xml    Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imageistruecolor">
   <refnamediv>
@@ -16,6 +16,7 @@
     <function>imageistruecolor</function> finds whether the image 
     <parameter>image</parameter> is a truecolor image.
    </para>
+   &note.gd.2;
    <para>
     See also <function>imagecreatetruecolor</function>.
    </para>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagelayereffect.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagelayereffect.xml
diff -u phpdoc/en/reference/image/functions/imagelayereffect.xml:1.3 
phpdoc/en/reference/image/functions/imagelayereffect.xml:1.4
--- phpdoc/en/reference/image/functions/imagelayereffect.xml:1.3        Mon Apr 12 
18:58:32 2004
+++ phpdoc/en/reference/image/functions/imagelayereffect.xml    Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
   <refentry id="function.imagelayereffect">
    <refnamediv>
     <refname>imagelayereffect</refname>
@@ -16,6 +16,7 @@
     </methodsynopsis>
      &warn.undocumented.func;
      &note.bundled.gd;
+     &note.gd.2;
    </refsect1>
   </refentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagesavealpha.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/image/functions/imagesavealpha.xml
diff -u phpdoc/en/reference/image/functions/imagesavealpha.xml:1.7 
phpdoc/en/reference/image/functions/imagesavealpha.xml:1.8
--- phpdoc/en/reference/image/functions/imagesavealpha.xml:1.7  Mon Dec 15 11:51:11 
2003
+++ phpdoc/en/reference/image/functions/imagesavealpha.xml      Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagesavealpha">
   <refnamediv>
@@ -30,6 +30,7 @@
     your browser, try to load your script with an alpha channel compliant
     browser, e.g. latest Mozilla.
    </para>
+   &note.gd.2;
    <para>
     See also <function>imagealphablending</function>.
    </para>
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagesetthickness.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/image/functions/imagesetthickness.xml
diff -u phpdoc/en/reference/image/functions/imagesetthickness.xml:1.4 
phpdoc/en/reference/image/functions/imagesetthickness.xml:1.5
--- phpdoc/en/reference/image/functions/imagesetthickness.xml:1.4       Thu Nov  6 
11:07:38 2003
+++ phpdoc/en/reference/image/functions/imagesetthickness.xml   Fri Jun 11 04:25:38 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.34 -->
   <refentry id="function.imagesetthickness">
    <refnamediv>
@@ -18,7 +18,7 @@
      drawn when drawing rectangles, polygons, ellipses etc. etc. to
      <parameter>thickness</parameter> pixels. &return.success;
     </para>
-    <note><para>This function was added in PHP 4.0.6 and requires GD 2.0.1 or 
later</para></note>
+    &note.gd.2;
    </refsect1>
   </refentry>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagetruecolortopalette.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagetruecolortopalette.xml
diff -u phpdoc/en/reference/image/functions/imagetruecolortopalette.xml:1.3 
phpdoc/en/reference/image/functions/imagetruecolortopalette.xml:1.4
--- phpdoc/en/reference/image/functions/imagetruecolortopalette.xml:1.3 Thu Apr 18 
13:13:10 2002
+++ phpdoc/en/reference/image/functions/imagetruecolortopalette.xml     Fri Jun 11 
04:25:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.34 -->
   <refentry id="function.imagetruecolortopalette">
    <refnamediv>
@@ -33,11 +33,7 @@
      <parameter>ncolors</parameter> sets the maximum number of colors that
      should be retained in the palette.
     </para>
-    <note>
-     <para>
-      This function was added in PHP 4.0.6 and requires GD 2.0.1 or later
-     </para>
-    </note>
+    &note.gd.2;
    </refsect1>
   </refentry>
 

Reply via email to