Gimp-Forum.net
Move/translate item to absolute position? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions)
+---- Thread: Move/translate item to absolute position? (/Thread-Move-translate-item-to-absolute-position)



Move/translate item to absolute position? - c_______z______ - 07-14-2022

gimp-item-transform-translate allows me to move an item relative to its starting position. But what if I wanted to move an item to an absolute position, let's say, to 0,0. Is there a procedure that does that?


RE: Move/translate item to absolute position? - Ofnuts - 07-14-2022

(07-14-2022, 03:49 PM)c_______z______ Wrote: gimp-item-transform-translate allows me to move an item relative to its starting position. But what if I wanted to move an item to an absolute position, let's say, to 0,0. Is there a procedure that does that?

For layers you can use gimp-layer-set-offsets (which isn't the same as gimp-drawable-offset, which is very different).