|
Packit |
78284e |
/* pangomm - a C++ wrapper for the GLib toolkit
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* Copyright 2002 Free Software Foundation
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* This library is free software; you can redistribute it and/or
|
|
Packit |
78284e |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
78284e |
* License as published by the Free Software Foundation; either
|
|
Packit |
78284e |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
78284e |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
78284e |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
78284e |
* Lesser General Public License for more details.
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
78284e |
* License along with this library; if not, write to the Free
|
|
Packit |
78284e |
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
Packit |
78284e |
*/
|
|
Packit |
78284e |
|
|
Packit |
78284e |
#ifndef _PANGOMM_H
|
|
Packit |
78284e |
#define _PANGOMM_H
|
|
Packit |
78284e |
|
|
Packit |
78284e |
/** @mainpage pangomm Reference Manual
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* @section description Description
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* pangomm is the official C++ interface for the Pango font layout library.
|
|
Packit |
78284e |
* See, for instance, the Pango::Layout class.
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* @section basics Basic usage
|
|
Packit |
78284e |
*
|
|
Packit |
78284e |
* Include the pangomm header:
|
|
Packit |
78284e |
* @code
|
|
Packit |
78284e |
* #include <pangomm.h>
|
|
Packit |
78284e |
* @endcode
|
|
Packit |
78284e |
* This includes every header installed by pangomm, so can slow down
|
|
Packit |
78284e |
* compilation, but suffices for this simple example. Assuming that your
|
|
Packit |
78284e |
* program source file is @c program.cc, compile it with:
|
|
Packit |
78284e |
* @code
|
|
Packit |
78284e |
* g++ program.cc -o program `pkg-config --cflags --libs pangomm-1.4`
|
|
Packit |
78284e |
* @endcode
|
|
Packit |
78284e |
* Alternatively, if using autoconf, use the following in @c configure.ac:
|
|
Packit |
78284e |
* @code
|
|
Packit |
78284e |
* PKG_CHECK_MODULES([PANGOMM], [pangomm-1.4])
|
|
Packit |
78284e |
* @endcode
|
|
Packit |
78284e |
* Then use the generated @c PANGOMM_CFLAGS and @c PANGOMM_LIBS variables in
|
|
Packit |
78284e |
* the project @c Makefile.am files. For example:
|
|
Packit |
78284e |
* @code
|
|
Packit |
78284e |
* program_CPPFLAGS = $(PANGOMM_CFLAGS)
|
|
Packit |
78284e |
* program_LDADD = $(PANGOMM_LIBS)
|
|
Packit |
78284e |
* @endcode
|
|
Packit |
78284e |
*/
|
|
Packit |
78284e |
|
|
Packit |
78284e |
|
|
Packit |
78284e |
#include <pangomm/attrlist.h>
|
|
Packit |
78284e |
#include <pangomm/context.h>
|
|
Packit |
78284e |
#include <pangomm/coverage.h>
|
|
Packit |
78284e |
#include <pangomm/fontdescription.h>
|
|
Packit |
78284e |
#include <pangomm/fontface.h>
|
|
Packit |
78284e |
#include <pangomm/fontfamily.h>
|
|
Packit |
78284e |
#include <pangomm/font.h>
|
|
Packit |
78284e |
#include <pangomm/fontmap.h>
|
|
Packit |
78284e |
#include <pangomm/fontmetrics.h>
|
|
Packit |
78284e |
#include <pangomm/fontset.h>
|
|
Packit |
78284e |
#include <pangomm/layout.h>
|
|
Packit |
78284e |
#include <pangomm/layoutiter.h>
|
|
Packit |
78284e |
#include <pangomm/layoutline.h>
|
|
Packit |
78284e |
#include <pangomm/tabarray.h>
|
|
Packit |
78284e |
|
|
Packit |
78284e |
#endif /* _PANGOMM_H */
|