Imported Upstream version 2.4.0~rc2
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpchecks</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
||||
<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-gimpparam.html" title="gimpparam">
|
||||
@ -25,16 +25,16 @@
|
||||
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpbase-gimpcpuaccel.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="#id2566444" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2617729" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2597238" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2594846" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimpbase-gimpchecks"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2566444"></a><span class="refentrytitle">gimpchecks</span>
|
||||
<a name="id2617729"></a><span class="refentrytitle">gimpchecks</span>
|
||||
</h2>
|
||||
<p>gimpchecks — Constants and functions related to rendering checkerboards.</p>
|
||||
</td>
|
||||
@ -46,31 +46,27 @@
|
||||
|
||||
|
||||
|
||||
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS">GIMP_CHECK_SIZE</a>
|
||||
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS">GIMP_CHECK_SIZE_SM</a>
|
||||
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
|
||||
#define <a href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
|
||||
void <a href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades</a> (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guchar"
|
||||
>guchar</a> *light,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guchar"
|
||||
>guchar</a> *dark);
|
||||
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS">GIMP_CHECK_SIZE</a>
|
||||
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS">GIMP_CHECK_SIZE_SM</a>
|
||||
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
|
||||
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
|
||||
void <a class="link" href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades</a> (<a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
|
||||
guchar *light,
|
||||
guchar *dark);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2597238"></a><h2>Description</h2>
|
||||
<a name="id2594846"></a><h2>Description</h2>
|
||||
<p>
|
||||
Constants and functions related to rendering checkerboards.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2597254"></a><h2>Details</h2>
|
||||
<a name="id2594862"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2597265"></a><h3>
|
||||
<a name="id2594873"></a><h3>
|
||||
<a name="GIMP-CHECK-SIZE:CAPS"></a>GIMP_CHECK_SIZE</h3>
|
||||
<a class="indexterm" name="id2597277"></a><pre class="programlisting">#define GIMP_CHECK_SIZE 8
|
||||
<a class="indexterm" name="id2594884"></a><pre class="programlisting">#define GIMP_CHECK_SIZE 8
|
||||
</pre>
|
||||
<p>
|
||||
The default checkerboard size in pixels. This is configurable in the
|
||||
@ -80,9 +76,9 @@ this constant instead.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2597295"></a><h3>
|
||||
<a name="id2594902"></a><h3>
|
||||
<a name="GIMP-CHECK-SIZE-SM:CAPS"></a>GIMP_CHECK_SIZE_SM</h3>
|
||||
<a class="indexterm" name="id2597306"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
|
||||
<a class="indexterm" name="id2594914"></a><pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
|
||||
</pre>
|
||||
<p>
|
||||
The default small checkerboard size in pixels.
|
||||
@ -90,9 +86,9 @@ The default small checkerboard size in pixels.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2563951"></a><h3>
|
||||
<a name="id2589950"></a><h3>
|
||||
<a name="GIMP-CHECK-DARK:CAPS"></a>GIMP_CHECK_DARK</h3>
|
||||
<a class="indexterm" name="id2563962"></a><pre class="programlisting">#define GIMP_CHECK_DARK 0.4
|
||||
<a class="indexterm" name="id2589961"></a><pre class="programlisting">#define GIMP_CHECK_DARK 0.4
|
||||
</pre>
|
||||
<p>
|
||||
The dark gray value for the default checkerboard pattern.
|
||||
@ -100,9 +96,9 @@ The dark gray value for the default checkerboard pattern.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2563978"></a><h3>
|
||||
<a name="id2589978"></a><h3>
|
||||
<a name="GIMP-CHECK-LIGHT:CAPS"></a>GIMP_CHECK_LIGHT</h3>
|
||||
<a class="indexterm" name="id2563990"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
|
||||
<a class="indexterm" name="id2589989"></a><pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
|
||||
</pre>
|
||||
<p>
|
||||
The light gray value for the default checkerboard pattern.
|
||||
@ -110,18 +106,14 @@ The light gray value for the default checkerboard pattern.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2564006"></a><h3>
|
||||
<a name="id2590006"></a><h3>
|
||||
<a name="gimp-checks-get-shades"></a>gimp_checks_get_shades ()</h3>
|
||||
<a class="indexterm" name="id2564020"></a><pre class="programlisting">void gimp_checks_get_shades (<a href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guchar"
|
||||
>guchar</a> *light,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guchar"
|
||||
>guchar</a> *dark);</pre>
|
||||
<a class="indexterm" name="id2590019"></a><pre class="programlisting">void gimp_checks_get_shades (<a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType">GimpCheckType</a> type,
|
||||
guchar *light,
|
||||
guchar *dark);</pre>
|
||||
<p>
|
||||
Retrieves the actual shades of gray to use when drawing a
|
||||
checkerboard for a certain <a href="libgimpbase-gimpbaseenums.html#GimpCheckType"><span class="type">GimpCheckType</span></a>.</p>
|
||||
checkerboard for a certain <a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType"><span class="type">GimpCheckType</span></a>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -129,17 +121,17 @@ checkerboard for a certain <a href="libgimpbase-gimpbaseenums.html#GimpCheckType
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
||||
<td> the checkerboard type
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>light</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>light</code></em> :</span></p></td>
|
||||
<td> return location for the light shade
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>dark</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>dark</code></em> :</span></p></td>
|
||||
<td> return location for the dark shade
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user