5. 直線のひきかた

この演習は Seth Burgess 氏の著作 (著作権 © 2002) の文と画像がもとになっています。 原本はインターネット上で [TUT01] 入手できます。

5.1. この演習の意図

図3.35 直線の例

直線の例

この演習は GIMP での直線のひきかたについてご紹介します。 不正確になりがちなマウスやタブレットで引いた線が真っ直ぐになれば便利なことですし、 きっちり整った造形にコンピューターの能力が生かせます。 この演習では直線を使って何ら複雑な作業をするつもりはありません。 手早く簡単に直線がひけるようになることに重点をおいています。

  1. 準備

    図3.36 Shift キーの紹介

    Shift キーの紹介
    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. ツールを選ぶ

    図3.37 ツールボックスでの描画ツール

    ツールボックスでの描画ツール

    上図のツールボックスで赤く強調したツールはいずれも線をひくのに使えます。

  4. 始点をとる

    図3.38 始点

    始点

    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 「ブラシダイアログ」). Now, let's start drawing a line. Hold down the Shift key, and keep it down.

  5. Draw the Line

    図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

    図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!