Editing last stroke / modification through gimp plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey all. I have been writing small plugins using the python engine for
quite a while, it is very nice and I appreciate the great batch
functionality available.

I am interested in writing some functionality that deals with working with
the last brushstroke. Ideally, I would be able to enable my plugin and it
applies to all brush strokes (individually) until I turn it off, but I
would also settle for just running it with a hotkey after making a stroke.
I know these states must be stored somewhere because they are in the undo
history. So far the only equivalent I have been able to come up with is to
run a background thread that iterated over the canvas repeatedly to check
if there are any deltas, and wait until no more are found, but obviously
this is inefficient and inaccurate. Is there a better way available
currently?

I am usually using python-fu style but I have also used the scheme engine
for a few projects.

Thanks for your help.
_______________________________________________
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



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux