Specifies the linewidth.
void linewidth(Int16 number)
SUBROUTINE LINEWI(number) INTEGER*4 number
Note: For FORTRAN users, this subroutine accepts long integer parameters (INTEGER*4) when invoked from a FORTRAN program, although it accepts short integers when invoked from a C program. The C and FORTRAN syntax shown here reflect this difference.
The linewidth subroutine specifies the width of a line. The default width is one pixel. Wide lines are centered as nearly as possible on the infinitely thin mathematical line.
Note: This subroutine cannot be used to add to a display list.
|number||Width of the line in pixels.|
The example C language program prompt.c uses the linewidth subroutine to draw a two-pixel thick border around a prompt string.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
The POWERgraphics GXT1000 supports line widths from 1 to 255.
|/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 linestyle with the deflinestyle subroutine.
Returning the current linewidth with the getlwidth subroutine.
Selecting a linestyle with the setlinestyle subroutine.
AIX Graphics Library Overview, Drawing with Begin-End Style Subroutines, Drawing with Move-Draw Style Subroutines, Drawing NURBS Curves and Surfaces, Drawing Wire Frame Curves and Surface Patches, Setting Drawing Attributes, Understanding the Hardware Used by GL, and Drawing Rectangles, Circles, Arcs, and Polygons.