Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ splf(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     splf(3G)                                                 splf(3G)



NAME
splf - draws a shaded filled polygon
SPECIFICATION
C splf(n, parray, iarray)
long n;
Coord parray[][3];
Colorindex iarray[];
splfi(n, parray, iarray)
long n;
Icoord parray[][3];
Colorindex iarray[];
splfs(n, parray, iarray)
long n;
Scoord parray[][3];
Colorindex iarray[];
splf2(n, parray, iarray)
long n;
Coord parray[][2];
Colorindex iarray[];
splf2i(n, parray, iarray)
long n;
Icoord parray[][2];
Colorindex iarray[];
splf2s(n, parray, iarray)
long n;
Scoord parray[][2];
Colorindex iarray[];
FORTRAN 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
Page 1 (printed 8/20/87)


     splf(3G)                                                 splf(3G)



                    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)

     DESCRIPTION
          splf draws Gouraud-shaded polygons using the current pattern
          and writemask.  It takes three arguments:  parray, an array
          of points; array, an array of the intensities at these
          points; n, the number of points in each array. Polygons are
          represented as arrays of points.  The first and last points
          automatically connect 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 drawn, the current graphics position is set to
          the first point in the array.  splf must be used in color
          mode.

     SEE ALSO
          cmode, concave, poly, rect, rectf, pdr, pmv, rpdr, rpmv

          Programming Guide, Section 13.1, Shading

























     Page 2                                          (printed 8/20/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026