Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arc(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     arc(3G)                                                   arc(3G)



NAME
arc - draws a circular arc
SPECIFICATION
C arc(x, y, radius, startang, endang)
Coord x, y, radius;
Angle startang, endang;
arci(x, y, radius, startang, endang)
Icoord x, y, radius;
Angle startang, endang;
arcs(x, y, radius, startang, endang)
Scoord x, y, radius;
Angle startang, endang;
FORTRAN subroutine arc(x, y, radius, stang, endang)
real x, y, radius
integer*4 stang, endang
subroutine arci(x, y, radius, stang, endang)
integer*4 x, y, radius, stang, endang
subroutine arcs(x, y, radius, stang, endang)
integer*2 x, y, radius
integer*4 stang, endang
DESCRIPTION
arc draws a circular arc. The parameters of an arc are the
center point (x,y), radius (radius), starting angle
(startang), and ending angle (endang). The angle of the arc
is measured from the positive x axis and specified in
integral tenths of degrees (e.g., 90 degrees equal 900
tenths of degrees). Positive angles describe
counterclockwise rotations. Since an arc is a 2-D shape,
these routines have only 2-D forms. The arc is drawn in the
x-y plane, with z=0, and uses the current color, linestyle,
linewidth, and writemask. It is drawn counterclockwise from
startang to endang. For example, an arc from 10 degrees to
5 degrees (100 to 50 tenths of degrees) is a nearly complete
circle. After arc executes, the graphics position is
undefined.
SEE ALSO
arcf, circ, circf, crv
Programming Guide, Section 3.7, Circles and Arcs
Page 1 (printed 8/20/87)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026