File indexing completed on 2025-12-18 10:28:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef __PANGO_FONTSET_H__
0023 #define __PANGO_FONTSET_H__
0024
0025 #include <pango/pango-coverage.h>
0026 #include <pango/pango-types.h>
0027
0028 #include <glib-object.h>
0029
0030 G_BEGIN_DECLS
0031
0032
0033
0034
0035
0036 #define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
0037 #define PANGO_FONTSET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONTSET, PangoFontset))
0038 #define PANGO_IS_FONTSET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONTSET))
0039 #define PANGO_FONTSET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONTSET, PangoFontsetClass))
0040 #define PANGO_IS_FONTSET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONTSET))
0041 #define PANGO_FONTSET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONTSET, PangoFontsetClass))
0042
0043
0044 PANGO_AVAILABLE_IN_ALL
0045 GType pango_fontset_get_type (void) G_GNUC_CONST;
0046
0047 typedef struct _PangoFontset PangoFontset;
0048 typedef struct _PangoFontsetClass PangoFontsetClass;
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064 typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset,
0065 PangoFont *font,
0066 gpointer user_data);
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078 struct _PangoFontset
0079 {
0080 GObject parent_instance;
0081 };
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097 struct _PangoFontsetClass
0098 {
0099 GObjectClass parent_class;
0100
0101
0102
0103 PangoFont * (*get_font) (PangoFontset *fontset,
0104 guint wc);
0105
0106 PangoFontMetrics *(*get_metrics) (PangoFontset *fontset);
0107 PangoLanguage * (*get_language) (PangoFontset *fontset);
0108 void (*foreach) (PangoFontset *fontset,
0109 PangoFontsetForeachFunc func,
0110 gpointer data);
0111
0112
0113
0114
0115 void (*_pango_reserved1) (void);
0116 void (*_pango_reserved2) (void);
0117 void (*_pango_reserved3) (void);
0118 void (*_pango_reserved4) (void);
0119 };
0120
0121 PANGO_AVAILABLE_IN_ALL
0122 PangoFont * pango_fontset_get_font (PangoFontset *fontset,
0123 guint wc);
0124 PANGO_AVAILABLE_IN_ALL
0125 PangoFontMetrics * pango_fontset_get_metrics (PangoFontset *fontset);
0126 PANGO_AVAILABLE_IN_1_4
0127 void pango_fontset_foreach (PangoFontset *fontset,
0128 PangoFontsetForeachFunc func,
0129 gpointer data);
0130
0131
0132 G_END_DECLS
0133
0134 #endif