Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
pango-context.h
Go to the documentation of this file.
1/* Pango
2 * pango-context.h: Rendering contexts
3 *
4 * Copyright (C) 2000 Red Hat Software
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21
22#ifndef __PANGO_CONTEXT_H__
23#define __PANGO_CONTEXT_H__
24
25#include <pango/pango-types.h>
26#include <pango/pango-font.h>
27#include <pango/pango-fontmap.h>
30
32
33typedef struct _PangoContextClass PangoContextClass;
34
35#define PANGO_TYPE_CONTEXT (pango_context_get_type ())
36#define PANGO_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_CONTEXT, PangoContext))
37#define PANGO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_CONTEXT, PangoContextClass))
38#define PANGO_IS_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_CONTEXT))
39#define PANGO_IS_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_CONTEXT))
40#define PANGO_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_CONTEXT, PangoContextClass))
41
42
45
52 PangoFontMap *font_map);
59 PangoFontFamily ***families,
60 int *n_families);
63 const PangoFontDescription *desc);
66 const PangoFontDescription *desc,
67 PangoLanguage *language);
68
71 const PangoFontDescription *desc,
72 PangoLanguage *language);
73
76 const PangoFontDescription *desc);
83 PangoLanguage *language);
86 PangoDirection direction);
91 PangoGravity gravity);
98 PangoGravityHint hint);
101
104 const PangoMatrix *matrix);
107
110 gboolean round_positions);
113
115
116#endif /* __PANGO_CONTEXT_H__ */
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
unsigned int guint
Definition gtypes.h:61
PANGO_AVAILABLE_IN_1_16 PangoGravity pango_context_get_gravity(PangoContext *context)
PANGO_AVAILABLE_IN_1_44 void pango_context_set_round_glyph_positions(PangoContext *context, gboolean round_positions)
PANGO_AVAILABLE_IN_ALL PangoFontDescription * pango_context_get_font_description(PangoContext *context)
PANGO_AVAILABLE_IN_ALL void pango_context_set_font_description(PangoContext *context, const PangoFontDescription *desc)
PANGO_AVAILABLE_IN_ALL PangoLanguage * pango_context_get_language(PangoContext *context)
typedefG_BEGIN_DECLS struct _PangoContextClass PangoContextClass
PANGO_AVAILABLE_IN_1_16 void pango_context_set_gravity_hint(PangoContext *context, PangoGravityHint hint)
PANGO_AVAILABLE_IN_1_6 const PangoMatrix * pango_context_get_matrix(PangoContext *context)
PANGO_AVAILABLE_IN_1_16 void pango_context_set_base_gravity(PangoContext *context, PangoGravity gravity)
PANGO_AVAILABLE_IN_ALL void pango_context_set_base_dir(PangoContext *context, PangoDirection direction)
PANGO_AVAILABLE_IN_ALL void pango_context_set_language(PangoContext *context, PangoLanguage *language)
PANGO_AVAILABLE_IN_1_16 PangoGravity pango_context_get_base_gravity(PangoContext *context)
PANGO_AVAILABLE_IN_1_16 PangoGravityHint pango_context_get_gravity_hint(PangoContext *context)
PANGO_AVAILABLE_IN_1_6 void pango_context_set_matrix(PangoContext *context, const PangoMatrix *matrix)
PANGO_AVAILABLE_IN_ALL PangoFont * pango_context_load_font(PangoContext *context, const PangoFontDescription *desc)
PANGO_AVAILABLE_IN_ALL GType pango_context_get_type(void) G_GNUC_CONST
PANGO_AVAILABLE_IN_ALL PangoFontMetrics * pango_context_get_metrics(PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language)
PANGO_AVAILABLE_IN_ALL PangoFontset * pango_context_load_fontset(PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language)
PANGO_AVAILABLE_IN_1_32 guint pango_context_get_serial(PangoContext *context)
PANGO_AVAILABLE_IN_1_44 gboolean pango_context_get_round_glyph_positions(PangoContext *context)
PANGO_AVAILABLE_IN_ALL void pango_context_set_font_map(PangoContext *context, PangoFontMap *font_map)
PANGO_AVAILABLE_IN_1_32 void pango_context_changed(PangoContext *context)
PANGO_AVAILABLE_IN_ALL void pango_context_list_families(PangoContext *context, PangoFontFamily ***families, int *n_families)
PANGO_AVAILABLE_IN_1_6 PangoFontMap * pango_context_get_font_map(PangoContext *context)
PANGO_AVAILABLE_IN_ALL PangoContext * pango_context_new(void)
PANGO_AVAILABLE_IN_ALL PangoDirection pango_context_get_base_dir(PangoContext *context)
PangoDirection
typedefG_BEGIN_DECLS struct _PangoFontDescription PangoFontDescription
Definition pango-font.h:43
PangoGravityHint
PangoGravity
typedefG_BEGIN_DECLS struct _PangoMatrix PangoMatrix
struct _PangoLanguage PangoLanguage
Definition pango-types.h:46
struct _PangoContext PangoContext
Definition pango-types.h:44
#define PANGO_AVAILABLE_IN_1_44
#define PANGO_AVAILABLE_IN_1_16
#define PANGO_AVAILABLE_IN_1_32
#define PANGO_AVAILABLE_IN_1_6
#define PANGO_AVAILABLE_IN_ALL