Draw a pixel: Difference between revisions

Content added Content deleted
No edit summary
Line 1,352: Line 1,352:


=={{header|XPL0}}==
=={{header|XPL0}}==
This is all that's required to plot pixels on the Raspberry Pi version of XPL0, and it can do tens of millions of them per second. (FB = Frame Buffer.)
This is all that's required to plot a pixel on the Raspberry Pi version of XPL0. It can do tens of millions of them per second. (FB = Frame Buffer.)
<lang XPL0>[SetFB(320, 240, 24); Point(100, 100, $FF0000)]</lang>
<lang XPL0>[SetFB(320, 240, 24); Point(100, 100, $FF0000)]</lang>