[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

getpattern Subroutine

Purpose

Returns the index of the current fill pattern.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

long getpattern( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETPAT

Description

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.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/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.

Related Information

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.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]