CreEPS is a collection of C++ classes that provide an easy-to-use interface for generating vector plots from within code. The drawings are stored as Encapsulated Postscript (EPS) files. It features all basic drawing elements, user-configurable fill types, and printf-style text output. Extensive documentation with many examples is included.
GL2PS is a C library providing high quality vector output for any OpenGL application. It uses sorting algorithms capable of handling intersecting and stretched polygons, as well as non manifold objects. It provides advanced smooth shading and text rendering, culling of invisible primitives, mixed vector/bitmap output, and much more. It can currently create PostScript (PS), Encapsulated PostScript (EPS), Portable Document Format (PDF), and Scalable Vector Graphics (SVG) files, as well as LaTeX files for the text fragments.
dxf allows you to easily open and edit DXF (Drawing eXchange Format) files. You can export them to various image formats (BMP, PNG, GIF, etc.) or print files. Many entites are supported (lines, arcs, circles, polylines, text, trace, and solids), as well as all colors including BYLAYER. Background color can be changed from black to white. LTYPE (linetypes) are partially supported.