2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2002-04-17 06:45:35 +00:00
|
|
|
<!-- $Revision: 1.2 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/swf.xml, last change in rev 1.8 -->
|
|
|
|
<refentry id="function.swf-definepoly">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>swf_definepoly</refname>
|
|
|
|
<refpurpose>
|
|
|
|
Define a polygon
|
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>void</type><methodname>swf_definepoly</methodname>
|
|
|
|
<methodparam><type>int</type><parameter>objid</parameter></methodparam>
|
|
|
|
<methodparam><type>array</type><parameter>coords</parameter></methodparam>
|
|
|
|
<methodparam><type>int</type><parameter>npoints</parameter></methodparam>
|
|
|
|
<methodparam><type>float</type><parameter>width</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
The <function>swf_definepoly</function> function defines a
|
|
|
|
polygon given an array of x, y coordinates (the coordinates are
|
|
|
|
defined in the parameter <parameter>coords</parameter>). The
|
|
|
|
parameter <parameter>npoints</parameter> is the number of overall
|
|
|
|
points that are contained in the array given by
|
|
|
|
<parameter>coords</parameter>. The <parameter>width</parameter>
|
|
|
|
is the width of the polygon's border, if set to 0.0 the polygon
|
|
|
|
is filled.
|
|
|
|
</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
|
|
|
|
-->
|