5. Como desenhar linhas retas

Este tutorial é baseado no texto e imagens Copyright © 2002 Seth Burgess. O tutorial original pode ser encontrado na Internet [TUT01].

5.1. Intenção

Figura 3.35. Exemplo de linhas retas

Exemplo de linhas retas

Este tutorial mostra como desenhar linhas retas com o GIMP. Forçar uma linha a ser reta é uma forma conveniente para lidar com a imprecisão do mouse ou tablet, e para aproveitar o poder de um computador para fazer as coisas parecerem limpas e arrumadas. Este tutorial não usa linhas retas para tarefas complexas; sua intenção é mostrar como você pode usá lo para criar linhas retas rápida e facilmente.

  1. Preparações

    Figura 3.36. Introduzindo a tecla Shift

    Introduzindo a tecla Shift
    Introduzindo a tecla Shift

    You generally have two Shift keys on your keyboard. They look something like the photography above. The keys are located on the left and right sides of your keyboard.

    The mouse can come in different varieties, but always has at least two buttons.

  2. Create a New Image

    First, create a new image. Any size will do. Use FileNew… to create a new image.

  3. Escolha uma ferramenta

    Figura 3.37. Ferramentas de pintura na caixa de ferramentas

    Ferramentas de pintura na caixa de ferramentas

    Qualquer uma das ferramentas destacadas em vermelho na caixa de ferramentas acima pode desenhar linhas.

  4. Criar um ponto inicial

    Figura 3.38. Ponto inicial

    Ponto inicial

    Click on the paintbrush in the toolbox. Click in the image where you want a line to start or end. A single dot will appear on the screen. The size of this dot represents the current brush size, which you can change in the Brush Dialog (see Seção 3.2, “Diálogo de pincéis”). Now, let's start drawing a line. Hold down the Shift key, and keep it down.

  5. Draw the Line

    Figura 3.39. Draw the line

    Draw the line

    After you have a starting point and while pressing the Shift key, you will see a straight line that follows the cursor. Press the first button on the mouse (the leftmost one usually) and let it go. During that whole click of the mouse button, you need to keep the Shift key held down.

  6. Final Result

    Figura 3.40. Final result

    Final result

    This is a powerful feature. You can draw straight lines with any of the draw tools. You can even draw more lines at the end of this one. Our last step is to let go of the Shift key, and we are finished. Some examples are shown in the next section. Happy GIMPing!