Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Draw-a-pixel/PureBasic/draw-a-pixel.basic
Normal file
10
Task/Draw-a-pixel/PureBasic/draw-a-pixel.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
If OpenWindow(0, 0, 0, 320, 240, "Rosetta Code Draw A Pixel in PureBasic")
|
||||
If CreateImage(0, 320, 240) And StartDrawing(ImageOutput(0))
|
||||
Plot(100, 100,RGB(255,0,0))
|
||||
StopDrawing()
|
||||
ImageGadget(0, 0, 0, 320, 240, ImageID(0))
|
||||
EndIf
|
||||
Repeat
|
||||
Event = WaitWindowEvent()
|
||||
Until Event = #PB_Event_CloseWindow
|
||||
EndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue