Creating a graphical user interface in Gimp
Part 6: The Arrow
If you need to grab some attention, or just generate a direction, the arrow works nice.
This is a quick and easy way to create one without worrying about symmetry.
After creating a new image with a transparent background, add a new layer with its width, and height set to 32. Make sure it has a transparent fill.
Fill the new layer with Sky Blue 1 from the Tango palette.
We'll use the Align tool to center the layer to the middle of the image.
Click on the new layer, then center it just like we did in the previous tutorial.
Click on the rotate layer tool, and then click on the new layer to change its angle.
On the dialog that pops up type in 45.00, then hit enter, and then click Rotate.
With the layer rotated, grab the rectangle selection tool.
Now click at the top of the image, and drag right till you see the x axis at the center of the image.
It was 128, for this 256 pixel image.
With the selection on the new layer, right click, and choose cut, or clear to get rid of half the texture.
Then, release the selection. You can autocrop and export that as your arrow, or in the next steps make it into a rounded version.
Right click in the layers dialog and choose layer to image size.
Using the Morph Selection script we'll make a mask to round the corners.
Right click> Selection> Morph Selection.
Set the scale to 3, and hit ok.
That will give you a new rounded layer.
Go to that layer in the layers dialog, and grab its selection. Right click >Alpha to selection.
Invert the selection. Right click> Selection> Invert Selection.
Go back to the layer with the blue arrow.
Right click on the image> Edit> Clear.
You can now autocrop that layer, and delete the other layers to export the rounded arrow.