A line segment results from a line strip Begin / End object, a line loop, or a series of separate line segments. Line segment rasterization is controlled by several variables. Line width, which may be set by calling
void LineWidth ( float width ) ;
with an appropriate positive floating-point width, controls the width of rasterized line segments. The default width is . Values less than or equal to generate the error INVALID_VALUE.
Antialiasing is controlled with Enable and Disable using the symbolic constant LINE_SMOOTH. Finally, line segments may be stippled. Stippling is controlled by a GL command that sets a stipple pattern (see below).