[RFC] bind pango_layout_get_baseline()



the following patch binds pango_layout_get_baseline() which was
introduced in pango-1.22:
diff -ru Gtk2-1.200/xs/PangoLayout.xs Gtk2-1.200a/xs/PangoLayout.xs
--- Gtk2-1.200/xs/PangoLayout.xs        2008-08-23 22:13:18.000000000 +0200
+++ Gtk2-1.200a/xs/PangoLayout.xs       2008-09-29 01:12:08.000000000 +0200
@@ -222,6 +222,14 @@
        PangoLayout *layout
        PangoFontDescription_ornull *desc
 
+#if PANGO_CHECK_VERSION (1, 22, 0)
+##  int pango_layout_get_baseline (PangoLayout*layout) 
+int
+pango_layout_get_baseline (layout)
+       PangoLayout *layout
+
+#endif
+
 #if PANGO_CHECK_VERSION (1, 8, 0)
 
 const PangoFontDescription_ornull * pango_layout_get_font_description (PangoLayout *layout);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]