|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Creating a layer from a selection or pasting to a specified x, y coorinateOK, so following Alexia's suggestion, I am going to plan on selecting ahead of time the rectangle I want my text to paste into. The upper left corner of this selection will then be the upper left corner that I want to paste my png to. How do I do that? I thought about creating a layer the same size as the selection rectangle and pasting to (0,0) on that layer. I see in the pdb how to create a layer with a certain width and height, but I don't see how to specify the offset. And I don't see how to paste to a specific set of coordinates. Can this be done? If I use pdb.gimp_edit_paste_as_new, can I get the coordinates of the pasted selection and then move the floating selection before anchoring? What is the right approach?
Thanks, Ryan On Mon, Jul 6, 2009 at 9:37 AM, Alexia Death <alexiadeath@...> wrote:
_______________________________________________ Gimp-developer mailing list Gimp-developer@... https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer |
|
|
Re: Creating a layer from a selection or pasting to a specified x, y coorinateOK, I think I have solved my problem. You have to know what to search for in the pdb. I think this will do what I need:
pdb.gimp_layer_set_offsets There is nothing in the pdb browser for moving a layer, you have to offset it. On Mon, Jul 6, 2009 at 10:15 AM, Ryan Krauss <ryanlists@...> wrote: OK, so following Alexia's suggestion, I am going to plan on selecting ahead of time the rectangle I want my text to paste into. The upper left corner of this selection will then be the upper left corner that I want to paste my png to. How do I do that? I thought about creating a layer the same size as the selection rectangle and pasting to (0,0) on that layer. I see in the pdb how to create a layer with a certain width and height, but I don't see how to specify the offset. And I don't see how to paste to a specific set of coordinates. Can this be done? If I use pdb.gimp_edit_paste_as_new, can I get the coordinates of the pasted selection and then move the floating selection before anchoring? What is the right approach? _______________________________________________ Gimp-developer mailing list Gimp-developer@... https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer |
| Free embeddable forum powered by Nabble | Forum Help |