14. Rita enkla objekt
| Kapitel 7. Rita med GIMP |

## 14. Rita enkla objekt

In this section, you will learn how to create simple objects in GIMP. It's pretty easy once you figure out how to do it. GIMP provides a huge set of Tools and Shortcuts which most new users get lost in.

### 14.1. Rita en rak linje

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.

Procedur 7.1. Rita en rak linje

1. Figur 7.35. A new image

   The dialog shows a new image, filled with a white background.

   Create a new image. Select your favorite brush tool or use the pencil, if in doubt. Select a foreground color, but be sure that the foreground and background colors are different.

2. Figur 7.36. Början av en rak linje

   The dialog shows a new image, with the first dot which indicates the start of the straight line. The dot has a black foreground color.

   Create a starting point by clicking on the image display area with the left mouse button. Your canvas should look similar to Figur 7.35, ”A new image”.

3. Figur 7.37. The helpline

   The screenshot shows the helpline, which indicates how the finished line will look.

   Now, hold down the Shift button 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.

4. Figur 7.38. The line after the second click

   The line created appears in the image window after drawing the second point (or end point), while the Shift key is still pressed.

   If you're satisfied with the direction and length of the line, click the left mouse button again to finish the line. The GIMP displays a straight line now. If the line doesn't appear, check the foreground and background colors and be sure that you kept the Shift key pressed while painting. You can keep creating lines by continuing to hold the Shift key and creating additional end points.

13. Presets |  | 14.2. Creating a Basic Shape

Report an error in Bugzilla