C++ API Solution PS, XPS and EPS files. Learn how to draw geometrical shapes in a PS file with the attached C++ code snippet.... Path-Based Graphics - PostScript uses a path-based approach...outline of the shape. Common path operators include moveto , lineto...