forlang.hlp (Table of Contents; Topic list)
getarcinfo
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The getarcinfo function determines the endpoints in viewport
     coordinates of the most recently drawn arc or pie.
 
     If successful, the getarcinfo function updates the <start> and
     <end> xycoord structures to contain the endpoints (in viewport
     coordinates) of the arc drawn by the most recent call to one of the
     arc or pie functions.
 
     In addition, <fillpoint> specifies a point from which a pie can
     be filled. This is useful for filling a pie in a color different
     from the border color. To change colors, use the setcolor
     function after calling getarcinfo. Use the coordinates in
     <fillpoint>, along with the color, as arguments for the floodfill
     procedure.
 
     Return Value
 
     The getarcinfo function returns a nonzero value if successful. If
     neither the arc nor the pie function has been successfully called
     since the last time the screen was cleared or a new graphics mode
     or viewport was selected, the getarcinfo function returns 0.
                                    -♦-