•
GTK used Cairo for all rendering in version 3.x; GTK 4 uses it in a reduced role. •
WebKit uses Cairo for rendering in its GTK and
EFL ports. • The
Poppler PDF rendering library uses Cairo for antialiased output. •
Inkscape uses Cairo for its outline mode display and for PDF and PostScript export. • The
Mono Project uses Cairo to implement its GDI+ (libgdiplus) and System.Drawing backends. •
R uses Cairo for PDF, PostScript, and SVG plot output when available. •
RRDtool replaced its internal graphics library with Cairo and
Pango in version 1.3 (2008). •
Gnuplot 4.4 uses Cairo for PDF and PNG output.
Example A simple program that generates an SVG file using Cairo: • 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 == See also ==