# Package org.freedesktop.cairo

The Cairo Graphics library is the high performance drawing suite used to do custom drawing in GTK.

See: Description

- Class Summary
  Class | Description
  --- | ---
  Antialias | The type of antialiasing to do when rendering text or shapes.
  Content | Constants to specify the colour space that will apply when creating a new Surface based on an existing one.
  Context | Carry out drawing operations with the Cairo Graphics library.
  Extend | Constants specifying what strategy is employed when drawing Patterns larger than the area intrinsically specified when constructing the Pattern.
  FillRule | The rule governing how `fill()` works.
  Filter | Used to specify the filtering that should be applied when reading pixel values from patterns.
  FontOptions | Configuration of how hinting will be employed (by Pango, actually) when rendering text.
  Format | Constants specifying what the bit depth of the pixels in an ImageSurface.
  HintMetrics | Whether to hint the font rendering based on alignment to the integer pixel grid.
  HintStyle | What style of hinting to apply.
  ImageSurface | A Surface which is an image in memory and can be written to disk.
  LinearPattern | A linear gradient.
  Matrix | A matrix describing an affine transformation.
  MimeType | MIME types specifically supported by the Surface's `setMimeData()`.
  Operator | Constants specifying the compositing operating mode in effect.
  Pattern | A Pattern source.
  PdfSurface | A Surface that will be rendered to a file in the Portable Document Format.
  Plumbing |
  RadialPattern | A radial gradient Pattern.
  SolidPattern | A Pattern of a single colour.
  Surface | The thing that Cairo will draw on/to.
  SurfacePattern | A source Pattern that is derived from another Surface.
  SvgSurface | A Surface that you can use to write to a SVG file.
  XlibSurface | A Window as rendered by the X Server.

- Error Summary
  Error | Description
  --- | ---
  FatalError | Cairo is in an illegal state.

## Package org.freedesktop.cairo Description

The Cairo Graphics library is the high performance drawing suite used to do custom drawing in GTK. The heart of the library is the Context class which is what you use to draw on a Surface; look there for information, and for an example of how to get started with Widget drawing, see `ExampleDrawingGradient.java`.