4.7. Naklonit
| 4. Transform Tools |

### 4.7. Naklonit

Shear tool is used to shift one part of an image, a layer, a selection or a path to a direction and the other part to the opposite direction. For instance, a horizontal shearing will shift the upper part to the right and the lower part to the left. A rectangle becomes a diamond. This is not a rotation: the image is distorted. To use this tool after selecting, click on the image or the selection: a grid is possibly superimposed and the Shearing Information dialog is opened. By dragging the mouse pointer on the image you distort the image, horizontally or vertically according to the direction given to the pointer. When you are satisfied, click on the Shear button in the info dialog to validate.

Obrázek 14.105. Shear example

| Poznámka
You can't shear both ways at the same time, you have to use the shear tool twice on end.

#### 4.7.1. Activating the Tool

There are different possibilities to activate the tool:

- From the main menu: Tools → Transform Tools → Shear.

- By clicking the tool icon in the Toolbox.

- By pressing the Shift+H keyboard shortcut.

#### 4.7.2. Options

Obrázek 14.106. Tool Options Dialog

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 main menu through Windows → Dockable Windows → Tool Options which opens the option window of the selected tool. The available tool options can also be accessed by double clicking the corresponding tool icon in the Toolbox.

Transformovat, Směr, Cubic (sometimes called „Bicubic“): The color of each pixel is computed as the average color of the eight closest pixels in the original image. This usually gives the best result, but it naturally takes more time., Clipping, Show image preview, Guides

  | Poznámka
  These options are described in Transform tools common options.

#### 4.7.3. The Shear adjustment dialog

Obrázek 14.107. The Shear adjustment dialog

Shear magnitude X

  Here, you can set the horizontal shearing amplitude. A positive value produces a clock-wise tilt. A negative value gives a counter-clock-wise tilt. The unit used by shearing are half-pixels.

Shear magnitude Y

  As above, in the vertical direction.

4.6. Škála |  | 4.8. Perspektiva

Report a bug in GIMP Report a documentation error