C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_ellipse Functions
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _ellipse functions draw ellipses or circles. The borders are
     drawn in the current color.
 
     In the _ellipse function, the center of the ellipse is the center
     of the bounding rectangle defined by the view-coordinate points
     (<x1>, <y1>) and (<x2>, <y2>).
 
     In the _ellipse_w function (implemented as a macro), the center of
     the ellipse is the center of the bounding rectangle defined by the
     window-coordinate points (<wx1>, <wy1>) and (<wx2>, <wy2>).
 
     In the _ellipse_wxy function (implemented as a macro), the center
     of the ellipse is the center of the bounding rectangle defined by
     the window-coordinate points (<pwxy1>, <pwxy2>).
 
     If the bounding-rectangle arguments define a point or a vertical
     or horizontal line, no figure is drawn.
 
     The <control> argument can be one of the following manifest
     constants: _GBORDER or _GFILLINTERIOR.
 
     The <control> option given by _GFILLINTERIOR is equivalent to a
     subsequent call to the _floodfill function using the center of the
     ellipse as the starting point and the current color (set by
     _setcolor) as the boundary color.
 
     Return Value
 
     The _ellipse functions return a nonzero value if the ellipse is
     drawn successfully; otherwise, they return 0.
                                    -♦-