Gimp-Forum.net
How to create a perfect centered triangle - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: How to create a perfect centered triangle (/Thread-How-to-create-a-perfect-centered-triangle)



How to create a perfect centered triangle - itamgimp - 05-22-2020

Hello, how to create a perfect triangle aligned in the center of the image?

I think i found how to make


RE: How to create a perfect centered triangle - tmanni - 05-22-2020

One method to center the triangle:
1) Layer > Crop to Content
2) Use the Alignment Tool
- set Align Relative to Image
- click on one opaque pixel of your layer to select it (4 white squares appear at the corners)
- click the buttons of the tool: Align center of target and Align middle of target


RE: How to create a perfect centered triangle - itamgimp - 05-22-2020

(05-22-2020, 05:23 PM)tmanni Wrote: One method to center the triangle:
1) Layer > Crop to Content
2) Use the Alignment Tool
- set Align Relative to Image
- click on one opaque pixel of your layer to select it (4 white squares appear at the corners)
- click the buttons of the tool: Align center of target and  Align middle of target

Thank you!

And how to make the triangle?

And how i can make the triangle?


RE: How to create a perfect centered triangle - Ofnuts - 05-22-2020

(05-22-2020, 05:27 PM)itamgimp Wrote: And how i can make the triangle?

Most basic, out of the box: Filter>Render>GFig..., but it doesn't work on-canvas, and does not create paths.

Otherwise there are several scripts to create geometric figures as paths, that you can then convert to selection and bucket fill, or stroke the outline, or else. My own take on the matter is ofn-path-to-shape  which is fine if 1) you are used to work with paths and 2) you don't like entering coordinates (coordinates are inferred from the active path).