5. 直線のひきかた

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

5.1. この演習の意図

図3.45 直線の例

直線の例

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

  1. 準備

    図3.46 Shift キーの紹介

    Shift キーの紹介
    Shift キーの紹介

    タイプライターの発明は Shift キーを生みだしました。 大抵のキーボードには 2 つついているはずです。 その形は上図でご覧ください。 キーボードの左右両端にひとつづつあります。 一方でマウスは、 1970年に Douglas C. Engelbart 氏によって発明されました。 いろいろな変種がありますが、 少なくとも 1 つのボタンが必ずついています。

  2. 白紙の画像を用意する

    図3.47 新しい画像

    新しい画像

    まず白紙の画像を新たに用意します。 大きさはどんなものでもかまいません。 画像ウィンドウのメニューから ファイル新しい画像... と辿って新しい画像をご用意ください。

  3. ツールを選ぶ

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

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

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

  4. 始点をとる

    図3.49 始点

    始点

    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. 線をひく

    図3.50 線をひく

    線をひく

    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. 完成

    図3.51 完成図

    完成図

    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!