cvs: phpdoc-fr /reference/image/functions imagearc.xml imagecharup.xml

From: Date: Sun, 14 Jan 2007 13:37:18 +0000
Subject: cvs: phpdoc-fr /reference/image/functions imagearc.xml imagecharup.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5168@lists.php.net to get a copy of this message
yannick Sun Jan 14 13:37:18 2007 UTC Modified files: /phpdoc-fr/reference/image/functions imagearc.xml imagecharup.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagearc.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/image/functions/imagearc.xml diff -u phpdoc-fr/reference/image/functions/imagearc.xml:1.15 phpdoc-fr/reference/image/functions/imagearc.xml:1.16 --- phpdoc-fr/reference/image/functions/imagearc.xml:1.15 Tue Aug 30 00:02:41 2005 +++ phpdoc-fr/reference/image/functions/imagearc.xml Sun Jan 14 13:37:18 2007 @@ -1,38 +1,109 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> - <refentry id="function.imagearc"> - <refnamediv> - <refname>imagearc</refname> - <refpurpose>Dessine une ellipse partielle</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>imagearc</methodname> - <methodparam><type>resource</type><parameter>image</parameter></methodparam> - <methodparam><type>int</type><parameter>cx</parameter></methodparam> - <methodparam><type>int</type><parameter>cy</parameter></methodparam> - <methodparam><type>int</type><parameter>w</parameter></methodparam> - <methodparam><type>int</type><parameter>h</parameter></methodparam> - <methodparam><type>int</type><parameter>s</parameter></methodparam> - <methodparam><type>int</type><parameter>e</parameter></methodparam> - <methodparam><type>int</type><parameter>color</parameter></methodparam> - </methodsynopsis> - <para> - <function>imagearc</function> dessine une ellipse partielle, centrée sur - <parameter>cx</parameter>, <parameter>cy</parameter> (le coin en haut à - gauche est l'origine (0,0)) dans l'image référencée par - <parameter>image</parameter>. <parameter>w</parameter> et - <parameter>h</parameter> spécifient la largeur et la hauteur de l'ellipse, - tandis que le début et la fin de l'arc sont donnés en - degrés, par les arguments <parameter>s</parameter> et - <parameter>e</parameter>. <parameter>color</parameter> est la couleur - utilisée pour dessiner l'ellipse. - </para> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> + +<refentry id="function.imagearc"> + <refnamediv> + <refname>imagearc</refname> + <refpurpose>Dessine une ellipse partielle</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>imagearc</methodname> + <methodparam><type>resource</type><parameter>image</parameter></methodparam> + <methodparam><type>int</type><parameter>cx</parameter></methodparam> + <methodparam><type>int</type><parameter>cy</parameter></methodparam> + <methodparam><type>int</type><parameter>width</parameter></methodparam> + <methodparam><type>int</type><parameter>height</parameter></methodparam> + <methodparam><type>int</type><parameter>start</parameter></methodparam> + <methodparam><type>int</type><parameter>end</parameter></methodparam> + <methodparam><type>int</type><parameter>color</parameter></methodparam> + </methodsynopsis> + <para> + <function>imagearc</function> dessine une ellipse partielle, centrée sur les + coordonnées fournies. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + &gd.image.description; + <varlistentry> + <term><parameter>cx</parameter></term> + <listitem> + <para> + X : coordonnée du centre + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>cy</parameter></term> + <listitem> + <para> + Y : coordonnée du centre + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>width</parameter></term> + <listitem> + <para> + La largeur de l'ellipse + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>height</parameter></term> + <listitem> + <para> + La hauteur de l'ellipse + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>start</parameter></term> + <listitem> + <para> + L'angle de début de l'ellipse, en degrés + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>end</parameter></term> + <listitem> + <para> + L'angle de fin de l'ellipse, en degrés. + 0&deg; correspond à la position "trois heures" et l'ellipse est + dessiné dans le sens des éguilles d'une montre. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>color</parameter></term> + <listitem> + <para> + Un identifiant de couleur, créé par la fonction + <function>imagecolorallocate</function> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> - <title>Dessin d'un cercle avec <function>imagearc</function></title> + <title>Dessine d'un cercle avec <function>imagearc</function></title> <programlisting role="php"> <![CDATA[ <?php @@ -44,13 +115,13 @@ $white = imagecolorallocate($img, 255, 255, 255); $black = imagecolorallocate($img, 0, 0, 0); -// Dessin d'un cercle noir +// Dessine d'un cercle noir imagearc($img, 100, 100, 150, 150, 0, 360, $black); // Affichage au navigateur header("Content-type: image/png"); imagepng($img); - + // Libération de la mémoire imagedestroy($img); @@ -58,14 +129,19 @@ ]]> </programlisting> </example> - <para> - Voir aussi - <function>imageellipse</function>, - <function>imagefilledellipse</function> et - <function>imagefilledarc</function>. - </para> - </refsect1> - </refentry> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>imagefilledarc</function></member> + <member><function>imageellipse</function></member> + <member><function>imagefilledellipse</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -86,4 +162,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagecharup.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/image/functions/imagecharup.xml diff -u phpdoc-fr/reference/image/functions/imagecharup.xml:1.13 phpdoc-fr/reference/image/functions/imagecharup.xml:1.14 --- phpdoc-fr/reference/image/functions/imagecharup.xml:1.13 Mon Jan 30 21:09:40 2006 +++ phpdoc-fr/reference/image/functions/imagecharup.xml Sun Jan 14 13:37:18 2007 @@ -1,36 +1,83 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.imagecharup"> - <refnamediv> - <refname>imagecharup</refname> - <refpurpose>Dessine un caractère verticalement</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>imagecharup</methodname> - <methodparam><type>resource</type><parameter>image</parameter></methodparam> - <methodparam><type>int</type><parameter>font</parameter></methodparam> - <methodparam><type>int</type><parameter>x</parameter></methodparam> - <methodparam><type>int</type><parameter>y</parameter></methodparam> - <methodparam><type>string</type><parameter>c</parameter></methodparam> - <methodparam><type>int</type><parameter>color</parameter></methodparam> - </methodsynopsis> - <para> - <function>imagecharup</function> dessine le premier caractère - de la chaîne <parameter>c</parameter> verticalement dans l'image - <parameter>id</parameter> avec le coin supérieur gauche - placé à la position (<parameter>x</parameter>,<parameter>y</parameter>) - (le coin en haut à gauche est l'origine (0,0)), avec la couleur - <parameter>color</parameter>. Si la police est 1, 2, 3, 4 ou 5, une police - intégrée sera utilisée (plus le chiffre est grand, plus la police est grande). - </para> - <para> - <example> - <title>Exemple avec <function>imagecharup</function></title> - <programlisting role="php"> + +<refentry id="function.imagecharup"> + <refnamediv> + <refname>imagecharup</refname> + <refpurpose>Dessine un caractère verticalement</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>imagecharup</methodname> + <methodparam><type>resource</type><parameter>image</parameter></methodparam> + <methodparam><type>int</type><parameter>font</parameter></methodparam> + <methodparam><type>int</type><parameter>x</parameter></methodparam> + <methodparam><type>int</type><parameter>y</parameter></methodparam> + <methodparam><type>string</type><parameter>c</parameter></methodparam> + <methodparam><type>int</type><parameter>color</parameter></methodparam> + </methodsynopsis> + <para> + Dessine le premier caractère de la chaîne <parameter>c</parameter> + verticalement dans l'image <parameter>image</parameter> fournie. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + &gd.image.description; + &gd.font.description; + <varlistentry> + <term><parameter>x</parameter></term> + <listitem> + <para> + X : coordonnée de départ + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>y</parameter></term> + <listitem> + <para> + Y : coordonnée de départ + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>c</parameter></term> + <listitem> + <para> + Le caractère à dessiner + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>color</parameter></term> + <listitem> + <para> + Un identifiant de couleur, créé avec la fonction + <function>imagecolorallocate</function> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>imagecharup</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -49,15 +96,20 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi <function>imagechar</function> et - <function>imageloadfont</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>imagechar</function></member> + <member><function>imageloadfont</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -78,4 +130,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
« previous php.doc.fr (#5168) next »