The source consists only of new_main.cc. It uses white_lines.png and red_lines.png to draw the lines, so put them in the dir you run the executable from.
Build it with whatever you choose, so long as you link it to SDL, SDL_image, and whatever SDL requires.
I build it with the following command line:
g++ -W -Wall -O2 `sdl-config --libs --cflags` -lSDL_image new_main.cc -o new_line_drawer
If enough people ask nicely, I'll post a more english-like key description.
Don't worry too much about the interface, I plan on improving it soon, I'm just occupied with putting this site in order right now.
The first finished picture drawn with this is oval_thing.png. The operations list for it is oval_thing_ops.
Usage can be obtained by reading the source, or running it with --help (actually, every unrecognized option will cause it to show the usage)
It still doesn't echo file names when you type them in to save/load.
There isn't any way to save as in a normal picture format while using yet. Use the -i and -o options.
If you use the -m option to make the marks visible, they will show up on the .bmp created by -o.
You can only save pics as bmps right now. If you want a different format (perhaps because bmps are insanely huge), you'll have to convert them with something.
I'll post more informative help based on questions people ask.
Last updated August 12th 2004 under the threat of people seeing it.