forlang.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.
pie, _pie_wxy
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The pie functions draw a pie-shaped wedge by drawing an arc whose
     center and two endpoints are joined by lines.
 
     The pie function uses the view coordinate system. The center of the
     arc is the center of the bounding rectangle specified by the
     view-coordinate points (<x1>, <y1>) and (<x2>, <y2>). The arc
     starts where it intersects the vector defined by (<x3>, <y3>) and
     and the center of the bounding rectangle, and ends where it
     intersects the vector formed by (<x4>, <y4>) and the center of the
     bounding rectangle.
 
     The pie_w function uses the window coordinate system. The center of
     the arc is the center of the bounding rectangle specified by the
     window-coordinates (<wx1>, <wy1>) and (<wx2>, <wy2>). The arc
     starts where it intersects the vector defined by (<wx3>, <wy3>) and
     and the center of the bounding rectangle, and ends where it
     intersects the vector formed by (<wx4>, <wy4>) and the center of
     the bounding rectangle.
 
     The pie-shaped wedge is drawn in a counterclockwise direction. The
     <control> parameter can be one of the following symbolic constants:
 
     $GBORDER        Draws the border in the current color and line
                     style
 
     $GFILLINTERIOR  Fills the figure with the current color and fill
                     mask
 
     Return Value
 
     The functions return a nonzero value if the pie is drawn
     successfully, or 0 if an error occurs.
                                    -♦-