From f2bcf72296b57c8cd7d5a08228c3aef6c8f97d2d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 23 Nov 2005 17:54:55 +0000 Subject: [PATCH] Added "Since:" tags to all interfaces added after Pango 1.0. (#319116, 2005-11-23 Behdad Esfahbod * pango/fonts.c pango/pango-attributes.c pango/pango-context.c pango/pango-glyph-item.c pango/pango-layout.c pango/pango-script.c pango/pango-utils.c pango/pangofc-font.c pango/pangoft2-fontmap.c pango/opentype/pango-ot-buffer.c pango/opentype/pango-ot-ruleset.c: Added "Since:" tags to all interfaces added after Pango 1.0. (#319116, Brian Cameron) --- src/pango-ot-buffer.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ src/pango-ot-ruleset.c | 14 ++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/src/pango-ot-buffer.c b/src/pango-ot-buffer.c index c69abb0..db3e0ba 100644 --- a/src/pango-ot-buffer.c +++ b/src/pango-ot-buffer.c @@ -24,6 +24,12 @@ #define PANGO_SCALE_26_6 (PANGO_SCALE / (1<<6)) #define PANGO_UNITS_26_6(d) (PANGO_SCALE_26_6 * (d)) +/** + * pango_ot_buffer_new + * @font: a #PangoFcFont + * + * Since: 1.4 + **/ PangoOTBuffer * pango_ot_buffer_new (PangoFcFont *font) { @@ -49,6 +55,12 @@ pango_ot_buffer_new (PangoFcFont *font) return buffer; } +/** + * pango_ot_buffer_destroy + * @buffer: a #PangoOTBuffer + * + * Since: 1.4 + **/ void pango_ot_buffer_destroy (PangoOTBuffer *buffer) { @@ -57,6 +69,12 @@ pango_ot_buffer_destroy (PangoOTBuffer *buffer) g_free (buffer); } +/** + * pango_ot_buffer_clear + * @buffer: a #PangoOTBuffer + * + * Since: 1.4 + **/ void pango_ot_buffer_clear (PangoOTBuffer *buffer) { @@ -64,6 +82,15 @@ pango_ot_buffer_clear (PangoOTBuffer *buffer) buffer->applied_gpos = FALSE; } +/** + * pango_ot_buffer_add_glyph + * @buffer: a #PangoOTBuffer + * @glyph_index: + * @properties: + * @cluster: + * + * Since: 1.4 + **/ void pango_ot_buffer_add_glyph (PangoOTBuffer *buffer, guint glyph_index, @@ -75,6 +102,13 @@ pango_ot_buffer_add_glyph (PangoOTBuffer *buffer, } +/** + * pango_ot_buffer_set_rtl + * @buffer: a #PangoOTBuffer + * @rtl: %TRUE for right-to-left + * + * Since: 1.4 + **/ void pango_ot_buffer_set_rtl (PangoOTBuffer *buffer, gboolean rtl) @@ -102,6 +136,14 @@ pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer, buffer->zero_width_marks = zero_width_marks != FALSE; } +/** + * pango_ot_buffer_get_glyphs + * @buffer: a #PangoOTBuffer + * @glyph: + * @n_glyphs: + * + * Since: 1.4 + **/ void pango_ot_buffer_get_glyphs (PangoOTBuffer *buffer, PangoOTGlyph **glyphs, @@ -204,6 +246,13 @@ apply_gpos_rtl (PangoGlyphString *glyphs, } } +/** + * pango_ot_buffer_output + * @buffer: a #PangoOTBuffer + * @glyphs: a #PangoGlyphString + * + * Since: 1.4 + **/ void pango_ot_buffer_output (PangoOTBuffer *buffer, PangoGlyphString *glyphs) diff --git a/src/pango-ot-ruleset.c b/src/pango-ot-ruleset.c index 1049c53..2312658 100644 --- a/src/pango-ot-ruleset.c +++ b/src/pango-ot-ruleset.c @@ -137,6 +137,13 @@ pango_ot_ruleset_add_feature (PangoOTRuleset *ruleset, g_array_append_val (ruleset->rules, tmp_rule); } +/** + * pango_ot_ruleset_substitute: + * @ruleset: a #PangoOTRuleset. + * @buffer: a #PangoOTBuffer. + * + * Since: 1.4 + **/ void pango_ot_ruleset_substitute (PangoOTRuleset *ruleset, PangoOTBuffer *buffer) @@ -170,6 +177,13 @@ pango_ot_ruleset_substitute (PangoOTRuleset *ruleset, TT_GSUB_Apply_String (gsub, buffer->buffer); } +/** + * pango_ot_ruleset_position: + * @ruleset: a #PangoOTRuleset. + * @buffer: a #PangoOTBuffer. + * + * Since: 1.4 + **/ void pango_ot_ruleset_position (PangoOTRuleset *ruleset, PangoOTBuffer *buffer) -- 2.7.4