Re: [Gimp-developer] Selections in plugins

2006-01-28 Thread Simon Budig
Joël-Alexis Bialkiewicz ([EMAIL PROTECTED]) wrote: > On 1/26/06, Simon Budig <[EMAIL PROTECTED]> wrote: > > > > Joël-Alexis Bialkiewicz ([EMAIL PROTECTED]) wrote: > > > > > > In fact I don't want to ignore selections but to use them in a different > > > way. Especially, I would like to be able know

Re: [Gimp-developer] Selections in plugins

2006-01-28 Thread Joël-Alexis Bialkiewicz
On 1/26/06, Simon Budig <[EMAIL PROTECTED]> wrote: Joël-Alexis Bialkiewicz ([EMAIL PROTECTED]) wrote:>> In fact I don't want to ignore selections but to use them in a different> way. Especially, I would like to be able know, for a specific point, whether > it is selected or not.You can request the

Re: [Gimp-developer] Selections in plugins

2006-01-26 Thread Simon Budig
Joël-Alexis Bialkiewicz ([EMAIL PROTECTED]) wrote: > On 1/26/06, Simon Budig <[EMAIL PROTECTED]> wrote: > > The selection gets respected when you're using shadow tiles and use > > gimp_drawable_merge_shadow. You can ignore the selection by not using > > shadow tiles IIRC, I am at the moment not sur

Re: [Gimp-developer] Selections in plugins

2006-01-26 Thread Joël-Alexis Bialkiewicz
On 1/26/06, Simon Budig <[EMAIL PROTECTED]> wrote: The selection gets respected when you're using shadow tiles and usegimp_drawable_merge_shadow. You can ignore the selection by not usingshadow tiles IIRC, I am at the moment not sure how this would affect the undo system if you don't use shadow til

Re: [Gimp-developer] Selections in plugins

2006-01-26 Thread Simon Budig
Joël-Alexis Bialkiewicz ([EMAIL PROTECTED]) wrote: > My primary hypothesis is that gimp gives the full image (or a square portion > of it including all selections) when you call gimp_drawable_mask_bounds, and > that when you write your results using gimp_drawable_update, it just updates > the selec

[Gimp-developer] Selections in plugins

2006-01-26 Thread Joël-Alexis Bialkiewicz
I need to implement an inpainting algorithm as a gimp plugin.I am going to start coding very soon.I read the plugin-template, and the plugin development tutorial, but I still have a problem figuring how selections are managed by the GIMP. I experimented with the dummy plugin (blur) given in the tut