SetLineWidth

BlitzMax Forums/BlitzMax Programming/SetLineWidth

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Same effect on the walls =/


Graphics 400,300, 0

Cls
SetBlend(lightblend)

SetRotation(-15)

DrawLine(50,50,80,300,False)
For Local i:Int = 1 To 20
	SetLineWidth(i+1)
	SetAlpha(0.05)
	DrawLine(50,50,80,300,False)
Next

SetRotation(-45)

DrawLine(150,50,180,300,False)
For Local i:Int = 1 To 20
	SetLineWidth(i+1)
	SetAlpha(0.05)
	DrawLine(150,50,180,300,False)
Next

Flip
WaitKey()


Before I started on this, I figured the ends would be more gradient like, or rounded.