graphics.hlp (
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.
_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.
-♦-