next up previous contents index
Next: Other Graphic Elements Up: Draw menu Previous: Spray   Contents   Index


Circles, ellipses, and rounded rectangles

Draws circles, ellipses, or rounded rectangles. Click on main ``Cancel'' button when finished. They can be filled with a solid color or up to two linear or radial gradients to create a 3-dimensional appearance. The following options are available:

  1. Shape Selects between fixed-size circles, variable-size circles or ellipses, ovals, or rounded rectangles.
  2. Diameter For fixed-size circles, specifies the diameter. For rounded rectangles, specifies the diameter of the curve at each corner.
  3. Line width Specifies the width of the line used to draw the outline of the object. The outline is drawn in the current foreground color.
  4. Filled If checked, the object is filled with a solid color or a gradient depending on the setting of "Gradient type".
  5. Outline If checked, draws the outline of the shape. This is only useful if "Filled" is checked. If both "Filled" and "Outline" are unchecked, nothing will be drawn.
  6. Fill 1 type Specifies whether the object is filled with a solid color, a radial gradient, or a linear gradient. See below for an example of a radial gradient.
  7. Fill 2 type If set, specifies how to fill with the second set of gradient colors. This permits creation of shapes with two apparent illumination sources. See below for an example of a radial gradient.
  8. Grad. 1, 2 x angle Specifies the horizontal angle of the ``illumination'' of the object if the "Radial gradient" box is checked. The numbers range from 0 (= left) to 1 (right).
  9. Grad. 1, 2 y angle Specifies the vertical angle of the ``illumination'' of the object if the "Radial gradient" box is checked. The numbers range from 0 (= below) to 1 (= above).
  10. Outer color 1 If ``Gradient type'' is ``solid color'', specifies the color. If ``Gradient type'' is ``radial'', specifies the color for the ``unilluminated'' region of the object.
  11. Inner color 1 If ``Gradient type'' is ``radial'', specifies the color for the ``illuminated'' region of the object.
  12. Outer color 2 If ``Gradient type'' is ``radial'', specifies the color for the ``unilluminated'' region of the object for the second gradient.
  13. Inner color 2 If ``Gradient type'' is ``radial'', specifies the color for the ``illuminated'' region of the object for the second gradient.

Although tnimage is not a drawing program, it can be used to create some types of drawings. The principle used by tnimage is different from that used by drawing programs such as Corel Draw. In tnimage, all graphical elements are treated solely as pixels on an image. This means that once something is drawn, it can only be removed by replacing the pixels with other pixels. The easiest way to create a drawing in tnimage is to hit Ctrl-B (or select Image..Backup) to backup the image, then add the graphic element. Hit Ctrl-U (or select Image..Restore) to undo the changes. To move an object, select a rectangle around the object and click and drag the corner of the rectangle to a new location. Objects such as text can also be selected by (1) double-clicking on the text area (to select a single letter), or (2) selecting a rectangle around a group of objects (such as a word) and double-clicking on the text area to select more than one letter. Be sure to click on the colored portion of the text and not the background color surrounding the text, or the program will select a ``stencil'' of the text instead.

Below is an example of a simple diagram created by drawing two ellipses and a Bezier curve using a double radial gradient. The gradient colors were:
  Red Green Blue
Outer color 1 0 0 0
Inner color 1 127 189 255
Outer color 2 0 0 0
Inner color 2 255 255 255
The labels were added using the Freetype font option.


\begin{picture}( 100,170 )(0,0)
\put(0, 0){ \epsfig{file = pkcdiagram.ps, width=4.2in}}
\end{picture}


next up previous contents index
Next: Other Graphic Elements Up: Draw menu Previous: Spray   Contents   Index
root 2006-11-13