50
50
enum <a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcherEdgeMode" title="enum GimpPixelFetcherEdgeMode">GimpPixelFetcherEdgeMode</a>;
51
51
<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a>;
52
52
<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a>* <a class="link" href="libgimp-gimppixelfetcher.html#gimp-pixel-fetcher-new" title="gimp_pixel_fetcher_new ()">gimp_pixel_fetcher_new</a> (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
54
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
55
>gboolean</a> shadow);
56
54
void <a class="link" href="libgimp-gimppixelfetcher.html#gimp-pixel-fetcher-set-edge-mode" title="gimp_pixel_fetcher_set_edge_mode ()">gimp_pixel_fetcher_set_edge_mode</a> (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
57
55
<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcherEdgeMode" title="enum GimpPixelFetcherEdgeMode">GimpPixelFetcherEdgeMode</a> mode);
58
56
void <a class="link" href="libgimp-gimppixelfetcher.html#gimp-pixel-fetcher-set-bg-color" title="gimp_pixel_fetcher_set_bg_color ()">gimp_pixel_fetcher_set_bg_color</a> (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
60
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
58
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
61
59
>GimpRGB</a> *color);
62
60
void <a class="link" href="libgimp-gimppixelfetcher.html#gimp-pixel-fetcher-get-pixel" title="gimp_pixel_fetcher_get_pixel ()">gimp_pixel_fetcher_get_pixel</a> (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
64
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
70
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
72
64
void <a class="link" href="libgimp-gimppixelfetcher.html#gimp-pixel-fetcher-put-pixel" title="gimp_pixel_fetcher_put_pixel ()">gimp_pixel_fetcher_put_pixel</a> (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
74
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
80
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
82
68
void <a class="link" href="libgimp-gimppixelfetcher.html#gimp-pixel-fetcher-destroy" title="gimp_pixel_fetcher_destroy ()">gimp_pixel_fetcher_destroy</a> (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf);
121
107
<div class="refsect2" lang="en">
122
108
<a name="gimp-pixel-fetcher-new"></a><h3>gimp_pixel_fetcher_new ()</h3>
123
109
<pre class="programlisting"><a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a>* gimp_pixel_fetcher_new (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
125
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
126
>gboolean</a> shadow);</pre>
110
gboolean shadow);</pre>
128
112
Initialize a pixel region from the drawable.</p>
141
125
<td><p><span class="term"><em class="parameter"><code>shadow</code></em> :</span></p></td>
143
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
144
><span class="type">gboolean</span></a> indicating whether the region is attached to
126
<td> a <span class="type">gboolean</span> indicating whether the region is attached to
145
127
the shadow tiles or the real <code class="literal">drawable</code> tiles.
184
166
<a name="gimp-pixel-fetcher-set-bg-color"></a><h3>gimp_pixel_fetcher_set_bg_color ()</h3>
185
167
<pre class="programlisting">void gimp_pixel_fetcher_set_bg_color (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
187
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
169
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
188
170
>GimpRGB</a> *color);</pre>
190
172
Change the background color of a previously initialized pixel region.</p>
211
193
<div class="refsect2" lang="en">
212
194
<a name="gimp-pixel-fetcher-get-pixel"></a><h3>gimp_pixel_fetcher_get_pixel ()</h3>
213
195
<pre class="programlisting">void gimp_pixel_fetcher_get_pixel (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
215
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
218
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
221
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
222
>guchar</a> *pixel);</pre>
198
guchar *pixel);</pre>
224
200
Get a pixel from the pixel region.</p>
255
231
<div class="refsect2" lang="en">
256
232
<a name="gimp-pixel-fetcher-put-pixel"></a><h3>gimp_pixel_fetcher_put_pixel ()</h3>
257
233
<pre class="programlisting">void gimp_pixel_fetcher_put_pixel (<a class="link" href="libgimp-gimppixelfetcher.html#GimpPixelFetcher" title="GimpPixelFetcher">GimpPixelFetcher</a> *pf,
259
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
262
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
265
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
266
>guchar</a> *pixel);</pre>
236
const guchar *pixel);</pre>
268
238
Set a pixel in the pixel region.</p>