In this section, you will learn how to create simple objects in GIMP.
Let's begin by painting a straight line. The easiest way to create a straight line is by using your favorite brush tool, the mouse and the keyboard.
Create a New Image
Create a new image.
Choose a Tool
Select a brush tool from the Toolbox, for example the Pencil tool or the Paintbrush tool.
Select a Color
Select a foreground color, but be sure that the foreground and background colors are different.
Create a Starting Point
Create a starting point by clicking on the image display area with the left mouse button. Your canvas should look similar to 图 7.31 “A new image”.
Draw the Line
Now, hold down the Shift key on your keyboard and move the mouse away from the starting point you created. You'll see a thin line indicating how the line will look.
Finish the Line
If you're satisfied with the direction and length of the line, click the left mouse button again to finish the line. The last step is to let go of the Shift key. GIMP displays a straight line now.