I had not tried it - but this feature has been a demand by some users. If we could talk into making this kind of mask a toggle for existing tools, instead of a whole new tool, I guess it could be really interesting. On Tue, Feb 15, 2022 at 1:54 PM sigetch via gimp-developer-list < gimp-developer-list@xxxxxxxxx> wrote: > Hi all, > > Long time no see. > Recently, I implemented a funny tool named "Bucket-fill brush" in my > gimp-painter fork. > It's kind of a brush tool, but every brush dab is clipped by the > bucket-fill selection mask under the cursor position too. This tool is > convenient for painting illustrations with line art. > > You can see how it works in my painting workflow from following video > in YouTube. > https://www.youtube.com/watch?v=RTZWXifLpRE > > If you're interested in this brush, please check my repository for > implementation. > https://github.com/seagetch/gimp-painter > > It is very simple and straightforward implementation to clip brush > mask with bucket-fill boundary. > You can find /app/tools/gimpbucketfillbrushtool.cpp and > /app/core/gimpimage-contiguous-region.c which implements this brush. > > Thanks, > -- > sigetch@xxxxxxxxx > _______________________________________________ > gimp-developer-list mailing list > List address: gimp-developer-list@xxxxxxxxx > List membership: > https://mail.gnome.org/mailman/listinfo/gimp-developer-list > List archives: https://mail.gnome.org/archives/gimp-developer-list > _______________________________________________ gimp-developer-list mailing list List address: gimp-developer-list@xxxxxxxxx List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list