Cairo (graphics)
Cairo (stylized as cairo) is an open-source graphics library that provides a vector graphics-based, device-independent API for two-dimensional drawing.[src] Written in C, it supports output to multiple backends including X11, Quartz, Win32, SVG, PDF, and PostScript.[src] Cairo uses hardware acceleration when available.[src] Cairo is used by GTK (versions 2.8 through 4.x ), the Gecko layout engine in Mozilla Firefox, WebKit, Poppler, and Inkscape, among other projects.[src] The library is dual-licensed under the GNU Lesser General Public License version 2.1 and the Mozilla Public License 1.1.[src] The name derives from the project's original name "Xr," interpreted as the Greek letters chi and rho, which together sound like "Cairo", not to be confused with the religious Chi Rho.[src]
Cairo (stylized as cairo) is an open-source graphics library that provides a vector graphics-based, device-independent API for two-dimensional drawing.[src] Written in C, it supports output to multiple backends including X11, Quartz, Win32, SVG, PDF, and PostScript.[src] Cairo uses hardware acceleration when available.[src] Cairo is used by GTK (versions 2.8 through 4.x ), the Gecko layout engine in Mozilla Firefox, WebKit, Poppler, and Inkscape, among other projects.[src] The library is dual-licensed under the GNU Lesser General Public License version 2.1 and the Mozilla Public License 1.1.[src] The name derives from the project's original name "Xr," interpreted as the Greek letters chi and rho, which together sound like "Cairo", not to be confused with the religious Chi Rho.[src] include include int main(int argc, char **argv) { cairo_surface_t *surface = cairo_svg_surface_create("Cairo_example.svg", 100.0, 100.0); cairo_t *cr = cairo_create(surface); /* Draw the squares in the background */ for (int x = 0; x[src]
13 sentences · 13 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Cairo (graphics)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/cairo-graphics. Accessed 01 December 2026.
Chicago
"Cairo (graphics)." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/cairo-graphics.
APA
encyclopegia.org. (2026). Cairo (graphics). Retrieved December 1, 2026, from https://encyclopegia.org/wiki/cairo-graphics
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON