News for hackers. Stuff that matters.
Re:Ask HN: How to draw a single pixel? by octopus on Sunday February 20, 2011 @11:24AM (#2242207)
Read the manual page about "vga_drawpixel" function. I'm not sure you can use this if you run under X. Here is a useful link:

http://linux.die.net/man/3/vga_drawpixel

You should probably use a more advanced graphics library like the one provided by Gnome, but if you want to learn how to do it from scratch I suppose you need to start from a text mode Linux installation.

There are no comments on this comment yet.