3.2. Teptukų dialogas

Pav. 15.24. Teptukų dialogas

Teptukų dialogas

The Brushes dialog is used to select and manage brushes. These brushes are used by the Paintbrush, Pencil and Airbrush tools. The MyPaint Brush uses its own kind of brushes. GIMP comes with a wide selection of brushes and more can be added easily. You can also create custom brushes using the Brush Editor, or by exporting an image as a brush.

See the Brushes section for basic information on brushes and how they are used in GIMP.

There can be only one brush active at any time. To make a brush active, select it in the list or grid. The name of the currently active brush is shown directly above the list of brushes. The active brush can also be recognized by a selection rectangle around the preview (which can sometimes be difficult to see, depending on your theme). The size, angle, spacing and several other characteristics of a brush can be set in the Tool Options Dialog when one of the relevant paint tools is active.

3.2.1. Activating the Dialog

This dialog is a dockable dialog; see the section Skyrius 2.3, „Dialogai ir dokai“ for help on manipulating it.

  • From the main menu select WindowsDockable DialogsBrushes.

  • From the Tab menu in any dockable dialog click the tab menu button and select Add TabBrushes.

  • If you enabled the Show active brush, pattern & gradient option in the Toolbox Preferences, you can click on the active brush icon in the Brush, Pattern, Gradient area.

  • From the Tool Options dialog for the Paintbrush, Pencil and Airbrush tools, by clicking on the Brush icon button. This opens a popup with similar functionality that allows you to quickly choose a brush from the list. To open the actual brush dialog click on the button at the bottom right corner of the popup.

    The simplified Brushes dialog

    The button bar at the bottom offers the following functionality:

    • Smaller previews

    • Larger previews

    • View as list

    • View as grid

    • Open the brush selection dialog

    Note that, depending on your Preferences, a brush selected with the popup may only apply to the currently active tool, not to other paint tools. See the Paint Options Shared Between Tools section in the Tool Options Preferences for more information.

3.2.2. Using the Brushes dialog

3.2.2.1. Tinklelio / sąrašo veiksena

In the Tab menu, you can choose between View as Grid and View as List. In Grid mode, the brush shapes are laid out in a rectangular array, making it easy to see many at once and find the one you are looking for. In List mode, the shapes are lined up in a list, with the names beside them.

In the Tab menu, the option Preview Size allows you to adjust the size of brush previews to your liking.

Pav. 15.25. Tinklelio / sąrašo rodinys

Tinklelio / sąrašo rodinys

Žiūrėti kaip tinklelį

Tinklelio / sąrašo rodinys

Rodyti kaip sąrašą


Tinklelio veiksena

Dialogo viršuje yra dabartinio pasirinkto teptuko pavadinimas, dydis pikseliais.

Centre parodomas visų prieinamų teptukų tinklelio rodinys, kuriame dabartinis pasirinktas teptukas yra apibrauktas.

Sąrašo veiksena

Iš esmės šis dialogas vienodai veikia tiek Sąrašo, tiek Tinklelio veiksenoje, išskyrus vieną dalyką:

Du kartus spustelėję teptuko pavadinimą galėsite jį redaguoti. Tačiau atminkite, kad galite pervadinti tik savo pačių sukurtų arba įdiegtų teptukų pavadinimus. Jeigu bandysite pervadinti su programa GIMP įdiegtą teptuką, galėsite redaguoti jo pavadinimą, tačiau vos tik paspausite klavišą Enter arba spustelėsite kur nors kitur, bus atstatytas pradinis pavadinimas. Tai bendra taisyklė: negalite pervadinti kartu su programa GIMP įdiegtų išteklių: teptukų, raštų, gradientų, ir t. t.; tik savo pačių sukurtus.

3.2.2.2. Brush previews

Pav. 15.26. The Brushes dialog

The „Brushes“ dialog

When you click on a brush preview, it becomes the active brush that will be used when using one of the relevant painting tools. Double-clicking a brush preview, activates the Brush Editor.

Brushes can be managed in several ways using the buttons at the bottom of the dialog or the right-click context menu.

Meaning of the symbols at the bottom right corner of a brush preview

  • A plus sign indicates that the brush preview is shown at a reduced size. To preview the normal size, left click and hold the preview.

  • A blue corner indicates the brush is a parametric brush, created with the Brush Editor.

  • A red corner indicates this is an animated brush. To preview the animation, left click and hold the preview.

3.2.2.3. Use theme colors for preview

On the right side, next to the filter selection, there is a Use theme colors for preview button.

By default, brushes and fonts show a white background for each preview. If you prefer the background to be more in line with your theme, you can toggle that by clicking this button. GIMP will then use the background color as set by your theme.

3.2.2.4. Filter, Tags

The filter drop-down allows you to select one or more tags to filter and reduce the number of brushes shown. The tags can be managed below the preview area. For more information on tagging see Skyrius 3.7, „Tagging“.

3.2.2.5. Intervalas

This slider lets you set the distance between consecutive brush marks when you trace out a brushstroke with the mouse pointer. Spacing is a percentage of the brush width.

3.2.2.6. Mygtukai apačioje

The button bar at the bottom offers the following functionality:

Keisti teptuką

This activates the Brush Editor. Pressing the button will open the Editor for any brush. It only works, however, for parametric brushes, which can be recognized by the blue bottom right corner in the preview. For other types of brushes the Editor will show you a preview, but not allow you to make any changes.

Naujas teptukas

This creates a new parametric brush, initializes it with a small fuzzy round shape, and opens the Brush Editor so that you can modify it. The new brush is automatically saved in your personal Brushes Folder.

Sukurti teptuko kopiją

This button is only enabled if the currently selected brush is a parametric brush. If so, the brush is duplicated, and the Brush Editor is opened so that you can modify the copy. The result is automatically saved in your personal Brushes Folder.

Ištrinti teptuką

This option is active for parametric brushes only. This removes all traces of the brush, both from the dialog and the folder where its file is stored, if you have permission to do so. It asks for confirmation before doing anything. The brushes that come with GIMP can not be removed.

Atnaujinti teptukus

If you add brushes to your personal Brushes Folder or any other folder in your brush search path, by some means other than the Brush Editor, this button causes the list to be reloaded, so that the new entries will be available in the dialog.

Open brush as image

Clicking this, opens the selected brush as a regular image that you can edit. It can be turned back into a brush by copying it and selecting EditPaste asPaste as New Brush…, or by exporting it as a brush. This is different from Skyrius 3.2.3, „Teptukų rengyklė“ that allows you to modify an existing parametric brush.

The functions performed by these buttons can also be accessed from the dialog pop-up menu, activated by right-clicking anywhere in the brush grid/list, or by choosing the top item, Brushes menu, from the tab menu.

3.2.2.7. The Brushes context menu

Right clicking on a brush preview opens a context menu. Most of the commands of this submenu are described with the Buttons, except for the following.

Copy Brush Location

Copy Brush Location allows you to copy the brush path to the clipboard. After that you can use the FileOpen Location, command, to open the brush as a new image.

Show in File Manager

Show in File Manager opens the location of the brush in the default File Manager on your system.

Elliptical, Feathered…, Elliptical…, Rectangular, Feathered…, Rectangular…

Options to create elliptical and rectangular brushes. These brushes can be feathered, but they are not parametric brushes.

3.2.3. Teptukų rengyklė

Pav. 15.27. The Brushes Editor dialog

The „Brushes“ Editor dialog

The Brush Editor, activated for a new brush.


The Brush Editor allows you to view the brush parameters of a brush supplied by GIMP, and you can't change them. You can also create a custom brush: click on the New Brush button to activate the functions of the brush editor; you can select a geometrical shape, a circle, a square or a diamond. This editor has several elements:

The dialog bar: As with all dialog windows, the tab menu button opens a menu allowing you to access and set further related options.

Antraštės juosta: nurodyti jūsų teptuko pavadinimą.

Peržiūros sritis: teptuko pakeitimai šioje peržiūroje rodomi realiu laiku.

Parametrai:

Forma

Galimos formos: apskritimas, kvadratas ir rombas. Juos galite pakeisti naudodamiesi šiomis parinktimis:

Spindulys

Atstumas tarp teptuko centro ir krašto, pločio kryptimi. 10 pikselių spindulio kvadratas turės 20 pikselių kraštą. 5 pikselių spindulio rombas bus 10 pikselių pločio.

Smaigaliai

Šis parametras yra naudingas tik naudojant kvadratą ir rombą. Naudojant kvadratą, padidinus smaigalių skaičių gaunamas daugiakampis. Naudojant rombą, gaunama žvaigždė.

Kietumas

Šis parametras valdo teptuko ribų išliejimą. Naudojant reikšmę = 1.00 gaunamas aštrių kraštų teptukas (0.00-1.00).

Proporcija

Šis parametras valdo teptuko pločio / aukščio santykį. Naudojant rombą, kurio spindulys 5 pikseliai, o perspektyva = 2, gausite suplotą rombą, kurio plotis 10 pikselių, o aukštis 5 pikseliai (1.0-20.0).

Kampas

This angle is the angle between the brush width direction, which is normally horizontal, and the horizontal direction, clock-wise. When this value increases, the brush width turns clock-wise (0° to 180°).

Intervalas

Teptukui brėžiant liniją iš tiesų pakartotinai paliekama ta pati teptuko piktograma. Jeigu teptuko žymės yra labai arti viena kitos, gali atrodyti, jog tai yra vientisa linija: tą galite gauti, kai intervalo reikšmė = 1. (nuo 1.00 iki 200.0).

3.2.3.1. Brush Editor Context Menu

The Brush Editor has a context menu that can be opened with the tab menu button and then choosing Brush Editor Menu. It only has one option.

Edit Active Brush

When enabled, the brush editor will automatically load the currently active brush. If it is disabled, the brush editor will not change when the active brush changes.

3.2.4. Iškarpinės teptukas

When you use the Copy or Cut command on an image or a selection of it, a copy appears as a new brush in the upper left corner of the Brushes dialog. This brush will persist until you use the Copy command again. It disappears when you close GIMP.

Pav. 15.28. Naujas Iškarpinės teptukas

Naujas „Iškarpinės teptukas“

[Pastaba] Pastaba

You can save this clipboard brush with EditPaste asPaste as New Brush… as soon as it appears in the Brushes dialog. See Skyrius 3.10.8, „Įdėti kaip naują teptuką“.