~ubuntu-branches/ubuntu/edgy/gimp/edgy-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-04-21 13:00:24 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060421130024-0haogkgt8adj9qjj
Tags: 2.2.11-1ubuntu1
* Resynchronized with Debian, only changes to Debian are:
  - debian/rules:
    - added gettext Domain to .desktop file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
</pre>
104
104
</div>
105
105
<div class="refsect1" lang="en">
106
 
<a name="id2592575"></a><h2>Description</h2>
 
106
<a name="id2595954"></a><h2>Description</h2>
107
107
<p>
108
108
Functions for operating on pixel regions.  These functions provide
109
109
fast ways of accessing and modifying portions of a drawable.
111
111
</p>
112
112
</div>
113
113
<div class="refsect1" lang="en">
114
 
<a name="id2592588"></a><h2>Details</h2>
 
114
<a name="id2595967"></a><h2>Details</h2>
115
115
<div class="refsect2" lang="en">
116
 
<a name="id2592594"></a><h3>
 
116
<a name="id2595973"></a><h3>
117
117
<a name="GimpPixelRgn"></a>GimpPixelRgn</h3>
118
 
<a class="indexterm" name="id2592605"></a><pre class="programlisting">typedef struct {
 
118
<a class="indexterm" name="id2595983"></a><pre class="programlisting">typedef struct {
119
119
  guchar       *data;          /* pointer to region data */
120
120
  GimpDrawable *drawable;      /* pointer to drawable */
121
121
  guint         bpp;           /* bytes per pixel */
133
133
</div>
134
134
<hr>
135
135
<div class="refsect2" lang="en">
136
 
<a name="id2538718"></a><h3>
 
136
<a name="id2535429"></a><h3>
137
137
<a name="gimp-pixel-rgn-init"></a>gimp_pixel_rgn_init ()</h3>
138
 
<a class="indexterm" name="id2578713"></a><pre class="programlisting">void        gimp_pixel_rgn_init             (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
138
<a class="indexterm" name="id2551005"></a><pre class="programlisting">void        gimp_pixel_rgn_init             (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
139
139
                                             <a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
140
140
                                             gint x,
141
141
                                             gint y,
245
245
</div>
246
246
<hr>
247
247
<div class="refsect2" lang="en">
248
 
<a name="id2610380"></a><h3>
 
248
<a name="id2610812"></a><h3>
249
249
<a name="gimp-pixel-rgn-resize"></a>gimp_pixel_rgn_resize ()</h3>
250
 
<a class="indexterm" name="id2610388"></a><pre class="programlisting">void        gimp_pixel_rgn_resize           (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
250
<a class="indexterm" name="id2610821"></a><pre class="programlisting">void        gimp_pixel_rgn_resize           (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
251
251
                                             gint x,
252
252
                                             gint y,
253
253
                                             gint width,
297
297
</div>
298
298
<hr>
299
299
<div class="refsect2" lang="en">
300
 
<a name="id2610519"></a><h3>
 
300
<a name="id2610952"></a><h3>
301
301
<a name="gimp-pixel-rgn-get-pixel"></a>gimp_pixel_rgn_get_pixel ()</h3>
302
 
<a class="indexterm" name="id2610527"></a><pre class="programlisting">void        gimp_pixel_rgn_get_pixel        (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
302
<a class="indexterm" name="id2610960"></a><pre class="programlisting">void        gimp_pixel_rgn_get_pixel        (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
303
303
                                             guchar *buf,
304
304
                                             gint x,
305
305
                                             gint y);</pre>
344
344
</div>
345
345
<hr>
346
346
<div class="refsect2" lang="en">
347
 
<a name="id2610697"></a><h3>
 
347
<a name="id2611130"></a><h3>
348
348
<a name="gimp-pixel-rgn-get-row"></a>gimp_pixel_rgn_get_row ()</h3>
349
 
<a class="indexterm" name="id2610706"></a><pre class="programlisting">void        gimp_pixel_rgn_get_row          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
349
<a class="indexterm" name="id2611139"></a><pre class="programlisting">void        gimp_pixel_rgn_get_row          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
350
350
                                             guchar *buf,
351
351
                                             gint x,
352
352
                                             gint y,
396
396
</div>
397
397
<hr>
398
398
<div class="refsect2" lang="en">
399
 
<a name="id2610880"></a><h3>
 
399
<a name="id2611313"></a><h3>
400
400
<a name="gimp-pixel-rgn-get-col"></a>gimp_pixel_rgn_get_col ()</h3>
401
 
<a class="indexterm" name="id2610889"></a><pre class="programlisting">void        gimp_pixel_rgn_get_col          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
401
<a class="indexterm" name="id2611322"></a><pre class="programlisting">void        gimp_pixel_rgn_get_col          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
402
402
                                             guchar *buf,
403
403
                                             gint x,
404
404
                                             gint y,
448
448
</div>
449
449
<hr>
450
450
<div class="refsect2" lang="en">
451
 
<a name="id2611063"></a><h3>
 
451
<a name="id2611496"></a><h3>
452
452
<a name="gimp-pixel-rgn-get-rect"></a>gimp_pixel_rgn_get_rect ()</h3>
453
 
<a class="indexterm" name="id2611072"></a><pre class="programlisting">void        gimp_pixel_rgn_get_rect         (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
453
<a class="indexterm" name="id2611504"></a><pre class="programlisting">void        gimp_pixel_rgn_get_rect         (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
454
454
                                             guchar *buf,
455
455
                                             gint x,
456
456
                                             gint y,
508
508
</div>
509
509
<hr>
510
510
<div class="refsect2" lang="en">
511
 
<a name="id2611301"></a><h3>
 
511
<a name="id2611734"></a><h3>
512
512
<a name="gimp-pixel-rgn-set-pixel"></a>gimp_pixel_rgn_set_pixel ()</h3>
513
 
<a class="indexterm" name="id2611310"></a><pre class="programlisting">void        gimp_pixel_rgn_set_pixel        (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
513
<a class="indexterm" name="id2611742"></a><pre class="programlisting">void        gimp_pixel_rgn_set_pixel        (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
514
514
                                             const guchar *buf,
515
515
                                             gint x,
516
516
                                             gint y);</pre>
551
551
</div>
552
552
<hr>
553
553
<div class="refsect2" lang="en">
554
 
<a name="id2611441"></a><h3>
 
554
<a name="id2611874"></a><h3>
555
555
<a name="gimp-pixel-rgn-set-row"></a>gimp_pixel_rgn_set_row ()</h3>
556
 
<a class="indexterm" name="id2611450"></a><pre class="programlisting">void        gimp_pixel_rgn_set_row          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
556
<a class="indexterm" name="id2611883"></a><pre class="programlisting">void        gimp_pixel_rgn_set_row          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
557
557
                                             const guchar *buf,
558
558
                                             gint x,
559
559
                                             gint y,
603
603
</div>
604
604
<hr>
605
605
<div class="refsect2" lang="en">
606
 
<a name="id2611624"></a><h3>
 
606
<a name="id2612057"></a><h3>
607
607
<a name="gimp-pixel-rgn-set-col"></a>gimp_pixel_rgn_set_col ()</h3>
608
 
<a class="indexterm" name="id2611632"></a><pre class="programlisting">void        gimp_pixel_rgn_set_col          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
608
<a class="indexterm" name="id2612065"></a><pre class="programlisting">void        gimp_pixel_rgn_set_col          (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
609
609
                                             const guchar *buf,
610
610
                                             gint x,
611
611
                                             gint y,
655
655
</div>
656
656
<hr>
657
657
<div class="refsect2" lang="en">
658
 
<a name="id2611807"></a><h3>
 
658
<a name="id2612241"></a><h3>
659
659
<a name="gimp-pixel-rgn-set-rect"></a>gimp_pixel_rgn_set_rect ()</h3>
660
 
<a class="indexterm" name="id2611815"></a><pre class="programlisting">void        gimp_pixel_rgn_set_rect         (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
 
660
<a class="indexterm" name="id2612250"></a><pre class="programlisting">void        gimp_pixel_rgn_set_rect         (<a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> *pr,
661
661
                                             const guchar *buf,
662
662
                                             gint x,
663
663
                                             gint y,
715
715
</div>
716
716
<hr>
717
717
<div class="refsect2" lang="en">
718
 
<a name="id2612046"></a><h3>
 
718
<a name="id2612482"></a><h3>
719
719
<a name="gimp-pixel-rgns-register"></a>gimp_pixel_rgns_register ()</h3>
720
 
<a class="indexterm" name="id2612054"></a><pre class="programlisting">gpointer    gimp_pixel_rgns_register        (gint nrgns,
 
720
<a class="indexterm" name="id2612490"></a><pre class="programlisting">gpointer    gimp_pixel_rgns_register        (gint nrgns,
721
721
                                             ...);</pre>
722
722
<p>
723
723
This is the varargs version of <a href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register2"><span class="type">gimp_pixel_rgns_register2</span></a>.</p>
750
750
</div>
751
751
<hr>
752
752
<div class="refsect2" lang="en">
753
 
<a name="id2612147"></a><h3>
 
753
<a name="id2612583"></a><h3>
754
754
<a name="gimp-pixel-rgns-register2"></a>gimp_pixel_rgns_register2 ()</h3>
755
 
<a class="indexterm" name="id2612156"></a><pre class="programlisting">gpointer    gimp_pixel_rgns_register2       (gint nrgns,
 
755
<a class="indexterm" name="id2612592"></a><pre class="programlisting">gpointer    gimp_pixel_rgns_register2       (gint nrgns,
756
756
                                             <a href="libgimp-gimppixelrgn.html#GimpPixelRgn">GimpPixelRgn</a> **prs);</pre>
757
757
<p>
758
758
It takes a number of initialized regions of the same size and provides a
796
796
</div>
797
797
<hr>
798
798
<div class="refsect2" lang="en">
799
 
<a name="id2612262"></a><h3>
 
799
<a name="id2612698"></a><h3>
800
800
<a name="gimp-pixel-rgns-process"></a>gimp_pixel_rgns_process ()</h3>
801
 
<a class="indexterm" name="id2612270"></a><pre class="programlisting">gpointer    gimp_pixel_rgns_process         (gpointer pri_ptr);</pre>
 
801
<a class="indexterm" name="id2612706"></a><pre class="programlisting">gpointer    gimp_pixel_rgns_process         (gpointer pri_ptr);</pre>
802
802
<p>
803
803
This function update the regions registered previously with one of the
804
804
<a href="libgimp-gimppixelrgn.html#gimp-pixel-rgns-register"><span class="type">gimp_pixel_rgns_register</span></a>* functions to their next tile.</p>