glLineWidth

specify the width of rasterized lines

Signature

glLineWidth( GLfloat ( width ) )-> void
glLineWidth( width )

Parameters

VariablesDescription
width
Specifies the width of rasterized lines. The initial value is 1.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glLineWidth
OpenGLContext OpenGLContext/browser/vpcurve.py Lines: 75, 98
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 91, 98
{Artistic License} PymmLib applications/glutviewer.py Lines: 95, 218
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 285, 432, 480, 509, 559
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 292, 299
{LGPL} VisionEgg VisionEgg/Text.py Lines: 489
{LGPL} PyMT examples/desktop/desktop-multi.py Lines: 5, 226
{LGPL} PyMT pymt/graphx/draw.py Lines: 160, 267, 419
{LGPL} PyMT pymt/graphx/css.py Lines: 14, 113, 129
{LGPL} PyMT pymt/ui/widgets/speechbubble.py Lines: 11, 83
{LGPL} Pyggel pyggel/misc.py Lines: 42
{LGPL} pygl2d pygl2d/draw.py Lines: 31, 48
{GPL} Scocca scocca/graphics/opengl/draw.py Lines: 25
Visvis wibjects/colorWibjects.py Lines: 534, 547, 698, 754
Visvis wibjects/sliders.py Lines: 409
Visvis examples/customWobject.py Lines: 43
Visvis utils/cropper.py Lines: 375, 429
Visvis core/axises.py Lines: 788, 836, 2030
Visvis core/line.py Lines: 683, 833
Visvis core/baseWibjects.py Lines: 93
Visvis wobjects/polygonalModeling.py Lines: 906
Visvis wobjects/sliceTextures.py Lines: 246
Visvis wobjects/textures.py Lines: 753, 1190
Visvis functions/boxplot.py Lines: 235
Visvis functions/bar.py Lines: 174