Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arcf(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     arcf(3G)                                                 arcf(3G)



NAME
arcf - draws a filled circular arc
SPECIFICATION
C arcf(x, y, radius, startang, endang)
Coord x, y, radius;
Angle startang, endang;
arcfi(x, y, radius, startang, endang)
Icoord x, y, radius;
Angle startang, endang;
arcfs(x, y, radius, startang, endang)
Scoord x, y, radius;
Angle startang, endang;
FORTRAN subroutine arcf(x, y, radius, stang, endang)
real x, y, radius
integer*4 stang, endang
subroutine arcfi(x, y, radius, stang, endang)
integer*4 x, y, radius, stang, endang
subroutine arcfs(x, y, radius, stang, endang)
integer*2 x, y, radius
integer*4 stang, endang
DESCRIPTION
arcf draws a filled circular arc (pie section). The arc is
specified as a center point (x,y), a radius (radius), a
starting angle (startang), and an ending angle (endang).
The angle of the arc is measured from the x axis and
specified in integral tenths of degrees. Positive angles
describe counterclockwise rotations. The arc is drawn using
the current color and writemask, and is filled with the
current texture. Since an arc is a 2-D shape, these
routines have only 2-D forms. The arc is in the x-y plane
with z=0. Arcs are drawn counterclockwise from startang to
endang, so the arc from 10 degrees to 5 degrees is a nearly
complete circle.
SEE ALSO
arc, 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