mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add return value for imagefttext()
Put note in notes section Use constant when needed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230205 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a76cf4ca03
commit
cc0e2e3b4e
3 changed files with 43 additions and 14 deletions
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue