Returns the index of the current fill pattern.
FORTRAN (libfgl.a)
long getpattern( )
INTEGER*4 FUNCTION GETPAT
The getpattern subroutine returns the index of the current fill pattern. The returned value is an index into the pattern table.
Note: This subroutine cannot be used to add to a display list.
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. |
Defining a pattern with the defpattern subroutine.
Selecting a fill pattern for polygons, rectangles, and curves with the setpattern subroutine.
AIX Graphics Library Overview, Drawing NURBS Curves and Surfaces, Drawing Wire Frame Curves and Surface Patches, Drawing with Begin-End Style Subroutines, Drawing with Move-Draw Style Subroutines, Setting Drawing Attributes, Understanding the Hardware Used by GL, and Drawing Rectangles, Circles, Arcs, and Polygons.