article

svgalib is an open-source low-level graphics library which runs on GNU/Linux and FreeBSD and allows programs to change video mode and display full-screen graphics. Some popular games like Quake and Doom use it.

The library is simple to use, as can be seen from the following code sample: #include #include int main(void) { vga_init(); vga_setmode(G320x200x256); vga_setcolor(4); vga_drawpixel(10, 10); sleep(5); vga_setmode(TEXT); return EXIT_SUCCESS; }

External links


  • http://www.svgalib.org/
  • http://www.groups.google.com/group/svgalib
  • svgalib windows: a windowing program which uses svgalib

Computer graphics | Free development toolkits and libraries

 

This article is licensed under the GNU Free Documentation License. It uses material from the "SVGALib".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld