2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2007-12-31 02:07:22 +00:00
|
|
|
<!-- $Revision: 1.6 $ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.swf-definefont" xmlns="http://docbook.org/ns/docbook">
|
2007-02-03 18:54:54 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>swf_definefont</refname>
|
|
|
|
<refpurpose>Defines a font</refpurpose>
|
|
|
|
</refnamediv>
|
2007-12-31 02:07:22 +00:00
|
|
|
|
2007-02-03 18:55:13 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-02-03 18:54:54 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>void</type><methodname>swf_definefont</methodname>
|
|
|
|
<methodparam><type>int</type><parameter>fontid</parameter></methodparam>
|
|
|
|
<methodparam><type>string</type><parameter>fontname</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2007-02-03 18:55:13 +00:00
|
|
|
The <function>swf_definefont</function> function defines a font parameter
|
|
|
|
and gives it the specified id. It then sets the font given by <parameter>
|
2007-02-03 18:54:54 +00:00
|
|
|
fontname</parameter> to the current font.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-02-03 18:55:13 +00:00
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>fontid</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The id to be given to the font.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>fontname</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The font so be set as current font.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
&return.void;
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-12-31 02:07:22 +00:00
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><function>swf_definetext</function></member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2007-02-03 18:54:54 +00:00
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
-->
|