Supported Browsers Home   
MGL_setLineStipple Previous   
MGL_setLineStyle Next   
External Functions Up   

MGL_setLineStippleCount

Sets the current line stipple counter.

Declaration

void MGLAPI MGL_setLineStippleCount(
    uint stippleCount)

Prototype In

mgraph.h

Parameters

stippleCount

New line stipple counter to use

 

Description

Sets the current line stipple counter to a specific value.  The line stipple counter is used to count the number of pixels that have been drawn in the line, and is updated after the line has been drawn. The purpose of this counter is to allow you to draw connected lines using a stipple pattern and the stippling will be continuous across the break in the lines. You can use this function to reset the stipple counter to a known value before drawing lines to force the stipple pattern to start at a specific bit position (usually resetting it to 0 before drawing a group of lines is sufficient).

See Also

MGL_setLineStyle, MGL_setLineStipple, MGL_getLineStippleCount

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com