diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-06 23:44:26 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-06-29 17:32:00 +0800 |
commit | ce097c062ea079bf7888d2b2f1f7b17d34f976b6 (patch) | |
tree | 7727f8b7d82acd0c4e2f09ef911bbb4bc8805a11 /pango/pangofc-fontmap.h | |
parent | 57964efb280369db2731bfc070f3e73c9a860d18 (diff) | |
download | pango-ce097c062ea079bf7888d2b2f1f7b17d34f976b6.tar.gz |
Decorate the symbols in the headers with version macros
From the last commit, decorate all the symbols with the version
macros. Also add the version macros in the docs.
https://bugzilla.gnome.org/show_bug.cgi?id=767587
Diffstat (limited to 'pango/pangofc-fontmap.h')
-rw-r--r-- | pango/pangofc-fontmap.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h index ac3bbf78..4dab0839 100644 --- a/pango/pangofc-fontmap.h +++ b/pango/pangofc-fontmap.h @@ -42,11 +42,17 @@ G_BEGIN_DECLS **/ typedef struct _PangoFcFontsetKey PangoFcFontsetKey; +PANGO_AVAILABLE_IN_1_24 PangoLanguage *pango_fc_fontset_key_get_language (const PangoFcFontsetKey *key); +PANGO_AVAILABLE_IN_1_24 const PangoFontDescription *pango_fc_fontset_key_get_description (const PangoFcFontsetKey *key); +PANGO_AVAILABLE_IN_1_24 const PangoMatrix *pango_fc_fontset_key_get_matrix (const PangoFcFontsetKey *key); +PANGO_AVAILABLE_IN_1_24 double pango_fc_fontset_key_get_absolute_size (const PangoFcFontsetKey *key); +PANGO_AVAILABLE_IN_1_24 double pango_fc_fontset_key_get_resolution (const PangoFcFontsetKey *key); +PANGO_AVAILABLE_IN_1_24 gpointer pango_fc_fontset_key_get_context_key (const PangoFcFontsetKey *key); /** @@ -59,8 +65,11 @@ gpointer pango_fc_fontset_key_get_context_key (const PangoF **/ typedef struct _PangoFcFontKey PangoFcFontKey; +PANGO_AVAILABLE_IN_1_24 const FcPattern *pango_fc_font_key_get_pattern (const PangoFcFontKey *key); +PANGO_AVAILABLE_IN_1_24 const PangoMatrix *pango_fc_font_key_get_matrix (const PangoFcFontKey *key); +PANGO_AVAILABLE_IN_1_24 gpointer pango_fc_font_key_get_context_key (const PangoFcFontKey *key); #endif @@ -170,8 +179,8 @@ struct _PangoFcFontMapClass gboolean (*context_key_equal) (PangoFcFontMap *fcfontmap, gconstpointer key_a, gconstpointer key_b); - void (*fontset_key_substitute)(PangoFcFontMap *fontmap, + PangoFcFontsetKey *fontsetkey, FcPattern *pattern); PangoFcFont *(*create_font) (PangoFcFontMap *fontmap, @@ -186,23 +195,29 @@ struct _PangoFcFontMapClass }; #ifndef PANGO_DISABLE_DEPRECATED -G_DEPRECATED_FOR(pango_font_map_create_context) +PANGO_DEPRECATED_IN_1_22_FOR(pango_font_map_create_context) PangoContext * pango_fc_font_map_create_context (PangoFcFontMap *fcfontmap); #endif +PANGO_AVAILABLE_IN_1_4 void pango_fc_font_map_shutdown (PangoFcFontMap *fcfontmap); #endif +PANGO_AVAILABLE_IN_ALL GType pango_fc_font_map_get_type (void) G_GNUC_CONST; +PANGO_AVAILABLE_IN_1_4 void pango_fc_font_map_cache_clear (PangoFcFontMap *fcfontmap); +PANGO_AVAILABLE_IN_1_38 void pango_fc_font_map_config_changed (PangoFcFontMap *fcfontmap); +PANGO_AVAILABLE_IN_1_38 void pango_fc_font_map_set_config (PangoFcFontMap *fcfontmap, FcConfig *fcconfig); +PANGO_AVAILABLE_IN_1_38 FcConfig * pango_fc_font_map_get_config (PangoFcFontMap *fcfontmap); @@ -219,13 +234,16 @@ pango_fc_font_map_get_config (PangoFcFontMap *fcfontmap); typedef PangoFcDecoder * (*PangoFcDecoderFindFunc) (FcPattern *pattern, gpointer user_data); +PANGO_AVAILABLE_IN_1_6 void pango_fc_font_map_add_decoder_find_func (PangoFcFontMap *fcfontmap, PangoFcDecoderFindFunc findfunc, gpointer user_data, GDestroyNotify dnotify); +PANGO_AVAILABLE_IN_1_26 PangoFcDecoder *pango_fc_font_map_find_decoder (PangoFcFontMap *fcfontmap, FcPattern *pattern); +PANGO_AVAILABLE_IN_1_4 PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern, gboolean include_size); |