Hey all; simple question today.
Does anyone know of a function I can use to move a layer via the scripting engine? I looked it up in the Procedural Database but couldn't find anything to that effect (unless I missed it...).
Thanks heaps all.
Using script-fu, you could try "gimp-drawable-offset". That is what I use to move a layer. I hope this helps.
Greg
Not sure about script-fu, but for python what I found is:
pdb.gimp_layer_set_offsets(txtLayer, tmpX, tmpY)
No wonder I didn't find it at first, I was looking for 'move' lol.
Thanks Greg ;)
Glad I could help.
Using script-fu, you could
Using script-fu, you could try "gimp-drawable-offset". That is what I use to move a layer. I hope this helps.
Greg
Found it ;)
Not sure about script-fu, but for python what I found is:
pdb.gimp_layer_set_offsets(txtLayer, tmpX, tmpY)
No wonder I didn't find it at first, I was looking for 'move' lol.
Thanks Greg ;)
Glad I could help.
Glad I could help.