.drawing "The C++ example drawing" // Some lines .line 250 600 300 600 0.0 0.1 1.0 3 .line 250 600 200 550 0.0 0.1 1.0 3 .line 200 550 200 450 0.0 0.1 1.0 3 .line 200 450 250 400 0.0 0.1 1.0 3 .line 250 400 300 400 0.0 0.1 1.0 3 .line 300 500 470 500 1.0 0.2 0.0 3 .line 385 600 385 400 1.0 0.2 0.0 3 .line 500 500 670 500 0.2 0.8 0.1 3 .line 585 600 585 400 0.2 0.8 0.1 3 // Some random pixels .pixel 500 500 0.0 1.0 1.0 .pixel 50 50 1.0 0.0 1.0 .pixel 49 50 1.0 0.0 1.0 .pixel 50 49 1.0 0.0 1.0 .pixel 49 49 1.0 0.0 1.0 // And some text .text 100 100 0.4 0.8 0.0 "If you can succesfully parse this file, you now know how to:" .text 100 80 0.4 0.8 0.0 "- Use OpenGL and glut to draw basic shapes and text to the screen" .text 100 60 0.4 0.8 0.0 "- Use Callbacks to create timers and read keyboard input" .text 100 40 0.4 0.8 0.0 "- Read EDIF++ files and parse their content" .text 100 20 0.4 0.8 0.0 "- Use a linked list to keep track of the things you want to draw."