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.
_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_wxy routine (implemented as a macro) uses the real-world
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_wxy functions return a nonzero value if the
arc is successfully drawn; otherwise, they return 0.
-♦-