1 ! Copyright (C) 2010 Anton Gorenko.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien alien.c-types alien.destructors alien.libraries
4 alien.syntax combinators gobject-introspection
5 gobject-introspection.standard-types system vocabs ;
8 << "gobject.ffi" require >>
12 LIBRARY-UNIX: pango cdecl "libpango-1.0.so"
13 LIBRARY-MACOSX: pango cdecl "libpango-1.0.dylib"
14 LIBRARY-WINDOWS: pango cdecl "libpango-1.0-0.dll"
16 IMPLEMENT-STRUCTS: PangoRectangle ;
18 GIR: vocab:pango/Pango-1.0.gir
20 DESTRUCTOR: pango_font_description_free
21 DESTRUCTOR: pango_layout_iter_free
25 FORGET: pango_layout_line_index_to_x
27 pango_layout_line_index_to_x ( PangoLayoutLine* line, gint index_, gboolean trailing, gint* x_pos )
29 FORGET: pango_layout_line_x_to_index
31 pango_layout_line_x_to_index ( PangoLayoutLine* line, gint x_pos, gint* index_, gint* trailing )