File indexing completed on 2024-11-15 09:49:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef __PANGO_DECODER_H_
0023 #define __PANGO_DECODER_H_
0024
0025 #include <pango/pangofc-font.h>
0026
0027 G_BEGIN_DECLS
0028
0029 #ifdef __GI_SCANNER__
0030 #define PANGO_FC_TYPE_DECODER (pango_fc_decoder_get_type())
0031 #define PANGO_FC_DECODER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_FC_TYPE_DECODER, PangoFcDecoder))
0032 #define PANGO_FC_IS_DECODER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_FC_TYPE_DECODER))
0033 #define PANGO_FC_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_FC_TYPE_DECODER, PangoFcDecoderClass))
0034 #define PANGO_FC_IS_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_FC_TYPE_DECODER))
0035 #define PANGO_FC_DECODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_FC_TYPE_DECODER, PangoFcDecoderClass))
0036 #else
0037 #define PANGO_TYPE_FC_DECODER (pango_fc_decoder_get_type())
0038 #define PANGO_FC_DECODER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_DECODER, PangoFcDecoder))
0039 #define PANGO_IS_FC_DECODER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FC_DECODER))
0040 #define PANGO_FC_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FC_DECODER, PangoFcDecoderClass))
0041 #define PANGO_IS_FC_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FC_DECODER))
0042 #define PANGO_FC_DECODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FC_DECODER, PangoFcDecoderClass))
0043 #endif
0044
0045 typedef struct _PangoFcDecoder PangoFcDecoder;
0046 typedef struct _PangoFcDecoderClass PangoFcDecoderClass;
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064 struct _PangoFcDecoder
0065 {
0066
0067 GObject parent_instance;
0068 };
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085 struct _PangoFcDecoderClass
0086 {
0087
0088 GObjectClass parent_class;
0089
0090
0091
0092 FcCharSet *(*get_charset) (PangoFcDecoder *decoder,
0093 PangoFcFont *fcfont);
0094 PangoGlyph (*get_glyph) (PangoFcDecoder *decoder,
0095 PangoFcFont *fcfont,
0096 guint32 wc);
0097
0098
0099
0100
0101 void (*_pango_reserved1) (void);
0102 void (*_pango_reserved2) (void);
0103 void (*_pango_reserved3) (void);
0104 void (*_pango_reserved4) (void);
0105 };
0106
0107 PANGO_AVAILABLE_IN_1_6
0108 GType pango_fc_decoder_get_type (void) G_GNUC_CONST;
0109
0110 PANGO_AVAILABLE_IN_1_6
0111 FcCharSet *pango_fc_decoder_get_charset (PangoFcDecoder *decoder,
0112 PangoFcFont *fcfont);
0113
0114 PANGO_AVAILABLE_IN_1_6
0115 PangoGlyph pango_fc_decoder_get_glyph (PangoFcDecoder *decoder,
0116 PangoFcFont *fcfont,
0117 guint32 wc);
0118
0119 G_END_DECLS
0120
0121 #endif
0122