DirectX SDK |
The DirectDrawSurface7.DrawLine method draws a line on the surface.
object.DrawLine( _ x1 As Long, _ y1 As Long, _ x2 As Long, _ y2 As Long)
If the method fails, it raises an error, and Err.Number is set.
The default draw style is a solid line; this can be changed with a call to DirectDrawSurface7.SetDrawStyle.