1. Home
  2. Browse
  3. cairo

cairo

v1.17.8#3Go to latest

Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.

Install

Run the following Vcpkg command to install the port.

vcpkg install cairo

Usage

The package cairo can be imported via CMake FindPkgConfig module:

# cairo
find_package(PkgConfig REQUIRED)
pkg_check_modules(cairo REQUIRED IMPORTED_TARGET cairo)
target_link_libraries(main PkgConfig::cairo)

# cairo-script-interpreter
find_package(PkgConfig REQUIRED)
pkg_check_modules(cairo-script-interpreter REQUIRED IMPORTED_TARGET cairo-script-interpreter)
target_link_libraries(main PkgConfig::cairo-script-interpreter)

Features

Dependencies

See source

Version

v1.17.8#3

Publication

Supports

!xbox

GitLab

cairo/cairo

Homepage

cairographics.org

Subtree

efd6cedc9e

License

LGPL-2.1-onlyorMPL-1.1

Definition

Manifest