clutter-box2dmm Reference Manual

0.9.2

Description

clutter-box2dmm is a C++ wrapper for clutter-box2d. See Clutter::Box2D::Box2D

Basic Usage

Include the clutter-box2dmm header:

 #include <clutter-box2dmm.h>

(You may include individual headers, such as clutter-box2dmm/box2d.h instead.)

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

 g++ program.cc -o program `pkg-config --cflags --libs clutter-box2dmm-0.10`

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

 PKG_CHECK_MODULES([CLUTTER_BOX2DMM], [clutter-box2dmm-0.10])

Then use the generated CLUTTER_BOX2DMM_CFLAGS and CLUTTER_BOX2DMM_LIBS variables in the project Makefile.am files. For example:

 program_CPPFLAGS = $(CLUTTER_BOX2DMM_CFLAGS)
 program_LDADD = $(CLUTTER_BOX2DMM_LIBS}

Generated on Wed May 5 23:55:30 2010 for clutter-box2dmm by  doxygen 1.6.1