diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-04-30 23:45:56 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-04-30 23:45:56 +0000 |
commit | 518c403a55cdc77f1f45891cd75a4dc1cf063ff5 (patch) | |
tree | dd41e1ae81c0206eece4b1220431cd3324b920e6 | |
parent | bd7f0529df20a3268815da365944979af441cd3a (diff) | |
download | pango-518c403a55cdc77f1f45891cd75a4dc1cf063ff5.tar.gz |
Add PANGO_UNITS_ROUND to docs.
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
Add PANGO_UNITS_ROUND to docs.
svn path=/trunk/; revision=2239
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | docs/pango-sections.txt | 1 | ||||
-rw-r--r-- | docs/tmpl/glyphs.sgml | 17 |
3 files changed, 24 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2007-04-30 Behdad Esfahbod <behdad@gnome.org> + * docs/pango-sections.txt: + * docs/tmpl/glyphs.sgml: + Add PANGO_UNITS_ROUND to docs. + +2007-04-30 Behdad Esfahbod <behdad@gnome.org> + * pango/pango-types.h: Move PANGO_UNITS_ROUND here... * pango/pangofc-private.h: ...from here. diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index dd7087e5..c1ed48e2 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -73,6 +73,7 @@ PANGO_SCALE PANGO_PIXELS PANGO_PIXELS_FLOOR PANGO_PIXELS_CEIL +PANGO_UNITS_ROUND pango_units_to_double pango_units_from_double PangoRectangle diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index 7b0f2dab..2191d7a7 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -41,6 +41,7 @@ Converts a dimension to device units by rounding. </para> @d: a dimension in Pango units. +@Returns: rounded dimension in device units. <!-- ##### MACRO PANGO_PIXELS_FLOOR ##### --> @@ -49,6 +50,8 @@ Converts a dimension to device units by flooring. </para> @d: a dimension in Pango units. +@Returns: floored dimension in device units. +@Since: 1.14 <!-- ##### MACRO PANGO_PIXELS_CEIL ##### --> @@ -57,6 +60,20 @@ Converts a dimension to device units by ceiling. </para> @d: a dimension in Pango units. +@Returns: ceiled dimension in device units. +@Since: 1.14 + + +<!-- ##### MACRO PANGO_UNITS_ROUND ##### --> +<para> +Rounds a dimension to whole device units, but does not +convert it to device units. + +</para> + +@d: a dimension in Pango units. +@Returns: rounded dimension in Pango units. +@Since: 1.18 <!-- ##### FUNCTION pango_units_to_double ##### --> |