Imported Upstream version 2.3.12
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpmemsize</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpenv.html" title="gimpenv">
|
||||
@ -25,16 +25,16 @@
|
||||
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpbase-gimprectangle.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2598851" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2502148" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2594884" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2553803" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimpbase-gimpmemsize"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2598851"></a><span class="refentrytitle">gimpmemsize</span>
|
||||
<a name="id2502148"></a><span class="refentrytitle">gimpmemsize</span>
|
||||
</h2>
|
||||
<p>gimpmemsize — Functions to (de)serialize a given memory size.</p>
|
||||
</td>
|
||||
@ -65,17 +65,17 @@ GParamSpec* <a href="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize">gimp_
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2594884"></a><h2>Description</h2>
|
||||
<a name="id2553803"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to (de)serialize a given memory size.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2594901"></a><h2>Details</h2>
|
||||
<a name="id2553819"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594912"></a><h3>
|
||||
<a name="id2553830"></a><h3>
|
||||
<a name="gimp-memsize-serialize"></a>gimp_memsize_serialize ()</h3>
|
||||
<a class="indexterm" name="id2600820"></a><pre class="programlisting">gchar* gimp_memsize_serialize (guint64 memsize);</pre>
|
||||
<a class="indexterm" name="id2568308"></a><pre class="programlisting">gchar* gimp_memsize_serialize (guint64 memsize);</pre>
|
||||
<p>
|
||||
Creates a string representation of a given memory size. This string
|
||||
can be parsed by <a href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize"><code class="function">gimp_memsize_deserialize()</code></a> and can thus be used in
|
||||
@ -107,9 +107,9 @@ nice human-readable string please use <a href="libgimpbase-gimpmemsize.html#gimp
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600911"></a><h3>
|
||||
<a name="id2568399"></a><h3>
|
||||
<a name="gimp-memsize-deserialize"></a>gimp_memsize_deserialize ()</h3>
|
||||
<a class="indexterm" name="id2600925"></a><pre class="programlisting">gboolean gimp_memsize_deserialize (const gchar *string,
|
||||
<a class="indexterm" name="id2568413"></a><pre class="programlisting">gboolean gimp_memsize_deserialize (const gchar *string,
|
||||
guint64 *memsize);</pre>
|
||||
<p>
|
||||
Parses a string representation of a memory size as returned by
|
||||
@ -147,9 +147,9 @@ Parses a string representation of a memory size as returned by
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2562462"></a><h3>
|
||||
<a name="id2577510"></a><h3>
|
||||
<a name="gimp-memsize-to-string"></a>gimp_memsize_to_string ()</h3>
|
||||
<a class="indexterm" name="id2562473"></a><pre class="programlisting">gchar* gimp_memsize_to_string (guint64 memsize);</pre>
|
||||
<a class="indexterm" name="id2577521"></a><pre class="programlisting">gchar* gimp_memsize_to_string (guint64 memsize);</pre>
|
||||
<p>
|
||||
This function returns a human readable, translated representation
|
||||
of the passed <em class="parameter"><code>memsize</code></em>. Large values are displayed using a
|
||||
@ -178,9 +178,9 @@ becomes "4.4 KB" and so on.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2562543"></a><h3>
|
||||
<a name="id2577590"></a><h3>
|
||||
<a name="GIMP-TYPE-MEMSIZE:CAPS"></a>GIMP_TYPE_MEMSIZE</h3>
|
||||
<a class="indexterm" name="id2562555"></a><pre class="programlisting">#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
|
||||
<a class="indexterm" name="id2577602"></a><pre class="programlisting">#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
|
||||
</pre>
|
||||
<p>
|
||||
<a href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS"><span class="type">GIMP_TYPE_MEMSIZE</span></a> is a <span class="type">GType</span> derived from <span class="type">G_TYPE_UINT64</span>.
|
||||
@ -188,9 +188,9 @@ becomes "4.4 KB" and so on.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2562593"></a><h3>
|
||||
<a name="id2577640"></a><h3>
|
||||
<a name="GIMP-TYPE-PARAM-MEMSIZE:CAPS"></a>GIMP_TYPE_PARAM_MEMSIZE</h3>
|
||||
<a class="indexterm" name="id2562604"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MEMSIZE (gimp_param_memsize_get_type ())
|
||||
<a class="indexterm" name="id2577651"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MEMSIZE (gimp_param_memsize_get_type ())
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -198,9 +198,9 @@ becomes "4.4 KB" and so on.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2562620"></a><h3>
|
||||
<a name="id2577668"></a><h3>
|
||||
<a name="GIMP-IS-PARAM-SPEC-MEMSIZE:CAPS"></a>GIMP_IS_PARAM_SPEC_MEMSIZE()</h3>
|
||||
<a class="indexterm" name="id2560295"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MEMSIZE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MEMSIZE))
|
||||
<a class="indexterm" name="id2558705"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MEMSIZE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MEMSIZE))
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
@ -219,9 +219,9 @@ becomes "4.4 KB" and so on.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2560331"></a><h3>
|
||||
<a name="id2558741"></a><h3>
|
||||
<a name="gimp-param-spec-memsize"></a>gimp_param_spec_memsize ()</h3>
|
||||
<a class="indexterm" name="id2560344"></a><pre class="programlisting">GParamSpec* gimp_param_spec_memsize (const gchar *name,
|
||||
<a class="indexterm" name="id2558755"></a><pre class="programlisting">GParamSpec* gimp_param_spec_memsize (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
guint64 minimum,
|
||||
@ -293,9 +293,9 @@ See <code class="function">g_param_spec_internal()</code> for more information.<
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2560561"></a><h3>
|
||||
<a name="id2558971"></a><h3>
|
||||
<a name="GIMP-VALUE-HOLDS-MEMSIZE:CAPS"></a>GIMP_VALUE_HOLDS_MEMSIZE()</h3>
|
||||
<a class="indexterm" name="id2603029"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
|
||||
<a class="indexterm" name="id2595568"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MEMSIZE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MEMSIZE))
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user