~ubuntu-branches/ubuntu/natty/gimp/natty

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimppixelrgn.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2010-07-12 15:08:08 UTC
  • mfrom: (1.1.23) (0.4.6 sid)
  • Revision ID: package-import@ubuntu.com-20100712150808-db9xqgtxrvpyl3g2
Tags: 2.6.10-1ubuntu1
Resync on Debian, dropping changes which are in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
9
9
<link rel="prev" href="libgimp-gimppixelfetcher.html" title="gimppixelfetcher">
10
10
<link rel="next" href="libgimp-gimpregioniterator.html" title="gimpregioniterator">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
14
 
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
15
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
16
 
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
17
 
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
18
 
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
19
 
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
20
 
<link rel="index" href="libgimp-index.html" title="Index">
21
 
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
22
 
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
23
 
<link rel="index" href="libgimp-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
24
 
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
25
13
</head>
26
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
27
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
34
22
</tr>
35
23
<tr><td colspan="5" class="shortcuts">
36
24
<a href="#libgimp-gimppixelrgn.synopsis" class="shortcut">Top</a>
37
 
                 | 
38
 
                <a href="#libgimp-gimppixelrgn.description" class="shortcut">Description</a>
 
25
                   | 
 
26
                  <a href="#libgimp-gimppixelrgn.description" class="shortcut">Description</a>
39
27
</td></tr>
40
28
</table>
41
29
<div class="refentry" title="gimppixelrgn">
49
37
</tr></table></div>
50
38
<div class="refsynopsisdiv" title="Synopsis">
51
39
<a name="libgimp-gimppixelrgn.synopsis"></a><h2>Synopsis</h2>
52
 
<pre class="synopsis">
53
 
                    <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a>;
54
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-init" title="gimp_pixel_rgn_init ()">gimp_pixel_rgn_init</a>                 (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
55
 
                                                         <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
56
 
                                                         <a
57
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
58
 
>gint</a> x,
59
 
                                                         <a
60
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
61
 
>gint</a> y,
62
 
                                                         <a
63
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
64
 
>gint</a> width,
65
 
                                                         <a
66
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
67
 
>gint</a> height,
68
 
                                                         <a
69
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
70
 
>gint</a> dirty,
71
 
                                                         <a
72
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
73
 
>gint</a> shadow);
74
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-resize" title="gimp_pixel_rgn_resize ()">gimp_pixel_rgn_resize</a>               (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
75
 
                                                         <a
76
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
77
 
>gint</a> x,
78
 
                                                         <a
79
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
80
 
>gint</a> y,
81
 
                                                         <a
82
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
83
 
>gint</a> width,
84
 
                                                         <a
85
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
86
 
>gint</a> height);
87
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-pixel" title="gimp_pixel_rgn_get_pixel ()">gimp_pixel_rgn_get_pixel</a>            (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
88
 
                                                         <a
89
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
90
 
>guchar</a> *buf,
91
 
                                                         <a
92
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
93
 
>gint</a> x,
94
 
                                                         <a
95
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
96
 
>gint</a> y);
97
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-row" title="gimp_pixel_rgn_get_row ()">gimp_pixel_rgn_get_row</a>              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
98
 
                                                         <a
99
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
100
 
>guchar</a> *buf,
101
 
                                                         <a
102
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
103
 
>gint</a> x,
104
 
                                                         <a
105
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
106
 
>gint</a> y,
107
 
                                                         <a
108
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
109
 
>gint</a> width);
110
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-col" title="gimp_pixel_rgn_get_col ()">gimp_pixel_rgn_get_col</a>              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
111
 
                                                         <a
112
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
113
 
>guchar</a> *buf,
114
 
                                                         <a
115
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
116
 
>gint</a> x,
117
 
                                                         <a
118
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
119
 
>gint</a> y,
120
 
                                                         <a
121
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
122
 
>gint</a> height);
123
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-rect" title="gimp_pixel_rgn_get_rect ()">gimp_pixel_rgn_get_rect</a>             (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
124
 
                                                         <a
125
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
126
 
>guchar</a> *buf,
127
 
                                                         <a
128
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
129
 
>gint</a> x,
130
 
                                                         <a
131
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
132
 
>gint</a> y,
133
 
                                                         <a
134
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
135
 
>gint</a> width,
136
 
                                                         <a
137
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
138
 
>gint</a> height);
139
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-pixel" title="gimp_pixel_rgn_set_pixel ()">gimp_pixel_rgn_set_pixel</a>            (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
140
 
                                                         const <a
141
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
142
 
>guchar</a> *buf,
143
 
                                                         <a
144
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
145
 
>gint</a> x,
146
 
                                                         <a
147
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
148
 
>gint</a> y);
149
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-row" title="gimp_pixel_rgn_set_row ()">gimp_pixel_rgn_set_row</a>              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
150
 
                                                         const <a
151
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
152
 
>guchar</a> *buf,
153
 
                                                         <a
154
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
155
 
>gint</a> x,
156
 
                                                         <a
157
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
158
 
>gint</a> y,
159
 
                                                         <a
160
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
161
 
>gint</a> width);
162
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-col" title="gimp_pixel_rgn_set_col ()">gimp_pixel_rgn_set_col</a>              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
163
 
                                                         const <a
164
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
165
 
>guchar</a> *buf,
166
 
                                                         <a
167
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
168
 
>gint</a> x,
169
 
                                                         <a
170
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
171
 
>gint</a> y,
172
 
                                                         <a
173
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
174
 
>gint</a> height);
175
 
void                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-rect" title="gimp_pixel_rgn_set_rect ()">gimp_pixel_rgn_set_rect</a>             (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
176
 
                                                         const <a
177
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
178
 
>guchar</a> *buf,
179
 
                                                         <a
180
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
181
 
>gint</a> x,
182
 
                                                         <a
183
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
184
 
>gint</a> y,
185
 
                                                         <a
186
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
187
 
>gint</a> width,
188
 
                                                         <a
189
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
190
 
>gint</a> height);
191
 
<a
192
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
193
 
>gpointer</a>            <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register" title="gimp_pixel_rgns_register ()">gimp_pixel_rgns_register</a>            (<a
194
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
195
 
>gint</a> nrgns,
196
 
                                                         ...);
197
 
<a
198
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
199
 
>gpointer</a>            <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register2" title="gimp_pixel_rgns_register2 ()">gimp_pixel_rgns_register2</a>           (<a
200
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
201
 
>gint</a> nrgns,
202
 
                                                         <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> **prs);
203
 
<a
204
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
205
 
>gpointer</a>            <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-process" title="gimp_pixel_rgns_process ()">gimp_pixel_rgns_process</a>             (<a
206
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
207
 
>gpointer</a> pri_ptr);
 
40
<pre class="synopsis">                    <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a>;
 
41
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-init" title="gimp_pixel_rgn_init ()">gimp_pixel_rgn_init</a>                 (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
42
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>,
 
43
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
44
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
45
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
46
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
 
47
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dirty</code></em>,
 
48
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> shadow</code></em>);
 
49
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-resize" title="gimp_pixel_rgn_resize ()">gimp_pixel_rgn_resize</a>               (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
50
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
51
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
52
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
53
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
 
54
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-pixel" title="gimp_pixel_rgn_get_pixel ()">gimp_pixel_rgn_get_pixel</a>            (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
55
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
56
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
57
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
58
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-row" title="gimp_pixel_rgn_get_row ()">gimp_pixel_rgn_get_row</a>              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
59
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
60
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
61
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
62
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
 
63
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-col" title="gimp_pixel_rgn_get_col ()">gimp_pixel_rgn_get_col</a>              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
64
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
65
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
66
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
67
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
 
68
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-get-rect" title="gimp_pixel_rgn_get_rect ()">gimp_pixel_rgn_get_rect</a>             (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
69
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
70
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
71
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
72
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
73
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
 
74
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-pixel" title="gimp_pixel_rgn_set_pixel ()">gimp_pixel_rgn_set_pixel</a>            (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
75
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
76
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
77
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
78
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-row" title="gimp_pixel_rgn_set_row ()">gimp_pixel_rgn_set_row</a>              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
79
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
80
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
81
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
82
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
 
83
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-col" title="gimp_pixel_rgn_set_col ()">gimp_pixel_rgn_set_col</a>              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
84
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
85
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
86
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
87
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
 
88
<span class="returnvalue">void</span>                <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgn-set-rect" title="gimp_pixel_rgn_set_rect ()">gimp_pixel_rgn_set_rect</a>             (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
89
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
90
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
91
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
92
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
93
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
 
94
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register" title="gimp_pixel_rgns_register ()">gimp_pixel_rgns_register</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nrgns</code></em>,
 
95
                                                         <em class="parameter"><code>...</code></em>);
 
96
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register2" title="gimp_pixel_rgns_register2 ()">gimp_pixel_rgns_register2</a>           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nrgns</code></em>,
 
97
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> **prs</code></em>);
 
98
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-process" title="gimp_pixel_rgns_process ()">gimp_pixel_rgns_process</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pri_ptr</code></em>);
208
99
</pre>
209
100
</div>
210
101
<div class="refsect1" title="Description">
236
127
<hr>
237
128
<div class="refsect2" title="gimp_pixel_rgn_init ()">
238
129
<a name="gimp-pixel-rgn-init"></a><h3>gimp_pixel_rgn_init ()</h3>
239
 
<pre class="programlisting">void                gimp_pixel_rgn_init                 (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
240
 
                                                         <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
241
 
                                                         <a
242
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
243
 
>gint</a> x,
244
 
                                                         <a
245
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
246
 
>gint</a> y,
247
 
                                                         <a
248
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
249
 
>gint</a> width,
250
 
                                                         <a
251
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
252
 
>gint</a> height,
253
 
                                                         <a
254
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
255
 
>gint</a> dirty,
256
 
                                                         <a
257
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
258
 
>gint</a> shadow);</pre>
 
130
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_init                 (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
131
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> *drawable</code></em>,
 
132
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
133
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
134
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
135
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
 
136
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dirty</code></em>,
 
137
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> shadow</code></em>);</pre>
259
138
<p>
260
139
Initialize the pixel region pointed by <em class="parameter"><code>pr</code></em> with the specified parameters.
261
140
</p>
294
173
                                   change the drawable content. Don't
295
174
                                   do this, since this could prevent
296
175
                                   the Undo-System from working as
297
 
                                   expected.</p>
298
 
<p>
 
176
                                   expected.
299
177
</p>
300
178
<div class="variablelist"><table border="0">
301
179
<col align="left" valign="top">
302
180
<tbody>
303
181
<tr>
304
182
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
305
 
<td>        a pointer to a <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> variable.
 
183
<td>a pointer to a <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> variable.
306
184
</td>
307
185
</tr>
308
186
<tr>
309
187
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
310
 
<td>  the <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> the new region will be attached to.
 
188
<td>the <a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable"><span class="type">GimpDrawable</span></a> the new region will be attached to.
311
189
</td>
312
190
</tr>
313
191
<tr>
314
192
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
315
 
<td>         the x coordinate of the top-left pixel of the region in the
 
193
<td>the x coordinate of the top-left pixel of the region in the
316
194
            <em class="parameter"><code>drawable</code></em>.
317
195
</td>
318
196
</tr>
319
197
<tr>
320
198
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
321
 
<td>         the y coordinate of the top-left pixel of the region in the
 
199
<td>the y coordinate of the top-left pixel of the region in the
322
200
            <em class="parameter"><code>drawable</code></em>.
323
201
</td>
324
202
</tr>
325
203
<tr>
326
204
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
327
 
<td>     the width of the region.
 
205
<td>the width of the region.
328
206
</td>
329
207
</tr>
330
208
<tr>
331
209
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
332
 
<td>    the height of the region.
 
210
<td>the height of the region.
333
211
</td>
334
212
</tr>
335
213
<tr>
336
214
<td><p><span class="term"><em class="parameter"><code>dirty</code></em> :</span></p></td>
337
 
<td>     a <a
338
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
339
 
><span class="type">gboolean</span></a> indicating whether the <em class="parameter"><code>drawable</code></em> should be marked
 
215
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> indicating whether the <em class="parameter"><code>drawable</code></em> should be marked
340
216
            as "dirty".
341
217
</td>
342
218
</tr>
343
219
<tr>
344
220
<td><p><span class="term"><em class="parameter"><code>shadow</code></em> :</span></p></td>
345
 
<td>    a <a
346
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
347
 
><span class="type">gboolean</span></a> indicating whether the region is attached to the
 
221
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> indicating whether the region is attached to the
348
222
            shadow tiles or the real <em class="parameter"><code>drawable</code></em> tiles.
349
223
</td>
350
224
</tr>
354
228
<hr>
355
229
<div class="refsect2" title="gimp_pixel_rgn_resize ()">
356
230
<a name="gimp-pixel-rgn-resize"></a><h3>gimp_pixel_rgn_resize ()</h3>
357
 
<pre class="programlisting">void                gimp_pixel_rgn_resize               (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
358
 
                                                         <a
359
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
360
 
>gint</a> x,
361
 
                                                         <a
362
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
363
 
>gint</a> y,
364
 
                                                         <a
365
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
366
 
>gint</a> width,
367
 
                                                         <a
368
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
369
 
>gint</a> height);</pre>
370
 
<p>
371
 
Change the position and size of a previously initialized pixel region.</p>
372
 
<p>
 
231
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_resize               (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
232
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
233
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
234
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
235
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
 
236
<p>
 
237
Change the position and size of a previously initialized pixel region.
373
238
</p>
374
239
<div class="variablelist"><table border="0">
375
240
<col align="left" valign="top">
376
241
<tbody>
377
242
<tr>
378
243
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
379
 
<td>      a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
244
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
380
245
</td>
381
246
</tr>
382
247
<tr>
383
248
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
384
 
<td>       the x coordinate of the new position of the region's
 
249
<td>the x coordinate of the new position of the region's
385
250
          top-left corner.
386
251
</td>
387
252
</tr>
388
253
<tr>
389
254
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
390
 
<td>       the y coordinate of the new position of the region's
 
255
<td>the y coordinate of the new position of the region's
391
256
          top-left corner.
392
257
</td>
393
258
</tr>
394
259
<tr>
395
260
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
396
 
<td>   the new width of the region.
 
261
<td>the new width of the region.
397
262
</td>
398
263
</tr>
399
264
<tr>
400
265
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
401
 
<td>  the new height of the region.
 
266
<td>the new height of the region.
402
267
</td>
403
268
</tr>
404
269
</tbody>
407
272
<hr>
408
273
<div class="refsect2" title="gimp_pixel_rgn_get_pixel ()">
409
274
<a name="gimp-pixel-rgn-get-pixel"></a><h3>gimp_pixel_rgn_get_pixel ()</h3>
410
 
<pre class="programlisting">void                gimp_pixel_rgn_get_pixel            (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
411
 
                                                         <a
412
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
413
 
>guchar</a> *buf,
414
 
                                                         <a
415
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
416
 
>gint</a> x,
417
 
                                                         <a
418
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
419
 
>gint</a> y);</pre>
 
275
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_get_pixel            (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
276
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
277
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
278
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
420
279
<p>
421
280
Fill the buffer pointed by <em class="parameter"><code>buf</code></em> with the value of the pixel at (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>)
422
281
in the region <em class="parameter"><code>pr</code></em>. <em class="parameter"><code>buf</code></em> should be large enough to hold the pixel value
423
 
(1 <a
424
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
425
 
><span class="type">guchar</span></a> for an indexed or grayscale drawable, 2 <a
426
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
427
 
><span class="type">guchar</span></a> for
428
 
indexed with alpha or grayscale with alpha drawable, 3 <a
429
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
430
 
><span class="type">guchar</span></a> for
431
 
rgb drawable and 4 <a
432
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
433
 
><span class="type">guchar</span></a> for rgb with alpha drawable.</p>
434
 
<p>
 
282
(1 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> for an indexed or grayscale drawable, 2 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> for
 
283
indexed with alpha or grayscale with alpha drawable, 3 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> for
 
284
rgb drawable and 4 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> for rgb with alpha drawable.
435
285
</p>
436
286
<div class="variablelist"><table border="0">
437
287
<col align="left" valign="top">
438
288
<tbody>
439
289
<tr>
440
290
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
441
 
<td>    a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
291
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
442
292
</td>
443
293
</tr>
444
294
<tr>
445
295
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
446
 
<td>   a pointer to an array of <a
447
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
448
 
><span class="type">guchar</span></a>
 
296
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
449
297
</td>
450
298
</tr>
451
299
<tr>
452
300
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
453
 
<td>     the x coordinate of the wanted pixel (relative to the drawable)
 
301
<td>the x coordinate of the wanted pixel (relative to the drawable)
454
302
</td>
455
303
</tr>
456
304
<tr>
457
305
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
458
 
<td>     the y coordinate of the wanted pixel (relative to the drawable)
 
306
<td>the y coordinate of the wanted pixel (relative to the drawable)
459
307
</td>
460
308
</tr>
461
309
</tbody>
464
312
<hr>
465
313
<div class="refsect2" title="gimp_pixel_rgn_get_row ()">
466
314
<a name="gimp-pixel-rgn-get-row"></a><h3>gimp_pixel_rgn_get_row ()</h3>
467
 
<pre class="programlisting">void                gimp_pixel_rgn_get_row              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
468
 
                                                         <a
469
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
470
 
>guchar</a> *buf,
471
 
                                                         <a
472
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
473
 
>gint</a> x,
474
 
                                                         <a
475
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
476
 
>gint</a> y,
477
 
                                                         <a
478
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
479
 
>gint</a> width);</pre>
 
315
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_get_row              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
316
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
317
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
318
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
319
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
480
320
<p>
481
321
Get several pixels of a region in a row. This function fills the buffer
482
322
<em class="parameter"><code>buf</code></em> with the values of the pixels from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x</code></em>+<em class="parameter"><code>width</code></em>-1, <em class="parameter"><code>y</code></em>).
483
 
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.</p>
484
 
<p>
 
323
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.
485
324
</p>
486
325
<div class="variablelist"><table border="0">
487
326
<col align="left" valign="top">
488
327
<tbody>
489
328
<tr>
490
329
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
491
 
<td>     a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
330
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
492
331
</td>
493
332
</tr>
494
333
<tr>
495
334
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
496
 
<td>    a pointer to an array of <a
497
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
498
 
><span class="type">guchar</span></a>
 
335
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
499
336
</td>
500
337
</tr>
501
338
<tr>
502
339
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
503
 
<td>      the x coordinate of the first pixel (relative to the drawable).
 
340
<td>the x coordinate of the first pixel (relative to the drawable).
504
341
</td>
505
342
</tr>
506
343
<tr>
507
344
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
508
 
<td>      the y coordinate of the first pixel (relative to the drawable).
 
345
<td>the y coordinate of the first pixel (relative to the drawable).
509
346
</td>
510
347
</tr>
511
348
<tr>
512
349
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
513
 
<td>  the number of pixels to get.
 
350
<td>the number of pixels to get.
514
351
</td>
515
352
</tr>
516
353
</tbody>
519
356
<hr>
520
357
<div class="refsect2" title="gimp_pixel_rgn_get_col ()">
521
358
<a name="gimp-pixel-rgn-get-col"></a><h3>gimp_pixel_rgn_get_col ()</h3>
522
 
<pre class="programlisting">void                gimp_pixel_rgn_get_col              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
523
 
                                                         <a
524
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
525
 
>guchar</a> *buf,
526
 
                                                         <a
527
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
528
 
>gint</a> x,
529
 
                                                         <a
530
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
531
 
>gint</a> y,
532
 
                                                         <a
533
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
534
 
>gint</a> height);</pre>
 
359
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_get_col              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
360
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
361
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
362
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
363
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
535
364
<p>
536
365
Get several pixels of a region's column. This function fills the buffer
537
366
<em class="parameter"><code>buf</code></em> with the values of the pixels from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>+<em class="parameter"><code>height</code></em>-1).
538
 
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.</p>
539
 
<p>
 
367
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.
540
368
</p>
541
369
<div class="variablelist"><table border="0">
542
370
<col align="left" valign="top">
543
371
<tbody>
544
372
<tr>
545
373
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
546
 
<td>     a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
374
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
547
375
</td>
548
376
</tr>
549
377
<tr>
550
378
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
551
 
<td>    a pointer to an array of <a
552
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
553
 
><span class="type">guchar</span></a>
 
379
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
554
380
</td>
555
381
</tr>
556
382
<tr>
557
383
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
558
 
<td>      the x coordinate of the first pixel (relative to the drawable).
 
384
<td>the x coordinate of the first pixel (relative to the drawable).
559
385
</td>
560
386
</tr>
561
387
<tr>
562
388
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
563
 
<td>      the y coordinate of the first pixel (relative to the drawable).
 
389
<td>the y coordinate of the first pixel (relative to the drawable).
564
390
</td>
565
391
</tr>
566
392
<tr>
567
393
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
568
 
<td> the number of pixels to get.
 
394
<td>the number of pixels to get.
569
395
</td>
570
396
</tr>
571
397
</tbody>
574
400
<hr>
575
401
<div class="refsect2" title="gimp_pixel_rgn_get_rect ()">
576
402
<a name="gimp-pixel-rgn-get-rect"></a><h3>gimp_pixel_rgn_get_rect ()</h3>
577
 
<pre class="programlisting">void                gimp_pixel_rgn_get_rect             (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
578
 
                                                         <a
579
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
580
 
>guchar</a> *buf,
581
 
                                                         <a
582
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
583
 
>gint</a> x,
584
 
                                                         <a
585
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
586
 
>gint</a> y,
587
 
                                                         <a
588
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
589
 
>gint</a> width,
590
 
                                                         <a
591
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
592
 
>gint</a> height);</pre>
 
403
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_get_rect             (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
404
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
405
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
406
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
407
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
408
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
593
409
<p>
594
410
Get all the pixel values from the rectangle defined by <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>, <em class="parameter"><code>width</code></em> and
595
411
<em class="parameter"><code>height</code></em>. This function fills the buffer <em class="parameter"><code>buf</code></em> with the values of the pixels
596
412
from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x</code></em>+<em class="parameter"><code>width</code></em>-1, <em class="parameter"><code>y</code></em>+<em class="parameter"><code>height</code></em>-1).
597
 
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values (<em class="parameter"><code>width</code></em>*<em class="parameter"><code>height</code></em>*bpp).</p>
598
 
<p>
 
413
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values (<em class="parameter"><code>width</code></em>*<em class="parameter"><code>height</code></em>*bpp).
599
414
</p>
600
415
<div class="variablelist"><table border="0">
601
416
<col align="left" valign="top">
602
417
<tbody>
603
418
<tr>
604
419
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
605
 
<td>     a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
420
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
606
421
</td>
607
422
</tr>
608
423
<tr>
609
424
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
610
 
<td>    a pointer to an array of <a
611
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
612
 
><span class="type">guchar</span></a>
 
425
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
613
426
</td>
614
427
</tr>
615
428
<tr>
616
429
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
617
 
<td>      the x coordinate of the first pixel (relative to the drawable).
 
430
<td>the x coordinate of the first pixel (relative to the drawable).
618
431
</td>
619
432
</tr>
620
433
<tr>
621
434
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
622
 
<td>      the y coordinate of the first pixel (relative to the drawable).
 
435
<td>the y coordinate of the first pixel (relative to the drawable).
623
436
</td>
624
437
</tr>
625
438
<tr>
626
439
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
627
 
<td>  the width of the rectangle.
 
440
<td>the width of the rectangle.
628
441
</td>
629
442
</tr>
630
443
<tr>
631
444
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
632
 
<td> the height of the rectangle.
 
445
<td>the height of the rectangle.
633
446
</td>
634
447
</tr>
635
448
</tbody>
638
451
<hr>
639
452
<div class="refsect2" title="gimp_pixel_rgn_set_pixel ()">
640
453
<a name="gimp-pixel-rgn-set-pixel"></a><h3>gimp_pixel_rgn_set_pixel ()</h3>
641
 
<pre class="programlisting">void                gimp_pixel_rgn_set_pixel            (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
642
 
                                                         const <a
643
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
644
 
>guchar</a> *buf,
645
 
                                                         <a
646
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
647
 
>gint</a> x,
648
 
                                                         <a
649
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
650
 
>gint</a> y);</pre>
651
 
<p>
652
 
Set the pixel at (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to the values from <em class="parameter"><code>buf</code></em>.</p>
653
 
<p>
 
454
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_set_pixel            (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
455
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
456
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
457
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
458
<p>
 
459
Set the pixel at (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to the values from <em class="parameter"><code>buf</code></em>.
654
460
</p>
655
461
<div class="variablelist"><table border="0">
656
462
<col align="left" valign="top">
657
463
<tbody>
658
464
<tr>
659
465
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
660
 
<td>   a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
466
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
661
467
</td>
662
468
</tr>
663
469
<tr>
664
470
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
665
 
<td>  a pointer to an array of <a
666
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
667
 
><span class="type">guchar</span></a>.
 
471
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>.
668
472
</td>
669
473
</tr>
670
474
<tr>
671
475
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
672
 
<td>    the x coordinate of the pixel (relative to the drawable).
 
476
<td>the x coordinate of the pixel (relative to the drawable).
673
477
</td>
674
478
</tr>
675
479
<tr>
676
480
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
677
 
<td>    the y coordinate of the pixel (relative to the drawable).
 
481
<td>the y coordinate of the pixel (relative to the drawable).
678
482
</td>
679
483
</tr>
680
484
</tbody>
683
487
<hr>
684
488
<div class="refsect2" title="gimp_pixel_rgn_set_row ()">
685
489
<a name="gimp-pixel-rgn-set-row"></a><h3>gimp_pixel_rgn_set_row ()</h3>
686
 
<pre class="programlisting">void                gimp_pixel_rgn_set_row              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
687
 
                                                         const <a
688
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
689
 
>guchar</a> *buf,
690
 
                                                         <a
691
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
692
 
>gint</a> x,
693
 
                                                         <a
694
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
695
 
>gint</a> y,
696
 
                                                         <a
697
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
698
 
>gint</a> width);</pre>
 
490
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_set_row              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
491
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
492
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
493
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
494
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
699
495
<p>
700
496
Set several pixels of a region in a row. This function draws the pixels
701
497
from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x</code></em>+<em class="parameter"><code>width</code></em>-1, <em class="parameter"><code>y</code></em>) using the values of the buffer <em class="parameter"><code>buf</code></em>.
702
 
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.</p>
703
 
<p>
 
498
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.
704
499
</p>
705
500
<div class="variablelist"><table border="0">
706
501
<col align="left" valign="top">
707
502
<tbody>
708
503
<tr>
709
504
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
710
 
<td>     a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
505
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
711
506
</td>
712
507
</tr>
713
508
<tr>
714
509
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
715
 
<td>    a pointer to an array of <a
716
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
717
 
><span class="type">guchar</span></a>
 
510
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
718
511
</td>
719
512
</tr>
720
513
<tr>
721
514
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
722
 
<td>      the x coordinate of the first pixel (relative to the drawable).
 
515
<td>the x coordinate of the first pixel (relative to the drawable).
723
516
</td>
724
517
</tr>
725
518
<tr>
726
519
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
727
 
<td>      the y coordinate of the first pixel (relative to the drawable).
 
520
<td>the y coordinate of the first pixel (relative to the drawable).
728
521
</td>
729
522
</tr>
730
523
<tr>
731
524
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
732
 
<td>  the number of pixels to set.
 
525
<td>the number of pixels to set.
733
526
</td>
734
527
</tr>
735
528
</tbody>
738
531
<hr>
739
532
<div class="refsect2" title="gimp_pixel_rgn_set_col ()">
740
533
<a name="gimp-pixel-rgn-set-col"></a><h3>gimp_pixel_rgn_set_col ()</h3>
741
 
<pre class="programlisting">void                gimp_pixel_rgn_set_col              (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
742
 
                                                         const <a
743
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
744
 
>guchar</a> *buf,
745
 
                                                         <a
746
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
747
 
>gint</a> x,
748
 
                                                         <a
749
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
750
 
>gint</a> y,
751
 
                                                         <a
752
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
753
 
>gint</a> height);</pre>
 
534
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_set_col              (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
535
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
536
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
537
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
538
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
754
539
<p>
755
540
Set several pixels of a region's column. This function draws the pixels
756
541
from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>+<em class="parameter"><code>height</code></em>-1) using the values from the buffer <em class="parameter"><code>buf</code></em>.
757
 
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.</p>
758
 
<p>
 
542
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values.
759
543
</p>
760
544
<div class="variablelist"><table border="0">
761
545
<col align="left" valign="top">
762
546
<tbody>
763
547
<tr>
764
548
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
765
 
<td>     a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
549
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
766
550
</td>
767
551
</tr>
768
552
<tr>
769
553
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
770
 
<td>    a pointer to an array of <a
771
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
772
 
><span class="type">guchar</span></a>
 
554
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
773
555
</td>
774
556
</tr>
775
557
<tr>
776
558
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
777
 
<td>      the x coordinate of the first pixel (relative to the drawable).
 
559
<td>the x coordinate of the first pixel (relative to the drawable).
778
560
</td>
779
561
</tr>
780
562
<tr>
781
563
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
782
 
<td>      the y coordinate of the first pixel (relative to the drawable).
 
564
<td>the y coordinate of the first pixel (relative to the drawable).
783
565
</td>
784
566
</tr>
785
567
<tr>
786
568
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
787
 
<td> the number of pixels to set.
 
569
<td>the number of pixels to set.
788
570
</td>
789
571
</tr>
790
572
</tbody>
793
575
<hr>
794
576
<div class="refsect2" title="gimp_pixel_rgn_set_rect ()">
795
577
<a name="gimp-pixel-rgn-set-rect"></a><h3>gimp_pixel_rgn_set_rect ()</h3>
796
 
<pre class="programlisting">void                gimp_pixel_rgn_set_rect             (<a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> *pr,
797
 
                                                         const <a
798
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
799
 
>guchar</a> *buf,
800
 
                                                         <a
801
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
802
 
>gint</a> x,
803
 
                                                         <a
804
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
805
 
>gint</a> y,
806
 
                                                         <a
807
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
808
 
>gint</a> width,
809
 
                                                         <a
810
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
811
 
>gint</a> height);</pre>
 
578
<pre class="programlisting"><span class="returnvalue">void</span>                gimp_pixel_rgn_set_rect             (<em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> *pr</code></em>,
 
579
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
 
580
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
581
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
 
582
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
 
583
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
812
584
<p>
813
585
Set all the pixel of the rectangle defined by <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>, <em class="parameter"><code>width</code></em> and
814
586
<em class="parameter"><code>height</code></em>. This function draws the rectangle from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) to
815
587
(<em class="parameter"><code>x</code></em>+<em class="parameter"><code>width</code></em>-1, <em class="parameter"><code>y</code></em>+<em class="parameter"><code>height</code></em>-1), using the pixel values from the buffer <em class="parameter"><code>buf</code></em>.
816
 
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values (<em class="parameter"><code>width</code></em>*<em class="parameter"><code>height</code></em>*bpp).</p>
817
 
<p>
 
588
<em class="parameter"><code>buf</code></em> should be large enough to hold all these values (<em class="parameter"><code>width</code></em>*<em class="parameter"><code>height</code></em>*bpp).
818
589
</p>
819
590
<div class="variablelist"><table border="0">
820
591
<col align="left" valign="top">
821
592
<tbody>
822
593
<tr>
823
594
<td><p><span class="term"><em class="parameter"><code>pr</code></em> :</span></p></td>
824
 
<td>     a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
595
<td>a pointer to a previously initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
825
596
</td>
826
597
</tr>
827
598
<tr>
828
599
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
829
 
<td>    a pointer to an array of <a
830
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"
831
 
><span class="type">guchar</span></a>
 
600
<td>a pointer to an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>
832
601
</td>
833
602
</tr>
834
603
<tr>
835
604
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
836
 
<td>      the x coordinate of the first pixel (relative to the drawable).
 
605
<td>the x coordinate of the first pixel (relative to the drawable).
837
606
</td>
838
607
</tr>
839
608
<tr>
840
609
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
841
 
<td>      the y coordinate of the first pixel (relative to the drawable).
 
610
<td>the y coordinate of the first pixel (relative to the drawable).
842
611
</td>
843
612
</tr>
844
613
<tr>
845
614
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
846
 
<td>  the width of the rectangle.
 
615
<td>the width of the rectangle.
847
616
</td>
848
617
</tr>
849
618
<tr>
850
619
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
851
 
<td> the height of the rectangle.
 
620
<td>the height of the rectangle.
852
621
</td>
853
622
</tr>
854
623
</tbody>
857
626
<hr>
858
627
<div class="refsect2" title="gimp_pixel_rgns_register ()">
859
628
<a name="gimp-pixel-rgns-register"></a><h3>gimp_pixel_rgns_register ()</h3>
860
 
<pre class="programlisting"><a
861
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
862
 
>gpointer</a>            gimp_pixel_rgns_register            (<a
863
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
864
 
>gint</a> nrgns,
865
 
                                                         ...);</pre>
866
 
<p>
867
 
This is the varargs version of <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register2" title="gimp_pixel_rgns_register2 ()"><span class="type">gimp_pixel_rgns_register2</span></a>.</p>
868
 
<p>
 
629
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gimp_pixel_rgns_register            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nrgns</code></em>,
 
630
                                                         <em class="parameter"><code>...</code></em>);</pre>
 
631
<p>
 
632
This is the varargs version of <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register2" title="gimp_pixel_rgns_register2 ()"><span class="type">gimp_pixel_rgns_register2</span></a>.
869
633
</p>
870
634
<div class="variablelist"><table border="0">
871
635
<col align="left" valign="top">
872
636
<tbody>
873
637
<tr>
874
638
<td><p><span class="term"><em class="parameter"><code>nrgns</code></em> :</span></p></td>
875
 
<td>   the number of regions to register.
 
639
<td>the number of regions to register.
876
640
</td>
877
641
</tr>
878
642
<tr>
879
643
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
880
 
<td> <em class="parameter"><code>nrgns</code></em> pointers to <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
644
<td>
 
645
<em class="parameter"><code>nrgns</code></em> pointers to <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
881
646
</td>
882
647
</tr>
883
648
<tr>
884
649
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
885
 
<td> a <a
886
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
887
 
><span class="type">gpointer</span></a> to a regions iterator.
 
650
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> to a regions iterator.
888
651
</td>
889
652
</tr>
890
653
</tbody>
893
656
<hr>
894
657
<div class="refsect2" title="gimp_pixel_rgns_register2 ()">
895
658
<a name="gimp-pixel-rgns-register2"></a><h3>gimp_pixel_rgns_register2 ()</h3>
896
 
<pre class="programlisting"><a
897
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
898
 
>gpointer</a>            gimp_pixel_rgns_register2           (<a
899
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
900
 
>gint</a> nrgns,
901
 
                                                         <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn">GimpPixelRgn</a> **prs);</pre>
 
659
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gimp_pixel_rgns_register2           (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nrgns</code></em>,
 
660
                                                         <em class="parameter"><code><a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a> **prs</code></em>);</pre>
902
661
<p>
903
662
It takes a number of initialized regions of the same size and provides a
904
663
pixel region iterator the iterator can be used to iterate over the
911
670
they are resized to the first subsets.
912
671
</p>
913
672
<p>
914
 
This function has to be used together with gimp_pixel_rgns_process in a loop.</p>
915
 
<p>
 
673
This function has to be used together with gimp_pixel_rgns_process in a loop.
916
674
</p>
917
675
<div class="variablelist"><table border="0">
918
676
<col align="left" valign="top">
919
677
<tbody>
920
678
<tr>
921
679
<td><p><span class="term"><em class="parameter"><code>nrgns</code></em> :</span></p></td>
922
 
<td> the number of regions to register.
 
680
<td>the number of regions to register.
923
681
</td>
924
682
</tr>
925
683
<tr>
926
684
<td><p><span class="term"><em class="parameter"><code>prs</code></em> :</span></p></td>
927
 
<td>   an array of <em class="parameter"><code>nrgns</code></em> pointers to initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
 
685
<td>an array of <em class="parameter"><code>nrgns</code></em> pointers to initialized <a class="link" href="libgimp-gimppixelrgn.html#GimpPixelRgn" title="GimpPixelRgn"><span class="type">GimpPixelRgn</span></a>.
928
686
</td>
929
687
</tr>
930
688
<tr>
931
689
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
932
 
<td> a <a
933
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
934
 
><span class="type">gpointer</span></a> to a regions iterator.
 
690
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> to a regions iterator.
935
691
</td>
936
692
</tr>
937
693
</tbody>
940
696
<hr>
941
697
<div class="refsect2" title="gimp_pixel_rgns_process ()">
942
698
<a name="gimp-pixel-rgns-process"></a><h3>gimp_pixel_rgns_process ()</h3>
943
 
<pre class="programlisting"><a
944
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
945
 
>gpointer</a>            gimp_pixel_rgns_process             (<a
946
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
947
 
>gpointer</a> pri_ptr);</pre>
 
699
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gimp_pixel_rgns_process             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pri_ptr</code></em>);</pre>
948
700
<p>
949
701
This function update the regions registered previously with one of the
950
 
<a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register" title="gimp_pixel_rgns_register ()"><span class="type">gimp_pixel_rgns_register</span></a>* functions to their next tile.</p>
951
 
<p>
 
702
<a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register" title="gimp_pixel_rgns_register ()"><span class="type">gimp_pixel_rgns_register</span></a>* functions to their next tile.
952
703
</p>
953
704
<div class="variablelist"><table border="0">
954
705
<col align="left" valign="top">
955
706
<tbody>
956
707
<tr>
957
708
<td><p><span class="term"><em class="parameter"><code>pri_ptr</code></em> :</span></p></td>
958
 
<td> a regions iterator returned by <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register" title="gimp_pixel_rgns_register ()"><span class="type">gimp_pixel_rgns_register</span></a>,
 
709
<td>a regions iterator returned by <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register" title="gimp_pixel_rgns_register ()"><span class="type">gimp_pixel_rgns_register</span></a>,
959
710
          <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register2" title="gimp_pixel_rgns_register2 ()"><span class="type">gimp_pixel_rgns_register2</span></a> or <a class="link" href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-process" title="gimp_pixel_rgns_process ()"><span class="type">gimp_pixel_rgns_process</span></a>.
960
711
</td>
961
712
</tr>
962
713
<tr>
963
714
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
964
 
<td> a <a
965
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
966
 
><span class="type">gpointer</span></a> to a new regions iterator or <a
967
 
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
968
 
><span class="type">NULL</span></a> if there isn't
 
715
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> to a new regions iterator or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if there isn't
969
716
any tiles left.
970
717
</td>
971
718
</tr>
976
723
</div>
977
724
<div class="footer">
978
725
<hr>
979
 
          Generated by GTK-Doc V1.11</div>
 
726
          Generated by GTK-Doc V1.15</div>
980
727
</body>
981
 
</html>
 
728
</html>
 
 
b'\\ No newline at end of file'