2010-09-29 05:08:31 -04:00
|
|
|
! Copyright (C) 2010 Anton Gorenko.
|
2010-05-26 14:17:14 -04:00
|
|
|
! See http://factorcode.org/license.txt for BSD license.
|
|
|
|
USING: alien alien.c-types alien.destructors alien.libraries
|
2014-11-13 16:05:14 -05:00
|
|
|
alien.syntax combinators gobject-introspection
|
2011-11-02 14:23:41 -04:00
|
|
|
gobject-introspection.standard-types system vocabs ;
|
2010-05-26 14:17:14 -04:00
|
|
|
IN: pango.ffi
|
|
|
|
|
2014-11-13 16:05:14 -05:00
|
|
|
<< "gobject.ffi" require >>
|
2010-09-29 05:08:31 -04:00
|
|
|
|
|
|
|
LIBRARY: pango
|
|
|
|
|
2014-11-13 16:05:14 -05:00
|
|
|
<< "pango" {
|
|
|
|
{ [ os windows? ] [ "libpango-1.0-0.dll" ] }
|
|
|
|
{ [ os macosx? ] [ "libpango-1.0.dylib" ] }
|
|
|
|
{ [ os unix? ] [ "libpango-1.0.so" ] }
|
|
|
|
} cond cdecl add-library >>
|
2010-05-26 14:17:14 -04:00
|
|
|
|
|
|
|
IMPLEMENT-STRUCTS: PangoRectangle ;
|
|
|
|
|
|
|
|
GIR: vocab:pango/Pango-1.0.gir
|
|
|
|
|
|
|
|
DESTRUCTOR: pango_font_description_free
|
|
|
|
DESTRUCTOR: pango_layout_iter_free
|
|
|
|
|
2010-09-29 05:08:31 -04:00
|
|
|
! <workaround
|
|
|
|
|
|
|
|
FORGET: pango_layout_line_index_to_x
|
|
|
|
FUNCTION: void
|
2015-07-19 19:25:30 -04:00
|
|
|
pango_layout_line_index_to_x ( PangoLayoutLine* line, gint index_, gboolean trailing, gint* x_pos )
|
2010-09-29 05:08:31 -04:00
|
|
|
|
|
|
|
FORGET: pango_layout_line_x_to_index
|
|
|
|
FUNCTION: gboolean
|
2015-07-19 19:25:30 -04:00
|
|
|
pango_layout_line_x_to_index ( PangoLayoutLine* line, gint x_pos, gint* index_, gint* trailing )
|
2010-09-29 05:08:31 -04:00
|
|
|
|
|
|
|
! workaround>
|