25
25
<th width="100%" align="center">GIMP Color Library Reference Manual</th>
26
26
<td><a accesskey="n" href="libgimpcolor-GimpBilinear.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2588179" class="shortcut">Top</a>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2581422" class="shortcut">Top</a>
30
<a href="#id2591786" class="shortcut">Description</a></nobr></td></tr>
30
<a href="#id2570474" class="shortcut">Description</a></nobr></td></tr>
32
32
<div class="refentry" lang="en">
33
33
<a name="libgimpcolor-GimpAdaptiveSupersample"></a><div class="titlepage"></div>
34
34
<div class="refnamediv"><table width="100%"><tr>
37
<a name="id2588179"></a><span class="refentrytitle">GimpAdaptiveSupersample</span>
37
<a name="id2581422"></a><span class="refentrytitle">GimpAdaptiveSupersample</span>
39
39
<p>GimpAdaptiveSupersample — Functions to perform adaptive supersampling on an area.</p>
49
void (<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc">*GimpProgressFunc</a>) (gint min,
53
void (<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc">*GimpPutPixelFunc</a>) (gint x,
55
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
57
void (<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc">*GimpRenderFunc</a>) (gdouble x,
59
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
61
gulong <a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-supersample-area">gimp_adaptive_supersample_area</a> (gint x1,
67
<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc">GimpRenderFunc</a> render_func,
69
<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc">GimpPutPixelFunc</a> put_pixel_func,
70
gpointer put_pixel_data,
71
<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc">GimpProgressFunc</a> progress_func,
72
gpointer progress_data);
49
void (<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc">*GimpProgressFunc</a>) (<a
50
href="../glib/glib-Basic-Types.html#gint"
53
href="../glib/glib-Basic-Types.html#gint"
56
href="../glib/glib-Basic-Types.html#gint"
59
href="../glib/glib-Basic-Types.html#gpointer"
61
void (<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc">*GimpPutPixelFunc</a>) (<a
62
href="../glib/glib-Basic-Types.html#gint"
65
href="../glib/glib-Basic-Types.html#gint"
67
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
69
href="../glib/glib-Basic-Types.html#gpointer"
71
void (<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc">*GimpRenderFunc</a>) (<a
72
href="../glib/glib-Basic-Types.html#gdouble"
75
href="../glib/glib-Basic-Types.html#gdouble"
77
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
79
href="../glib/glib-Basic-Types.html#gpointer"
82
href="../glib/glib-Basic-Types.html#gulong"
83
>gulong</a> <a href="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-supersample-area">gimp_adaptive_supersample_area</a> (<a
84
href="../glib/glib-Basic-Types.html#gint"
87
href="../glib/glib-Basic-Types.html#gint"
90
href="../glib/glib-Basic-Types.html#gint"
93
href="../glib/glib-Basic-Types.html#gint"
96
href="../glib/glib-Basic-Types.html#gint"
99
href="../glib/glib-Basic-Types.html#gdouble"
100
>gdouble</a> threshold,
101
<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc">GimpRenderFunc</a> render_func,
103
href="../glib/glib-Basic-Types.html#gpointer"
104
>gpointer</a> render_data,
105
<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc">GimpPutPixelFunc</a> put_pixel_func,
107
href="../glib/glib-Basic-Types.html#gpointer"
108
>gpointer</a> put_pixel_data,
109
<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc">GimpProgressFunc</a> progress_func,
111
href="../glib/glib-Basic-Types.html#gpointer"
112
>gpointer</a> progress_data);
75
115
<div class="refsect1" lang="en">
76
<a name="id2591786"></a><h2>Description</h2>
116
<a name="id2570474"></a><h2>Description</h2>
78
118
Functions to perform adaptive supersampling on an area.
81
121
<div class="refsect1" lang="en">
82
<a name="id2591803"></a><h2>Details</h2>
122
<a name="id2570490"></a><h2>Details</h2>
83
123
<div class="refsect2" lang="en">
84
<a name="id2591813"></a><h3>
124
<a name="id2570501"></a><h3>
85
125
<a name="GimpProgressFunc"></a>GimpProgressFunc ()</h3>
86
<a class="indexterm" name="id2591826"></a><pre class="programlisting">void (*GimpProgressFunc) (gint min,
126
<a class="indexterm" name="id2570514"></a><pre class="programlisting">void (*GimpProgressFunc) (<a
127
href="../glib/glib-Basic-Types.html#gint"
130
href="../glib/glib-Basic-Types.html#gint"
133
href="../glib/glib-Basic-Types.html#gint"
136
href="../glib/glib-Basic-Types.html#gpointer"
137
>gpointer</a> data);</pre>
122
170
<div class="refsect2" lang="en">
123
<a name="id2581553"></a><h3>
171
<a name="id2576793"></a><h3>
124
172
<a name="GimpPutPixelFunc"></a>GimpPutPixelFunc ()</h3>
125
<a class="indexterm" name="id2581566"></a><pre class="programlisting">void (*GimpPutPixelFunc) (gint x,
127
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
128
gpointer data);</pre>
173
<a class="indexterm" name="id2576805"></a><pre class="programlisting">void (*GimpPutPixelFunc) (<a
174
href="../glib/glib-Basic-Types.html#gint"
177
href="../glib/glib-Basic-Types.html#gint"
179
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
181
href="../glib/glib-Basic-Types.html#gpointer"
182
>gpointer</a> data);</pre>
161
215
<div class="refsect2" lang="en">
162
<a name="id2576705"></a><h3>
216
<a name="id2576915"></a><h3>
163
217
<a name="GimpRenderFunc"></a>GimpRenderFunc ()</h3>
164
<a class="indexterm" name="id2576717"></a><pre class="programlisting">void (*GimpRenderFunc) (gdouble x,
166
<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
167
gpointer data);</pre>
218
<a class="indexterm" name="id2576927"></a><pre class="programlisting">void (*GimpRenderFunc) (<a
219
href="../glib/glib-Basic-Types.html#gdouble"
222
href="../glib/glib-Basic-Types.html#gdouble"
224
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
226
href="../glib/glib-Basic-Types.html#gpointer"
227
>gpointer</a> data);</pre>
200
260
<div class="refsect2" lang="en">
201
<a name="id2576827"></a><h3>
261
<a name="id2559878"></a><h3>
202
262
<a name="gimp-adaptive-supersample-area"></a>gimp_adaptive_supersample_area ()</h3>
203
<a class="indexterm" name="id2576838"></a><pre class="programlisting">gulong gimp_adaptive_supersample_area (gint x1,
209
<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc">GimpRenderFunc</a> render_func,
210
gpointer render_data,
211
<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc">GimpPutPixelFunc</a> put_pixel_func,
212
gpointer put_pixel_data,
213
<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc">GimpProgressFunc</a> progress_func,
214
gpointer progress_data);</pre>
263
<a class="indexterm" name="id2559890"></a><pre class="programlisting"><a
264
href="../glib/glib-Basic-Types.html#gulong"
265
>gulong</a> gimp_adaptive_supersample_area (<a
266
href="../glib/glib-Basic-Types.html#gint"
269
href="../glib/glib-Basic-Types.html#gint"
272
href="../glib/glib-Basic-Types.html#gint"
275
href="../glib/glib-Basic-Types.html#gint"
278
href="../glib/glib-Basic-Types.html#gint"
281
href="../glib/glib-Basic-Types.html#gdouble"
282
>gdouble</a> threshold,
283
<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc">GimpRenderFunc</a> render_func,
285
href="../glib/glib-Basic-Types.html#gpointer"
286
>gpointer</a> render_data,
287
<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc">GimpPutPixelFunc</a> put_pixel_func,
289
href="../glib/glib-Basic-Types.html#gpointer"
290
>gpointer</a> put_pixel_data,
291
<a href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc">GimpProgressFunc</a> progress_func,
293
href="../glib/glib-Basic-Types.html#gpointer"
294
>gpointer</a> progress_data);</pre>
219
299
<col align="left" valign="top">
222
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
227
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
232
<td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
237
<td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
242
<td><p><span class="term"><em class="parameter"><code>max_depth</code></em> :</span></p></td>
247
<td><p><span class="term"><em class="parameter"><code>threshold</code></em> :</span></p></td>
252
<td><p><span class="term"><em class="parameter"><code>render_func</code></em> :</span></p></td>
257
<td><p><span class="term"><em class="parameter"><code>render_data</code></em> :</span></p></td>
262
<td><p><span class="term"><em class="parameter"><code>put_pixel_func</code></em> :</span></p></td>
267
<td><p><span class="term"><em class="parameter"><code>put_pixel_data</code></em> :</span></p></td>
272
<td><p><span class="term"><em class="parameter"><code>progress_func</code></em> :</span></p></td>
277
<td><p><span class="term"><em class="parameter"><code>progress_data</code></em> :</span></p></td>
282
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
302
<td><span class="term"><em class="parameter"><code>x1</code></em> :</span></td>
307
<td><span class="term"><em class="parameter"><code>y1</code></em> :</span></td>
312
<td><span class="term"><em class="parameter"><code>x2</code></em> :</span></td>
317
<td><span class="term"><em class="parameter"><code>y2</code></em> :</span></td>
322
<td><span class="term"><em class="parameter"><code>max_depth</code></em> :</span></td>
327
<td><span class="term"><em class="parameter"><code>threshold</code></em> :</span></td>
332
<td><span class="term"><em class="parameter"><code>render_func</code></em> :</span></td>
337
<td><span class="term"><em class="parameter"><code>render_data</code></em> :</span></td>
342
<td><span class="term"><em class="parameter"><code>put_pixel_func</code></em> :</span></td>
347
<td><span class="term"><em class="parameter"><code>put_pixel_data</code></em> :</span></td>
352
<td><span class="term"><em class="parameter"><code>progress_func</code></em> :</span></td>
357
<td><span class="term"><em class="parameter"><code>progress_data</code></em> :</span></td>
362
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>