Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread Simon Budig
Dr William Bland ([EMAIL PROTECTED]) wrote: > Hi Simon, > Thanks! That looks much nicer. Unfortunately I can't get it to > work properly (sorry, like I said, I'm a newbie at this ;-). I now have > the following code: > > static void [...] > { > size = select_rgn.w * select_rgn.

Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread Daniel Egger
Am Don, 2002-07-04 um 14.58 schrieb David Neary: > For the moment you have no problems - all tiles are 64x64, and > that's hard-coded. It would be nice to have tile sizes > modifiable, but that will not happen before 2.0 to the best of my > knowledge, and there will be much bigger problems to wor

Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread Dr William Bland
On Thu, Jul 04, 2002 at 03:31:46PM +0200, Simon Budig wrote: > > I should have read the code before posting my last message: > > Dr William Bland ([EMAIL PROTECTED]) wrote: > > I thought about using some kind of "double tile iterator" to do this, e.g: > > > > gimp_pixel_rgn_init (&image_rgn, i

Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread Simon Budig
I should have read the code before posting my last message: Dr William Bland ([EMAIL PROTECTED]) wrote: > I thought about using some kind of "double tile iterator" to do this, e.g: > > gimp_pixel_rgn_init (&image_rgn, image_drawable, > x1, y1, (x2 - x1), (y2 - y1), TRUE,

Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread Simon Budig
David Neary ([EMAIL PROTECTED]) wrote: > Dr William Bland wrote: > > Hello all, > > I've just started writing my first gimp plugin, so I'm very new at > > this. Hope nobody minds my stupid questions ;-) > > > > > it occurred to me that the tiles that get iterated over will not > > necessar

Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread Dr William Bland
On Thu, Jul 04, 2002 at 02:58:08PM +0200, David Neary wrote: > For the moment you have no problems - all tiles are 64x64, and > that's hard-coded. It would be nice to have tile sizes > modifiable, but that will not happen before 2.0 to the best of my > knowledge, and there will be much bigger pro

Re: [Gimp-developer] Double tile iterators?

2002-07-04 Thread David Neary
Dr William Bland wrote: > Hello all, > I've just started writing my first gimp plugin, so I'm very new at > this. Hope nobody minds my stupid questions ;-) > it occurred to me that the tiles that get iterated over will not > necessarily be of the same size for the image_drawable and sele

[Gimp-developer] Double tile iterators?

2002-07-04 Thread Dr William Bland
Hello all, I've just started writing my first gimp plugin, so I'm very new at this. Hope nobody minds my stupid questions ;-) So what I'm trying to do is make a plugin that selects certain regions of an image (the regions selected will depend on what's in the image). I've already manage