3.5. Pencil
| 3. Paint Tools |

### 3.5. Pencil

图 13.62. Pencil tool

The Pencil tool is used to draw free hand lines with a hard edge. The pencil and paintbrush are similar tools. The main difference between the two tools is that although both use the same type of brush, the pencil tool will not produce fuzzy edges, even with a very fuzzy brush. It does not even do anti-aliasing.

Why would you want to work with such a crude tool? Perhaps the most important usage is when working with very small images, such as icons, where you operate at a high zoom level and need to get every pixel exactly right. With the pencil tool, you can be confident that every pixel within the brush outline will be changed in exactly the way you expect.

| 提示
If you want to draw straight lines with the Pencil (or any of several other paint tools), click at the starting point, then hold down Shift and click at the ending point.

#### 3.5.1. Activating the Tool

- The Pencil Tool can be called from the image-menu: Tools → Paint Tools → Pencil

- The Tool can also be called by clicking the tool icon:

- or by clicking on the N keyboard shortcut.

#### 3.5.2. Key modifiers (Defaults)

Ctrl

  This key changes the pencil to a Color Picker.

Shift

  This key places the pencil tool into straight line mode. Holding Shift while clicking Button 1 will generate a straight line. Consecutive clicks will continue drawing straight lines that originate from the end of the last line.

#### 3.5.3. Options

图 13.63. “Pencil” Tool options

Normally, tool options are displayed in a window attached under the Toolbox as soon as you activate a tool. If they are not, you can access them from the image menu bar through Windows → Dockable Windows → Tool Options which opens the option window of the selected tool.

Mode; Opacity; Brush; Scale; Brush Dynamics; Fade Out; Apply Jitter; Incremental; Use Color from Gradient
  See the Common Paint Tool Options for a description of tool options that apply to many or all paint tools.

3.4. Blend |  | 3.6. Paintbrush