mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-29 11:43:08 +02:00
ba5201692e
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@184461 c90b9560-bf6c-de11-be94-00142212c4b1
88 lines
2.8 KiB
XML
Executable File
88 lines
2.8 KiB
XML
Executable File
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.7 $ -->
|
|
<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<refentry id="function.printer-create-pen">
|
|
<refnamediv>
|
|
<refname>printer_create_pen</refname>
|
|
<refpurpose>Crée un nouveau stylo</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>printer_create_pen</methodname>
|
|
<methodparam><type>int</type><parameter>style</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>width</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>color</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>printer_create_pen</function> crée un nouveau stylo et retourne
|
|
une ressource. Un stylo est utilisé pour dessiner des lignes et des courbes.
|
|
Pour un exemple, voyez la fonction <function>printer_select_pen</function>.
|
|
<parameter>color</parameter> doit être une couleur au format
|
|
RGB hexadécimal, "000000" pour le noir.
|
|
<parameter>width</parameter> spécifie la largeur du stylo.
|
|
<parameter>style</parameter> doit être l'une des constantes suivantes :
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_PEN_SOLID</constant>:
|
|
crée un stylo plein.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_PEN_DASH</constant>:
|
|
crée un stylo pointillé avec des tirets.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_PEN_DOT</constant>:
|
|
crée un stylo pointillé avec des points.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_PEN_DASHDOT</constant>:
|
|
crée un stylo pointillé avec des tirets et des points.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_PEN_DASHDOTDOT</constant>:
|
|
crée un stylo pointillé avec des tirets et des doubles points.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_PEN_INVISIBLE</constant>:
|
|
crée un stylo invisible.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</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
|
|
-->
|