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►
────────────────────────────────────────────────────────────────────────────
The arc functions draw elliptical arcs.
The arc routine uses the view coordinate system. The center of
the arc is the center of the bounding rectangle defined by the
points (<x1>, <y1>) and (<x2>, <y2>). The arc starts where it
intersects the imaginary line extending from the center of the
arc through (<x3>, <y3>). 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>).
The arc_w routine uses the window coordinate system. In all other
respects, it is identical to the arc routine.
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 and arc_w functions return a nonzero value if the arc is
successfully drawn; otherwise, they return 0.
-♦-