arcf(3) — Silicon Graphics R1c
NAME
arcf - draw a filled circular arc
SYNOPSIS
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;
FORTRAN
subroutine arcf(x, y, radius, stang, endang)
real x, y, radius
integer*2 stang, endang
subroutine arcfi(x, y, radius, stang, endang)
integer x, y, radius
integer*2 stang, endang
Pascal
procedure arcf(x, y, radius: Coord; startang, endang: Angle);
procedure arcfi(x, y, radius: Icoord; startang, endang: Angle);
DESCRIPTION
Arcf draws a filled circular arc (pie section). The arc is specified as a center point, a starting angle, an ending angle, and a radius. The angle 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 filled with the current texture. Since an arc is a two-dimensional shape, these commands have only 2D 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° to 5° is a nearly complete circle.
SEE ALSO
arc, circ, circf, curve
Version 2.3 — July 04, 1985