<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- splitted from ./en/functions/swf.xml, last change in rev 1.8 -->
  <refentry id="function.swf-addcolor">
   <refnamediv>
    <refname>swf_addcolor</refname>
    <refpurpose>
     Set the global add color to the rgba value specified
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>void</type><methodname>swf_addcolor</methodname>
      <methodparam><type>float</type><parameter>r</parameter></methodparam>
      <methodparam><type>float</type><parameter>g</parameter></methodparam>
      <methodparam><type>float</type><parameter>b</parameter></methodparam>
      <methodparam><type>float</type><parameter>a</parameter></methodparam>
     </methodsynopsis>
    <para>
     The <function>swf_addcolor</function> function sets the global
     add color to the <parameter>rgba</parameter> color specified.
     This color is then used (implicitly) by the
     <function>swf_placeobject</function>,
     <function>swf_modifyobject</function> and the
     <function>swf_addbuttonrecord</function> functions.  The color of
     the object will be add by the <parameter>rgba</parameter> values
     when the object is written to the screen.
    </para>
    <note>
     <para>
      The <parameter>rgba</parameter> values can be either positive or
      negative.
     </para>
    </note>
   </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
-->