Draw a pixel: Difference between revisions
→{{header|Vlang}}
No edit summary |
|||
Line 1,881:
=={{header|Vlang}}==
<lang vlang>import
import gx
gg.draw_pixel(100, 100, gx.red)▼
}▼
fn main() {
mut
width: 320
height: 240
)
▲}
▲ ui.run(window)
fn frame(mut ctx gg.Context) {
ctx.begin()
ctx.end()
}</lang>
|