/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-carver-flatten.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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lqr_carver_flatten</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-resize.html" title="lqr_carver_resize"><link rel="next" href="ref-lqr-carver-cancel.html" title="lqr_carver_cancel"></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_flatten</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-carver-resize.html">Prev</a> </td><th width="60%" align="center">Carver objects</th><td width="20%" align="right"> <a accesskey="n" href="ref-lqr-carver-cancel.html">Next</a></td></tr></table><hr></div><div class="refentry" title="lqr_carver_flatten"><a name="ref-lqr-carver-flatten"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lqr_carver_flatten — flatten a <code class="classname">LqrCarver</code> object</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include <lqr.h></pre><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">LqrRetVal <b class="fsfunc">lqr_carver_flatten</b>(</code></td><td>LqrCarver* <var class="pdparam">carver</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Description"><a name="idp32785408"></a><h2>Description</h2><p>
The function <code class="function">lqr_carver_flatten</code> can be used to discard the visibility map
information and flatten the multi-size image contained in the <code class="classname">LqrCarver</code> object pointed to by
<em class="parameter"><code>carver</code></em> to its current state.
</p><p>
It will also reset the internally stored original width and height, as if the image was just
loaded in the <code class="classname">LqrCarver</code> object.
</p><p>
This function must only be invoked over initialised <code class="classname">LqrCarver</code> objects.
</p><p>
This function is called internally each time the rescaling direction changes, or at each new
step in a multiple-step enlargement, but, when calling it manually, the discarded visibility map
will not be dumped automatically by it; use the functions
<a class="xref" href="ref-lqr-vmap-dump.html" title="lqr_vmap_dump"><span class="refentrytitle"><code class="function">lqr_vmap_dump</code></span>(3)</a> or <a class="xref" href="ref-lqr-vmap-internal-dump.html" title="lqr_vmap_internal_dump"><span class="refentrytitle"><code class="function">lqr_vmap_internal_dump</code></span>(3)</a>
in order to save it before invoking this function.
</p></div><div class="refsect1" title="Return value"><a name="idp32792000"></a><h2>Return value</h2><p>
The return value follows the Liquid Rescale library signalling system. Errors can occur for non-initialised
<code class="classname">LqrCarver</code> objects or in case of insufficient memory.
</p></div><div class="refsect1" title="See also"><a name="idp32793792"></a><h2>See also</h2><p>
<span class="simplelist"><a class="xref" href="ref-lqr-ret-val.html" title="LqrRetVal"><span class="refentrytitle"><span class="type">LqrRetVal</span></span>(3)</a>, <a class="xref" href="ref-lqr-carver-init.html" title="lqr_carver_init"><span class="refentrytitle"><code class="function">lqr_carver_init</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-resize.html" title="lqr_carver_resize"><span class="refentrytitle"><code class="function">lqr_carver_resize</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-cancel.html" title="lqr_carver_cancel"><span class="refentrytitle"><code class="function">lqr_carver_cancel</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-resize.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-cancel.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">lqr_carver_resize</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_cancel</code></td></tr></table></div></body></html>
|