C++ graph plotting program with nice antialiasing