summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-08-16 07:23:08 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-08-16 07:23:08 +0000
commitbb26941a468b994331286a55d41447cc2ef9326f (patch)
tree7e38be8a1800f49aeed0e0b54e8e74524124a46c /pango/pango-context.c
parent292545e94970319545d1a2d8a5ebb700ade67565 (diff)
downloadpango-bb26941a468b994331286a55d41447cc2ef9326f.tar.gz
Render block progression and line direction arrows, and a base gravity
2006-08-16 Behdad Esfahbod <behdad@gnome.org> * examples/viewer-pangocairo.c (render_callback): Render block progression and line direction arrows, and a base gravity roof-top. * pango/pango-matrix.c (pango_matrix_to_gravity): New function. * pango/pango-utils.c (pango_gravity_to_rotation): New function. * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Use pango_gravity_to_rotation(). * pango/pango-utils.h: * pango/pango-types.h: Reorder a bit. * examples/Makefile.am: * examples/test-chinese.txt: New test text for Chinese. * pango/check.defs: New script that checks that all the exported symbols are listed in the respective .def file. (only checks the libraries actually built. No win32 for example.) * pango/Makefile.am: Hook check.defs as a 'make check' test. * pango/pango.def: * pango/pangoft2.def: * pango/pangocairo.def: Update. * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: * docs/pango-sections.txt: Update.
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 31953c71..48c6980b 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -413,6 +413,8 @@ pango_context_get_base_dir (PangoContext *context)
* Sets the base gravity for the context.
*
* The base gravity is used in laying vertical text out.
+ *
+ * Since: 1.16
**/
void
pango_context_set_base_gravity (PangoContext *context,
@@ -431,6 +433,8 @@ pango_context_set_base_gravity (PangoContext *context,
* pango_context_set_base_gravity().
*
* Return value: the base gravity for the context.
+ *
+ * Since: 1.16
**/
PangoGravity
pango_context_get_base_gravity (PangoContext *context)