summaryrefslogtreecommitdiff
path: root/pango/pangoxft.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-05 17:45:32 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-05 17:45:32 +0000
commitf107a55d4d438f92de94bbfdc50e4ab5e28bd302 (patch)
tree97551b005f778c6f98c94e7a8ace805a38ced8d8 /pango/pangoxft.h
parent29a68a3b824a279f39b274af96244fb9c6665839 (diff)
downloadpango-f107a55d4d438f92de94bbfdc50e4ab5e28bd302.tar.gz
Add a function pango_xft_picture_render() to render onto an Xft picture
Mon Nov 5 12:23:07 2001 Owen Taylor <otaylor@redhat.com> * pango/pangoxft.h pango/pangoxft-font.c: Add a function pango_xft_picture_render() to render onto an Xft picture directly linstead of using the XftDraw wrapper object.
Diffstat (limited to 'pango/pangoxft.h')
-rw-r--r--pango/pangoxft.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/pango/pangoxft.h b/pango/pangoxft.h
index 3e1f16aa..f2c07edc 100644
--- a/pango/pangoxft.h
+++ b/pango/pangoxft.h
@@ -35,14 +35,21 @@ G_BEGIN_DECLS
/* Calls for applications
*/
-PangoContext * pango_xft_get_context (Display *display,
- int screen);
-void pango_xft_render (XftDraw *draw,
- XftColor *color,
- PangoFont *font,
- PangoGlyphString *glyphs,
- gint x,
- gint y);
+PangoContext *pango_xft_get_context (Display *display,
+ int screen);
+void pango_xft_render (XftDraw *draw,
+ XftColor *color,
+ PangoFont *font,
+ PangoGlyphString *glyphs,
+ gint x,
+ gint y);
+void pango_xft_picture_render (Display *display,
+ Picture src_picture,
+ Picture dest_picture,
+ PangoFont *font,
+ PangoGlyphString *glyphs,
+ gint x,
+ gint y);
#define PANGO_TYPE_XFT_FONT (pango_xft_font_get_type ())
#define PANGO_XFT_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_XFT_FONT))