Drawing shapes is not the main purpose for using GIMP. However, you may create shapes by either painting them using the technique described in 图 7.35 “A new image” or by using the selection tools. Of course, there are various other ways to paint a shape, but we'll stick to the easiest ones here. So, create a new image and check that the foreground and background colors are different.
Basic shapes like rectangles or ellipses, can be created using the selection tools. This tutorial uses a rectangular selection as an example. So, choose the rectangular selection tool and create a new selection: press and hold the left mouse button while you move the mouse to another position in the image (illustrated in figure 图 7.39 “Creating a rectangular selection”). The selection is created when you release the mouse button. For more information about key modifiers see selection tools.
After creating the selection, you can either create a filled or an outlined shape with the foreground color of your choice. If you go for the first option, choose a foreground color and fill the selection with the bucket fill tool. If you choose the latter option, create an outline by using theStroke selection menu item from the menu. If you're satisfied with the result, remove the selection.