cairomm 1.18.1

Cairomm: A C++ wrapper for the cairo graphics library

# License

Cairomm is available under the terms of the LGPL license

# Introduction

If you're just beginning to learn cairomm, a good place to start is with the Cairo::Surface and Cairo::Context classes. In general terms, you draw onto a Surface using the graphics settings specified in your Context.

# Basic Usage

Include the cairomm header:

#include <cairomm/cairomm.h>

This includes every header installed by cairomm. You may include individual headers, such as `cairomm/context.h` instead.

If your source file is `program.cc`, you can compile it with:

g++ program.cc -o program `pkg-config --cflags --libs cairomm-1.16`

If your version of g++ is not C++17-compliant by default, add the `-std=c++17` option.

If you use Meson, include the following in `meson.build:`

cairomm_dep = dependency('cairomm-1.16')
program_name = 'program'
cpp_sources = [ 'program.cc' ]
executable(program_name,
cpp_sources,
dependencies: [ cairomm_dep ]
)

Alternatively, if using autoconf, use the following in `configure.ac:`

PKG_CHECK_MODULES([CAIROMM], [cairomm-1.16])

Then use the generated `CAIROMM_CFLAGS` and `CAIROMM_LIBS` variables in the project Makefile.am files. For example:

program_CPPFLAGS = $(CAIROMM_CFLAGS)
program_LDADD = $(CAIROMM_LIBS)