Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL, XCB, BeOS, OS/2, and DirectFB.
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 Bézier 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.
The cairo project was founded by Keith Packard and Carl Worth for use in the X Window System. It was originally called Xr or Xr/Xc. The name was changed to emphasize the idea that it was a cross-platform library and not tied to the X server. The name cairo was derived from the original name Xr, similar to the Greek letters chi and rho.
Chi (uppercase Χ, lowercase χ; Greek: χῖ) is the 22nd letter of the Greek alphabet, pronounced as /ˈkaɪ/ in English.
原来 Cairo库的名称是这样来的，原名Xr ,希腊字母里面的 Χ 与X相像， ρ 与 r 相像，因此得名 Cairo .