gb.cairo

Cairo is a 2D graphics library with support for multiple output devices: Images, PDF, PS or SVG files.

Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available.

The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo include: 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.)

Author Benoît Minisini.
Requires gb.image.

Class Descripció
Cairo This class is used for drawing on an Image object or any CairoSurface with the Cairo library.
CairoExtents This class represents an extents bounding box, as returned by properties like Cairo.ClipExtents or Cairo.FillExtents.
CairoFontExtents This class stores metric information for a font. Values are given in the current user-space coordinate system.
CairoMatrix This class represents a Cairo transformation matrix.
CairoPattern This class represents a Cairo source pattern, as returned by methods like Cairo.SolidPattern or Cairo.LinearGradient.
CairoPdfSurface This class represents a PDF file.
CairoPsSurface This class represents a PostScript file.
CairoSurface This class is the parent class of all Cairo surface classes.
CairoSvgSurface This class represents a SVG file.
CairoTextExtents This class stores the extents of a single glyph or a string of glyphs in user-space coordinates.