C++ port of Minidraw