summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@src.gnome.org>2006-02-02 12:24:52 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-02 12:24:52 +0000
commitb1e264aa208e43a3d98aa2f985a0eaafdb328bb8 (patch)
treee36edbf0aeb75494de3928993c34c6135fdc74dd
parent12bf8f730fe3083800ae5296ddac725b285721be (diff)
downloadpango-b1e264aa208e43a3d98aa2f985a0eaafdb328bb8.tar.gz
Rename _pango_cairo_get_hex_box_info to _pango_cairo_font_get_hex_box_info.
-rw-r--r--pango/pangocairo-font.c4
-rw-r--r--pango/pangocairo-private.h2
-rw-r--r--pango/pangocairo-render.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index 7635b2d0..7bb0206a 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -114,7 +114,7 @@ _pango_cairo_hex_box_info_destroy (PangoCairoHexBoxInfo *hbi)
}
PangoCairoHexBoxInfo *
-_pango_cairo_get_hex_box_info (PangoCairoFont *cfont)
+_pango_cairo_font_get_hex_box_info (PangoCairoFont *cfont)
{
static const char hexdigits[] = "0123456789ABCDEF";
char c[2] = {0, 0};
@@ -256,7 +256,7 @@ _pango_cairo_get_glyph_extents_missing (PangoCairoFont *cfont,
PangoCairoHexBoxInfo *hbi;
gint rows, cols;
- hbi = _pango_cairo_get_hex_box_info (cfont);
+ hbi = _pango_cairo_font_get_hex_box_info (cfont);
rows = hbi->rows;
cols = ((glyph & ~PANGO_GLYPH_UNKNOWN_FLAG) > 0xffff ? 6 : 4) / rows;
diff --git a/pango/pangocairo-private.h b/pango/pangocairo-private.h
index f4f74c51..3858786f 100644
--- a/pango/pangocairo-private.h
+++ b/pango/pangocairo-private.h
@@ -97,7 +97,7 @@ struct _PangoCairoHexBoxInfo
double box_height;
};
-PangoCairoHexBoxInfo *_pango_cairo_get_hex_box_info (PangoCairoFont *font);
+PangoCairoHexBoxInfo *_pango_cairo_font_get_hex_box_info (PangoCairoFont *font);
void _pango_cairo_get_glyph_extents_missing (PangoCairoFont *cfont,
PangoGlyph glyph,
diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c
index 0e0a2132..5a902ad8 100644
--- a/pango/pangocairo-render.c
+++ b/pango/pangocairo-render.c
@@ -77,7 +77,7 @@ _pango_cairo_renderer_draw_unknown_glyph (PangoCairoRenderer *crenderer,
cairo_save (crenderer->cr);
cairo_get_current_point (crenderer->cr, &temp_x, &temp_y);
- hbi = _pango_cairo_get_hex_box_info ((PangoCairoFont *)font);
+ hbi = _pango_cairo_font_get_hex_box_info ((PangoCairoFont *)font);
if (!hbi)
{
cairo_rectangle (crenderer->cr,