Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
drawable
#1
What can a drawable be. A layer, what else?
Any docs page where I can read?

There is this

https://developer.gimp.org/api/2.0/libgi...mpDrawable

but it doesn't tell me all possible things that can be a drawable.
I don't understand it completely  Blush
Reply
#2
Basically anything you can draw/paint on(*): a layer, a layer mask, or a channel. In an image, there is only a single active drawable at any time, so if you can't paint on a layer, it is possibly because you selected a channel, for instance, Select > Save to channel creates a channel from the current selection, and makes it the current drawable.

When Gimp calls a script/plugin, the second argument is often a drawable, and if that makes sense the plugin should be able to work with that.
Reply


Forum Jump: