Selects a pattern for filling polygons and rectangles.
void setpattern(Int32 index)
SUBROUTINE SETPAT(index) INTEGER*4 index
The setpattern subroutine selects a pattern from a table of patterns previously defined by the defpattern subroutine. The pattern, an area-fill attribute, is used whenever an area-fill primitive is invoked. These primitives include filled polygons, rectangles, circles, and arcs.
The default pattern is 0 (zero), which is solid. If you specify an undefined pattern, the default pattern is selected.
Note: The operation of this subroutine for the Supergraphics Processor Subsystem is modified. ( See "Hardware Considerations".)
|index||Specifies the index into the table of defined patterns.|
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
|/usr/include/gl/gl.h||Contains C language constant and variable type definitions for GL.|
|/usr/include/gl/fgl.h||Contains FORTRAN constant and variable type definitions for GL.|
Setting the current color index in color map mode with the color subroutine.
Defining a pattern with the defpattern subroutine.
Returning the index of the current fill pattern with the getpattern subroutine.
Granting write permission to a subset of available bitplanes in color map mode with the writemask subroutine.
Drawing Wire Frame Curves and Surface Patches, Drawing NURBS Curves and Surfaces, Drawing with Move-Draw Style Subroutines, Drawing with Begin-End Style Subroutines, Setting Drawing Attributes, Understanding the Hardware Used by GL, Drawing Rectangles, Circles, Arcs, and Polygons.