/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-carver-set-alpha-channel.html is in liblqr-1-0-dev 0.4.1-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lqr_carver_set_alpha_channel</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Liquid Rescale library Manual"><link rel="up" href="ref-carve.html" title="Carver objects"><link rel="prev" href="ref-lqr-carver-set-image-type.html" title="lqr_carver_set_image_type"><link rel="next" href="ref-lqr-carver-set-black-channel.html" title="lqr_carver_set_black_channel"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><code class="function">lqr_carver_set_alpha_channel</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-carver-set-image-type.html">Prev</a> </td><th width="60%" align="center">Carver objects</th><td width="20%" align="right"> <a accesskey="n" href="ref-lqr-carver-set-black-channel.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="ref-lqr-carver-set-alpha-channel"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lqr_carver_set_alpha_channel — sets the alpha channel index in a <code class="classname">LqrCarver</code> object</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include <lqr.h></pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">LqrRetVal <b class="fsfunc">lqr_carver_set_alpha_channel</b>(</code></td><td> LqrCarver * <var class="pdparam">carver</var>, </td></tr><tr><td> </td><td> gint <var class="pdparam">channel_index</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp59690384"></a><h2>Description</h2><p>
The function <code class="function">lqr_carver_set_alpha_channel</code> sets the alpha channel index of
the image stored in the <code class="classname">LqrCarver</code> pointed to by <em class="parameter"><code>carver</code></em> to
<em class="parameter"><code>channel_index</code></em> (between <code class="literal">0</code> and <code class="literal">channels -
1</code>, where <code class="literal">channels</code> is the number of colour channels of the
<em class="parameter"><code>carver</code></em>).
</p><p>
Use a negative value for <em class="parameter"><code>cahnnel_index</code></em> to specify that no alpha channel
is present.
</p><p>
If the specified channel coincides with the current value of the black channel, the black
channel is unset.
</p><p>
Calling this function sets the image time of the <em class="parameter"><code>carver</code></em> to
<code class="literal">LQR_CUSTOM_IMAGE</code>.
</p></div><div class="refsect1"><a name="idp59699888"></a><h2>Return value</h2><p>
The return value follows the Liquid Rescale library signalling system.
</p></div><div class="refsect1"><a name="idp59701168"></a><h2>See also</h2><p>
<span class="simplelist"><a class="xref" href="ref-lqr-image-type.html" title="LqrImageType"><span class="refentrytitle"><span class="type">LqrImageType</span></span>(3)</a>, <a class="xref" href="ref-lqr-carver-new.html" title="lqr_carver_new"><span class="refentrytitle"><code class="function">lqr_carver_new</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-set-image-type.html" title="lqr_carver_set_image_type"><span class="refentrytitle"><code class="function">lqr_carver_set_image_type</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-set-black-channel.html" title="lqr_carver_set_black_channel"><span class="refentrytitle"><code class="function">lqr_carver_set_black_channel</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-get-image-type.html" title="lqr_carver_get_image_type"><span class="refentrytitle"><code class="function">lqr_carver_get_image_type</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-get-channels.html" title="lqr_carver_get_channels"><span class="refentrytitle"><code class="function">lqr_carver_get_channels</code></span>(3)</a></span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-lqr-carver-set-image-type.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-carve.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ref-lqr-carver-set-black-channel.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">lqr_carver_set_image_type</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <code class="function">lqr_carver_set_black_channel</code></td></tr></table></div></body></html>
|