Cairo 調査

とりあえず、日本語のドキュメントが少ないので、cairo - introductionを訳してみました。たぶん誤訳があります。

Cairo は複数の出力デバイスをサポートした2Dグラフィックスライブラリです。現在サポートされている出力先は、X Window Systemu, Win32, イメージバッファ (訳注・クリップボードに置いたもの?), PostScript, PDF, SVG ファイルです。試験的なバックエンドとしては OpneGL (glitz 経由) や、Quartz, XCB が含まれています。
Cairo はすべての出力メディアで、同じような (consistent) 出力ができるようにデザインされています。また、可能であるならば、(X Render 拡張のような) 表示ハードウェアアクセラレーションを利用しています。
Cairo API は PostScript や PDF の描画命令とよく似た動作を提供します。Cairo での操作には、ストローク、立体ベジエスプラインの塗りつぶし、画像の変形や半透明の合成、アンチエイリアスのかかったテキストレンダリングが含まれています。すべての描画操作はアフィン変換(拡大縮小・回転・切り取りなど)によって変形されます。
Cairo は C プログラミング言語によって書かれたライブラリとして実装されていますが、いくつか別のプログラミング言語用のバインディングが利用可能です。



Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, Win32, image buffers, and PostScript, PDF, and SVG file output. Experimental backends include OpenGL (through glitz), Quartz, and XCB.
Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (eg. through the X Render Extension).
The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo including stroking and filling cubic Bezier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.)
Cairo is implemented as a library written in the C programming language, but bindings are available for several different programming languages.

cairo - introduction