core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

lines.h File Reference


Detailed Description

Line operations.

#include "mtypes.h"

Functions

void GLAPIENTRY _mesa_LineWidth (GLfloat width)
 Set the line width.
void GLAPIENTRY _mesa_LineStipple (GLint factor, GLushort pattern)
 Set the line stipple pattern.
void GLAPIENTRY _mesa_init_line (GLcontext *ctx)
 Initialize the context line state.


Function Documentation

void GLAPIENTRY _mesa_init_line ( GLcontext ctx  ) 

Initialize the context line state.

Parameters:
ctx GL context.
Initializes __GLcontextRec::Line and line related constants in __GLcontextRec::Const.

void GLAPIENTRY _mesa_LineStipple ( GLint  factor,
GLushort  pattern 
)

Set the line stipple pattern.

Parameters:
factor pattern scale factor.
pattern bit pattern.
See also:
glLineStipple().
Updates gl_line_attrib::StippleFactor and gl_line_attrib::StipplePattern. On change flushes the vertices and notifies the driver via the dd_function_table::LineStipple callback.

void GLAPIENTRY _mesa_LineWidth ( GLfloat  width  ) 

Set the line width.

Parameters:
width line width in pixels.
See also:
glLineWidth().


Generated on Sun Sep 27 06:47:46 2009 for Mesa Main by  doxygen 1.5.4