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 kernel gobject-introspection
5 gobject-introspection.standard-types system vocabs ;
16 { [ os windows? ] [ "libpango-1.0-0.dll" cdecl add-library ] }
17 { [ os unix? ] [ drop ] }
21 IMPLEMENT-STRUCTS: PangoRectangle ;
23 GIR: vocab:pango/Pango-1.0.gir
25 DESTRUCTOR: pango_font_description_free
26 DESTRUCTOR: pango_layout_iter_free
30 FORGET: pango_layout_line_index_to_x
32 pango_layout_line_index_to_x ( PangoLayoutLine* line, gint index_, gboolean trailing, gint* x_pos ) ;
34 FORGET: pango_layout_line_x_to_index
36 pango_layout_line_x_to_index ( PangoLayoutLine* line, gint x_pos, gint* index_, gint* trailing ) ;