C++向量图生成库 CreEPS

openkk 12年前

CreEPS 是一个C++类,提供一个容易从内部生成的代码向量图的界面。该图存储为压缩的PostScript(EPS)的文件。它具有所有的基本图形元素,用户可配置的填充类型和printf风格的文本输出。包含大量例子文件。

  • Basic drawing elements: lines, curves, arcs, circles, rotated ellipses, rotated text
  • Advanced text output: 14 different alignment types, optional printf-style text output
  • All attributes adjustable: color, line thickness, line join, line cap, line dash, text font
  • Different customizable fill types: dotted, striped, checkerboard
  • Choice between normal PS text output and separate LaTeX text output (as seen in xfig)
  • Different transformations: shifting, rotating, scaling and generic transformations like shearing
  • Special techniques to keep the resulting EPS file as small as possible
  • Support for including other EPS files and special character handling (new in 1.3)

项目主页:http://www.open-open.com/lib/view/home/1329206110296