Supported Browsers Home   
SetLineStipple Previous   
SetLineStyle Next   
GA_2DStateFuncs Up   

SetLineStippleCount

Set the 32-bit line stipple count

Declaration

void NAPI GA_2DStateFuncs::SetLineStippleCount(
    N_uint32 count)

Prototype In

snap/graphics.h

Parameters

count

New 32-bit line stipple count

 

Description

This function sets the line stipple count for stippled line drawing. When a line is drawn, every pixel that is drawn in the line increments the stipple counter by 1. The stipple counter modules 16 is used to determine which bit in the stipple pattern should be used for the next pixel drawn in the line, and because the driver maintains this stipple count across stippled line drawing functions, it allows a single stipple pattern to be correctly applied to a number of connected line segments. This function allows the user application to preset the stipple count to a specified value before drawing the next stippled line.

See Also

SetLineStipple, SetLineStyle, DrawStippleLineInt, GA_2DRenderFuncs_DrawBresenhamStippleLine

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