splf(3G)
splf, splfi, splfs, splf2, splf2i, splf2s - draws a shaded filled polygon
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME splf, splfi, splfs, splf2, splf2i, splf2s - draws a shaded filled polygon FORTRAN 77 SPECIFICATION subroutine splf(n, parray, iarray) integer*4 n real parray(3,n) integer*2 iarray(n) subroutine splfi(n, parray, iarray) integer*4 n integer*4 parray(3,n) integer*2 iarray(n) subroutine splfs(n, parray, iarray) integer*4 n integer*2 parray(3,n) integer*2 iarray(n) subroutine splf2(n, parray, iarray) integer*4 n real parray(2,n) integer*2 iarray(n) subroutine splf2i(n, parray, iarray) integer*4 n integer*4 parray(2,n) integer*2 iarray(n) subroutine splf2s(n, parray, iarray) integer*4 n integer*2 parray(2,n) integer*2 iarray(n) All of the above routines are functionally the same. They differ only in the type declarations of their parameters and in whether they assume a two- or three-dimensional space. PARAMETERS n expects the number of vertices in the polygon. There can be no more than 256 vertices in a single polygon. parray expects an array containing the vertices of a polygon. iarray expects the array containing the color map indices which determine the intensities of the vertices of the polygon DESCRIPTION splf draws Gouraud-shaded polygons using the current pattern and writemask. Polygons are represented as arrays of points. The first and last points automatically connect to close a polygon. If you want to use backfa, you should specify the vertices in counter- clockwise order. After the polygon is drawn, the current graphics position is set to the first point in the array. splf must be used in color map mode. SEE ALSO cmode, concav, poly, rect, rectf, pdr, pmv, rpdr, rpmv