Debian Codegraph @

help/C/tools_classic.page

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <page xmlns="http://projectmallard.org/1.0/"
3 xmlns:its="http://www.w3.org/2005/11/its" type="task" style="task"
4 id="tools_classic">
5
6 <info>
7 <link type="guide" xref="index#tools"/>
8 <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
9 <credit type="author">
10 <name its:translate="no">Romain F. T.</name>
11 <email its:translate="no">[email protected]</email>
12 </credit>
13 <desc>Draw with simple tools.</desc>
14 </info>
15
16 <title>Classic tools</title>
17
18 <p>Draw on the image with the color and options you selected!</p>
19
20 <p>When you use a classic drawing tool, the options are located at the left of
21 the bottom bar: there are two colors, the tool size, and a menu (whose content
22 changes depending on the tool).</p>
23 <p>To better understand the options related to the colors, see
24 <link xref="tools_classic_colors">the explanations on this page</link>.</p>
25 <p>Many tools have a main option that can be toggled by pressing <key>Shift</key>
26 and/or <key>Alt</key> when you click to use the tool.</p>
27
28 <section id="basic-draw">
29 <title>Basic lines</title>
30
31 <list>
32 <item>
33 <p>Pencil: The pencil draws following the mouse pointer, and according
34 to the chosen color.</p>
35 <note style="tip">
36 <p>Using the "eraser" mode from the color menu, the pencil can delete
37 all existing colors. Using the "highlight" mode and a semi-transparent
38 color, it can also highlight text. For this reason, the two related
39 tools are <link xref="preferences#tools">optional</link>.</p>
40 </note>
41 </item>
42 <item>
43 <p>Eraser: Ignore the current color settings and just erase to get fully
44 transparent pixels. Optionally, the erased pixels can be changed to the
45 initial color of the canvas, or to the secondary color.</p>
46 <p>Another option of this tool is its behavior: it can erase according
47 to the line you draw with it, or according to a rectangular shape you
48 define. Using this rectangle mode, you have more available options:
49 blur, mosaic, randomly shuffle pixels, etc. so you can — for example —
50 quickly censor text over wide areas of the image.</p>
51 </item>
52 <item>
53 <p>Highlighter: Ignore the transparency of the current color, and draw
54 with a semi-transparent version of the current color.</p>
55 <p>The "highlight" color application mode is used, so the selected color
56 is added to the lighter pixels only, which highlights dark text on light
57 background. An option can be used to do the opposite (highlight light
58 text on dark background).</p>
59 </item>
60 <item>
61 <p>Line: This tool can draw straight lines. Its options also include
62 ending the line with an arrow, and using a gradient from the main color
63 to the secondary color.</p>
64 <p>The option to lock the orientation of the line will force the line to
65 be perfectly horizontal, at 45°, or vertical.</p>
66 </item>
67 <item>
68 <p>Curve: This tool can draw Bézier curves, optionally with an arrow at
69 the end. Two clicks are required, if you only click once to draw a
70 straight line, that line is drawn temporarily until a second click.</p>
71 <media type="image" mime="image/png" width="80%" its:translate="no"
72 src="figures/screenshot_arrow.png" />
73 </item>
74 </list>
75
76 <p>Aside of the colors, a usual option for classic tools is whether or not
77 you want to use anti-aliasing. If you use anti-aliasing, the lines will look
78 smoother, but it may negatively affect any following use of the <gui
79 style="menuitem">Paint</gui> tool, as well as several options of the <link
80 xref="tools_selection">selection</link>.</p>
81 <p>With several tools, you can change the ends of the line: it can be
82 rounded or square. You can also draw various patterns of dashed lines with a
83 few tools.</p>
84 <p>The <gui style="menuitem">Outline</gui> option adds an outline around the
85 line you draw. This outline uses the secondary color, and is available with
86 the <gui style="menuitem">Pencil</gui>, <gui style="menuitem">Line</gui>,
87 and <gui style="menuitem">Curve</gui> tools.</p>
88 </section>
89
90 <section id="brushes">
91 <title>Pressure-sensitive brushes</title>
92 <note style="warning">
93 <p>This tool is disabled by default, because it has performance issues.</p>
94 </note>
95
96 <p>If you use a drawing tablet and a stylus, you may appreciate the "brush"
97 tool, which reacts to the pressure of your input. Various possible brushes
98 are available:</p>
99 <list>
100 <item>
101 <p>Simple: this brush is basically a pencil with no options. The line
102 will be wider if you apply more pressure. Otherwise (if you use a mouse
103 for example), the width of the line will vary according to the speed of
104 your movement.</p>
105 </item>
106 <item>
107 <p>Airbrush: small "droplets" of color will be added to the canvas. If
108 you apply more pressure, there will be more droplets. Without a
109 pressure-sensitive device, their density is constant.</p>
110 </item>
111 <item>
112 <p>Hairy brush: thin parallel lines will be added to the canvas. If you
113 apply more pressure, the lines will be more outspread. Without a
114 pressure-sensitive device, their proximity is constant.</p>
115 </item>
116 <item>
117 <p>Calligraphic nib: this brush draws wider in one direction than in the
118 other, according to an angle which is an option of the brush. For a
119 given direction, the line will be wider if you apply more pressure.
120 Without a pressure-sensitive device, the width is constant for a given
121 direction.</p>
122 </item>
123 </list>
124 </section>
125
126 <section>
127 <title>Insert text</title>
128
129 <p>With the <gui style="menuitem">Text</gui> tool, you can insert text on
130 the image. A few formatting options are available in the options menu, such
131 as "italic", "bold", or a basic font family selection.</p>
132
133 <p>For better contrast, the text can be displayed on a rectangle background,
134 or with a shadow, or with an outline. The color of this background is the
135 secondary color you chose.</p>
136
137 <media type="image" mime="image/png" width="80%" its:translate="no"
138 src="figures/screenshot_text.png" />
139
140 <note style="tip">
141 <p>Don't forget to confirm the insertion using the <gui style="button">
142 Insert here</gui> button.</p>
143 </note>
144
145 <p>An optional tool named <gui style="menuitem">Points</gui> is designed to
146 help you captioning pictures: you can add numbered round dots or crosses to
147 elements of the picture.</p>
148 </section>
149
150 <section>
151 <title>Fill an area</title>
152
153 <p>To paint an area using a given color, several tools can be used:</p>
154
155 <list>
156 <item>
157 <p>Shapes. Available shapes include rectangle, rounded rectangle, oval,
158 circle, polygon, and free shape.</p>
159 <p>Polygons and free shapes are drawn in several clicks. To close them,
160 do a last click at the position where you began the shape, or use
161 the <gui style="menuitem">Close shape</gui> menu item.</p>
162 <p>Various filling options are available (using a plain color, or a
163 gradient, or nothing), as well as outline options (using a plain
164 outline, dashes, or nothing).</p>
165 </item>
166 <item>
167 <p>Paint. This tool tries to paint an area of a given color with a new
168 color.</p>
169 <note style="warning">
170 <p>This tool is disabled by default, because it will not work if the
171 shape to paint is too complex.</p>
172 </note>
173 <p>It can use several possible algorithms: <gui style="menuitem">
174 Encircle and fill</gui> is very simplistic and discouraged,
175 <gui style="menuitem">Erase and replace</gui> should work better, but
176 still fails in a few situations.</p>
177 <p>The <gui style="menuitem">Entire image</gui> option paints over the
178 the entire image, regardless of what's already drawn.</p>
179 <p><gui style="menuitem">Erase color</gui> doesn't paint but erase the
180 color you clicked, on the entire image, for example to cut out an image
181 from its white background.</p>
182 </item>
183 </list>
184 </section>
185
186 <section>
187 <title>Other kinds of tools</title>
188
189 <p>The <link xref="tools_selection">selection tools</link> don't draw, but
190 their capabilities are very powerful and useful for any image editing.</p>
191
192 <p>Use <link xref="tools_transform">these special tools</link> to transform
193 the canvas or the selected area.</p>
194 </section>
195
196 </page>
197