summaryrefslogtreecommitdiff
path: root/pango/pangowin32.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-28 20:02:01 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-28 20:02:01 +0000
commita42f978ef2c7ca0788ca66539a6ff3187f8a87e8 (patch)
treec03c98d1440d750809e506f0faf25705c32d2915 /pango/pangowin32.c
parent3a4d01fcb6f038d49212dad11eb481e3a94d3ca2 (diff)
downloadpango-a42f978ef2c7ca0788ca66539a6ff3187f8a87e8.tar.gz
Documentation improvements.
2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-font.h, pango/pangoft2-render.c, pango/pangowin32.c, pango/pangoxft-render.c, docs/tmpl/xft-fonts.sgml, docs/tmp/atsui-fonts.sgml: Documentation improvements.
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r--pango/pangowin32.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index beda66f6..c72d81e1 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -395,6 +395,24 @@ pango_win32_render (HDC hdc,
g_free (dX);
}
+/**
+ * pango_win32_render_transformed:
+ * @hdc: a windows device context
+ * @matrix: a #PangoMatrix, or %NULL to use an identity transformation
+ * @font: the font in which to draw the string
+ * @glyphs: the glyph string to draw
+ * @x: the x position of the start of the string (in Pango
+ * units in user space coordinates)
+ * @y: the y position of the baseline (in Pango units
+ * in user space coordinates)
+ *
+ * Renders a #PangoGlyphString onto a windows DC, possibly
+ * transforming the layed-out coordinates through a transformation
+ * matrix. Note that the transformation matrix for @font is not
+ * changed, so to produce correct rendering results, the @font
+ * must have been loaded using a #PangoContext with an identical
+ * transformation matrix to that passed in to this function.
+ **/
void
pango_win32_render_transformed (HDC hdc,
const PangoMatrix *matrix,