Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting Line _RGB colours
#2
Code: (Select All)
Sub myBox (H, V, K As _Unsigned Long)
    Line (H, V)-(H + 37, V + 38), K, BF
End Sub

demo
Code: (Select All)
Screen _NewImage(800, 600, 32)
For y = 0 To 600 Step 38
    For x = 0 To 800 Step 37
        myBox x, y, _RGB32(Rnd * 255, Rnd * 255, Rnd * 255)
Next x, y

Sub myBox (H, V, K As _Unsigned Long)
    Line (H, V)-(H + 37, V + 38), K, BF
End Sub
b = b + ...
Reply


Messages In This Thread
Setting Line _RGB colours - by PhilOfPerth - 11-03-2024, 12:46 AM
RE: Setting Line _RGB colours - by bplus - 11-03-2024, 12:53 AM
RE: Setting Line _RGB colours - by PhilOfPerth - 11-03-2024, 12:56 AM
RE: Setting Line _RGB colours - by ahenry3068 - 11-03-2024, 12:54 AM
RE: Setting Line _RGB colours - by PhilOfPerth - 11-03-2024, 01:06 AM
RE: Setting Line _RGB colours - by bplus - 11-03-2024, 01:02 AM
RE: Setting Line _RGB colours - by SMcNeill - 11-03-2024, 02:33 AM
RE: Setting Line _RGB colours - by PhilOfPerth - 11-03-2024, 05:37 AM
RE: Setting Line _RGB colours - by bplus - 11-03-2024, 01:08 AM
RE: Setting Line _RGB colours - by PhilOfPerth - 11-03-2024, 01:32 AM
RE: Setting Line _RGB colours - by bplus - 11-03-2024, 01:29 AM



Users browsing this thread: 2 Guest(s)