GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

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. Written in C, it supports output to multiple backends including X11, Quartz, Win32, SVG, PDF, and PostScript. Cairo uses hardware acceleration when available. 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. The library is dual-licensed under the GNU Lesser General Public License version 2.1 and the Mozilla Public License 1.1. The name derives from the project's original name "Xr," interpreted as the Greek letters chi and rho, which together... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Cairo (stylized as cairo) is an open-source graphics library that provides a vector graphics-based, device-independent API for two-dimensional drawing. Written in C, it supports output to multiple backends including X11, Quartz, Win32, SVG, PDF, and PostScript. Cairo uses hardware acceleration when available. 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. The library is dual-licensed under the GNU Lesser General Public License version 2.1 and the Mozilla Public License 1.1. 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. 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

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Cairo (graphics)". 1789290771. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1374666018

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·