didou Mon Feb 19 00:27:22 2007 UTC
Modified files:
/phpdoc/en/reference/image/functions imagefttext.xml
imagesetbrush.xml
imagesettile.xml
Log:
Add return value for imagefttext()
Put note in notes section
Use constant when needed
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefttext.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/image/functions/imagefttext.xml
diff -u phpdoc/en/reference/image/functions/imagefttext.xml:1.9
phpdoc/en/reference/image/functions/imagefttext.xml:1.10
--- phpdoc/en/reference/image/functions/imagefttext.xml:1.9 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagefttext.xml Mon Feb 19 00:27:22 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id='function.imagefttext'>
<refnamediv>
<refname>imagefttext</refname>
@@ -88,6 +88,29 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
+ This function returns an array containing the following elements:
+ <informaltable>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry>0</entry>
+ <entry>lower left x-coordinate</entry>
+ </row>
+ <row>
+ <entry>1</entry>
+ <entry>lower left y-coordinate</entry>
+ </row>
+ <row>
+ <entry>2</entry>
+ <entry>upper right x-coordinate</entry>
+ </row>
+ <row>
+ <entry>3</entry>
+ <entry>upper right y-coordinate</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
</para>
</refsect1>
<refsect1 role="notes">
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagesetbrush.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/image/functions/imagesetbrush.xml
diff -u phpdoc/en/reference/image/functions/imagesetbrush.xml:1.6
phpdoc/en/reference/image/functions/imagesetbrush.xml:1.7
--- phpdoc/en/reference/image/functions/imagesetbrush.xml:1.6 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagesetbrush.xml Mon Feb 19
00:27:22 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.imagesetbrush">
<refnamediv>
<refname>imagesetbrush</refname>
@@ -16,16 +16,9 @@
<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 <literal>IMG_COLOR_BRUSHED</literal> or
<literal>IMG_COLOR_STYLEDBRUSHED</literal>.
+ colors <constant>IMG_COLOR_BRUSHED</constant> or
+ <constant>IMG_COLOR_STYLEDBRUSHED</constant>.
</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
<literal>IMG_COLOR_BRUSHED</literal> or
- <literal>IMG_COLOR_STYLEDBRUSHED</literal>
- colors until you have set a new brush image!
- </para>
- </note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@@ -36,6 +29,7 @@
<term><parameter>brush</parameter></term>
<listitem>
<para>
+ An image resource
</para>
</listitem>
</varlistentry>
@@ -48,6 +42,18 @@
&return.success;
</para>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <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
+ <constant>IMG_COLOR_BRUSHED</constant> or
+ <constant>IMG_COLOR_STYLEDBRUSHED</constant> colors until you have set a
+ new brush image!
+ </para>
+ </note>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagesettile.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/image/functions/imagesettile.xml
diff -u phpdoc/en/reference/image/functions/imagesettile.xml:1.7
phpdoc/en/reference/image/functions/imagesettile.xml:1.8
--- phpdoc/en/reference/image/functions/imagesettile.xml:1.7 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagesettile.xml Mon Feb 19
00:27:22 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id="function.imagesettile">
<refnamediv>
<refname>imagesettile</refname>
@@ -16,7 +16,7 @@
<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 <literal>IMG_COLOR_TILED</literal>.
+ color <constant>IMG_COLOR_TILED</constant>.
</para>
<para>
A tile is an image used to fill an area with a repeated pattern.
<emphasis>Any</emphasis>
@@ -27,7 +27,7 @@
<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
<literal>IMG_COLOR_TILED</literal>
+ destroy the tile image, you must not use the
<constant>IMG_COLOR_TILED</constant>
color until you have set a new tile image!
</para>
</note>