Microsoft DirectX 8.1 (Visual Basic) |
Type D3DLINEPATTERN LinePattern As Integer RepeatFactor As Integer End Type
These values are used by the D3DRS_LINEPATTERN render state in the CONST_D3DRENDERSTATETYPE enumeration.
A line pattern specifies how a line is drawn. The line pattern is always the same, no matter where it is started. (This differs from stippling, which affects how objects are rendered; that is, to imitate transparency.)
The line pattern specifies up to a 16-pixel pattern of on and off pixels along the line. The RepeatFactor member specifies how many pixels are repeated for each entry in LinePattern.