summaryrefslogtreecommitdiff
path: root/pango/pangoxft-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2001-10-14 22:35:58 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2001-10-14 22:35:58 +0000
commit94d72e79a212ac3c1aff578bb12b3370f7e7bd25 (patch)
tree5436db997cfd5adfe143177af18275df887bc1b1 /pango/pangoxft-fontmap.c
parentcc6bc91fcf81c35dd870eaa4fa72f9ef79457713 (diff)
downloadpango-94d72e79a212ac3c1aff578bb12b3370f7e7bd25.tar.gz
Documentation updates.
* pango/pangox.c, pango/pangoxft-font.c, pango/pangoxft-fontmap.c, docs/pango-sections.txt, docs/tmpl/fonts.sgml: Documentation updates.
Diffstat (limited to 'pango/pangoxft-fontmap.c')
-rw-r--r--pango/pangoxft-fontmap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/pango/pangoxft-fontmap.c b/pango/pangoxft-fontmap.c
index a63f969a..8202432c 100644
--- a/pango/pangoxft-fontmap.c
+++ b/pango/pangoxft-fontmap.c
@@ -182,6 +182,16 @@ pango_xft_get_font_map (Display *display,
return PANGO_FONT_MAP (xfontmap);
}
+/**
+ * pango_xft_get_context:
+ * @display: an X display.
+ * @screen: an X screen.
+ *
+ * Retrieves a #PangoContext appropriate for rendering with
+ * Xft fonts on the given screen of the given display.
+ *
+ * Return value: the new #PangoContext.
+ **/
PangoContext *
pango_xft_get_context (Display *display,
int screen)