16.16. Data Definitions for libpangocairo-1.0

This section defines global identifiers and their values that are associated with interfaces contained in libpangocairo-1.0. These definitions are organized into groups that correspond to system headers. This convention is used as a convenience for the reader, and does not imply the existence of these headers, or their content. Where an interface is defined as requiring a particular system header file all of the data definitions for that system header file presented here shall be in effect.

This section gives data definitions to promote binary application portability, not to repeat source interface definitions available elsewhere. System providers and application developers should use this ABI to supplement - not to replace - source interface definition specifications.

This specification uses the ISO C (1999) C Language as the reference programming language, and data definitions are specified in ISO C format. The C language is used here as a convenient notation. Using a C language description of these data objects does not preclude their use by other programming languages.

16.16.1. pango-1.0/pango/pangocairo.h

#define PANGO_CAIRO_FONT_MAP(object)	 \
#define PANGO_IS_CAIRO_FONT_MAP(object)	 \
#define PANGO_TYPE_CAIRO_FONT_MAP	(pango_cairo_font_map_get_type ())

typedef struct _PangoCairoFont PangoCairoFont;
typedef struct _PangoCairoFontMap PangoCairoFontMap;
extern const cairo_font_options_t
    *pango_cairo_context_get_font_options(PangoContext * context);
extern double pango_cairo_context_get_resolution(PangoContext * context);
extern void pango_cairo_context_set_font_options(PangoContext * context,
						 const cairo_font_options_t
						 * options);
extern void pango_cairo_context_set_resolution(PangoContext * context,
					       double dpi);
extern PangoLayout *pango_cairo_create_layout(cairo_t * cr);
extern PangoContext *pango_cairo_font_map_create_context(PangoCairoFontMap
							 * fontmap);
extern PangoFontMap *pango_cairo_font_map_get_default(void);
extern double pango_cairo_font_map_get_resolution(PangoCairoFontMap *
extern PangoFontMap *pango_cairo_font_map_new(void);
extern void pango_cairo_font_map_set_resolution(PangoCairoFontMap *
						fontmap, double dpi);
extern void pango_cairo_glyph_string_path(cairo_t * cr, PangoFont * font,
					  PangoGlyphString * glyphs);
extern void pango_cairo_layout_line_path(cairo_t * cr,
					 PangoLayoutLine * line);
extern void pango_cairo_layout_path(cairo_t * cr, PangoLayout * layout);
extern void pango_cairo_show_glyph_string(cairo_t * cr, PangoFont * font,
					  PangoGlyphString * glyphs);
extern void pango_cairo_show_layout(cairo_t * cr, PangoLayout * layout);
extern void pango_cairo_show_layout_line(cairo_t * cr,
					 PangoLayoutLine * line);
extern void pango_cairo_update_context(cairo_t * cr,
				       PangoContext * context);
extern void pango_cairo_update_layout(cairo_t * cr, PangoLayout * layout);