polf(3G) polf(3G)
NAME
polf - draws a filled polygon
SPECIFICATION
C polf(n, parray)
long n;
Coord parray[][3];
polfi(n, parray)
long n;
Icoord parray[][3];
polfs(n, parray)
long n;
Scoord parray[][3];
polf2(n, parray)
long n;
Coord parray[][2];
polf2i(n, parray)
long n;
Icoord parray[][2];
polf2s(n, parray)
long n;
Scoord parray[][2];
FORTRAN subroutine polf(n, parray)
integer*4 n
real parray(3,n)
subroutine polfi(n, parray)
integer*4 n
integer*4 parray(3,n)
subroutine polfs(n, parray)
integer*4 n
integer*2 parray(3,n)
subroutine polf2(n, parray)
integer*4 n
real parray(2,n)
subroutine polf2i(n, parray)
integer*4 n
integer*4 parray(2,n)
subroutine polf2s(n, parray)
integer*4 n
integer*2 parray(2,n)
Page 1 (printed 8/20/87)
polf(3G) polf(3G)
DESCRIPTION
polf fills polygonal areas using the current pattern, color,
and writemask. It takes two arguments: an array of points
(parray) and the number of points in that array (n).
Polygons are represented as arrays of points. The first and
last points connect automatically to close a polygon. The
points can be expressed as integers, shorts, or real
numbers, in 2-D or 3-D space. 2-D polygons are drawn with
z=0. After the polygon is filled, the current graphics
position is set to the first point in the array.
SEE ALSO
concave, poly, rect, rectf, pdr, pmv, rpdr, rpmv
Programming Guide, Section 3.6, Polygons
Page 2 (printed 8/20/87)