<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_class_r_g_b_a">
<title>RGBA&lt; Type &gt; Class Template Reference</title>
<indexterm><primary>RGBA&lt; Type &gt;</primary></indexterm>
<para>
<computeroutput>#include &lt;Color.h&gt;</computeroutput>
</para>
<simplesect>
    <title>Public Member Functions    </title>
        <itemizedlist>
            <listitem><para><link linkend="_class_r_g_b_a_1aaf0ca986629e4a0fc24c0608698c8fa8">RGBA</link> ()</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1a0932d7ca458d38b828c42cda332ed53e">RGBA</link> (const <link linkend="_class_r_g_b_a">RGBA</link> &amp;c)</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1ae8661e070bc308e06c0bf752549ba92a">RGBA</link> (const double d[4])</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1aee481263b5a2d8cd51555c33c26bffaa">RGBA</link> (const double rr, const double gg, const double bb)</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1a3e57f9c72cb129ff63a339022f3d84d5">RGBA</link> (const double rr, const double gg, const double bb, const double aa)</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a_1a4178aa3f9c0d2df2aeba403ce5515ddb">operator=</link> (const <link linkend="_class_r_g_b_a">RGBA</link> &amp;c)</para>
</listitem>
            <listitem><para>template&lt;typename T2 &gt; </para><para><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a_1a9a28d9f3505cbc5157eebbe76b720612">operator=</link> (<link linkend="_class_r_g_b">RGB</link>&lt; T2 &gt; &amp;c)</para>
</listitem>
            <listitem><para>template&lt;typename T2 &gt; </para><para><link linkend="_class_r_g_b_a_1a7ca9baf99e26d29a8fb401790f37303f">operator RGBA&lt; T2 &gt;</link> () const</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a_1aadb94a31d2ed58119662048adeaee293">operator+</link> (const <link linkend="_class_r_g_b_a">RGBA</link> &amp;c)</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a_1aeee43e91381042c75ae9eadf3a0816cd">operator/</link> (const double d)</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1a9a8cf01954a11b3416a1f4dd63388439">RGBA</link> (<link linkend="_class_r_g_b">RGB</link>&lt; Type &gt; &amp;c)</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1a13cc9ccefb74478652466a675dae2160">RGBA</link> (<link linkend="_class_c_m_y_k">CMYK</link>&lt; Type &gt; &amp;cmyk)</para>
</listitem>
            <listitem><para>Type &amp; <link linkend="_class_r_g_b_a_1a1ac240653c8b9a64fca30b1ee3d9e44b">operator[]</link> (const unsigned int i)</para>
</listitem>
            <listitem><para>Type <link linkend="_class_r_g_b_a_1a3ee8103158903bd2845804a8dc521e43">r</link> ()</para>
</listitem>
            <listitem><para>Type <link linkend="_class_r_g_b_a_1a838680031e40d8272843932de551ce27">g</link> ()</para>
</listitem>
            <listitem><para>Type <link linkend="_class_r_g_b_a_1a76ea0941b181b13d55f46a656df1edb7">b</link> ()</para>
</listitem>
            <listitem><para>Type <link linkend="_class_r_g_b_a_1a56a78ca802bc62507aace70d705b778c">a</link> ()</para>
</listitem>
            <listitem><para>void <link linkend="_class_r_g_b_a_1a560c992bf1e3b7d99f14538ca12bca4a">red</link> ()</para>
</listitem>
            <listitem><para><link linkend="_class_r_g_b_a_1ac8cbe39a3b43a917b9b19edc09c4e620">RGBA</link> (<link linkend="_class_bstring">Bstring</link> &amp;<link linkend="_class_r_g_b_a_1a7e4a78add7a73064b0df22328a60a01f">hex</link>)</para>
</listitem>
            <listitem><para><link linkend="_class_bstring">Bstring</link> <link linkend="_class_r_g_b_a_1a7e4a78add7a73064b0df22328a60a01f">hex</link> ()</para>
</listitem>
            <listitem><para>void <link linkend="_class_r_g_b_a_1ada09c1a8dd349a8c92b068e9b10ba6d9">spectrum</link> (double value, double cmin, double cmax)</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>
<simplesect><title>template&lt;typename Type&gt;
class RGBA&lt; Type &gt;</title></simplesect>

<para>
Definition at line 11 of file Color.h.</para>
</section>
<section>
<title>Constructor &amp; Destructor Documentation</title>
<anchor xml:id="_class_r_g_b_a_1aaf0ca986629e4a0fc24c0608698c8fa8"/>    <section>
    <title>RGBA()<computeroutput>[1/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 166 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a0932d7ca458d38b828c42cda332ed53e"/>    <section>
    <title>RGBA()<computeroutput>[2/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (const <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt; &amp; c)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 167 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1ae8661e070bc308e06c0bf752549ba92a"/>    <section>
    <title>RGBA()<computeroutput>[3/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (const double d[4])<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 168 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1aee481263b5a2d8cd51555c33c26bffaa"/>    <section>
    <title>RGBA()<computeroutput>[4/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (const double rr, const double gg, const double bb)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 169 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a3e57f9c72cb129ff63a339022f3d84d5"/>    <section>
    <title>RGBA()<computeroutput>[5/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (const double rr, const double gg, const double bb, const double aa)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 171 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a9a8cf01954a11b3416a1f4dd63388439"/>    <section>
    <title>RGBA()<computeroutput>[6/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (<link linkend="_class_r_g_b">RGB</link>&lt; Type &gt; &amp; c)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 190 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a13cc9ccefb74478652466a675dae2160"/>    <section>
    <title>RGBA()<computeroutput>[7/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (<link linkend="_class_c_m_y_k">CMYK</link>&lt; Type &gt; &amp; cmyk)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 191 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1ac8cbe39a3b43a917b9b19edc09c4e620"/>    <section>
    <title>RGBA()<computeroutput>[8/8]</computeroutput></title>
<indexterm><primary>RGBA</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>RGBA</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::<link linkend="_class_r_g_b_a">RGBA</link> (<link linkend="_class_bstring">Bstring</link> &amp; hex)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 205 of file Color.h.</para>
</section>
</section>
<section>
<title>Member Function Documentation</title>
<anchor xml:id="_class_r_g_b_a_1a56a78ca802bc62507aace70d705b778c"/>    <section>
    <title>a()</title>
<indexterm><primary>a</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>a</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>Type <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::a ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 203 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a76ea0941b181b13d55f46a656df1edb7"/>    <section>
    <title>b()</title>
<indexterm><primary>b</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>b</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>Type <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::b ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 202 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a838680031e40d8272843932de551ce27"/>    <section>
    <title>g()</title>
<indexterm><primary>g</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>g</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>Type <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::g ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 201 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a7e4a78add7a73064b0df22328a60a01f"/>    <section>
    <title>hex()</title>
<indexterm><primary>hex</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>hex</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_bstring">Bstring</link> <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::hex ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 214 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a7ca9baf99e26d29a8fb401790f37303f"/>    <section>
    <title>operator RGBA&lt; T2 &gt;()</title>
<indexterm><primary>operator RGBA&lt; T2 &gt;</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>operator RGBA&lt; T2 &gt;</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><computeroutput>template&lt;typename T2 &gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::operator <link linkend="_class_r_g_b_a">RGBA</link>&lt; T2 &gt; ( ) const<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 181 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1aadb94a31d2ed58119662048adeaee293"/>    <section>
    <title>operator+()</title>
<indexterm><primary>operator+</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>operator+</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::operator+ (const <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt; &amp; c)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 184 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1aeee43e91381042c75ae9eadf3a0816cd"/>    <section>
    <title>operator/()</title>
<indexterm><primary>operator/</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>operator/</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::operator/ (const double d)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 187 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a4178aa3f9c0d2df2aeba403ce5515ddb"/>    <section>
    <title>operator=()<computeroutput>[1/2]</computeroutput></title>
<indexterm><primary>operator=</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>operator=</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::operator= (const <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt; &amp; c)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 173 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a9a28d9f3505cbc5157eebbe76b720612"/>    <section>
    <title>operator=()<computeroutput>[2/2]</computeroutput></title>
<indexterm><primary>operator=</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>operator=</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><computeroutput>template&lt;typename T2 &gt; </computeroutput><para><computeroutput><link linkend="_class_r_g_b_a">RGBA</link> <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::operator= (<link linkend="_class_r_g_b">RGB</link>&lt; T2 &gt; &amp; c)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 177 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a1ac240653c8b9a64fca30b1ee3d9e44b"/>    <section>
    <title>operator[]()</title>
<indexterm><primary>operator[]</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>operator[]</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>Type&amp; <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::operator[] (const unsigned int i)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 196 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a3ee8103158903bd2845804a8dc521e43"/>    <section>
    <title>r()</title>
<indexterm><primary>r</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>r</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>Type <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::r ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 200 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1a560c992bf1e3b7d99f14538ca12bca4a"/>    <section>
    <title>red()</title>
<indexterm><primary>red</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>red</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>void <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::red ( )<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 204 of file Color.h.</para>
    </section><anchor xml:id="_class_r_g_b_a_1ada09c1a8dd349a8c92b068e9b10ba6d9"/>    <section>
    <title>spectrum()</title>
<indexterm><primary>spectrum</primary><secondary>RGBA&lt; Type &gt;</secondary></indexterm>
<indexterm><primary>RGBA&lt; Type &gt;</primary><secondary>spectrum</secondary></indexterm>
<computeroutput>template&lt;typename Type&gt; </computeroutput><para><computeroutput>void <link linkend="_class_r_g_b_a">RGBA</link>&lt; Type &gt;::spectrum (double value, double cmin, double cmax)<computeroutput>[inline]</computeroutput></computeroutput></para><para>
Definition at line 221 of file Color.h.</para>
</section>
<para>
The documentation for this class was generated from the following file:</para>
/Users/bernard/b20/bsoft/include/<link linkend="__color_8h">Color.h</link></section>
</section>
