next up previous contents index
Next: 3.4.1 Basic Line Segment Up: 3 Rasterization Previous: 3.3.1 Point Rasterization State

3.4 Line Segments

 

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





David Blythe
Sat Mar 29 02:23:21 PST 1997