On Tue, 2006-09-05 at 09:15 -0400, Kevin Sookocheff wrote:
> OK. That seems logical. So during the mouse stroke a region is
> selected, and after the mouse stroke healing is done on the selected
> region. Are there any tools in GIMP right now that follow a similar
> sequence? The problem I have is that I'm not sure how to implement
> this, I just don't know enough GIMP yet :)
I don't think there's a tool that does something similar. But then, it
shouldn't be that hard. The heal tool would simply do what the clone
tool is doing on motion. Or actually, it should share the code, either
by delegation or perhaps we would derive GimpHeal from GimpClone.
As far as I can see, there is currently no way to override
gimp_paint_core_finish(). That's probably where the heal tool would have
to do its magic. So we would have to make this a virtual method of the
GimpPaintCore class so the GimpHeal could override it.
Mitch knows this code a lot better, he should be able to help you with
Gimp-developer mailing list