arcf(3G) — Silicon Graphics
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
Pascal
procedure arcf(x, y, radius: Coord; startang,
endang: Angle);
procedure arcfi(x, y, radius: Icoord; startang,
endang: Angle);
procedure arcfs(x, y, radius: Scoord; startang,
endang: Angle);
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
Version 3.6 — December 20, 1987