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.
_arc Functions
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
─────Run-Time Library───────────────────────────────────────────────────────
The _arc routines draw elliptical arcs.
The _arc routine uses the viewport coordinate system. The _arc_w
and _arc_wxy functions use the window coordinate system. The
center of the arc is the center of the bounding rectangle defined
by the points (<x1>, <y1>) and (<x2>, <y2>)──(<pwxy1>, <pwxy2>)
and (<pwxy3>, <pwxy4>) for _arc_wxy.
The arc starts where it intersects the imaginary line extending
from the center of the arc through (<x3>, <y3>)──pwxy3 for
_arc_wxy. It is drawn counterclockwise about the center of the
arc, ending where it intersects an imaginary line extending from
the center of the arc through (<x4>, <y4>)──pwxy4 for _arc_wxy.
In both cases, the arc is drawn using the current color. Since an
arc does not define a closed area, it is not filled.
Return Value
The _arc, _arc_w, and _arc_wxy functions return a nonzero value
if the arc is successfully drawn; otherwise, they return 0.
-♦-