### 4.5. Rotate

This tool is used to rotate the active layer, a selection or a path. When you click on the image or the selection with this tool a Rotation adjustment dialog is opened. There, you can set the rotation axis, marked with a point, and the rotation angle. You can do the same by dragging the mouse pointer on the image or the rotation point.

#### 4.5.1. Activating the Tool

There are different possibilities to activate the tool:

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

- By clicking the tool icon in the Toolbox.

- By pressing the Shift+R keyboard shortcut.

#### 4.5.2. Key modifiers

Ctrl

  Holding Ctrl will constrain the rotation angle to 15 degrees increments.

#### 4.5.3. Options

Obrázek 14.102. 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.

Směr transformace

  The Transform Direction sets which way or direction a layer is rotated. The Normal mode will rotate the layer as one might expect. If a layer is rotated 10 degrees to the right, then the layer will be rendered as such. This behavior is contrary to Corrective rotation.

  Zpět (Korektivní) nastavuje opačné chování. Slouží především k opravě skenovaných obrázků, které nebyly na skener položeny rovně.

15 Degrees (Shift)

  15 Degrees (Shift) will constrain the rotation to angles divisible by 15 degrees.

#### 4.5.4. The Rotation adjustment dialog

Obrázek 14.103. The Rotation adjustment dialog

Úhel

  Here you can set the rotation angle, from -180° to +180°, i.e. 360°.

Center X/Y

  This option allows you to set the position of the rotation center, represented by a cross surrounded by a circle in the image. A click-and-drag on this point also allows you to move this center even outside the image. Default unit of measurement is pixel, but you can change it by using the drop-down list.

  Obrázek 14.104. The rotating center

  The layer rotated around the rotating center outside the image

Readjust button

  With this button you can reset the transform handles back to the original square shape, while keeping the current transformation and zoom level. This enables you to create more complex transformations by making the transformation in several steps.

| Poznámka
You can also rotate layers with Layer → Transform → Arbitrary Rotation…. See 7.51 – „Arbitrary Rotation“.

4.4. Nástroj Ořez |  | 4.6. Škála

Report a bug in GIMP Report a documentation error