From 047566fd526f7936a49b630ed47c570dd70e837f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 26 Jun 2008 16:15:12 -0400 Subject: Add cairo_show_text_glyphs API New public API: cairo_text_cluster_t cairo_has_show_text_glyphs() cairo_show_text_glyphs() Add accompanying gstate and surface functions, and surface backend methods. No backends implement them just yet. --- doc/public/cairo-sections.txt | 3 +++ doc/public/tmpl/cairo-status.sgml | 1 + doc/public/tmpl/cairo-text.sgml | 31 +++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) (limited to 'doc') diff --git a/doc/public/cairo-sections.txt b/doc/public/cairo-sections.txt index c9586386..7e608827 100644 --- a/doc/public/cairo-sections.txt +++ b/doc/public/cairo-sections.txt @@ -387,6 +387,7 @@ cairo_path_extents cairo_glyph_t cairo_font_slant_t cairo_font_weight_t +cairo_text_cluster_t cairo_select_font_face cairo_set_font_size cairo_set_font_matrix @@ -399,6 +400,8 @@ cairo_set_scaled_font cairo_get_scaled_font cairo_show_text cairo_show_glyphs +cairo_has_show_text_glyphs +cairo_show_text_glyphs cairo_font_extents cairo_text_extents cairo_glyph_extents diff --git a/doc/public/tmpl/cairo-status.sgml b/doc/public/tmpl/cairo-status.sgml index f88befee..37b5898c 100644 --- a/doc/public/tmpl/cairo-status.sgml +++ b/doc/public/tmpl/cairo-status.sgml @@ -67,6 +67,7 @@ code is required before or after each individual cairo function call. @CAIRO_STATUS_USER_FONT_IMMUTABLE: @CAIRO_STATUS_USER_FONT_ERROR: @CAIRO_STATUS_NEGATIVE_COUNT: +@CAIRO_STATUS_INVALID_CLUSTERS: diff --git a/doc/public/tmpl/cairo-text.sgml b/doc/public/tmpl/cairo-text.sgml index 8de82add..925d29b9 100644 --- a/doc/public/tmpl/cairo-text.sgml +++ b/doc/public/tmpl/cairo-text.sgml @@ -70,6 +70,14 @@ Cairo has two sets of text rendering capabilities: @CAIRO_FONT_WEIGHT_NORMAL: @CAIRO_FONT_WEIGHT_BOLD: + + + + + +@num_bytes: +@num_glyphs: + @@ -181,6 +189,29 @@ Cairo has two sets of text rendering capabilities: @num_glyphs: + + + + + +@cr: + + + + + + + +@cr: +@utf8: +@utf8_len: +@glyphs: +@num_glyphs: +@clusters: +@num_clusters: +@backward: + + -- cgit v1.2.3