summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-04-30 23:45:56 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-04-30 23:45:56 +0000
commit518c403a55cdc77f1f45891cd75a4dc1cf063ff5 (patch)
treedd41e1ae81c0206eece4b1220431cd3324b920e6 /docs
parentbd7f0529df20a3268815da365944979af441cd3a (diff)
downloadpango-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
Diffstat (limited to 'docs')
-rw-r--r--docs/pango-sections.txt1
-rw-r--r--docs/tmpl/glyphs.sgml17
2 files changed, 18 insertions, 0 deletions
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 ##### -->