File: ch03s02s02.html

package info (click to toggle)
gimp-help 2%2B0.7-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 30,852 kB
  • ctags: 4
  • sloc: xml: 104,248; sh: 544; makefile: 262; perl: 42
file content (290 lines) | stat: -rw-r--r-- 12,069 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>2.2. Rectangle Selection Tool</title>
    <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
    <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
    <link rel="start" href="index.html" title="&#10;      &#10;    " />
    <link rel="up" href="ch03s02.html" title="2. Selection Tools" />
    <link rel="prev" href="ch03s02.html" title="2. Selection Tools" />
    <link rel="next" href="ch03s02s03.html" title="2.3. Ellipse Selection Tool" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center" id="chaptername">2.2. Rectangle Selection Tool</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td>
          <th width="60%" align="center" id="sectionname">2.2. Rectangle Selection Tool</th>
          <td width="20%" align="right"> <a accesskey="n" href="ch03s02s03.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="sect2" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h3 class="title"><a id="gimp-tool-rect-select"></a>2.2. Rectangle Selection Tool</h3>
          </div>
        </div>
      </div>
      <a id="id3319610" class="indexterm"></a>
      <div class="informalfigure">
        <div class="mediaobject">
          <img src="../images/toolbox/toolbox-rectsel.png" />
          <div class="caption">
            <p>
          Rectangle Select icon in the Toolbox
        </p>
          </div>
        </div>
      </div>
      <p>
    The Rectangle Selection tool is designed to select rectangular
    regions of an image:  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 <a href="ch02s04s04.html" title="4.4. The Selection">Selections</a>; for information on
    features common to all selection tools see <a href="ch03s02.html#gimp-tool-select" title="2.1. Common Features">Selection Tools</a>.
  </p>
      <p>
    This tool is also used for rendering a rectangle on an image.  To
    render a filled rectangle, create a rectangular selection, and
    then fill it using the <a href="ch03s06s02.html" title="6.2. Bucket Fill">Bucket Fill tool</a>.  To
    create a rectangular outline, the simplest and most flexible
    approach is to create a rectangular selection and then <a href="ch02s04s13.html" title="4.13. Stroking a Selection or Path">stroke</a> it.
  </p>
      <p>
    If you want to round the edges of a rectangular selection, the
    easiest method is to shrink it with
    <span class="guimenu">Select</span>-&gt;<span class="guimenuitem">Shrink</span>
    from the image menu, and then grow it with
    <span class="guimenu">Select</span>-&gt;<span class="guimenuitem">Grow</span>,
    using the same radius both times.
  </p>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="id3320269"></a>How to Activate</h4>
            </div>
          </div>
        </div>
        <p>
      The Rectangle Selection Tool can be activated from an image
      menu as
      <span class="guimenu">Tools</span>-&gt;<span class="guisubmenu">Selection Tools</span>-&gt;<span class="guimenuitem">Rect Select</span>; 
      from the Toolbox by clicking on the tool icon 
      <span class="guiicon">
	<span class="inlinemediaobject"><img src="../images/toolbox/rectsel.png" /></span>
      </span>;
      or from the keyboard using the shortcut <span><b class="keycap">r</b></span>.
    </p>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="id3320158"></a>Key modifiers</h4>
            </div>
          </div>
        </div>
        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Note">
            <tr>
              <td rowspan="2" align="center" valign="top" width="25">
                <img alt="[Note]" src="../images/note.png" />
              </td>
              <th align="left">Note</th>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top">
                <p>
        See <a href="ch03s02.html#gimp-tool-select" title="2.1. Common Features">Selection Tools</a> for
        help with modifier keys that affect all these tools in the same
        way.  Only effects that are specific to the Rectangle Select
        tool are explained here.
      </p>
              </td>
            </tr>
          </table>
        </div>
        <div class="itemizedlist">
          <ul type="disc">
            <li>
              <p>
          <span><b class="keycap">Ctrl</b></span>:  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 <span class="emphasis"><em>before</em></span> starting to
          make the selection, the resulting selection will be
          subtracted from the existing selection.
        </p>
            </li>
            <li>
              <p>
          <span><b class="keycap">Shift</b></span>:  Pressing the Shift key after starting
          your selection, and holding it down until you are finished,
          constrains the selection to be square.  Note that if you
          press the Shift key <span class="emphasis"><em>before</em></span> starting to
          make the selection, the resulting selection will be
          added to the existing selection.
        </p>
            </li>
            <li>
              <p>
          <span><b class="keycap">Ctrl</b></span>-<span><b class="keycap">Shift</b></span>:  Pressing both keys combines the two effects,
            giving you a square selection centered on your starting
            point. 
        </p>
            </li>
          </ul>
        </div>
      </div>
      <div class="simplesect" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h4 class="title"><a id="id3320133"></a>Tool Options</h4>
            </div>
          </div>
        </div>
        <div class="informalfigure">
          <div class="mediaobject">
            <img src="../images/toolbox/tool-options-rectsel.png" />
            <div class="caption">
              <p>
            Tool Options for the Rectangle Select tool
          </p>
            </div>
          </div>
        </div>
        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
          <table border="0" summary="Note">
            <tr>
              <td rowspan="2" align="center" valign="top" width="25">
                <img alt="[Note]" src="../images/note.png" />
              </td>
              <th align="left">Note</th>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top">
                <p>
        See <a href="ch03s02.html#gimp-tool-select" title="2.1. Common Features">Selection Tools</a> for
        help with options that are common to all these tools.  Only
        options that are specific to the Rectangle Select 
        tool are explained here.
      </p>
              </td>
            </tr>
          </table>
        </div>
        <div class="variablelist">
          <dl>
            <dt>
              <span class="term">Antialiasing</span>
            </dt>
            <dd>
              <p>
            This option performs no function for this tool and is present to
            unify the user interface between the various selection types.
          </p>
            </dd>
            <dt>
              <span class="term">Auto Shrink Selection</span>
            </dt>
            <dd>
              <p>
            The <span class="guilabel">Auto Shrink Selection</span> checkbox will
            make your next selection automatically shrink to the nearest
            rectangular shape available on the image layer.  The
            algorithm for finding the best rectangle to shrink to is
            "intelligent", which in this case means that it sometimes
            does surprisingly sophisticated things, and sometimes does
            surprisingly strange things.  In any case, if the region
            that you want to select has a solid-colored surround,
            auto-shrinking will always pick it out correctly.  Note that
            the resulting selection does not need to have the
            same shape as the one you sweep out.
          </p>
              <p>
            If <span class="guilabel">Sample Merged</span> is also enabled, then Auto
            Shrink will use the pixel information from the visible
            display of the image, rather than just from the active
            layer. For further information regarding Sample Merge, see
            the glossary entry <a href="go01.html#glossary-samplemerge">Sample
            Merge</a>.
          </p>
            </dd>
            <dt>
              <span class="term">Size Constraints</span>
            </dt>
            <dd>
              <div class="informalfigure">
                <div class="mediaobject">
                  <img src="../images/toolbox/tool-options-rectsel-size.png" />
                  <div class="caption">
                    <p>
                  Size Constraint Option Menu for the Rectangle Select tool
                </p>
                  </div>
                </div>
              </div>
              <p>
            This menu allows you the option of constraining the shape of
            the rectangle in three different ways.
          </p>
              <div class="itemizedlist">
                <ul type="disc">
                  <li>
                    <p><b>Free Select. </b>
                  This option places no constraint on the rectangle.
                </p>
                  </li>
                  <li>
                    <p><b>Fixed Size. </b>
                  This will allow you to manually specify a size for the
                  selection using the Width, Height, and Unit controls.
                </p>
                  </li>
                  <li>
                    <p><b>Fixed Aspect Ratio. </b>
                  This option allows you to resize the selection while
                  keeping the aspect ratio fixed according to the two numbers
                  entered in the Width and Height controls.
                </p>
                  </li>
                </ul>
              </div>
            </dd>
          </dl>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="ch03s02.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="ch03s02s03.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">2. Selection Tools </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> 2.3. Ellipse Selection Tool</td>
        </tr>
      </table>
    </div>
  </body>
</html>