This file is indexed.

/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-carver-scan-line.html is in liblqr-1-0-dev 0.4.1-1.1.

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
21
22
23
24
25
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lqr_carver_scan_line</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><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-scan-by-row.html" title="lqr_carver_scan_by_row"><link rel="next" href="ref-lqr-carver-get-width.html" title="lqr_carver_get_width"></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_scan_line</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-carver-scan-by-row.html">Prev</a> </td><th width="60%" align="center">Carver objects</th><td width="20%" align="right"> <a accesskey="n" href="ref-lqr-carver-get-width.html">Next</a></td></tr></table><hr></div><div class="refentry" title="lqr_carver_scan_line"><a name="ref-lqr-carver-scan-line"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lqr_carver_scan_line, lqr_carver_scan_line_ext &#8212; read out a multi-size image one line at a time</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;lqr.h&gt;</pre><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">gboolean <b class="fsfunc">lqr_carver_scan_line</b>(</code></td><td>LqrCarver* <var class="pdparam">carver</var>, </td></tr><tr><td> </td><td>gint* <var class="pdparam">n</var>, </td></tr><tr><td> </td><td>guchar** <var class="pdparam">rgb</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">gboolean <b class="fsfunc">lqr_carver_scan_line_ext</b>(</code></td><td>LqrCarver* <var class="pdparam">carver</var>, </td></tr><tr><td> </td><td>gint* <var class="pdparam">n</var>, </td></tr><tr><td> </td><td>void** <var class="pdparam">rgb</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Description"><a name="idp32899664"></a><h2>Description</h2><p>
                        The functions <code class="function">lqr_carver_scan_line</code> and
                        <code class="function">lqr_carver_scan_line_ext</code> are used to read out the multi-size image
                        contained in the <code class="classname">LqrCarver</code> object pointed to by <em class="parameter"><code>carver</code></em> one line at a
                        time. They store the line number (row or column) in the variable pointed to by
                        <em class="parameter"><code>n</code></em> and the colour values in the array pointed to by
                        <em class="parameter"><code>rgb</code></em>; then they move the readout pointer to the next line, or they reset
                        it if the end of the image is reached.
                    </p><p>
                        The first one must only be used on the <code class="classname">LqrCarver</code> objects created with
                        <em class="parameter"><code>lqr_carver_new</code></em>, i.e. with 8-bit images, while the second one is general,
                        but the <em class="parameter"><code>rgb</code></em> pointer must be cast to the appropriate type to be used (i.e
                        pass the address of a pointer to <code class="literal">void</code> to the function
                        <code class="function">lqr_carver_scan_line_ext</code>, then cast it to a pointer of the appropriate type
                        and use this last one for reading the output).
                    </p><p>
                        Use the function <a class="xref" href="ref-lqr-carver-scan-by-row.html" title="lqr_carver_scan_by_row"><span class="refentrytitle"><code class="function">lqr_carver_scan_by_row</code></span>(3)</a> before calling these to know
                        whether your image will be scanned by row or by column.
                    </p></div><div class="refsect1" title="Return value"><a name="idp32909616"></a><h2>Return value</h2><p>
                        These functions return <code class="literal"><span class="returnvalue">TRUE</span></code> in case the readout is successful and the end of the image was
                        not reached, <code class="literal"><span class="returnvalue">FALSE</span></code> otherwise. If <code class="function">lqr_carver_scan_line</code> is called over
                        a non-8-bit <code class="classname">LqrCarver</code> object, it will return <code class="literal"><span class="returnvalue">FALSE</span></code>.
                    </p></div><div class="refsect1" title="See also"><a name="idp32914144"></a><h2>See also</h2><p>
                        <span class="simplelist"><a class="xref" href="ref-lqr-col-depth.html" title="LqrColDepth"><span class="refentrytitle"><span class="type">LqrColDepth</span></span>(3)</a>, <a class="xref" href="ref-lqr-carver-scan-reset.html" title="lqr_carver_scan_reset"><span class="refentrytitle"><code class="function">lqr_carver_scan_reset</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-scan.html" title="lqr_carver_scan"><span class="refentrytitle"><code class="function">lqr_carver_scan</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-scan-by-row.html" title="lqr_carver_scan_by_row"><span class="refentrytitle"><code class="function">lqr_carver_scan_by_row</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-scan-by-row.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-get-width.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">lqr_carver_scan_by_row</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_get_width</code></td></tr></table></div></body></html>