1 | /* Pango |
2 | * pango-context-private.h: Internal structures of PangoContext |
3 | * |
4 | * Copyright (C) 2004 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_PRIVATE_H__ |
23 | #define __PANGO_CONTEXT_PRIVATE_H__ |
24 | |
25 | #include <pango/pango-context.h> |
26 | |
27 | G_BEGIN_DECLS |
28 | |
29 | struct _PangoContext |
30 | { |
31 | GObject parent_instance; |
32 | guint serial; |
33 | guint fontmap_serial; |
34 | |
35 | PangoLanguage *set_language; |
36 | PangoLanguage *language; |
37 | PangoDirection base_dir; |
38 | PangoGravity base_gravity; |
39 | PangoGravity resolved_gravity; |
40 | PangoGravityHint gravity_hint; |
41 | |
42 | PangoFontDescription *font_desc; |
43 | |
44 | PangoMatrix *matrix; |
45 | |
46 | PangoFontMap *font_map; |
47 | |
48 | PangoFontMetrics *metrics; |
49 | |
50 | gboolean round_glyph_positions; |
51 | }; |
52 | |
53 | G_END_DECLS |
54 | |
55 | #endif /* __PANGO_CONTEXT_PRIVATE_H__ */ |
56 | |
57 | |