summaryrefslogtreecommitdiff
path: root/pango/pangoft2.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-07-10 21:41:37 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-07-10 21:41:37 +0000
commit0835f598fcfbf6667a4be9cd9e7f6f16663dcb6a (patch)
treeff38ab996514339ab0ad7b2be560b525a6537655 /pango/pangoft2.h
parent5bf0c1d04b6ed75ad2c88fbed1e1eaecf0dcbfa2 (diff)
downloadpango-0835f598fcfbf6667a4be9cd9e7f6f16663dcb6a.tar.gz
Make PangoMatrix arguments const where appropriate.
Sat Jul 10 17:33:38 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-private.h pango/pangoft2-render.c pango/pango-context.[ch] pango/pangoft2.[ch] pango/pango-utils. pango/pango-types.h pango/pangofc-fontmap.c: Make PangoMatrix arguments const where appropriate. * pango/pango-context.c pango/fonts.c pango/pangofc-font.c pangofc-fontmap.c pango/pangoft2.c pango/pangoft2-fontmap.c pango/pangoxft-font.c pango/pangoxft-fontmap.c pango/pangowin32-fontmap.c: Use G_DEFINE_TYPE comprehensively. * pango/pangoft2-private.h pangoft2.c: Un-staticify pango_ft2_font_get_type.
Diffstat (limited to 'pango/pangoft2.h')
-rw-r--r--pango/pangoft2.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/pango/pangoft2.h b/pango/pangoft2.h
index 16386c6d..ffa50cae 100644
--- a/pango/pangoft2.h
+++ b/pango/pangoft2.h
@@ -45,17 +45,18 @@ typedef void (*PangoFT2SubstituteFunc) (FcPattern *pattern,
/* Calls for applications */
-void pango_ft2_render (FT_Bitmap *bitmap,
- PangoFont *font,
- PangoGlyphString *glyphs,
- gint x,
- gint y);
-void pango_ft2_render_transformed (FT_Bitmap *bitmap,
- PangoMatrix *matrix,
- PangoFont *font,
- PangoGlyphString *glyphs,
- int x,
- int y);
+void pango_ft2_render (FT_Bitmap *bitmap,
+ PangoFont *font,
+ PangoGlyphString *glyphs,
+ gint x,
+ gint y);
+void pango_ft2_render_transformed (FT_Bitmap *bitmap,
+ const PangoMatrix *matrix,
+ PangoFont *font,
+ PangoGlyphString *glyphs,
+ int x,
+ int y);
+
void pango_ft2_render_layout_line (FT_Bitmap *bitmap,
PangoLayoutLine *line,
int x,