cvs: phpdoc-fr /reference/ming/swfbitmap construct.xml getheight.xml getwidth.xml /reference/ming/swffill moveto.xml rotateto.xml scaleto.xml
skewxto.xml skewyto.xml /reference/ming/swffont construct.xml getascent.xml getdescent.xml getleading.xml getshape.xml getutf8width.xml getwidth.xml
/reference/ming/swffontchar addchars.xml addutf8chars.xml /reference/ming/swfgradient addentry.xml construct.xml /reference/ming/swfmorph
construct.xml getshape1.xml getshape2.xml /reference/ming/swfmovie add.xml addexport.xml addfont.xml construct.xml importchar.xml importfont.xml
labelframe.xml nextframe.xml output.xml remove.xml save.xml savetofile.xml setbackground.xml setdimension.xml setframes.xml setrate.xml startsound.xml
stopsound.xml streammp3.xml writeexports.xml /reference/ming/swfprebuiltclip construct.xml /reference/ming/swfshape addfill.xml construct.xml
drawarc.xml drawcircle.xml drawcubic.xml drawcubicto.xml drawcurve.xml drawcurveto.xml drawglyph.xml draw! line.xml drawlineto.xml movepen.xml
movepento.xml setleftfill.xml setline.xml setrightfill.xml

From: Date: Sun, 27 May 2007 16:24:19 +0000
Subject: cvs: phpdoc-fr /reference/ming/swfbitmap construct.xml getheight.xml getwidth.xml /reference/ming/swffill moveto.xml rotateto.xml scaleto.xml
skewxto.xml skewyto.xml /reference/ming/swffont construct.xml getascent.xml getdescent.xml getleading.xml getshape.xml getutf8width.xml getwidth.xml
/reference/ming/swffontchar addchars.xml addutf8chars.xml /reference/ming/swfgradient addentry.xml construct.xml /reference/ming/swfmorph
construct.xml getshape1.xml getshape2.xml /reference/ming/swfmovie add.xml addexport.xml addfont.xml construct.xml importchar.xml importfont.xml
labelframe.xml nextframe.xml output.xml remove.xml save.xml savetofile.xml setbackground.xml setdimension.xml setframes.xml setrate.xml startsound.xml
stopsound.xml streammp3.xml writeexports.xml /reference/ming/swfprebuiltclip construct.xml /reference/ming/swfshape addfill.xml construct.xml
drawarc.xml drawcircle.xml drawcubic.xml drawcubicto.xml drawcurve.xml drawcurveto.xml drawglyph.xml draw! line.xml drawlineto.xml movepen.xml
movepento.xml setleftfill.xml setline.xml setrightfill.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5366@lists.php.net to get a copy of this message
yannick Sun May 27 16:24:19 2007 UTC Added files: /phpdoc-fr/reference/ming/swfbitmap construct.xml getheight.xml getwidth.xml /phpdoc-fr/reference/ming/swffill moveto.xml rotateto.xml scaleto.xml skewxto.xml skewyto.xml /phpdoc-fr/reference/ming/swffontchar addchars.xml addutf8chars.xml /phpdoc-fr/reference/ming/swffont construct.xml getascent.xml getdescent.xml getleading.xml getshape.xml getutf8width.xml getwidth.xml /phpdoc-fr/reference/ming/swfgradient addentry.xml construct.xml /phpdoc-fr/reference/ming/swfmorph construct.xml getshape1.xml getshape2.xml /phpdoc-fr/reference/ming/swfmovie addexport.xml addfont.xml add.xml construct.xml importchar.xml importfont.xml labelframe.xml nextframe.xml output.xml remove.xml savetofile.xml save.xml setbackground.xml setdimension.xml setframes.xml setrate.xml startsound.xml stopsound.xml streammp3.xml writeexports.xml /phpdoc-fr/reference/ming/swfprebuiltclip construct.xml /phpdoc-fr/reference/ming/swfshape addfill.xml construct.xml drawarc.xml drawcircle.xml drawcubicto.xml drawcubic.xml drawcurveto.xml drawcurve.xml drawglyph.xml drawlineto.xml drawline.xml movepento.xml movepen.xml setleftfill.xml setline.xml setrightfill.xml Log: initiale translation

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbitmap/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbitmap/construct.xml +++ phpdoc-fr/reference/ming/swfbitmap/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbitmap.construct"> <refnamediv> <refname>SWFBitmap->__construct()</refname> <refpurpose>Charge un objet Bitmap</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>SWFBitmap</type><methodname>__construct</methodname> <methodparam><type>mixed</type><parameter>file</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>alphafile</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouvel objet <classname>SWFBitmap</classname> depuis le fichier <parameter>file</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> Pour les deux paramètres, vous pouvez fournir un pointeur de fichier retourné par la fonction <function>fopen</function> ou les données de l'image, sous la forme d'une &string; binaire. <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> </para> <note> <para> Nous ne pouvons utiliser que des Jpeg "baseline" (image 0), et non des optimisés "baseline" ou des Jpeg progressifs ! </para> </note> <para> Vous ne pouvez pas importer directement des Png, mais vous devez utiliser l'utilitaire png2dbl pour créer un fichier dbl ("define bits lossless") depuis le Png. La raison de cela est que nous ne voulons pas de dépendance sur la libraire Png dans Ming. Autoconf doit prendre en charge cela mais ne le fait actuellement pas. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>alphafile</parameter></term> <listitem> <para> Un fichier MSK à utiliser en tant que masque Alpha pour les images Jpeg. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Importation d'un fichier DBL</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f = $s->addFill(new SWFBitmap(file_get_contents("image.dbl"))); $s->setRightFill($f); $s->drawLine(32, 0); $s->drawLine(0, 32); $s->drawLine(-32, 0); $s->drawLine(0, -32); $m = new SWFMovie(); $m->setDimension(32, 32); $m->add($s); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> <example> <title>Utilisation d'un masque Alpha</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); // fichier .msk généré avec l'utilitaire "gif2mask" $f = $s->addFill(new SWFBitmap(file_get_contents("alphafill.jpg"), file_get_contents("alphafill.msk"))); $s->setRightFill($f); $s->drawLine(640, 0); $s->drawLine(0, 480); $s->drawLine(-640, 0); $s->drawLine(0, -480); $c = new SWFShape(); $c->setRightFill($c->addFill(0x99, 0x99, 0x99)); $c->drawLine(40, 0); $c->drawLine(0, 40); $c->drawLine(-40, 0); $c->drawLine(0, -40); $m = new SWFMovie(); $m->setDimension(640, 480); $m->setBackground(0xcc, 0xcc, 0xcc); // dessine l'arrière plan for ($y=0; $y<480; $y+=40) { for ($x=0; $x<640; $x+=80) { $i = $m->add($c); $i->moveTo($x, $y); } $y+=40; for ($x=40; $x<640; $x+=80) { $i = $m->add($c); $i->moveTo($x, $y); } } $m->add($s); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbitmap/getheight.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbitmap/getheight.xml +++ phpdoc-fr/reference/ming/swfbitmap/getheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbitmap.getheight"> <refnamediv> <refname>SWFBitmap->getHeight()</refname> <refpurpose>Retourne la hauteur d'un bitmap</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getHeight</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Retourne la hauteur d'un bitmap. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne la hauteur d'un bitmap en pixels. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbitmap.getwidth" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbitmap/getwidth.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbitmap/getwidth.xml +++ phpdoc-fr/reference/ming/swfbitmap/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbitmap.getwidth"> <refnamediv> <refname>SWFBitmap->getWidth()</refname> <refpurpose>Retourne la largeur d'un bitmap</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Retourne la largeur d'un bitmap. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne la largeur d'un bitmpa, en pixels. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbitmap.getheight" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffill/moveto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffill/moveto.xml +++ phpdoc-fr/reference/ming/swffill/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffill.moveto"> <refnamediv> <refname>SWFFill->moveTo()</refname> <refpurpose>Déplace le motif original</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Déplace le motif original aux coordonnées globales données. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> Coordonnée en X </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Coordonnée en Y </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffill/rotateto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffill/rotateto.xml +++ phpdoc-fr/reference/ming/swffill/rotateto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffill.rotateto"> <refnamediv> <refname>SWFFill->rotateTo()</refname> <refpurpose>Définit la rotation du motif</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotateTo</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit la rotation du motif à l'<parameter>angle</parameter> donné. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>angle</parameter></term> <listitem> <para> L'angle de rotation, en degrés. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffill/scaleto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffill/scaleto.xml +++ phpdoc-fr/reference/ming/swffill/scaleto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffill.scaleto"> <refnamediv> <refname>SWFFill->scaleTo()</refname> <refpurpose>Définit l'échelle du motif</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scaleTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit l'échelle du motif aux coordonnées données. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> Coordonnée en X </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Coordonnée en Y </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffill/skewxto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffill/skewxto.xml +++ phpdoc-fr/reference/ming/swffill/skewxto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffill.skewxto"> <refnamediv> <refname>SWFFill->skewXTo()</refname> <refpurpose>Définit le motif x-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewXTo</methodname> <methodparam><type>float</type><parameter>x</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit le motif x-skew à <parameter>x</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> Lorsque <parameter>x</parameter> vaut 1.0, ce sera une progression de 45 degrés en arrière. Une valeur supérieure sera une progression en avant. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffill.skewyto" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffill/skewyto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffill/skewyto.xml +++ phpdoc-fr/reference/ming/swffill/skewyto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffill.skewyto"> <refnamediv> <refname>SWFFill->skewYTo()</refname> <refpurpose>Définit le motif y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewYTo</methodname> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit le motif y-skew à <parameter>y</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Lorsque <parameter>y</parameter> vaut 1.0, ce sera une progression de 45 degrés en arrière. Une valeur supérieure sera une progression en avant. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffill.skewxto" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffontchar/addchars.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffontchar/addchars.xml +++ phpdoc-fr/reference/ming/swffontchar/addchars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffontchar.addchars"> <refnamediv> <refname>SWFFontChar->addChars()</refname> <refpurpose>Ajoute des caractères à une police pour l'exportation de la police</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addChars</methodname> <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffontchar.addutf8chars" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffontchar/addutf8chars.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffontchar/addutf8chars.xml +++ phpdoc-fr/reference/ming/swffontchar/addutf8chars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffontchar.addutf8chars"> <refnamediv> <refname>SWFFontChar->addUTF8Chars()</refname> <refpurpose>Ajoute des caractères à une police pour l'exportation de la police</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addUTF8Chars</methodname> <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffontchar.addchars" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/construct.xml +++ phpdoc-fr/reference/ming/swffont/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.construct"> <refnamediv> <refname>SWFFont->__construct()</refname> <refpurpose>Charge la définition d'une police</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>SWFFont</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Si <parameter>filename</parameter> est le nom d'un fichier FDB (i.e., se terminant par l'extension ".fdb"), la fonction chargera la définition depuis ce fichier. Sinon, elle crée une référence de police. </para> <para> FDB ("font definition block") est une interface simple pour le bloc SWF DefineFont2 qui contient une description complète d'une police. Une telle description peut être créée avec les fichiers de template SWT Generator anec l'utilitaire inclu makefdb - regardez dans le dossier des utilitaires de votre distribution de Ming. </para> <para> Les polices définies par le navigateur ne contiennent pas d'informations sur les polices autres que leurs noms. Il est convenu que la définition de la police est fournie par le lecteur vidéo. Les polices _serif, _sans, et _typewriter doivent toujours être disponibles. Par exemple : <programlisting role="php"> <![CDATA[ <?php $f = newSWFFont("_sans"); ?> ]]> </programlisting> vous donnera la police sans-serif standard, probablement la même que <literal>&lt;font name="sans-serif"&gt;</literal> en HTML. </para> <para> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/getascent.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/getascent.xml +++ phpdoc-fr/reference/ming/swffont/getascent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.getascent"> <refnamediv> <refname>SWFFont->getAscent()</refname> <refpurpose>Retourne la montée de la police, ou 0 si non disponible</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getAscent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getdescent" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/getdescent.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/getdescent.xml +++ phpdoc-fr/reference/ming/swffont/getdescent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.getdescent"> <refnamediv> <refname>SWFFont->getDescent()</refname> <refpurpose>Retourne la descente de la police, ou 0 si non disponible</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getDescent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getascent" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/getleading.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/getleading.xml +++ phpdoc-fr/reference/ming/swffont/getleading.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.getleading"> <refnamediv> <refname>SWFFont->getLeading()</refname> <refpurpose>Retourne l'interlignage de la police, ou 0 si non disponible</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getLeading</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/getshape.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/getshape.xml +++ phpdoc-fr/reference/ming/swffont/getshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.getshape"> <refnamediv> <refname>SWFFont->getShape()</refname> <refpurpose>Retourne la forme du glyphe d'un caractère, sous la forme d'une chaîne de caractères</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>string</type><methodname>getShape</methodname> <methodparam><type>int</type><parameter>code</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/getutf8width.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/getutf8width.xml +++ phpdoc-fr/reference/ming/swffont/getutf8width.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.getutf8width"> <refnamediv> <refname>SWFFont->getUTF8Width()</refname> <refpurpose>Calcule la largeur d'une chaîne donnée dans une police</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getUTF8Width</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getwidth" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swffont/getwidth.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swffont/getwidth.xml +++ phpdoc-fr/reference/ming/swffont/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swffont.getwidth"> <refnamediv> <refname>SWFFont->getWidth()</refname> <refpurpose>Retourne la largeur de la chaîne</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swffont->getwidth</function> retourne la largeur de la chaîne <parameter>string</parameter>, en utilisant la police par défaut. Vous devriez probablement utiliser la version <function>swftext</function> de cette méthode qui utilise l'échelle du texte de l'objet. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getutf8width" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfgradient/addentry.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfgradient/addentry.xml +++ phpdoc-fr/reference/ming/swfgradient/addentry.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfgradient.addentry"> <refnamediv> <refname>SWFGradient->addEntry()</refname> <refpurpose>Ajoute une entrée dans la liste de gradient</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFGradient</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addEntry</methodname> <methodparam><type>float</type><parameter>ratio</parameter></methodparam> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfgradient->addentry</function> ajoute une entrée dans la liste de gradient. <parameter>ratio</parameter> est un nombre compris entre 0 et 1, indiquant l'endroit dans le gradient cette couleur apparait. </para> <para> <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> est une couleur (en mode RVB). Le dernier paramètre <parameter>a</parameter> est optionnel. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfgradient/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfgradient/construct.xml +++ phpdoc-fr/reference/ming/swfgradient/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfgradient.construct"> <refnamediv> <refname>SWFGradient->__construct()</refname> <refpurpose>Crée un objet gradient</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFGradient</classname></ooclass> <methodsynopsis> <type>SWFGradient</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfgradient</function> crée un nouvel objet SWFGradient. </para> <simpara> Après avoir ajouter des entrées à votre gradient, vous pouvez utiliser le gradient dans une forme avec la méthode <function>swfshape->addfill</function>. </simpara> <simpara> SWFGradient a les méthodes suivantes : <function>swfgradient->addentry</function>. </simpara> <para> Cet exemple simple trace un gradient noir et blanc, en arrière plan et un disque au centre. <example> <title>Exemple avec <function>swfgradient</function></title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setDimension(320, 240); $s = new SWFShape(); // premier gradient - noir vers blanc $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(1.0, 0xff, 0xff, 0xff); $f = $s->addFill($g, SWFFILL_LINEAR_GRADIENT); $f->scaleTo(0.01); $f->moveTo(160, 120); $s->setRightFill($f); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m->add($s); $s = new SWFShape(); // second gradient - gradient radial, depuis le rouge vers transparent $g = new SWFGradient(); $g->addEntry(0.0, 0xff, 0, 0, 0xff); $g->addEntry(1.0, 0xff, 0, 0, 0); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.005); $f->moveTo(160, 120); $s->setRightFill($f); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m->add($s); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmorph/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmorph/construct.xml +++ phpdoc-fr/reference/ming/swfmorph/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmorph.construct"> <refnamediv> <refname>SWFMorph->__construct()</refname> <refpurpose>Crée un nouvel objet SWFMorph</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFMorph</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouvel objet <classname>SWFMorph</classname>. </para> <para> Également appelé "shape tween". </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> Cet exemple simple va effectuer un morphing d'un gros carré rouge vers un petit carré bleu avec une bordure noire. <example> <title>Exemple avec <function>swfmorph</function></title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $s = $p->getShape1(); $s->setLine(0, 0, 0, 0); $s->setLeftFill($s->addFill(0xff, 0, 0)); $s->movePenTo(-1000,-1000); $s->drawLine(2000,0); $s->drawLine(0,2000); $s->drawLine(-2000,0); $s->drawLine(0,-2000); $s = $p->getShape2(); $s->setLine(60,0,0,0); $s->setLeftFill($s->addFill(0, 0, 0xff)); $s->movePenTo(0,-1000); $s->drawLine(1000,1000); $s->drawLine(-1000,1000); $s->drawLine(-1000,-1000); $s->drawLine(1000,-1000); $m = new SWFMovie(); $m->setDimension(3000,2000); $m->setBackground(0xff, 0xff, 0xff); $i = $m->add($p); $i->moveTo(1500,1000); for ($r=0.0; $r<=1.0; $r+=0.1) { $i->setRatio($r); $m->nextFrame(); } header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmorph/getshape1.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmorph/getshape1.xml +++ phpdoc-fr/reference/ming/swfmorph/getshape1.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmorph.getshape1"> <refnamediv> <refname>SWFMorph->getShape1()</refname> <refpurpose>Récupère un gestionnaire pour une forme</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>getShape1</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Récupère la forme de départ pour un morphing. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne un objet <xref linkend="ming.swfshape" />. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmorph.getshape2" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmorph/getshape2.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmorph/getshape2.xml +++ phpdoc-fr/reference/ming/swfmorph/getshape2.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmorph.getshape2"> <refnamediv> <refname>SWFMorph->getShape2()</refname> <refpurpose>Récupère un gestionnaire de forme de fin</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>getShape2</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Récupère la forme de fin d'un morphing. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne un objet <xref linkend="ming.swfshape" />. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmorph.getshape1" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/addexport.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/addexport.xml +++ phpdoc-fr/reference/ming/swfmovie/addexport.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.addexport"> <refnamediv> <refname>SWFMovie->addExport()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addExport</methodname> <methodparam><type>SWFCharacter</type><parameter>char</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/addfont.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/addfont.xml +++ phpdoc-fr/reference/ming/swfmovie/addfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.addfont"> <refnamediv> <refname>SWFMovie->addFont()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>mixed</type><methodname>addFont</methodname> <methodparam><type>SWFFont</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/add.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/add.xml +++ phpdoc-fr/reference/ming/swfmovie/add.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.add"> <refnamediv> <refname>SWFMovie->add()</refname> <refpurpose>Ajoute n'importe quelle donnée à une vidéo</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>mixed</type><methodname>add</methodname> <methodparam><type>object</type><parameter>instance</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Ajoute un objet SWF à la vidéo courante. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>instance</parameter></term> <listitem> <para> N'importe quelle type d'objet, comme <xref linkend="ming.swfshape" />, <xref linkend="ming.swftext" />, <xref linkend="ming.swffont" />. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Pour les types affichables (forme, texte, bouton, sprite), cette fonction retourne un <xref linkend="ming.swfdisplayitem" />, un gestionnaire de l'objet dans une liste d'affichage. Ainsi, vous pouvez ajouter la même forme dans la vidéo plusieurs fois et récupère séparément un gestionnaire pour chacun. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.remove" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/construct.xml +++ phpdoc-fr/reference/ming/swfmovie/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.construct"> <refnamediv> <refname>SWFMovie->__construct()</refname> <refpurpose>Crée un nouvel objet vidéo, représentant une vidéo SWF version 4</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFMovie</type><methodname>__construct</methodname> <methodparam><type>int</type><parameter>version</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouvel objet vidéo, représentant une vidéo SWF. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>version</parameter></term> <listitem> <para> La version SWF désirée. Par défaut, 4. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/importchar.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/importchar.xml +++ phpdoc-fr/reference/ming/swfmovie/importchar.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.importchar"> <refnamediv> <refname>SWFMovie->importChar()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFSprite</type><methodname>importChar</methodname> <methodparam><type>string</type><parameter>libswf</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.importfont" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/importfont.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/importfont.xml +++ phpdoc-fr/reference/ming/swfmovie/importfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.importfont"> <refnamediv> <refname>SWFMovie->importFont()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFFontChar</type><methodname>importFont</methodname> <methodparam><type>string</type><parameter>libswf</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.importchar" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/labelframe.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/labelframe.xml +++ phpdoc-fr/reference/ming/swfmovie/labelframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.labelframe"> <refnamediv> <refname>SWFMovie->labelFrame()</refname> <refpurpose>Nomme une frame</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>labelFrame</methodname> <methodparam><type>string</type><parameter>label</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/nextframe.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/nextframe.xml +++ phpdoc-fr/reference/ming/swfmovie/nextframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.nextframe"> <refnamediv> <refname>SWFMovie->nextFrame()</refname> <refpurpose>Se déplace sur la prochaine frame d'une animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>nextFrame</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Se déplace sur la prochaine frame d'une animation. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/output.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/output.xml +++ phpdoc-fr/reference/ming/swfmovie/output.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.output"> <refnamediv> <refname>SWFMovie->output()</refname> <refpurpose>Affiche la vidéo</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>output</methodname> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Affiche la vidéo <classname>SWFMovie</classname>. </para> <para> N'oubliez pas d'envoyer l'en-tête HTTP <literal>Content-Type</literal> avant d'utiliser cette fonction afin d'afficher la vidéo dans le navigateur. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> Le degré de compression peut être une valeur comprise entre 0 et 9, définissant la compression SWF, similaire à la compression Gzip. </para> <para> Ce paramètre n'est disponible que depuis Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne le nombre d'octets écrits, ou &false; si une erreur survient. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Affiche la vidéo dans un navigateur</title> <programlisting role="php"> <![CDATA[ <?php header('Content-type: application/x-shockwave-flash'); $movie->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.save" /></member> <member><xref linkend="function.swfmovie.savetofile" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/remove.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/remove.xml +++ phpdoc-fr/reference/ming/swfmovie/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.remove"> <refnamediv> <refname>SWFMovie->remove()</refname> <refpurpose>Efface une instance d'un objet depuis la liste d'affichage</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <methodparam><type>object</type><parameter>instance</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Efface l'objet <parameter>instance</parameter> fourni depuis la liste d'affichage. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.add" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/savetofile.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/savetofile.xml +++ phpdoc-fr/reference/ming/swfmovie/savetofile.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.savetofile"> <refnamediv> <refname>SWFMovie->saveToFile()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>saveToFile</methodname> <methodparam><type>stream</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>X</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> Le degré de compression peut être une valeur comprise entre 0 et 9, définissant la compression SWF, similaire à la compression Gzip. </para> <para> Ce paramètre n'est disponible que depuis Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne le nombre d'octets écrits, ou &false; si une erreur survient. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.save" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/save.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/save.xml +++ phpdoc-fr/reference/ming/swfmovie/save.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.save"> <refnamediv> <refname>SWFMovie->save()</refname> <refpurpose>Sauvegarde la vidéo SWF dans un fichier</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>save</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sauvegarde la vidéo SWF dans le fichier <parameter>filename</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> Le chemin vers le document SWF. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> Le degré de compression peut être une valeur comprise entre 0 et 9, définissant la compression SWF, similaire à la compression Gzip. </para> <para> Ce paramètre n'est disponible que depuis Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne le nombre d'octets écrits ou &false; si une erreur survient. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.savetofile" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/setbackground.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/setbackground.xml +++ phpdoc-fr/reference/ming/swfmovie/setbackground.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.setbackground"> <refnamediv> <refname>SWFMovie->setbackground()</refname> <refpurpose>Définit la couleur d'arrière plan</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setbackground</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit la couleur d'arrière plan. </para> <para> Pourquoi pas un version rgba ? Avec cette version, vous pourriez vouloir afficher l'arrière plan HTML. Il y a une façon de faire cela mais cela ne fonctionne que sous IE4. Faites une recherche sur le site de <ulink url="&url.macromedia;">&url.macromedia;</ulink> pour plus de détails. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> Ces paramètres sont des entiers compris entre 0 et 255 ou des héxadécimaux compris entre <literal>0x00</literal> et <literal>0xFF</literal> : <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Valeur du composant rouge </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Valeur du composant vert </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Valeur du composant bleu </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/setdimension.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/setdimension.xml +++ phpdoc-fr/reference/ming/swfmovie/setdimension.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.setdimension"> <refnamediv> <refname>SWFMovie->setDimension()</refname> <refpurpose>Définit les dimensions de la vidéo</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDimension</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit les dimensions de la vidéo en spécifiant la largeur <parameter>width</parameter> et la hauteur <parameter>height</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> La largeur de la vidéo. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>height</parameter></term> <listitem> <para> La hauteur de la vidéo. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/setframes.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/setframes.xml +++ phpdoc-fr/reference/ming/swfmovie/setframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.setframes"> <refnamediv> <refname>SWFMovie->setFrames()</refname> <refpurpose>Définit le nombre de frames dans l'animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFrames</methodname> <methodparam><type>int</type><parameter>number</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit le nombre total de frames dans l'animation à <parameter>number</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>number</parameter></term> <listitem> <para> Le nombre de frames. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/setrate.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/setrate.xml +++ phpdoc-fr/reference/ming/swfmovie/setrate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.setrate"> <refnamediv> <refname>SWFMovie->setRate()</refname> <refpurpose>Définit le débit des frames de l'animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRate</methodname> <methodparam><type>int</type><parameter>rate</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit le débit des frames de l'animation à <parameter>rate</parameter>. </para> <para> L'animation peut ralentir si le lecteur ne peut pas rendre les frames assez rapidement - si un son est diffusé dans l'animation, les frames seront sacrifiés en faveur du son. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>rate</parameter></term> <listitem> <para> Le débit, en frame par secondes. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/startsound.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/startsound.xml +++ phpdoc-fr/reference/ming/swfmovie/startsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.startsound"> <refnamediv> <refname>SWFMovie->startSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>startSound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.stopsound" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/stopsound.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/stopsound.xml +++ phpdoc-fr/reference/ming/swfmovie/stopsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.stopsound"> <refnamediv> <refname>SWFMovie->stopSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>stopSound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.startsound" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/streammp3.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/streammp3.xml +++ phpdoc-fr/reference/ming/swfmovie/streammp3.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.streammp3"> <refnamediv> <refname>SWFMovie->streamMP3()</refname> <refpurpose>Diffuse un fichier MP3</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>streamMP3</methodname> <methodparam><type>mixed</type><parameter>mp3file</parameter></methodparam> <methodparam choice="opt"><type>float</type><parameter>skip</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Diffuse le fichier MP3 <parameter>mp3file</parameter> fourni. </para> <para> Notez que le film n'est pas assez compact pour contenir le flux MP3 en entier - vous devez ajouter (longueur de la musique * frames par seconde) frames pour y récupérer le flux complet. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>mp3file</parameter></term> <listitem> <para> Peut être un pointeur de fichier retourné par la fonction <function>fopen</function> ou les données MP3, sous la forme d'une chaîne binaire. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>skip</parameter></term> <listitem> <para> Nombre de secondes à ignorer. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>5.2.0</entry> <entry>Le paramètre <parameter>skip</parameter> a été ajouté</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Exemple de diffusion</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setRate(12.0); $m->streamMp3(file_get_contents("distortobass.mp3")); // utilisez votre propre MP3 // La durée du fichier est 11.85 secondes à 12.0 fps = 142 frames $m->setFrames(142); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfmovie/writeexports.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfmovie/writeexports.xml +++ phpdoc-fr/reference/ming/swfmovie/writeexports.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfmovie.writeexports"> <refnamediv> <refname>SWFMovie->writeExports()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>writeExports</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfprebuiltclip/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfprebuiltclip/construct.xml +++ phpdoc-fr/reference/ming/swfprebuiltclip/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfprebuiltclip.construct"> <refnamediv> <refname>SWFPrebuiltClip->__construct()</refname> <refpurpose>Retourne un objet SWFPrebuiltClip</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFPrebuiltClip</classname></ooclass> <methodsynopsis> <type>SWFPrebuiltClip</type><methodname>__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/addfill.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/addfill.xml +++ phpdoc-fr/reference/ming/swfshape/addfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.addfill"> <refnamediv> <refname>SWFShape->addFill()</refname> <refpurpose>Ajoute un motif solide à la forme</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>SWFBitmap</type><parameter>bitmap</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>SWFGradient</type><parameter>gradient</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>SWFShape->addFill</function> ajoute un motif solide à la liste des styles de la forme. <function>SWFShape->addFill</function> accepte trois types différents d'arguments. </para> <para> <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> est une couleur (en mode RVB). Le dernier paramètre <parameter>a</parameter> est optionnel. </para> <para> L'argument <parameter>bitmap</parameter> est un objet <function>SWFBitmap</function>. L'argument <parameter>flags</parameter> peut être une valeur parmis : SWFFILL_CLIPPED_BITMAP, SWFFILL_TILED_BITMAP, SWFFILL_LINEAR_GRADIENT ou SWFFILL_RADIAL_GRADIENT. Par défaut, vaut SWFFILL_TILED_BITMAP pour SWFBitmap et SWFFILL_LINEAR_GRADIENT pour SWFGradient. </para> <para> L'argument <parameter>gradient</parameter> est un objet <function>SWFGradient</function>. L'argument <parameter>flags</parameter> peut être une valeur parmis : SWFFILL_RADIAL_GRADIENT ou SWFFILL_LINEAR_GRADIENT. Par défaut, vaut SWFFILL_LINEAR_GRADIENT. </para> <para> <function>SWFShape->addFill</function> retourne un objet <function>SWFFill</function> pour l'utiliser avec la fonction <function>SWFShape->setLeftFill</function> et la fonction <function>SWFShape->setRightFill</function>. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> Cet exemple trace une frame dans un bitmap. <example> <title>Exemple avec <function>SWFShape->addFill</function></title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $b = new SWFBitmap(file_get_contents("alphafill.jpg")); // utilisez votre propre bitmap $width = $b->getWidth(); $height = $b->getHeight(); $s = $p->getShape1(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); $f->moveTo(-$width/2, -$height/4); $f->scaleTo(1.0, 0.5); $s->setLeftFill($f); $s->movePenTo(-$width/2, -$height/4); $s->drawLine($width, 0); $s->drawLine(0, $height/2); $s->drawLine(-$width, 0); $s->drawLine(0, -$height/2); $s = $p->getShape2(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); // Ceci n'a pas d'effet ! $f->moveTo(-$width/4, -$height/2); $f->scaleTo(0.5, 1.0); $s->setLeftFill($f); $s->movePenTo(-$width/4, -$height/2); $s->drawLine($width/2, 0); $s->drawLine(0, $height); $s->drawLine(-$width/2, 0); $s->drawLine(0, -$height); $m = new SWFMovie(); $m->setDimension($width, $height); $i = $m->add($p); $i->moveTo($width/2, $height/2); for ($n=0; $n<1.001; $n+=0.03) { $i->setRatio($n); $m->nextFrame(); } header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setleftfill" /></member> <member><xref linkend="function.swfshape.setrightfill" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/construct.xml +++ phpdoc-fr/reference/ming/swfshape/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.construct"> <refnamediv> <refname>SWFShape->__construct()</refname> <refpurpose>Crée un nouvel objet SWFShape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouvel objet <classname>SWFShape</classname>. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> Cet exemple trace une ellipse, en rouge. <example> <title>Exemple avec <function>swfshape</function></title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setLine(40, 0x7f, 0, 0); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->movePenTo(200, 200); $s->drawLineTo(6200, 200); $s->drawLineTo(6200, 4600); $s->drawCurveTo(200, 4600, 200, 200); $m = new SWFMovie(); $m->setDimension(6400, 4800); $m->setRate(12.0); $m->add($s); $m->nextFrame(); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawarc.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawarc.xml +++ phpdoc-fr/reference/ming/swfshape/drawarc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawarc"> <refnamediv> <refname>SWFShape->drawArc()</refname> <refpurpose>Trace un arc de cercle, centré sur la position courante, depuis l'angle startAngle vers l'angle endAngle, dans le sens des aiguilles d'une montre</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawArc</methodname> <methodparam><type>float</type><parameter>r</parameter></methodparam> <methodparam><type>float</type><parameter>startAngle</parameter></methodparam> <methodparam><type>float</type><parameter>endAngle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcircle" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawcircle.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawcircle.xml +++ phpdoc-fr/reference/ming/swfshape/drawcircle.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawcircle"> <refnamediv> <refname>SWFShape->drawCircle()</refname> <refpurpose>Trace un cercle, centré sur la position courante</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawCircle</methodname> <methodparam><type>float</type><parameter>r</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawcubicto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawcubicto.xml +++ phpdoc-fr/reference/ming/swfshape/drawcubicto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawcubicto"> <refnamediv> <refname>SWFShape->drawCubicTo()</refname> <refpurpose>Trace une courbe de Bézier en utilisant la position courante et les trois points de contrôle</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCubicTo</methodname> <methodparam><type>float</type><parameter>bx</parameter></methodparam> <methodparam><type>float</type><parameter>by</parameter></methodparam> <methodparam><type>float</type><parameter>cx</parameter></methodparam> <methodparam><type>float</type><parameter>cy</parameter></methodparam> <methodparam><type>float</type><parameter>dx</parameter></methodparam> <methodparam><type>float</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcubic" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawcubic.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawcubic.xml +++ phpdoc-fr/reference/ming/swfshape/drawcubic.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawcubic"> <refnamediv> <refname>SWFShape->drawCubic()</refname> <refpurpose>Trace une courbe de Bézier en utilisant la position courante et les trois points de contrôle</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCubic</methodname> <methodparam><type>float</type><parameter>bx</parameter></methodparam> <methodparam><type>float</type><parameter>by</parameter></methodparam> <methodparam><type>float</type><parameter>cx</parameter></methodparam> <methodparam><type>float</type><parameter>cy</parameter></methodparam> <methodparam><type>float</type><parameter>dx</parameter></methodparam> <methodparam><type>float</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcubicto" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawcurveto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawcurveto.xml +++ phpdoc-fr/reference/ming/swfshape/drawcurveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawcurveto"> <refnamediv> <refname>SWFShape->drawCurveTo()</refname> <refpurpose>Trace une courbe</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurveTo</methodname> <methodparam><type>int</type><parameter>controlx</parameter></methodparam> <methodparam><type>int</type><parameter>controly</parameter></methodparam> <methodparam><type>int</type><parameter>anchorx</parameter></methodparam> <methodparam><type>int</type><parameter>anchory</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>targetx</parameter></methodparam> <methodparam><type>int</type><parameter>targety</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawcurveto</function> trace une courbe (en utilisant le style de la ligne courante, défini par la fonction <function>swfshape->setline</function>) depuis la position courante du stylo vers (<parameter>anchorx</parameter>,<parameter>anchory</parameter>) en utilisant le point de contrôle (<parameter>controlx</parameter>,<parameter>controly</parameter>). </simpara> <simpara> Avec 6 paramètres, elle trace une courbe de Bézier vers le point (<parameter>targetx</parameter>, <parameter>targety</parameter>) avec les points de contrôle (<parameter>controlx</parameter>, <parameter>controly</parameter>) et (<parameter>anchorx</parameter>, <parameter>anchory</parameter>). </simpara> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcurveto" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawcurve.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawcurve.xml +++ phpdoc-fr/reference/ming/swfshape/drawcurve.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawcurve"> <refnamediv> <refname>SWFShape->drawCurve()</refname> <refpurpose>Trace une courbe (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurve</methodname> <methodparam><type>int</type><parameter>controldx</parameter></methodparam> <methodparam><type>int</type><parameter>controldy</parameter></methodparam> <methodparam><type>int</type><parameter>anchordx</parameter></methodparam> <methodparam><type>int</type><parameter>anchordy</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>targetdx</parameter></methodparam> <methodparam><type>int</type><parameter>targetdy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawcurve</function> trace une courbe (en utilisant le style de la ligne courante, défini par la fonction <function>swfshape->setline</function>) depuis la position courante du stylo vers la position relative (<parameter>anchorx</parameter>, <parameter>anchory</parameter>) en utilisant le point de contrôle relatif (<parameter>controlx</parameter>,<parameter>controly</parameter>). </simpara> <simpara> Avec 6 paramètres, elle dessine une courbe de Bézier vers le point (x+<parameter>targetdx</parameter>, x+<parameter>targetdy</parameter>) avec les points de contrôle (x+<parameter>controldx</parameter>, y+<parameter>controldy</parameter>) et (x+<parameter>anchordx</parameter>, y+<parameter>anchordy</parameter>). </simpara> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcurve" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawglyph.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawglyph.xml +++ phpdoc-fr/reference/ming/swfshape/drawglyph.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawglyph"> <refnamediv> <refname>SWFShape->drawGlyph()</refname> <refpurpose>Dessine le premier caractère d'une chaîne donnée dans la forme en utlisant la définition du glyphe pour la police donnée</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawGlyph</methodname> <methodparam><type>SWFFont</type><parameter>font</parameter></methodparam> <methodparam><type>string</type><parameter>character</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>size</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawlineto.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawlineto.xml +++ phpdoc-fr/reference/ming/swfshape/drawlineto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawlineto"> <refnamediv> <refname>SWFShape->drawLineTo()</refname> <refpurpose>Trace une ligne</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawLineTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> trace une ligne (en utilisant le style de la ligne courante, défini par la fonction <function>swfshape->setline</function>) depuis la position courante du stylo vers le point (<parameter>x</parameter>,<parameter>y</parameter>) dans l'espace de coordonnées de la forme. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawline" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/drawline.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/drawline.xml +++ phpdoc-fr/reference/ming/swfshape/drawline.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.drawline"> <refnamediv> <refname>SWFShape->drawLine()</refname> <refpurpose>Trace une ligne (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawLine</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawline</function> trace une ligne (en utilisant le style de la ligne courante défini par la fonction <function>swfshape->setline</function>) depuis sa position courante vers (<parameter>dx</parameter>,<parameter>dy</parameter>). </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawlineto" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/movepento.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/movepento.xml +++ phpdoc-fr/reference/ming/swfshape/movepento.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.movepento"> <refnamediv> <refname>SWFShape->movePenTo()</refname> <refpurpose>Déplace le stylo dans la forme</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>movePenTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> déplace le stylo vers (<parameter>x</parameter>,<parameter>y</parameter>) dans l'espace de coordonnées de la forme. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.movepen" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/movepen.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/movepen.xml +++ phpdoc-fr/reference/ming/swfshape/movepen.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.movepen"> <refnamediv> <refname>SWFShape->movePen()</refname> <refpurpose>Déplace le stylo</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>movePen</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> déplace le stylo depuis les coordonnées courantes vers (x courant + <parameter>dx</parameter>, y courant + <parameter>dy</parameter>) dans l'espace de coordonnées de la forme. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.movepento" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/setleftfill.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/setleftfill.xml +++ phpdoc-fr/reference/ming/swfshape/setleftfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.setleftfill"> <refnamediv> <refname>SWFShape->setLeftFill()</refname> <refpurpose>Définit la couleur de la trame de gauche</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLeftFill</methodname> <methodparam><type>SWFGradient</type><parameter>fill</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setLeftFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfshape->setleftfill</function> définit la couleur de la trame de gauche. L'objet fill est un objet SWFFill retourné par une des fonctions addFill. </para> <simpara> Raccourci pour <literal>swfshape->setleftfill($s->addfill($r, $g, $b [, $a]));</literal>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setrightfill" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/setline.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/setline.xml +++ phpdoc-fr/reference/ming/swfshape/setline.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.setline"> <refnamediv> <refname>SWFShape->setLine()</refname> <refpurpose>Définit le style de la forme d'une ligne</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLine</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setLine</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfshape->setline</function> définit le style de la forme d'une ligne. <parameter>width</parameter> est l'espaisseur de la ligne. Si <parameter>width</parameter> vaut 0, le style de la ligne est effacé (alors, tous les autres arguments sont ignorés). Si <parameter>width</parameter> est supérieur à 0, alors la couleur de la ligne est définie à <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter>. Le dernier paramètre, <parameter>a</parameter>, est optionnel. </para> <para> Vous devez déclarer tous les styles de ligne avant de les utiliser (voir l'exemple). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> Cet exemple simple va dessiner un gros "!#%*@". <example> <title>Exemple avec <function>swfshape->setline</function></title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f1 = $s->addFill(0xff, 0, 0); $f2 = $s->addFill(0xff, 0x7f, 0); $f3 = $s->addFill(0xff, 0xff, 0); $f4 = $s->addFill(0, 0xff, 0); $f5 = $s->addFill(0, 0, 0xff); // bogue : nous devons déclarer tous les styles de ligne avant de les utiliser $s->setLine(40, 0x7f, 0, 0); $s->setLine(40, 0x7f, 0x3f, 0); $s->setLine(40, 0x7f, 0x7f, 0); $s->setLine(40, 0, 0x7f, 0); $s->setLine(40, 0, 0, 0x7f); $f = new SWFFont('Techno.fdb'); $s->setRightFill($f1); $s->setLine(40, 0x7f, 0, 0); $s->drawGlyph($f, '!'); $s->movePen($f->getWidth('!'), 0); $s->setRightFill($f2); $s->setLine(40, 0x7f, 0x3f, 0); $s->drawGlyph($f, '#'); $s->movePen($f->getWidth('#'), 0); $s->setRightFill($f3); $s->setLine(40, 0x7f, 0x7f, 0); $s->drawGlyph($f, '%'); $s->movePen($f->getWidth('%'), 0); $s->setRightFill($f4); $s->setLine(40, 0, 0x7f, 0); $s->drawGlyph($f, '*'); $s->movePen($f->getWidth('*'), 0); $s->setRightFill($f5); $s->setLine(40, 0, 0, 0x7f); $s->drawGlyph($f, '@'); $m = new SWFMovie(); $m->setDimension(3000,2000); $m->setRate(12.0); $i = $m->add($s); $i->moveTo(1500-$f->getWidth("!#%*@")/2, 1000+$f->getAscent()/2); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfshape/setrightfill.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfshape/setrightfill.xml +++ phpdoc-fr/reference/ming/swfshape/setrightfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfshape.setrightfill"> <refnamediv> <refname>SWFShape->setRightFill()</refname> <refpurpose>Définit la couleur de la trame de droite</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRightFill</methodname> <methodparam><type>SWFGradient</type><parameter>fill</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setRightFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> Raccourci pour <literal>swfshape->setrightfill($s->addfill($r, $g, $b [, $a]));</literal>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setleftfill" /></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.fr (#5366) next »