Re: [Gimp-developer] PixelRegions?

2006-06-17 Thread Nathan Summers
On 6/16/06, Frédéric <[EMAIL PROTECTED]> wrote: On Friday 16 June 2006 21:41, Michael Thaler wrote: > Can someone explain to me why the code iterates over all pixels in a > region and then over all regions and not just over all pixels in a > layer? What are PixelRegions actually, what are they u

Re: [Gimp-developer] PixelRegions?

2006-06-16 Thread Frédéric
On Friday 16 June 2006 21:41, Michael Thaler wrote: > Can someone explain to me why the code iterates over all pixels in a > region and then over all regions and not just over all pixels in a > layer? What are PixelRegions actually, what are they used for and why > they are needed here? (I had a l

[Gimp-developer] PixelRegions?

2006-06-16 Thread Michael Thaler
Hello, I am trying to understand the siox-tool code. While looking at the code, I discovered the following: static inline void threshold_mask (TileManager *mask, gint x, gint y, gint width, gint height) { PixelRegion region; gpointerpr; gintrow, col; pixel_region_init (®ion