mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 20:00:11 +01:00
42 lines
1.2 KiB
XML
42 lines
1.2 KiB
XML
|
|
<refentry id="cairo_set_alpha">
|
|
<refmeta>
|
|
<refentrytitle>cairo_set_alpha</refentrytitle>
|
|
<manvolnum>3</manvolnum>
|
|
</refmeta>
|
|
<refnamediv>
|
|
<refname>cairo_set_alpha</refname>
|
|
<refpurpose>set opaqueness for painting</refpurpose>
|
|
</refnamediv>
|
|
<refsynopsisdiv>
|
|
<programlisting>
|
|
void cairo_set_alpha (<link linkend="cairo_t">cairo_t</link> *cr, double alpha)</programlisting>
|
|
<variablelist role="params">
|
|
<varlistentry>
|
|
<term><parameter>cr</parameter> :</term>
|
|
<listitem>
|
|
<simpara>a cairo_r</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>alpha</parameter> :</term>
|
|
<listitem>
|
|
<simpara>an alpha value between 0.0 and 1.0</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsynopsisdiv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<para>
|
|
<indexterm>
|
|
<primary>functions</primary>
|
|
<secondary>cairo_set_alpha</secondary>
|
|
</indexterm>
|
|
<indexterm>
|
|
<primary/>
|
|
</indexterm>
|
|
If alpha is not between 0.0 and 1.0 it will be restricted to fit.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|