A method is described to render a line stipple pattern in an ad hoc
piecewise fashion by creating a texture map having information that
represents the line stipple pattern. The method also includes, for each
of a plurality of line primitives that each represent a different section
of the line stipple pattern, mapping a section of the texture map's
information to its corresponding line primitive.