2.2. 사각 선택 도구
| 2. 선택 도구 |

### 2.2. 사각 선택 도구

그림 13.9. 도구 상자의 사각 선택 아이콘

The Rectangle Selection tool is designed to select rectangular regions of the active layer: it is the most basic of the selection tools, but very commonly used. For information on selections and how they are used in GIMP see Selections; for information on features common to all selection tools see Selection Tools.

이 도구를 이용해 사각형을 그릴 수도 있습니다. 속이 채워진 사각형을 그리려면 먼저 사각형의 선택을 만들고 채우기 도구를 이용해 선택을 칠합니다. 그리고 사각형 테두리는 사각형 선택을 만들고, 선택따라 그리기를 이용해 그립니다.

#### 2.2.1. Activating the tool

다음 방법들을 통해 선택 도구를 사용할 수 있습니다. :

- from the image menu bar Tools → Selection Tools → Rectangle Select,

- by clicking on the tool icon in the ToolBox,

- by using the keyboard shortcut R.

#### 2.2.2. Key modifiers

| 참고
모든 선택 도구에 동일하게 적용되는 동작 변경 키에 대해서는 선택 도구를 보세요. 여기서는 사각 선택 도구에만 적용되는 특수한 키에 대해 설명할 것입니다.

Ctrl

  Pressing the Ctrl key after starting your selection, and holding it down until you are finished, causes your starting point to be used as the center of the selected rectangle, instead of a corner. Note that if you press the Ctrl key before starting to make the selection, the resulting selection will be subtracted from the existing selection. The cursor becomes

Shift

  If you press the Shift key before starting the selection, the resulting selection will be added to the existing one. The cursor becomes

  Pressing the Shift key after starting your selection, toggles the Fixed option, and holding it down until you are finished, will constrain the selection to a square, if it is your first selection. Later, with the default Aspect Ratio , your selection will respect the aspect ratio of the previous selection.

Ctrl+Shift

  Pressing both keys after starting your selection combines the two effects, giving you a square selection centered on your starting point. Note that pressing these keys before starting your selection intersects the resulting selection with the existing one and the pointer change shape accordingly :

#### 2.2.3. Tool manipulation

그림 13.10. Example of Rectangle Selection.

When this tool is selected the mouse pointer is displayed like this: as soon as it is over the image. A drag and drop allows to get a rectangular (or square) shape. When the mouse button is relaxed, a dotted line (“marching ants”) outlines the selection. It's not necessary to adjust the selection with care; you can resize it easily later.

When the pointer is moving on the canvas, the pointer and selection aspects change:

- outside the selection it looks like previously; this allows to design a new selection but will erase the existing one if this isn't combined with an action on the relevant key to add or subtract another selection as described in the previous paragraph.

- within selection peripheral parts, the mouse pointer changes into various shapes when overflying rectangular sensitive and clearly marked areas. These handles allow you to resize the selection. In selection corners the pointer changes into a shape according to the context; for instance in the low right corner it becomes: . So, by click-and-dragging these areas, you can magnify or shrink the selection size. Over median selection parts, lateral, low or up, pointer is changed into appropriate shapes according to the context. For instance, when the mouse pointer is over the median right side, the pointer looks like: . So you can click-and-drag to magnify or to shrink the selection size by moving the chosen boundary.

- inside selection central area the mouse pointer looks like usual for object manipulation, i.e.: . So you can move the whole selection by a click-and-drag.

Moreover, if you have not unchecked the Highlight option, your work will be easier because what is out the selection will be darkest than what is in the selection, and then the selection seems highlighted.

| 작은 정보
If you use moving keys you can move the selection or modify its size by one pixel step. If you use it in combination with Shift you can move it by a 25 pixel step.

그림 13.11. Sensitive selection areas

Display of all possible pointers in function of their localization with respect to the selection area.

After creating and modifying the selection, you will have to exit this editing mode (and commit any changes). You can do this with a single click inside the selection or by pressing the Enter key. Or you can just use a non-selection tool and, for example, fill or paint the selection.

#### 2.2.4. Tool Options

그림 13.12. 사각 선택 도구의 도구 선택사항

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; Antialiasing; Feather edges

  Common select options.

Rounded corners

  If you enable this option, a slider appears. You can use this to adjust the radius that is used to round the corners of the selection.

Expand from center

  If you enable this option, the point the selection is started by pressing the mouse button is used as center of the selected area.

크기 고정

  이 메뉴를 통해 세 가지 다른 형태의 고정된 사각형 모양을 사용할 수 있습니다.

  자유 선택

    너비와 높이가 고정된 비율을 유지한 채 크기 조절이 되는 선택을 만듭니다.

  고정된 크기

    너비, 높이, 측정 단위가 고정된 선택을 만듭니다.

  Height

    With this choice you can fix the height of the selection.

  크기

    With this choice you can fix the width and height of the selection.

X; Y; Width; Height

  These four text fields contain the current place and size of the selection. You can use these fields to adjust size and place of the selection by numbers.

Highlight

  If you enable this option, the selected area is emphasized by a surrounding mask to make visual selection much easier.

Guides

  With this menu you can select the type of guides that is shown within the selection to make the creation of a selection easier, respecting Photo composition rules.

  No Guides

    No guides are shown at all.

  Center lines

    Only center lines are shown as guides within the selected area.

  Rule of thirds

    Guides are shown along the rule of thirds while creating the selection.

  Golden sections

    With this option, guides show up to mark the golden sections.

선택 자동 줄임

  선택 자동 줄임 을 체크한뒤 선택을 하면 선택한 부근의 이미지에서 사각형 모양에 가장 가까운 모습으로 선택이 자동적으로 줄어들게 됩니다. 줄어드는 최적의 사각형을 찾는 알고리즘은 “지능적”으로, 이는 다시 말해 때로는 최고의 모습을 보여줄 수도 있지만, 반대로 엉뚱한 선택을 만들어 낼 수도 있다라는 것입니다. 하지만 만약 단색으로 둘러싸인 부분을 선택하는 경우라면 항상 정확한 선택을 보여줄 것입니다. 예를 들어 흰색 배경위에 검정색으로 그림을 그리고, 선택 자동 줄임을 체크한 뒤, 사각 선택 도구를 이용해 그림을 포함하면서 그림보다 넓은 지역을 선택하면, 딱 그림에 맞는 사각형의 선택이 생성됩니다.

Shrink merged

  표본 합치기 를 체크하면, 활성화된 레이어가 아닌 현재 보이는 레이는 이미지를 대상으로 선택 자동 줄임을 하게 됩니다. 표본 합치기에 대한 자세한 내용은 용어집의 표본 합치기 를 참조하세요.

2. 선택 도구 |  | 2.3. 타원형 선택 도구