home *** CD-ROM | disk | FTP | other *** search
/ Global Amiga Experience / globalamigaexperience.iso / graphic / cad / xcad3000 / xcdoc / drawelp < prev    next >
Text File  |  1995-07-10  |  4KB  |  103 lines

  1.  
  2.    5.5.1 DRAW ELLIPSE
  3.  
  4.  
  5. The DRAW ELLIPSE command is used to draw a full or partial ellipse.
  6.  
  7.  
  8.    COMMAND FORMAT
  9.  
  10.       #DRAW ELLIPSE modifiers :Loc x1 x2 ... xn
  11.  
  12. Generally each location entered defines the centre at which to draw the
  13. ellipse. Some of the ellipse parameter values can be entered implicitly via
  14. one or more extra locations. For these cases the command format differs
  15. slightly:
  16.  
  17.       #DRAW ELLIPSE modifiers :Loc x1 [x2 x3 x4] :Loc ...
  18.  
  19. Up to 3 extra locations may have to be entered in addition to the ellipse
  20. centre location. When all of the definition locations for one ellipse have
  21. been entered, a new ellipse is entered by terminating IDENTS with a colon.
  22.  
  23.  
  24.    MODIFIERS
  25.  
  26. LAYER          Requires a layer number. This will override the current
  27.                active layer.
  28.  
  29. DEPTH          Requires a depth number. This will override the current
  30.                active depth.
  31.  
  32. MAJORDIAM      This modifier can be followed by a value specifying the
  33.                ellipse major diameter, or the value may be omitted. ( See
  34.                fig. 5.38 ). If the value is omitted, then an extra location
  35.                must be entered to define the ellipse major diameter. The
  36.                diameter is derived as twice the horizontal distance between
  37.                the extra location and the ellipse centre. ( See fig. 5.39 ).
  38.  
  39.                The ellipse major diameter must always be larger than the
  40.                ellipse minor diameter.
  41.  
  42. MINORDIAM      This modifier can be followed by a value specifying the
  43.                ellipse minor diameter, or the value may be omitted. If
  44.                the value is omitted, then an extra location must be
  45.                entered to define the ellipse minor diameter. The diameter
  46.                is derived as twice the vertical distance between the extra
  47.                location and the ellipse centre.
  48.  
  49.                The ellipse minor diameter must always be smaller than the
  50.                ellipse major diameter.
  51.  
  52. ROTATE         This modifier is used to specify the inclination angle of
  53.                the ellipse. Like the MAJORDIAM and MINORDIAM modifiers, this
  54.                modifier can also be used without a value. If a value is
  55.                entered, this is the inclination angle in degrees, default
  56.                inclination is at zero degrees. If the value is omitted,
  57.                then an extra location must be entered to define the ellipse
  58.                inclination angle. The inclination angle is obtained as the
  59.                angle between the extra location and the ellipse centre. (
  60.                See fig. 5.40 ).
  61.  
  62.  
  63.    Note: When more than one of the above modifiers are used without a value,
  64.          the order of additional locations always follows the order:
  65.  
  66.             Major diameter
  67.             Minor diameter
  68.             Inclination angle
  69.  
  70.          For example:
  71.  
  72.             #DRAW ELLIPSE MAJORDIAM MINORDIAM 2 ROTATE :Loc x1 x2 x3
  73.  
  74.          will create an ellipse centered at location 'x1'. The ellipse will
  75.          have a major diameter that is twice the horizontal distance
  76.          between 'x1' and 'x2' and a minor diameter of 2. The inclination
  77.          angle will be the angle between the locations 'x1' and 'x3'.
  78.  
  79.  
  80. STARTANG       Requires the ellipse start angle in degrees. The default
  81.                start and end angle are 0 and 360 degrees respectively. This
  82.                will generate a full ellipse. The angle is relative to the
  83.                ellipse inclination angle. ( See fig. 5.41 ).
  84.  
  85. ENDANG         Requires the ellipse end angle in degrees. The angle is
  86.                relative to the ellipse inclination angle.
  87.  
  88. HARDFONT       Indicates that a hardware line-style will be entered.
  89.  
  90. .STYLE         One of the predefined styles, a value between 0 and 15.
  91.  
  92. .THICKNESS     Line thickness, a value between 1 and 5.
  93.  
  94. SOFTFONT       Indicates a software line-style will be entered. For a full
  95.                description of the SOFTFONT options, see the documentation
  96.                for the command DEFINE SOFTFONT.
  97.  
  98. ATTRIBUTE      Used to enter one or more attributes associated with this
  99.                entity. For a full description of the ATTRIBUTE option, see
  100.                the documentation for the command ADD ATTRIBUTE.
  101.  
  102.  
  103.