Graphics Rendering Utility in c++