10. Рисование простых объектов

In this section, you will learn how to create simple objects in GIMP.

10.1. Рисование прямой линии

Начнём с рисования прямой линии. Наилёгкий способ создать прямую линию — использовать инструмент кисти, мышь и клавиатуру.

  1. Create a New Image

    Рисунок 7.31. Новое изображение

    Новое изображение

    Диалог показывает новое изображение, залитое белым фоном.


    Create a new image.

  2. Choose a Tool

    Select a brush tool from the Toolbox, for example the Pencil tool or the Paintbrush tool.

  3. Select a Color

    Select a foreground color, but be sure that the foreground and background colors are different.

  4. Create a Starting Point

    Рисунок 7.32. Начало прямой

    Начало прямой

    Диалог показывает новое изображение с точкой, указывающей на начало прямой и имеющей чёрный цвет переднего плана.

    The size of this dot represents the current brush size, which you can change in the Brush Dialog.


    Создайте начальную точку нажатием на области показа изображения левой кнопкой мыши. Холст должен напоминать Рисунок 7.31, «Новое изображение».

  5. Draw the Line

    Рисунок 7.33. Вспомогательная линия

    Вспомогательная линия

    Этот снимок экрана показывает вспомогательную линию, которая указывает, как будет выглядеть конечная прямая.


    Now, hold down the Shift key on your keyboard and move the mouse away from the starting point you created. You'll see a thin line indicating how the line will look.

  6. Finish the Line

    Рисунок 7.34. Прямая после второго нажатия

    Прямая после второго нажатия

    Созданная прямая появляется в окне изображения после второй точки (конечной точки), в то время как клавиша Shift ещё нажата.


    If you're satisfied with the direction and length of the line, click the left mouse button again to finish the line. The last step is to let go of the Shift key. GIMP displays a straight line now.

10.1.1. Примеры

Рисунок 7.35. Examples I

Examples I

Set Dynamics to «Color From Gradient» and set Color Options to «Incandescent». Under Fade Options, set Repeat to «Truncate». Depending on the size of your underlying image, you might want to change the Fade length as well.

Examples I

Select the Clone tool and set the source to «Maple Leaves» pattern.


Рисунок 7.36. Examples II

Examples II

Use FiltersRenderPatternGrid to create a grid. Use the Smudge Tool to draw a line with a slightly larger brush.

Examples II

Use FiltersRenderNoisePlasma to create the cool plasma cloud. Use the Erase Tool with a square brush to draw a line.


Рисунок 7.37. Example III

Example III

Use the rectangle select tool to select a rectangle, and then fill the selection with a light blue color. Select the Dodge/Burn tool. Set the type to Dodge and paint along the top and left side using an appropriately sized brush. Set the type to Burn and paint along the right and bottom.