mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-25 17:48:05 +02:00
c796069f17
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@165830 c90b9560-bf6c-de11-be94-00142212c4b1
120 lines
4.0 KiB
XML
Executable File
120 lines
4.0 KiB
XML
Executable File
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.6 $ -->
|
|
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
|
|
<refentry id="function.printer-create-font">
|
|
<refnamediv>
|
|
<refname>printer_create_font</refname>
|
|
<refpurpose>Crée une nouvelle police</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>printer_create_font</methodname>
|
|
<methodparam><type>string</type><parameter>face</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>height</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>width</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>font_weight</parameter></methodparam>
|
|
<methodparam><type>bool</type><parameter>italic</parameter></methodparam>
|
|
<methodparam><type>bool</type><parameter>underline</parameter></methodparam>
|
|
<methodparam><type>bool</type><parameter>strikeout</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>orientation</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<methodname>printer_create_font</methodname> crée une nouvelle ressource de police.
|
|
Pour un exemple, voir la fonction <function>printer_select_font</function>.
|
|
<parameter>face</parameter> est le nom de la police.
|
|
<parameter>height</parameter> est sa taille et
|
|
<parameter>width</parameter> sa largeur. Le paramètre
|
|
<parameter>font_weight</parameter> spécifie le poids de la police
|
|
(400 est normal), et peut prendre comme valeur l'une des constantes suivantes :
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_THIN</constant> :
|
|
fixe un poids de police mince (100).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_ULTRALIGHT</constant> :
|
|
fixe un poids de police très léger (200).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_LIGHT</constant> :
|
|
fixe un poids de police léger (300).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_NORMAL</constant> :
|
|
fixe un poids de police normal (400).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_MEDIUM</constant> :
|
|
fixe un poids de police moyen (500).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_BOLD</constant> :
|
|
fixe un poids de police gras (700).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_ULTRABOLD</constant> :
|
|
fixe un poids de police très gras (800).
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
<constant>PRINTER_FW_HEAVY</constant> :
|
|
fixe un poids de police lourd (900).
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
<para>
|
|
<parameter>italic</parameter> vaut &true; pour indiquer
|
|
que la police est en italique, et &false; sinon.
|
|
</para>
|
|
<para>
|
|
<parameter>underline</parameter> vaut &true; pour indiquer
|
|
que la police est soulignée, et &false; sinon.
|
|
</para>
|
|
<para>
|
|
<parameter>strikeout</parameter> vaut &true; pour indiquer
|
|
que la police est barrée, et &false; sinon.
|
|
</para>
|
|
<para>
|
|
<parameter>orientation</parameter> spécifie l'orientation. Pour un
|
|
exemple, voyez la fonction <function>printer_select_font</function>.
|
|
</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
|
|
-->
|