diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-01-28 20:02:01 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-28 20:02:01 +0000 |
commit | a42f978ef2c7ca0788ca66539a6ff3187f8a87e8 (patch) | |
tree | c03c98d1440d750809e506f0faf25705c32d2915 /pango | |
parent | 3a4d01fcb6f038d49212dad11eb481e3a94d3ca2 (diff) | |
download | pango-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')
-rw-r--r-- | pango/pangofc-font.h | 2 | ||||
-rw-r--r-- | pango/pangoft2-render.c | 2 | ||||
-rw-r--r-- | pango/pangowin32.c | 18 | ||||
-rw-r--r-- | pango/pangoxft-render.c | 2 |
4 files changed, 21 insertions, 3 deletions
diff --git a/pango/pangofc-font.h b/pango/pangofc-font.h index afc5e96b..198fb7c6 100644 --- a/pango/pangofc-font.h +++ b/pango/pangofc-font.h @@ -58,7 +58,7 @@ typedef struct _PangoFcFontClass PangoFcFontClass; /** * PangoFcFont: * - * #PangoFcFontMap is a base class for font implementations + * #PangoFcFont is a base class for font implementations * using the FontConfig and FreeType libraries and is used in * conjunction with #PangoFcFontMap. When deriving from this * class, you need to implement all of its virtual functions diff --git a/pango/pangoft2-render.c b/pango/pangoft2-render.c index 2f40bd97..c7713f69 100644 --- a/pango/pangoft2-render.c +++ b/pango/pangoft2-render.c @@ -555,7 +555,7 @@ pango_ft2_render_layout_line (FT_Bitmap *bitmap, * pango_ft2_render_transformed: * @bitmap: the FreeType2 bitmap onto which to draw the string * @font: the font in which to draw the string - * @matrix: a #PangoMatrix, or %NULL to use an identity transformation + * @matrix: a #PangoMatrix, or %NULL to use an identity transformation * @glyphs: the glyph string to draw * @x: the x position of the start of the string (in Pango * units in user space coordinates) 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, diff --git a/pango/pangoxft-render.c b/pango/pangoxft-render.c index b58212ce..ea6c99ff 100644 --- a/pango/pangoxft-render.c +++ b/pango/pangoxft-render.c @@ -676,7 +676,7 @@ pango_xft_render_layout_line (XftDraw *draw, * @draw: an #XftDraw * @color: the color in which to draw the glyphs * @font: the font in which to draw the string - * @matrix: a #PangoMatrix, or %NULL to use an identity transformation + * @matrix: a #PangoMatrix, or %NULL to use an identity transformation * @glyphs: the glyph string to draw * @x: the x position of the start of the string (in Pango * units in user space coordinates) |