Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7ff836a4a6
Fetching contributors…

Cannot retrieve contributors at this time

4044 lines (3510 sloc) 152.606 kb
! Automatically generated by cfwrapper.py on Sun Aug 19 15:38:39 2012
! Please do not modify.
! This file is part of the gtk-fortran GTK+ Fortran Interface library.
! GNU General Public License version 3
module pango
implicit none
interface
! PangoCoverage * pango_coverage_new (void);
function pango_coverage_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_coverage_new
end function
! PangoCoverage * pango_coverage_ref (PangoCoverage *coverage);
function pango_coverage_ref(coverage) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_coverage_ref
type(c_ptr), value :: coverage
end function
! void pango_coverage_unref (PangoCoverage *coverage);
subroutine pango_coverage_unref(coverage) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: coverage
end subroutine
! PangoCoverage * pango_coverage_copy (PangoCoverage *coverage);
function pango_coverage_copy(coverage) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_coverage_copy
type(c_ptr), value :: coverage
end function
! PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage, int index_);
function pango_coverage_get(coverage, index_) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_coverage_get
type(c_ptr), value :: coverage
integer(c_int), value :: index_
end function
! void pango_coverage_set (PangoCoverage *coverage, int index_, PangoCoverageLevel level);
subroutine pango_coverage_set(coverage, index_, level) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: coverage
integer(c_int), value :: index_
integer(c_int), value :: level
end subroutine
! void pango_coverage_max (PangoCoverage *coverage, PangoCoverage *other);
subroutine pango_coverage_max(coverage, other) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: coverage
type(c_ptr), value :: other
end subroutine
! void pango_coverage_to_bytes (PangoCoverage *coverage, guchar **bytes, int *n_bytes);
subroutine pango_coverage_to_bytes(coverage, bytes, n_bytes) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: coverage
type(c_ptr), dimension(*) :: bytes
type(c_ptr), value :: n_bytes
end subroutine
! PangoCoverage *pango_coverage_from_bytes (guchar *bytes, int n_bytes);
function pango_coverage_from_bytes(bytes, n_bytes) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr) :: pango_coverage_from_bytes
character(kind=c_char), dimension(*) :: bytes
integer(c_int), value :: n_bytes
end function
! PangoFontMap *pango_xft_get_font_map (Display *display, int screen);
function pango_xft_get_font_map(display, screen) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_xft_get_font_map
type(c_ptr), value :: display
integer(c_int), value :: screen
end function
! PangoContext *pango_xft_get_context (Display *display, int screen);
function pango_xft_get_context(display, screen) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_xft_get_context
type(c_ptr), value :: display
integer(c_int), value :: screen
end function
! void pango_xft_shutdown_display (Display *display, int screen);
subroutine pango_xft_shutdown_display(display, screen) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: display
integer(c_int), value :: screen
end subroutine
! void pango_xft_set_default_substitute (Display *display, int screen, PangoXftSubstituteFunc func, gpointer data, GDestroyNotify notify);
subroutine pango_xft_set_default_substitute(display, screen, func, data, notify&
&) bind(c)
use iso_c_binding, only: c_ptr, c_int, c_funptr
type(c_ptr), value :: display
integer(c_int), value :: screen
type(c_funptr), value :: func
type(c_ptr), value :: data
type(c_funptr), value :: notify
end subroutine
! void pango_xft_substitute_changed (Display *display, int screen);
subroutine pango_xft_substitute_changed(display, screen) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: display
integer(c_int), value :: screen
end subroutine
! GType pango_xft_font_map_get_type (void) G_GNUC_CONST;
function pango_xft_font_map_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_xft_font_map_get_type
end function
! GType pango_xft_font_get_type (void) G_GNUC_CONST;
function pango_xft_font_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_xft_font_get_type
end function
! XftFont * pango_xft_font_get_font (PangoFont *font);
function pango_xft_font_get_font(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_xft_font_get_font
type(c_ptr), value :: font
end function
! Display * pango_xft_font_get_display (PangoFont *font);
function pango_xft_font_get_display(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_xft_font_get_display
type(c_ptr), value :: font
end function
! GType pango_color_get_type (void) G_GNUC_CONST;
function pango_color_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_color_get_type
end function
! PangoColor *pango_color_copy (const PangoColor *src);
function pango_color_copy(src) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_color_copy
type(c_ptr), value :: src
end function
! void pango_color_free (PangoColor *color);
subroutine pango_color_free(color) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: color
end subroutine
! gboolean pango_color_parse (PangoColor *color, const char *spec);
function pango_color_parse(color, spec) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_char
integer(c_int) :: pango_color_parse
type(c_ptr), value :: color
character(kind=c_char), dimension(*) :: spec
end function
! gchar *pango_color_to_string(const PangoColor *color);
function pango_color_to_string(color) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_color_to_string
type(c_ptr), value :: color
end function
! PangoAttrType pango_attr_type_register (const gchar *name);
function pango_attr_type_register(name) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_attr_type_register
character(kind=c_char), dimension(*) :: name
end function
! const char * pango_attr_type_get_name (PangoAttrType type) G_GNUC_CONST;
function pango_attr_type_get_name(type) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_type_get_name
integer(c_int), value :: type
end function
! void pango_attribute_init (PangoAttribute *attr, const PangoAttrClass *klass);
subroutine pango_attribute_init(attr, klass) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: attr
type(c_ptr), value :: klass
end subroutine
! PangoAttribute * pango_attribute_copy (const PangoAttribute *attr);
function pango_attribute_copy(attr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attribute_copy
type(c_ptr), value :: attr
end function
! void pango_attribute_destroy (PangoAttribute *attr);
subroutine pango_attribute_destroy(attr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: attr
end subroutine
! gboolean pango_attribute_equal (const PangoAttribute *attr1, const PangoAttribute *attr2) G_GNUC_PURE;
function pango_attribute_equal(attr1, attr2) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_attribute_equal
type(c_ptr), value :: attr1
type(c_ptr), value :: attr2
end function
! PangoAttribute *pango_attr_language_new (PangoLanguage *language);
function pango_attr_language_new(language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_language_new
type(c_ptr), value :: language
end function
! PangoAttribute *pango_attr_family_new (const char *family);
function pango_attr_family_new(family) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_attr_family_new
character(kind=c_char), dimension(*) :: family
end function
! PangoAttribute *pango_attr_foreground_new (guint16 red, guint16 green, guint16 blue);
function pango_attr_foreground_new(red, green, blue) bind(c)
use iso_c_binding, only: c_ptr, c_int16_t
type(c_ptr) :: pango_attr_foreground_new
integer(c_int16_t), value :: red
integer(c_int16_t), value :: green
integer(c_int16_t), value :: blue
end function
! PangoAttribute *pango_attr_background_new (guint16 red, guint16 green, guint16 blue);
function pango_attr_background_new(red, green, blue) bind(c)
use iso_c_binding, only: c_ptr, c_int16_t
type(c_ptr) :: pango_attr_background_new
integer(c_int16_t), value :: red
integer(c_int16_t), value :: green
integer(c_int16_t), value :: blue
end function
! PangoAttribute *pango_attr_size_new (int size);
function pango_attr_size_new(size) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_size_new
integer(c_int), value :: size
end function
! PangoAttribute *pango_attr_size_new_absolute (int size);
function pango_attr_size_new_absolute(size) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_size_new_absolute
integer(c_int), value :: size
end function
! PangoAttribute *pango_attr_style_new (PangoStyle style);
function pango_attr_style_new(style) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_style_new
integer(c_int), value :: style
end function
! PangoAttribute *pango_attr_weight_new (PangoWeight weight);
function pango_attr_weight_new(weight) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_weight_new
integer(c_int), value :: weight
end function
! PangoAttribute *pango_attr_variant_new (PangoVariant variant);
function pango_attr_variant_new(variant) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_variant_new
integer(c_int), value :: variant
end function
! PangoAttribute *pango_attr_stretch_new (PangoStretch stretch);
function pango_attr_stretch_new(stretch) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_stretch_new
integer(c_int), value :: stretch
end function
! PangoAttribute *pango_attr_font_desc_new (const PangoFontDescription *desc);
function pango_attr_font_desc_new(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_font_desc_new
type(c_ptr), value :: desc
end function
! PangoAttribute *pango_attr_underline_new (PangoUnderline underline);
function pango_attr_underline_new(underline) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_underline_new
integer(c_int), value :: underline
end function
! PangoAttribute *pango_attr_underline_color_new (guint16 red, guint16 green, guint16 blue);
function pango_attr_underline_color_new(red, green, blue) bind(c)
use iso_c_binding, only: c_ptr, c_int16_t
type(c_ptr) :: pango_attr_underline_color_new
integer(c_int16_t), value :: red
integer(c_int16_t), value :: green
integer(c_int16_t), value :: blue
end function
! PangoAttribute *pango_attr_strikethrough_new (gboolean strikethrough);
function pango_attr_strikethrough_new(strikethrough) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_strikethrough_new
integer(c_int), value :: strikethrough
end function
! PangoAttribute *pango_attr_strikethrough_color_new (guint16 red, guint16 green, guint16 blue);
function pango_attr_strikethrough_color_new(red, green, blue) bind(c)
use iso_c_binding, only: c_ptr, c_int16_t
type(c_ptr) :: pango_attr_strikethrough_color_new
integer(c_int16_t), value :: red
integer(c_int16_t), value :: green
integer(c_int16_t), value :: blue
end function
! PangoAttribute *pango_attr_rise_new (int rise);
function pango_attr_rise_new(rise) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_rise_new
integer(c_int), value :: rise
end function
! PangoAttribute *pango_attr_scale_new (double scale_factor);
function pango_attr_scale_new(scale_factor) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr) :: pango_attr_scale_new
real(c_double), value :: scale_factor
end function
! PangoAttribute *pango_attr_fallback_new (gboolean enable_fallback);
function pango_attr_fallback_new(enable_fallback) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_fallback_new
integer(c_int), value :: enable_fallback
end function
! PangoAttribute *pango_attr_letter_spacing_new (int letter_spacing);
function pango_attr_letter_spacing_new(letter_spacing) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_letter_spacing_new
integer(c_int), value :: letter_spacing
end function
! PangoAttribute *pango_attr_shape_new (const PangoRectangle *ink_rect, const PangoRectangle *logical_rect);
function pango_attr_shape_new(ink_rect, logical_rect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_shape_new
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end function
! PangoAttribute *pango_attr_shape_new_with_data (const PangoRectangle *ink_rect, const PangoRectangle *logical_rect, gpointer data, PangoAttrDataCopyFunc copy_func, GDestroyNotify destroy_func);
function pango_attr_shape_new_with_data(ink_rect, logical_rect, data, copy_func&
&, destroy_func) bind(c)
use iso_c_binding, only: c_ptr, c_funptr
type(c_ptr) :: pango_attr_shape_new_with_data
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
type(c_ptr), value :: data
type(c_funptr), value :: copy_func
type(c_funptr), value :: destroy_func
end function
! PangoAttribute *pango_attr_gravity_new (PangoGravity gravity);
function pango_attr_gravity_new(gravity) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_gravity_new
integer(c_int), value :: gravity
end function
! PangoAttribute *pango_attr_gravity_hint_new (PangoGravityHint hint);
function pango_attr_gravity_hint_new(hint) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_gravity_hint_new
integer(c_int), value :: hint
end function
! GType pango_attr_list_get_type (void) G_GNUC_CONST;
function pango_attr_list_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_attr_list_get_type
end function
! PangoAttrList * pango_attr_list_new (void);
function pango_attr_list_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_list_new
end function
! PangoAttrList * pango_attr_list_ref (PangoAttrList *list);
function pango_attr_list_ref(list) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_list_ref
type(c_ptr), value :: list
end function
! void pango_attr_list_unref (PangoAttrList *list);
subroutine pango_attr_list_unref(list) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: list
end subroutine
! PangoAttrList * pango_attr_list_copy (PangoAttrList *list);
function pango_attr_list_copy(list) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_list_copy
type(c_ptr), value :: list
end function
! void pango_attr_list_insert (PangoAttrList *list, PangoAttribute *attr);
subroutine pango_attr_list_insert(list, attr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: list
type(c_ptr), value :: attr
end subroutine
! void pango_attr_list_insert_before (PangoAttrList *list, PangoAttribute *attr);
subroutine pango_attr_list_insert_before(list, attr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: list
type(c_ptr), value :: attr
end subroutine
! void pango_attr_list_change (PangoAttrList *list, PangoAttribute *attr);
subroutine pango_attr_list_change(list, attr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: list
type(c_ptr), value :: attr
end subroutine
! void pango_attr_list_splice (PangoAttrList *list, PangoAttrList *other, gint pos, gint len);
subroutine pango_attr_list_splice(list, other, pos, len) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: list
type(c_ptr), value :: other
integer(c_int), value :: pos
integer(c_int), value :: len
end subroutine
! PangoAttrList *pango_attr_list_filter (PangoAttrList *list, PangoAttrFilterFunc func, gpointer data);
function pango_attr_list_filter(list, func, data) bind(c)
use iso_c_binding, only: c_ptr, c_funptr
type(c_ptr) :: pango_attr_list_filter
type(c_ptr), value :: list
type(c_funptr), value :: func
type(c_ptr), value :: data
end function
! PangoAttrIterator *pango_attr_list_get_iterator (PangoAttrList *list);
function pango_attr_list_get_iterator(list) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_list_get_iterator
type(c_ptr), value :: list
end function
! void pango_attr_iterator_range (PangoAttrIterator *iterator, gint *start, gint *end);
subroutine pango_attr_iterator_range(iterator, start, end) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iterator
type(c_ptr), value :: start
type(c_ptr), value :: end
end subroutine
! gboolean pango_attr_iterator_next (PangoAttrIterator *iterator);
function pango_attr_iterator_next(iterator) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_attr_iterator_next
type(c_ptr), value :: iterator
end function
! PangoAttrIterator *pango_attr_iterator_copy (PangoAttrIterator *iterator);
function pango_attr_iterator_copy(iterator) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_iterator_copy
type(c_ptr), value :: iterator
end function
! void pango_attr_iterator_destroy (PangoAttrIterator *iterator);
subroutine pango_attr_iterator_destroy(iterator) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iterator
end subroutine
! PangoAttribute * pango_attr_iterator_get (PangoAttrIterator *iterator, PangoAttrType type);
function pango_attr_iterator_get(iterator, type) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_attr_iterator_get
type(c_ptr), value :: iterator
integer(c_int), value :: type
end function
! void pango_attr_iterator_get_font (PangoAttrIterator *iterator, PangoFontDescription *desc, PangoLanguage **language, GSList **extra_attrs);
subroutine pango_attr_iterator_get_font(iterator, desc, language, extra_attrs) &
&bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iterator
type(c_ptr), value :: desc
type(c_ptr), value :: language
type(c_ptr), value :: extra_attrs
end subroutine
! GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator);
function pango_attr_iterator_get_attrs(iterator) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_attr_iterator_get_attrs
type(c_ptr), value :: iterator
end function
! gboolean pango_parse_markup (const char *markup_text, int length, gunichar accel_marker, PangoAttrList **attr_list, char **text, gunichar *accel_char, GError **error);
function pango_parse_markup(markup_text, length, accel_marker, attr_list, text,&
& accel_char, error) bind(c)
use iso_c_binding, only: c_int, c_char, c_int32_t, c_ptr
integer(c_int) :: pango_parse_markup
character(kind=c_char), dimension(*) :: markup_text
integer(c_int), value :: length
integer(c_int32_t), value :: accel_marker
type(c_ptr), value :: attr_list
type(c_ptr), dimension(*) :: text
character(kind=c_char), dimension(*) :: accel_char
type(c_ptr), value :: error
end function
! gboolean pango_fc_font_has_char (PangoFcFont *font, gunichar wc);
function pango_fc_font_has_char(font, wc) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_int32_t
integer(c_int) :: pango_fc_font_has_char
type(c_ptr), value :: font
integer(c_int32_t), value :: wc
end function
! guint pango_fc_font_get_glyph (PangoFcFont *font, gunichar wc);
function pango_fc_font_get_glyph(font, wc) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_int32_t
integer(c_int) :: pango_fc_font_get_glyph
type(c_ptr), value :: font
integer(c_int32_t), value :: wc
end function
! void pango_fc_font_kern_glyphs (PangoFcFont *font, PangoGlyphString *glyphs);
subroutine pango_fc_font_kern_glyphs(font, glyphs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
end subroutine
! GType pango_fc_font_get_type (void) G_GNUC_CONST;
function pango_fc_font_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_fc_font_get_type
end function
! FT_Face pango_fc_font_lock_face (PangoFcFont *font);
function pango_fc_font_lock_face(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_font_lock_face
type(c_ptr), value :: font
end function
! void pango_fc_font_unlock_face (PangoFcFont *font);
subroutine pango_fc_font_unlock_face(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: font
end subroutine
! GType pango_ot_info_get_type (void) G_GNUC_CONST;
function pango_ot_info_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_ot_info_get_type
end function
! GType pango_ot_ruleset_get_type (void) G_GNUC_CONST;
function pango_ot_ruleset_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_ot_ruleset_get_type
end function
! PangoOTInfo *pango_ot_info_get (FT_Face face);
function pango_ot_info_get(face) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_ot_info_get
type(c_ptr), value :: face
end function
! gboolean pango_ot_info_find_script (PangoOTInfo *info, PangoOTTableType table_type, PangoOTTag script_tag, guint *script_index);
function pango_ot_info_find_script(info, table_type, script_tag, script_index) &
&bind(c)
use iso_c_binding, only: c_int, c_ptr, c_int32_t
integer(c_int) :: pango_ot_info_find_script
type(c_ptr), value :: info
integer(c_int), value :: table_type
integer(c_int32_t), value :: script_tag
type(c_ptr), value :: script_index
end function
! gboolean pango_ot_info_find_language (PangoOTInfo *info, PangoOTTableType table_type, guint script_index, PangoOTTag language_tag, guint *language_index, guint *required_feature_index);
function pango_ot_info_find_language(info, table_type, script_index, language_t&
&ag, language_index, required_feature_index) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_int32_t
integer(c_int) :: pango_ot_info_find_language
type(c_ptr), value :: info
integer(c_int), value :: table_type
integer(c_int), value :: script_index
integer(c_int32_t), value :: language_tag
type(c_ptr), value :: language_index
type(c_ptr), value :: required_feature_index
end function
! gboolean pango_ot_info_find_feature (PangoOTInfo *info, PangoOTTableType table_type, PangoOTTag feature_tag, guint script_index, guint language_index, guint *feature_index);
function pango_ot_info_find_feature(info, table_type, feature_tag, script_index&
&, language_index, feature_index) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_int32_t
integer(c_int) :: pango_ot_info_find_feature
type(c_ptr), value :: info
integer(c_int), value :: table_type
integer(c_int32_t), value :: feature_tag
integer(c_int), value :: script_index
integer(c_int), value :: language_index
type(c_ptr), value :: feature_index
end function
! PangoOTTag *pango_ot_info_list_scripts (PangoOTInfo *info, PangoOTTableType table_type);
function pango_ot_info_list_scripts(info, table_type) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_ot_info_list_scripts
type(c_ptr), value :: info
integer(c_int), value :: table_type
end function
! PangoOTTag *pango_ot_info_list_languages (PangoOTInfo *info, PangoOTTableType table_type, guint script_index, PangoOTTag language_tag);
function pango_ot_info_list_languages(info, table_type, script_index, language_&
&tag) bind(c)
use iso_c_binding, only: c_ptr, c_int, c_int32_t
type(c_ptr) :: pango_ot_info_list_languages
type(c_ptr), value :: info
integer(c_int), value :: table_type
integer(c_int), value :: script_index
integer(c_int32_t), value :: language_tag
end function
! PangoOTTag *pango_ot_info_list_features (PangoOTInfo *info, PangoOTTableType table_type, PangoOTTag tag, guint script_index, guint language_index);
function pango_ot_info_list_features(info, table_type, tag, script_index, langu&
&age_index) bind(c)
use iso_c_binding, only: c_ptr, c_int, c_int32_t
type(c_ptr) :: pango_ot_info_list_features
type(c_ptr), value :: info
integer(c_int), value :: table_type
integer(c_int32_t), value :: tag
integer(c_int), value :: script_index
integer(c_int), value :: language_index
end function
! PangoOTBuffer *pango_ot_buffer_new (PangoFcFont *font);
function pango_ot_buffer_new(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_ot_buffer_new
type(c_ptr), value :: font
end function
! void pango_ot_buffer_destroy (PangoOTBuffer *buffer);
subroutine pango_ot_buffer_destroy(buffer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: buffer
end subroutine
! void pango_ot_buffer_clear (PangoOTBuffer *buffer);
subroutine pango_ot_buffer_clear(buffer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: buffer
end subroutine
! void pango_ot_buffer_set_rtl (PangoOTBuffer *buffer, gboolean rtl);
subroutine pango_ot_buffer_set_rtl(buffer, rtl) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: buffer
integer(c_int), value :: rtl
end subroutine
! void pango_ot_buffer_add_glyph (PangoOTBuffer *buffer, guint glyph, guint properties, guint cluster);
subroutine pango_ot_buffer_add_glyph(buffer, glyph, properties, cluster) bind(c&
&)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: buffer
integer(c_int), value :: glyph
integer(c_int), value :: properties
integer(c_int), value :: cluster
end subroutine
! void pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer, PangoOTGlyph **glyphs, int *n_glyphs);
subroutine pango_ot_buffer_get_glyphs(buffer, glyphs, n_glyphs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: buffer
type(c_ptr), value :: glyphs
type(c_ptr), value :: n_glyphs
end subroutine
! void pango_ot_buffer_output (const PangoOTBuffer *buffer, PangoGlyphString *glyphs);
subroutine pango_ot_buffer_output(buffer, glyphs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: buffer
type(c_ptr), value :: glyphs
end subroutine
! void pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer, gboolean zero_width_marks);
subroutine pango_ot_buffer_set_zero_width_marks(buffer, zero_width_marks) bind(&
&c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: buffer
integer(c_int), value :: zero_width_marks
end subroutine
! const PangoOTRuleset *pango_ot_ruleset_get_for_description (PangoOTInfo *info, const PangoOTRulesetDescription *desc);
function pango_ot_ruleset_get_for_description(info, desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_ot_ruleset_get_for_description
type(c_ptr), value :: info
type(c_ptr), value :: desc
end function
! PangoOTRuleset *pango_ot_ruleset_new (PangoOTInfo *info);
function pango_ot_ruleset_new(info) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_ot_ruleset_new
type(c_ptr), value :: info
end function
! PangoOTRuleset *pango_ot_ruleset_new_for (PangoOTInfo *info, PangoScript script, PangoLanguage *language);
function pango_ot_ruleset_new_for(info, script, language) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_ot_ruleset_new_for
type(c_ptr), value :: info
integer(c_int), value :: script
type(c_ptr), value :: language
end function
! PangoOTRuleset *pango_ot_ruleset_new_from_description (PangoOTInfo *info, const PangoOTRulesetDescription *desc);
function pango_ot_ruleset_new_from_description(info, desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_ot_ruleset_new_from_description
type(c_ptr), value :: info
type(c_ptr), value :: desc
end function
! void pango_ot_ruleset_add_feature (PangoOTRuleset *ruleset, PangoOTTableType table_type, guint feature_index, gulong property_bit);
subroutine pango_ot_ruleset_add_feature(ruleset, table_type, feature_index, pro&
&perty_bit) bind(c)
use iso_c_binding, only: c_ptr, c_int, c_long
type(c_ptr), value :: ruleset
integer(c_int), value :: table_type
integer(c_int), value :: feature_index
integer(c_long), value :: property_bit
end subroutine
! gboolean pango_ot_ruleset_maybe_add_feature (PangoOTRuleset *ruleset, PangoOTTableType table_type, PangoOTTag feature_tag, gulong property_bit);
function pango_ot_ruleset_maybe_add_feature(ruleset, table_type, feature_tag, p&
&roperty_bit) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_int32_t, c_long
integer(c_int) :: pango_ot_ruleset_maybe_add_feature
type(c_ptr), value :: ruleset
integer(c_int), value :: table_type
integer(c_int32_t), value :: feature_tag
integer(c_long), value :: property_bit
end function
! guint pango_ot_ruleset_maybe_add_features (PangoOTRuleset *ruleset, PangoOTTableType table_type, const PangoOTFeatureMap *features, guint n_features);
function pango_ot_ruleset_maybe_add_features(ruleset, table_type, features, n_f&
&eatures) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_ot_ruleset_maybe_add_features
type(c_ptr), value :: ruleset
integer(c_int), value :: table_type
type(c_ptr), value :: features
integer(c_int), value :: n_features
end function
! guint pango_ot_ruleset_get_feature_count (const PangoOTRuleset *ruleset, guint *n_gsub_features, guint *n_gpos_features);
function pango_ot_ruleset_get_feature_count(ruleset, n_gsub_features, n_gpos_fe&
&atures) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_ot_ruleset_get_feature_count
type(c_ptr), value :: ruleset
type(c_ptr), value :: n_gsub_features
type(c_ptr), value :: n_gpos_features
end function
! void pango_ot_ruleset_substitute (const PangoOTRuleset *ruleset, PangoOTBuffer *buffer);
subroutine pango_ot_ruleset_substitute(ruleset, buffer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: ruleset
type(c_ptr), value :: buffer
end subroutine
! void pango_ot_ruleset_position (const PangoOTRuleset *ruleset, PangoOTBuffer *buffer);
subroutine pango_ot_ruleset_position(ruleset, buffer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: ruleset
type(c_ptr), value :: buffer
end subroutine
! PangoScript pango_ot_tag_to_script (PangoOTTag script_tag) G_GNUC_CONST;
function pango_ot_tag_to_script(script_tag) bind(c)
use iso_c_binding, only: c_int, c_int32_t
integer(c_int) :: pango_ot_tag_to_script
integer(c_int32_t), value :: script_tag
end function
! PangoOTTag pango_ot_tag_from_script (PangoScript script) G_GNUC_CONST;
function pango_ot_tag_from_script(script) bind(c)
use iso_c_binding, only: c_int32_t, c_int
integer(c_int32_t) :: pango_ot_tag_from_script
integer(c_int), value :: script
end function
! PangoLanguage *pango_ot_tag_to_language (PangoOTTag language_tag) G_GNUC_CONST;
function pango_ot_tag_to_language(language_tag) bind(c)
use iso_c_binding, only: c_ptr, c_int32_t
type(c_ptr) :: pango_ot_tag_to_language
integer(c_int32_t), value :: language_tag
end function
! PangoOTTag pango_ot_tag_from_language (PangoLanguage *language) G_GNUC_CONST;
function pango_ot_tag_from_language(language) bind(c)
use iso_c_binding, only: c_int32_t, c_ptr
integer(c_int32_t) :: pango_ot_tag_from_language
type(c_ptr), value :: language
end function
! guint pango_ot_ruleset_description_hash (const PangoOTRulesetDescription *desc) G_GNUC_PURE;
function pango_ot_ruleset_description_hash(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_ot_ruleset_description_hash
type(c_ptr), value :: desc
end function
! gboolean pango_ot_ruleset_description_equal (const PangoOTRulesetDescription *desc1, const PangoOTRulesetDescription *desc2) G_GNUC_PURE;
function pango_ot_ruleset_description_equal(desc1, desc2) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_ot_ruleset_description_equal
type(c_ptr), value :: desc1
type(c_ptr), value :: desc2
end function
! PangoOTRulesetDescription *pango_ot_ruleset_description_copy (const PangoOTRulesetDescription *desc);
function pango_ot_ruleset_description_copy(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_ot_ruleset_description_copy
type(c_ptr), value :: desc
end function
! void pango_ot_ruleset_description_free (PangoOTRulesetDescription *desc);
subroutine pango_ot_ruleset_description_free(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: desc
end subroutine
! GType pango_glyph_item_get_type (void) G_GNUC_CONST;
function pango_glyph_item_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_glyph_item_get_type
end function
! PangoGlyphItem *pango_glyph_item_split (PangoGlyphItem *orig, const char *text, int split_index);
function pango_glyph_item_split(orig, text, split_index) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr) :: pango_glyph_item_split
type(c_ptr), value :: orig
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: split_index
end function
! PangoGlyphItem *pango_glyph_item_copy (PangoGlyphItem *orig);
function pango_glyph_item_copy(orig) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_glyph_item_copy
type(c_ptr), value :: orig
end function
! void pango_glyph_item_free (PangoGlyphItem *glyph_item);
subroutine pango_glyph_item_free(glyph_item) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: glyph_item
end subroutine
! GSList * pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item, const char *text, PangoAttrList *list);
function pango_glyph_item_apply_attrs(glyph_item, text, list) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_glyph_item_apply_attrs
type(c_ptr), value :: glyph_item
character(kind=c_char), dimension(*) :: text
type(c_ptr), value :: list
end function
! void pango_glyph_item_letter_space (PangoGlyphItem *glyph_item, const char *text, PangoLogAttr *log_attrs, int letter_spacing);
subroutine pango_glyph_item_letter_space(glyph_item, text, log_attrs, letter_sp&
&acing) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: glyph_item
character(kind=c_char), dimension(*) :: text
type(c_ptr), value :: log_attrs
integer(c_int), value :: letter_spacing
end subroutine
! void pango_glyph_item_get_logical_widths (PangoGlyphItem *glyph_item, const char *text, int *logical_widths);
subroutine pango_glyph_item_get_logical_widths(glyph_item, text, logical_widths&
&) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr), value :: glyph_item
character(kind=c_char), dimension(*) :: text
type(c_ptr), value :: logical_widths
end subroutine
! GType pango_glyph_item_iter_get_type (void) G_GNUC_CONST;
function pango_glyph_item_iter_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_glyph_item_iter_get_type
end function
! PangoGlyphItemIter *pango_glyph_item_iter_copy (PangoGlyphItemIter *orig);
function pango_glyph_item_iter_copy(orig) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_glyph_item_iter_copy
type(c_ptr), value :: orig
end function
! void pango_glyph_item_iter_free (PangoGlyphItemIter *iter);
subroutine pango_glyph_item_iter_free(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
end subroutine
! gboolean pango_glyph_item_iter_init_start (PangoGlyphItemIter *iter, PangoGlyphItem *glyph_item, const char *text);
function pango_glyph_item_iter_init_start(iter, glyph_item, text) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_char
integer(c_int) :: pango_glyph_item_iter_init_start
type(c_ptr), value :: iter
type(c_ptr), value :: glyph_item
character(kind=c_char), dimension(*) :: text
end function
! gboolean pango_glyph_item_iter_init_end (PangoGlyphItemIter *iter, PangoGlyphItem *glyph_item, const char *text);
function pango_glyph_item_iter_init_end(iter, glyph_item, text) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_char
integer(c_int) :: pango_glyph_item_iter_init_end
type(c_ptr), value :: iter
type(c_ptr), value :: glyph_item
character(kind=c_char), dimension(*) :: text
end function
! gboolean pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter);
function pango_glyph_item_iter_next_cluster(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_glyph_item_iter_next_cluster
type(c_ptr), value :: iter
end function
! gboolean pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter);
function pango_glyph_item_iter_prev_cluster(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_glyph_item_iter_prev_cluster
type(c_ptr), value :: iter
end function
! GType pango_renderer_get_type (void) G_GNUC_CONST;
function pango_renderer_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_renderer_get_type
end function
! void pango_renderer_draw_layout (PangoRenderer *renderer, PangoLayout *layout, int x, int y);
subroutine pango_renderer_draw_layout(renderer, layout, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
type(c_ptr), value :: layout
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_renderer_draw_layout_line (PangoRenderer *renderer, PangoLayoutLine *line, int x, int y);
subroutine pango_renderer_draw_layout_line(renderer, line, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
type(c_ptr), value :: line
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_renderer_draw_glyphs (PangoRenderer *renderer, PangoFont *font, PangoGlyphString *glyphs, int x, int y);
subroutine pango_renderer_draw_glyphs(renderer, font, glyphs, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_renderer_draw_glyph_item (PangoRenderer *renderer, const char *text, PangoGlyphItem *glyph_item, int x, int y);
subroutine pango_renderer_draw_glyph_item(renderer, text, glyph_item, x, y) bin&
&d(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: renderer
character(kind=c_char), dimension(*) :: text
type(c_ptr), value :: glyph_item
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_renderer_draw_rectangle (PangoRenderer *renderer, PangoRenderPart part, int x, int y, int width, int height);
subroutine pango_renderer_draw_rectangle(renderer, part, x, y, width, height) b&
&ind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
integer(c_int), value :: part
integer(c_int), value :: x
integer(c_int), value :: y
integer(c_int), value :: width
integer(c_int), value :: height
end subroutine
! void pango_renderer_draw_error_underline (PangoRenderer *renderer, int x, int y, int width, int height);
subroutine pango_renderer_draw_error_underline(renderer, x, y, width, height) b&
&ind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
integer(c_int), value :: x
integer(c_int), value :: y
integer(c_int), value :: width
integer(c_int), value :: height
end subroutine
! void pango_renderer_draw_trapezoid (PangoRenderer *renderer, PangoRenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22);
subroutine pango_renderer_draw_trapezoid(renderer, part, y1_, x11, x21, y2, x12&
&, x22) bind(c)
use iso_c_binding, only: c_ptr, c_int, c_double
type(c_ptr), value :: renderer
integer(c_int), value :: part
real(c_double), value :: y1_
real(c_double), value :: x11
real(c_double), value :: x21
real(c_double), value :: y2
real(c_double), value :: x12
real(c_double), value :: x22
end subroutine
! void pango_renderer_draw_glyph (PangoRenderer *renderer, PangoFont *font, PangoGlyph glyph, double x, double y);
subroutine pango_renderer_draw_glyph(renderer, font, glyph, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int32_t, c_double
type(c_ptr), value :: renderer
type(c_ptr), value :: font
integer(c_int32_t), value :: glyph
real(c_double), value :: x
real(c_double), value :: y
end subroutine
! void pango_renderer_activate (PangoRenderer *renderer);
subroutine pango_renderer_activate(renderer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: renderer
end subroutine
! void pango_renderer_deactivate (PangoRenderer *renderer);
subroutine pango_renderer_deactivate(renderer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: renderer
end subroutine
! void pango_renderer_part_changed (PangoRenderer *renderer, PangoRenderPart part);
subroutine pango_renderer_part_changed(renderer, part) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
integer(c_int), value :: part
end subroutine
! void pango_renderer_set_color (PangoRenderer *renderer, PangoRenderPart part, const PangoColor *color);
subroutine pango_renderer_set_color(renderer, part, color) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: renderer
integer(c_int), value :: part
type(c_ptr), value :: color
end subroutine
! PangoColor *pango_renderer_get_color (PangoRenderer *renderer, PangoRenderPart part);
function pango_renderer_get_color(renderer, part) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_renderer_get_color
type(c_ptr), value :: renderer
integer(c_int), value :: part
end function
! void pango_renderer_set_matrix (PangoRenderer *renderer, const PangoMatrix *matrix);
subroutine pango_renderer_set_matrix(renderer, matrix) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: renderer
type(c_ptr), value :: matrix
end subroutine
! const PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer);
function pango_renderer_get_matrix(renderer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_renderer_get_matrix
type(c_ptr), value :: renderer
end function
! PangoLayout *pango_renderer_get_layout (PangoRenderer *renderer);
function pango_renderer_get_layout(renderer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_renderer_get_layout
type(c_ptr), value :: renderer
end function
! PangoLayoutLine *pango_renderer_get_layout_line (PangoRenderer *renderer);
function pango_renderer_get_layout_line(renderer) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_renderer_get_layout_line
type(c_ptr), value :: renderer
end function
! PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST;
function pango_script_for_unichar(ch) bind(c)
use iso_c_binding, only: c_int, c_int32_t
integer(c_int) :: pango_script_for_unichar
integer(c_int32_t), value :: ch
end function
! PangoScriptIter *pango_script_iter_new (const char *text, int length);
function pango_script_iter_new(text, length) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_script_iter_new
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
end function
! void pango_script_iter_get_range (PangoScriptIter *iter, const char **start, const char **end, PangoScript *script);
subroutine pango_script_iter_get_range(iter, start, end, script) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int), value :: iter
type(c_ptr), dimension(*) :: start
type(c_ptr), dimension(*) :: end
integer(c_int), value :: script
end subroutine
! gboolean pango_script_iter_next (PangoScriptIter *iter);
function pango_script_iter_next(iter) bind(c)
use iso_c_binding, only: c_int
integer(c_int) :: pango_script_iter_next
integer(c_int), value :: iter
end function
! void pango_script_iter_free (PangoScriptIter *iter);
subroutine pango_script_iter_free(iter) bind(c)
use iso_c_binding, only: c_int
integer(c_int), value :: iter
end subroutine
! PangoLanguage *pango_script_get_sample_language (PangoScript script) G_GNUC_PURE;
function pango_script_get_sample_language(script) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_script_get_sample_language
integer(c_int), value :: script
end function
! PangoBidiType pango_bidi_type_for_unichar (gunichar ch) G_GNUC_CONST;
function pango_bidi_type_for_unichar(ch) bind(c)
use iso_c_binding, only: c_int, c_int32_t
integer(c_int) :: pango_bidi_type_for_unichar
integer(c_int32_t), value :: ch
end function
! PangoDirection pango_unichar_direction (gunichar ch) G_GNUC_CONST;
function pango_unichar_direction(ch) bind(c)
use iso_c_binding, only: c_int, c_int32_t
integer(c_int) :: pango_unichar_direction
integer(c_int32_t), value :: ch
end function
! PangoDirection pango_find_base_dir (const gchar *text, gint length);
function pango_find_base_dir(text, length) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_find_base_dir
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
end function
! GType pango_font_description_get_type (void) G_GNUC_CONST;
function pango_font_description_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_description_get_type
end function
! PangoFontDescription *pango_font_description_new (void);
function pango_font_description_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_description_new
end function
! PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc);
function pango_font_description_copy(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_description_copy
type(c_ptr), value :: desc
end function
! PangoFontDescription *pango_font_description_copy_static (const PangoFontDescription *desc);
function pango_font_description_copy_static(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_description_copy_static
type(c_ptr), value :: desc
end function
! guint pango_font_description_hash (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_hash(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_hash
type(c_ptr), value :: desc
end function
! gboolean pango_font_description_equal (const PangoFontDescription *desc1, const PangoFontDescription *desc2) G_GNUC_PURE;
function pango_font_description_equal(desc1, desc2) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_equal
type(c_ptr), value :: desc1
type(c_ptr), value :: desc2
end function
! void pango_font_description_free (PangoFontDescription *desc);
subroutine pango_font_description_free(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: desc
end subroutine
! void pango_font_descriptions_free (PangoFontDescription **descs, int n_descs);
subroutine pango_font_descriptions_free(descs, n_descs) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: descs
integer(c_int), value :: n_descs
end subroutine
! void pango_font_description_set_family (PangoFontDescription *desc, const char *family);
subroutine pango_font_description_set_family(desc, family) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr), value :: desc
character(kind=c_char), dimension(*) :: family
end subroutine
! void pango_font_description_set_family_static (PangoFontDescription *desc, const char *family);
subroutine pango_font_description_set_family_static(desc, family) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr), value :: desc
character(kind=c_char), dimension(*) :: family
end subroutine
! const char *pango_font_description_get_family (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_family(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_description_get_family
type(c_ptr), value :: desc
end function
! void pango_font_description_set_style (PangoFontDescription *desc, PangoStyle style);
subroutine pango_font_description_set_style(desc, style) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: style
end subroutine
! PangoStyle pango_font_description_get_style (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_style(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_style
type(c_ptr), value :: desc
end function
! void pango_font_description_set_variant (PangoFontDescription *desc, PangoVariant variant);
subroutine pango_font_description_set_variant(desc, variant) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: variant
end subroutine
! PangoVariant pango_font_description_get_variant (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_variant(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_variant
type(c_ptr), value :: desc
end function
! void pango_font_description_set_weight (PangoFontDescription *desc, PangoWeight weight);
subroutine pango_font_description_set_weight(desc, weight) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: weight
end subroutine
! PangoWeight pango_font_description_get_weight (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_weight(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_weight
type(c_ptr), value :: desc
end function
! void pango_font_description_set_stretch (PangoFontDescription *desc, PangoStretch stretch);
subroutine pango_font_description_set_stretch(desc, stretch) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: stretch
end subroutine
! PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_stretch(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_stretch
type(c_ptr), value :: desc
end function
! void pango_font_description_set_size (PangoFontDescription *desc, gint size);
subroutine pango_font_description_set_size(desc, size) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: size
end subroutine
! gint pango_font_description_get_size (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_size(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_size
type(c_ptr), value :: desc
end function
! void pango_font_description_set_absolute_size (PangoFontDescription *desc, double size);
subroutine pango_font_description_set_absolute_size(desc, size) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: desc
real(c_double), value :: size
end subroutine
! gboolean pango_font_description_get_size_is_absolute (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_size_is_absolute(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_size_is_absolute
type(c_ptr), value :: desc
end function
! void pango_font_description_set_gravity (PangoFontDescription *desc, PangoGravity gravity);
subroutine pango_font_description_set_gravity(desc, gravity) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: gravity
end subroutine
! PangoGravity pango_font_description_get_gravity (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_gravity(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_gravity
type(c_ptr), value :: desc
end function
! PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) G_GNUC_PURE;
function pango_font_description_get_set_fields(desc) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_get_set_fields
type(c_ptr), value :: desc
end function
! void pango_font_description_unset_fields (PangoFontDescription *desc, PangoFontMask to_unset);
subroutine pango_font_description_unset_fields(desc, to_unset) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
integer(c_int), value :: to_unset
end subroutine
! void pango_font_description_merge (PangoFontDescription *desc, const PangoFontDescription *desc_to_merge, gboolean replace_existing);
subroutine pango_font_description_merge(desc, desc_to_merge, replace_existing) &
&bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
type(c_ptr), value :: desc_to_merge
integer(c_int), value :: replace_existing
end subroutine
! void pango_font_description_merge_static (PangoFontDescription *desc, const PangoFontDescription *desc_to_merge, gboolean replace_existing);
subroutine pango_font_description_merge_static(desc, desc_to_merge, replace_exi&
&sting) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: desc
type(c_ptr), value :: desc_to_merge
integer(c_int), value :: replace_existing
end subroutine
! gboolean pango_font_description_better_match (const PangoFontDescription *desc, const PangoFontDescription *old_match, const PangoFontDescription *new_match) G_GNUC_PURE;
function pango_font_description_better_match(desc, old_match, new_match) bind(c&
&)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_description_better_match
type(c_ptr), value :: desc
type(c_ptr), value :: old_match
type(c_ptr), value :: new_match
end function
! PangoFontDescription *pango_font_description_from_string (const char *str);
function pango_font_description_from_string(str) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_font_description_from_string
character(kind=c_char), dimension(*) :: str
end function
! char * pango_font_description_to_string (const PangoFontDescription *desc);
function pango_font_description_to_string(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_description_to_string
type(c_ptr), value :: desc
end function
! char * pango_font_description_to_filename (const PangoFontDescription *desc);
function pango_font_description_to_filename(desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_description_to_filename
type(c_ptr), value :: desc
end function
! GType pango_font_metrics_get_type (void) G_GNUC_CONST;
function pango_font_metrics_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_metrics_get_type
end function
! PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics);
function pango_font_metrics_ref(metrics) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_metrics_ref
type(c_ptr), value :: metrics
end function
! void pango_font_metrics_unref (PangoFontMetrics *metrics);
subroutine pango_font_metrics_unref(metrics) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: metrics
end subroutine
! int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_ascent(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_ascent
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_descent (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_descent(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_descent
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_approximate_char_width(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_approximate_char_width
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_approximate_digit_width(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_approximate_digit_width
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_underline_position (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_underline_position(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_underline_position
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_underline_thickness(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_underline_thickness
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_strikethrough_position(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_strikethrough_position
type(c_ptr), value :: metrics
end function
! int pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
function pango_font_metrics_get_strikethrough_thickness(metrics) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_metrics_get_strikethrough_thickness
type(c_ptr), value :: metrics
end function
! PangoFontMetrics *pango_font_metrics_new (void);
function pango_font_metrics_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_metrics_new
end function
! GType pango_font_family_get_type (void) G_GNUC_CONST;
function pango_font_family_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_family_get_type
end function
! void pango_font_family_list_faces (PangoFontFamily *family, PangoFontFace ***faces, int *n_faces);
subroutine pango_font_family_list_faces(family, faces, n_faces) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: family
type(c_ptr), value :: faces
type(c_ptr), value :: n_faces
end subroutine
! const char *pango_font_family_get_name (PangoFontFamily *family) G_GNUC_PURE;
function pango_font_family_get_name(family) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_family_get_name
type(c_ptr), value :: family
end function
! gboolean pango_font_family_is_monospace (PangoFontFamily *family) G_GNUC_PURE;
function pango_font_family_is_monospace(family) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_family_is_monospace
type(c_ptr), value :: family
end function
! GType pango_font_face_get_type (void) G_GNUC_CONST;
function pango_font_face_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_face_get_type
end function
! PangoFontDescription *pango_font_face_describe (PangoFontFace *face);
function pango_font_face_describe(face) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_face_describe
type(c_ptr), value :: face
end function
! const char *pango_font_face_get_face_name (PangoFontFace *face) G_GNUC_PURE;
function pango_font_face_get_face_name(face) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_face_get_face_name
type(c_ptr), value :: face
end function
! void pango_font_face_list_sizes (PangoFontFace *face, int **sizes, int *n_sizes);
subroutine pango_font_face_list_sizes(face, sizes, n_sizes) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: face
type(c_ptr), value :: sizes
type(c_ptr), value :: n_sizes
end subroutine
! gboolean pango_font_face_is_synthesized (PangoFontFace *face) G_GNUC_PURE;
function pango_font_face_is_synthesized(face) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_font_face_is_synthesized
type(c_ptr), value :: face
end function
! GType pango_font_get_type (void) G_GNUC_CONST;
function pango_font_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_get_type
end function
! PangoFontDescription *pango_font_describe (PangoFont *font);
function pango_font_describe(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_describe
type(c_ptr), value :: font
end function
! PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font);
function pango_font_describe_with_absolute_size(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_describe_with_absolute_size
type(c_ptr), value :: font
end function
! PangoCoverage * pango_font_get_coverage (PangoFont *font, PangoLanguage *language);
function pango_font_get_coverage(font, language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_get_coverage
type(c_ptr), value :: font
type(c_ptr), value :: language
end function
! PangoEngineShape * pango_font_find_shaper (PangoFont *font, PangoLanguage *language, guint32 ch);
function pango_font_find_shaper(font, language, ch) bind(c)
use iso_c_binding, only: c_ptr, c_int32_t
type(c_ptr) :: pango_font_find_shaper
type(c_ptr), value :: font
type(c_ptr), value :: language
integer(c_int32_t), value :: ch
end function
! PangoFontMetrics * pango_font_get_metrics (PangoFont *font, PangoLanguage *language);
function pango_font_get_metrics(font, language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_get_metrics
type(c_ptr), value :: font
type(c_ptr), value :: language
end function
! void pango_font_get_glyph_extents (PangoFont *font, PangoGlyph glyph, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_font_get_glyph_extents(font, glyph, ink_rect, logical_rect) bi&
&nd(c)
use iso_c_binding, only: c_ptr, c_int32_t
type(c_ptr), value :: font
integer(c_int32_t), value :: glyph
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! PangoFontMap *pango_font_get_font_map (PangoFont *font);
function pango_font_get_font_map(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_get_font_map
type(c_ptr), value :: font
end function
! GType pango_language_get_type (void) G_GNUC_CONST;
function pango_language_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_language_get_type
end function
! PangoLanguage *pango_language_from_string (const char *language);
function pango_language_from_string(language) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_language_from_string
character(kind=c_char), dimension(*) :: language
end function
! const char *pango_language_to_string (PangoLanguage *language) G_GNUC_CONST;
function pango_language_to_string(language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_language_to_string
type(c_ptr), value :: language
end function
! const char *pango_language_get_sample_string (PangoLanguage *language) G_GNUC_CONST;
function pango_language_get_sample_string(language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_language_get_sample_string
type(c_ptr), value :: language
end function
! PangoLanguage *pango_language_get_default (void) G_GNUC_CONST;
function pango_language_get_default() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_language_get_default
end function
! gboolean pango_language_matches (PangoLanguage *language, const char *range_list) G_GNUC_PURE;
function pango_language_matches(language, range_list) bind(c)
use iso_c_binding, only: c_int, c_ptr, c_char
integer(c_int) :: pango_language_matches
type(c_ptr), value :: language
character(kind=c_char), dimension(*) :: range_list
end function
! gboolean pango_language_includes_script (PangoLanguage *language, PangoScript script) G_GNUC_PURE;
function pango_language_includes_script(language, script) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_language_includes_script
type(c_ptr), value :: language
integer(c_int), value :: script
end function
! const PangoScript *pango_language_get_scripts (PangoLanguage *language, int *num_scripts);
function pango_language_get_scripts(language, num_scripts) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_language_get_scripts
type(c_ptr), value :: language
type(c_ptr), value :: num_scripts
end function
! GType pango_cairo_font_map_get_type (void) G_GNUC_CONST;
function pango_cairo_font_map_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_cairo_font_map_get_type
end function
! PangoFontMap *pango_cairo_font_map_new (void);
function pango_cairo_font_map_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_cairo_font_map_new
end function
! PangoFontMap *pango_cairo_font_map_new_for_font_type (cairo_font_type_t fonttype);
function pango_cairo_font_map_new_for_font_type(fonttype) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_cairo_font_map_new_for_font_type
integer(c_int), value :: fonttype
end function
! PangoFontMap *pango_cairo_font_map_get_default (void);
function pango_cairo_font_map_get_default() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_cairo_font_map_get_default
end function
! void pango_cairo_font_map_set_default (PangoCairoFontMap *fontmap);
subroutine pango_cairo_font_map_set_default(fontmap) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: fontmap
end subroutine
! cairo_font_type_t pango_cairo_font_map_get_font_type (PangoCairoFontMap *fontmap);
function pango_cairo_font_map_get_font_type(fontmap) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_cairo_font_map_get_font_type
type(c_ptr), value :: fontmap
end function
! void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap, double dpi);
subroutine pango_cairo_font_map_set_resolution(fontmap, dpi) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: fontmap
real(c_double), value :: dpi
end subroutine
! double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap);
function pango_cairo_font_map_get_resolution(fontmap) bind(c)
use iso_c_binding, only: c_double, c_ptr
real(c_double) :: pango_cairo_font_map_get_resolution
type(c_ptr), value :: fontmap
end function
! GType pango_cairo_font_get_type (void) G_GNUC_CONST;
function pango_cairo_font_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_cairo_font_get_type
end function
! cairo_scaled_font_t *pango_cairo_font_get_scaled_font (PangoCairoFont *font);
function pango_cairo_font_get_scaled_font(font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_cairo_font_get_scaled_font
type(c_ptr), value :: font
end function
! void pango_cairo_update_context (cairo_t *cr, PangoContext *context);
subroutine pango_cairo_update_context(cr, context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: context
end subroutine
! void pango_cairo_context_set_font_options (PangoContext *context, const cairo_font_options_t *options);
subroutine pango_cairo_context_set_font_options(context, options) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: context
type(c_ptr), value :: options
end subroutine
! const cairo_font_options_t *pango_cairo_context_get_font_options (PangoContext *context);
function pango_cairo_context_get_font_options(context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_cairo_context_get_font_options
type(c_ptr), value :: context
end function
! void pango_cairo_context_set_resolution (PangoContext *context, double dpi);
subroutine pango_cairo_context_set_resolution(context, dpi) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: context
real(c_double), value :: dpi
end subroutine
! double pango_cairo_context_get_resolution (PangoContext *context);
function pango_cairo_context_get_resolution(context) bind(c)
use iso_c_binding, only: c_double, c_ptr
real(c_double) :: pango_cairo_context_get_resolution
type(c_ptr), value :: context
end function
! void pango_cairo_context_set_shape_renderer (PangoContext *context, PangoCairoShapeRendererFunc func, gpointer data, GDestroyNotify dnotify);
subroutine pango_cairo_context_set_shape_renderer(context, func, data, dnotify)&
& bind(c)
use iso_c_binding, only: c_ptr, c_funptr
type(c_ptr), value :: context
type(c_funptr), value :: func
type(c_ptr), value :: data
type(c_funptr), value :: dnotify
end subroutine
! PangoCairoShapeRendererFunc pango_cairo_context_get_shape_renderer (PangoContext *context, gpointer *data);
function pango_cairo_context_get_shape_renderer(context, data) bind(c)
use iso_c_binding, only: c_funptr, c_ptr
type(c_funptr) :: pango_cairo_context_get_shape_renderer
type(c_ptr), value :: context
type(c_ptr), value :: data
end function
! PangoContext *pango_cairo_create_context (cairo_t *cr);
function pango_cairo_create_context(cr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_cairo_create_context
type(c_ptr), value :: cr
end function
! PangoLayout *pango_cairo_create_layout (cairo_t *cr);
function pango_cairo_create_layout(cr) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_cairo_create_layout
type(c_ptr), value :: cr
end function
! void pango_cairo_update_layout (cairo_t *cr, PangoLayout *layout);
subroutine pango_cairo_update_layout(cr, layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: layout
end subroutine
! void pango_cairo_show_glyph_string (cairo_t *cr, PangoFont *font, PangoGlyphString *glyphs);
subroutine pango_cairo_show_glyph_string(cr, font, glyphs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
end subroutine
! void pango_cairo_show_glyph_item (cairo_t *cr, const char *text, PangoGlyphItem *glyph_item);
subroutine pango_cairo_show_glyph_item(cr, text, glyph_item) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr), value :: cr
character(kind=c_char), dimension(*) :: text
type(c_ptr), value :: glyph_item
end subroutine
! void pango_cairo_show_layout_line (cairo_t *cr, PangoLayoutLine *line);
subroutine pango_cairo_show_layout_line(cr, line) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: line
end subroutine
! void pango_cairo_show_layout (cairo_t *cr, PangoLayout *layout);
subroutine pango_cairo_show_layout(cr, layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: layout
end subroutine
! void pango_cairo_show_error_underline (cairo_t *cr, double x, double y, double width, double height);
subroutine pango_cairo_show_error_underline(cr, x, y, width, height) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: cr
real(c_double), value :: x
real(c_double), value :: y
real(c_double), value :: width
real(c_double), value :: height
end subroutine
! void pango_cairo_glyph_string_path (cairo_t *cr, PangoFont *font, PangoGlyphString *glyphs);
subroutine pango_cairo_glyph_string_path(cr, font, glyphs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
end subroutine
! void pango_cairo_layout_line_path (cairo_t *cr, PangoLayoutLine *line);
subroutine pango_cairo_layout_line_path(cr, line) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: line
end subroutine
! void pango_cairo_layout_path (cairo_t *cr, PangoLayout *layout);
subroutine pango_cairo_layout_path(cr, layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cr
type(c_ptr), value :: layout
end subroutine
! void pango_cairo_error_underline_path (cairo_t *cr, double x, double y, double width, double height);
subroutine pango_cairo_error_underline_path(cr, x, y, width, height) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: cr
real(c_double), value :: x
real(c_double), value :: y
real(c_double), value :: width
real(c_double), value :: height
end subroutine
! GType pango_context_get_type (void) G_GNUC_CONST;
function pango_context_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_context_get_type
end function
! PangoContext *pango_context_new (void);
function pango_context_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_new
end function
! void pango_context_set_font_map (PangoContext *context, PangoFontMap *font_map);
subroutine pango_context_set_font_map(context, font_map) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: context
type(c_ptr), value :: font_map
end subroutine
! PangoFontMap *pango_context_get_font_map (PangoContext *context);
function pango_context_get_font_map(context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_get_font_map
type(c_ptr), value :: context
end function
! void pango_context_list_families (PangoContext *context, PangoFontFamily ***families, int *n_families);
subroutine pango_context_list_families(context, families, n_families) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: context
type(c_ptr), value :: families
type(c_ptr), value :: n_families
end subroutine
! PangoFont * pango_context_load_font (PangoContext *context, const PangoFontDescription *desc);
function pango_context_load_font(context, desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_load_font
type(c_ptr), value :: context
type(c_ptr), value :: desc
end function
! PangoFontset *pango_context_load_fontset (PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language);
function pango_context_load_fontset(context, desc, language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_load_fontset
type(c_ptr), value :: context
type(c_ptr), value :: desc
type(c_ptr), value :: language
end function
! PangoFontMetrics *pango_context_get_metrics (PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language);
function pango_context_get_metrics(context, desc, language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_get_metrics
type(c_ptr), value :: context
type(c_ptr), value :: desc
type(c_ptr), value :: language
end function
! void pango_context_set_font_description (PangoContext *context, const PangoFontDescription *desc);
subroutine pango_context_set_font_description(context, desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: context
type(c_ptr), value :: desc
end subroutine
! PangoFontDescription * pango_context_get_font_description (PangoContext *context);
function pango_context_get_font_description(context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_get_font_description
type(c_ptr), value :: context
end function
! PangoLanguage *pango_context_get_language (PangoContext *context);
function pango_context_get_language(context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_get_language
type(c_ptr), value :: context
end function
! void pango_context_set_language (PangoContext *context, PangoLanguage *language);
subroutine pango_context_set_language(context, language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: context
type(c_ptr), value :: language
end subroutine
! void pango_context_set_base_dir (PangoContext *context, PangoDirection direction);
subroutine pango_context_set_base_dir(context, direction) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: context
integer(c_int), value :: direction
end subroutine
! PangoDirection pango_context_get_base_dir (PangoContext *context);
function pango_context_get_base_dir(context) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_context_get_base_dir
type(c_ptr), value :: context
end function
! void pango_context_set_base_gravity (PangoContext *context, PangoGravity gravity);
subroutine pango_context_set_base_gravity(context, gravity) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: context
integer(c_int), value :: gravity
end subroutine
! PangoGravity pango_context_get_base_gravity (PangoContext *context);
function pango_context_get_base_gravity(context) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_context_get_base_gravity
type(c_ptr), value :: context
end function
! PangoGravity pango_context_get_gravity (PangoContext *context);
function pango_context_get_gravity(context) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_context_get_gravity
type(c_ptr), value :: context
end function
! void pango_context_set_gravity_hint (PangoContext *context, PangoGravityHint hint);
subroutine pango_context_set_gravity_hint(context, hint) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: context
integer(c_int), value :: hint
end subroutine
! PangoGravityHint pango_context_get_gravity_hint (PangoContext *context);
function pango_context_get_gravity_hint(context) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_context_get_gravity_hint
type(c_ptr), value :: context
end function
! void pango_context_set_matrix (PangoContext *context, const PangoMatrix *matrix);
subroutine pango_context_set_matrix(context, matrix) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: context
type(c_ptr), value :: matrix
end subroutine
! const PangoMatrix * pango_context_get_matrix (PangoContext *context);
function pango_context_get_matrix(context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_context_get_matrix
type(c_ptr), value :: context
end function
! GList *pango_itemize (PangoContext *context, const char *text, int start_index, int length, PangoAttrList *attrs, PangoAttrIterator *cached_iter);
function pango_itemize(context, text, start_index, length, attrs, cached_iter) &
&bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr) :: pango_itemize
type(c_ptr), value :: context
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: start_index
integer(c_int), value :: length
type(c_ptr), value :: attrs
type(c_ptr), value :: cached_iter
end function
! GList *pango_itemize_with_base_dir (PangoContext *context, PangoDirection base_dir, const char *text, int start_index, int length, PangoAttrList *attrs, PangoAttrIterator *cached_iter);
function pango_itemize_with_base_dir(context, base_dir, text, start_index, leng&
&th, attrs, cached_iter) bind(c)
use iso_c_binding, only: c_ptr, c_int, c_char
type(c_ptr) :: pango_itemize_with_base_dir
type(c_ptr), value :: context
integer(c_int), value :: base_dir
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: start_index
integer(c_int), value :: length
type(c_ptr), value :: attrs
type(c_ptr), value :: cached_iter
end function
! GType pango_layout_get_type (void) G_GNUC_CONST;
function pango_layout_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_layout_get_type
end function
! PangoLayout *pango_layout_new (PangoContext *context);
function pango_layout_new(context) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_new
type(c_ptr), value :: context
end function
! PangoLayout *pango_layout_copy (PangoLayout *src);
function pango_layout_copy(src) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_copy
type(c_ptr), value :: src
end function
! PangoContext *pango_layout_get_context (PangoLayout *layout);
function pango_layout_get_context(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_context
type(c_ptr), value :: layout
end function
! void pango_layout_set_attributes (PangoLayout *layout, PangoAttrList *attrs);
subroutine pango_layout_set_attributes(layout, attrs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: attrs
end subroutine
! PangoAttrList *pango_layout_get_attributes (PangoLayout *layout);
function pango_layout_get_attributes(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_attributes
type(c_ptr), value :: layout
end function
! void pango_layout_set_text (PangoLayout *layout, const char *text, int length);
subroutine pango_layout_set_text(layout, text, length) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: layout
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
end subroutine
! const char *pango_layout_get_text (PangoLayout *layout);
function pango_layout_get_text(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_text
type(c_ptr), value :: layout
end function
! gint pango_layout_get_character_count (PangoLayout *layout);
function pango_layout_get_character_count(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_character_count
type(c_ptr), value :: layout
end function
! void pango_layout_set_markup (PangoLayout *layout, const char *markup, int length);
subroutine pango_layout_set_markup(layout, markup, length) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: layout
character(kind=c_char), dimension(*) :: markup
integer(c_int), value :: length
end subroutine
! void pango_layout_set_markup_with_accel (PangoLayout *layout, const char *markup, int length, gunichar accel_marker, gunichar *accel_char);
subroutine pango_layout_set_markup_with_accel(layout, markup, length, accel_mar&
&ker, accel_char) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int, c_int32_t
type(c_ptr), value :: layout
character(kind=c_char), dimension(*) :: markup
integer(c_int), value :: length
integer(c_int32_t), value :: accel_marker
character(kind=c_char), dimension(*) :: accel_char
end subroutine
! void pango_layout_set_font_description (PangoLayout *layout, const PangoFontDescription *desc);
subroutine pango_layout_set_font_description(layout, desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: desc
end subroutine
! const PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout);
function pango_layout_get_font_description(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_font_description
type(c_ptr), value :: layout
end function
! void pango_layout_set_width (PangoLayout *layout, int width);
subroutine pango_layout_set_width(layout, width) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: width
end subroutine
! int pango_layout_get_width (PangoLayout *layout);
function pango_layout_get_width(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_width
type(c_ptr), value :: layout
end function
! void pango_layout_set_height (PangoLayout *layout, int height);
subroutine pango_layout_set_height(layout, height) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: height
end subroutine
! int pango_layout_get_height (PangoLayout *layout);
function pango_layout_get_height(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_height
type(c_ptr), value :: layout
end function
! void pango_layout_set_wrap (PangoLayout *layout, PangoWrapMode wrap);
subroutine pango_layout_set_wrap(layout, wrap) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: wrap
end subroutine
! PangoWrapMode pango_layout_get_wrap (PangoLayout *layout);
function pango_layout_get_wrap(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_wrap
type(c_ptr), value :: layout
end function
! gboolean pango_layout_is_wrapped (PangoLayout *layout);
function pango_layout_is_wrapped(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_is_wrapped
type(c_ptr), value :: layout
end function
! void pango_layout_set_indent (PangoLayout *layout, int indent);
subroutine pango_layout_set_indent(layout, indent) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: indent
end subroutine
! int pango_layout_get_indent (PangoLayout *layout);
function pango_layout_get_indent(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_indent
type(c_ptr), value :: layout
end function
! void pango_layout_set_spacing (PangoLayout *layout, int spacing);
subroutine pango_layout_set_spacing(layout, spacing) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: spacing
end subroutine
! int pango_layout_get_spacing (PangoLayout *layout);
function pango_layout_get_spacing(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_spacing
type(c_ptr), value :: layout
end function
! void pango_layout_set_justify (PangoLayout *layout, gboolean justify);
subroutine pango_layout_set_justify(layout, justify) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: justify
end subroutine
! gboolean pango_layout_get_justify (PangoLayout *layout);
function pango_layout_get_justify(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_justify
type(c_ptr), value :: layout
end function
! void pango_layout_set_auto_dir (PangoLayout *layout, gboolean auto_dir);
subroutine pango_layout_set_auto_dir(layout, auto_dir) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: auto_dir
end subroutine
! gboolean pango_layout_get_auto_dir (PangoLayout *layout);
function pango_layout_get_auto_dir(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_auto_dir
type(c_ptr), value :: layout
end function
! void pango_layout_set_alignment (PangoLayout *layout, PangoAlignment alignment);
subroutine pango_layout_set_alignment(layout, alignment) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: alignment
end subroutine
! PangoAlignment pango_layout_get_alignment (PangoLayout *layout);
function pango_layout_get_alignment(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_alignment
type(c_ptr), value :: layout
end function
! void pango_layout_set_tabs (PangoLayout *layout, PangoTabArray *tabs);
subroutine pango_layout_set_tabs(layout, tabs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: tabs
end subroutine
! PangoTabArray* pango_layout_get_tabs (PangoLayout *layout);
function pango_layout_get_tabs(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_tabs
type(c_ptr), value :: layout
end function
! void pango_layout_set_single_paragraph_mode (PangoLayout *layout, gboolean setting);
subroutine pango_layout_set_single_paragraph_mode(layout, setting) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: setting
end subroutine
! gboolean pango_layout_get_single_paragraph_mode (PangoLayout *layout);
function pango_layout_get_single_paragraph_mode(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_single_paragraph_mode
type(c_ptr), value :: layout
end function
! void pango_layout_set_ellipsize (PangoLayout *layout, PangoEllipsizeMode ellipsize);
subroutine pango_layout_set_ellipsize(layout, ellipsize) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: ellipsize
end subroutine
! PangoEllipsizeMode pango_layout_get_ellipsize (PangoLayout *layout);
function pango_layout_get_ellipsize(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_ellipsize
type(c_ptr), value :: layout
end function
! gboolean pango_layout_is_ellipsized (PangoLayout *layout);
function pango_layout_is_ellipsized(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_is_ellipsized
type(c_ptr), value :: layout
end function
! int pango_layout_get_unknown_glyphs_count (PangoLayout *layout);
function pango_layout_get_unknown_glyphs_count(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_unknown_glyphs_count
type(c_ptr), value :: layout
end function
! void pango_layout_context_changed (PangoLayout *layout);
subroutine pango_layout_context_changed(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
end subroutine
! void pango_layout_get_log_attrs (PangoLayout *layout, PangoLogAttr **attrs, gint *n_attrs);
subroutine pango_layout_get_log_attrs(layout, attrs, n_attrs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: attrs
type(c_ptr), value :: n_attrs
end subroutine
! const PangoLogAttr *pango_layout_get_log_attrs_readonly (PangoLayout *layout, gint *n_attrs);
function pango_layout_get_log_attrs_readonly(layout, n_attrs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_log_attrs_readonly
type(c_ptr), value :: layout
type(c_ptr), value :: n_attrs
end function
! void pango_layout_index_to_pos (PangoLayout *layout, int index_, PangoRectangle *pos);
subroutine pango_layout_index_to_pos(layout, index_, pos) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: index_
type(c_ptr), value :: pos
end subroutine
! void pango_layout_index_to_line_x (PangoLayout *layout, int index_, gboolean trailing, int *line, int *x_pos);
subroutine pango_layout_index_to_line_x(layout, index_, trailing, line, x_pos) &
&bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: index_
integer(c_int), value :: trailing
type(c_ptr), value :: line
type(c_ptr), value :: x_pos
end subroutine
! void pango_layout_get_cursor_pos (PangoLayout *layout, int index_, PangoRectangle *strong_pos, PangoRectangle *weak_pos);
subroutine pango_layout_get_cursor_pos(layout, index_, strong_pos, weak_pos) bi&
&nd(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: index_
type(c_ptr), value :: strong_pos
type(c_ptr), value :: weak_pos
end subroutine
! void pango_layout_move_cursor_visually (PangoLayout *layout, gboolean strong, int old_index, int old_trailing, int direction, int *new_index, int *new_trailing);
subroutine pango_layout_move_cursor_visually(layout, strong, old_index, old_tra&
&iling, direction, new_index, new_trailing) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: layout
integer(c_int), value :: strong
integer(c_int), value :: old_index
integer(c_int), value :: old_trailing
integer(c_int), value :: direction
type(c_ptr), value :: new_index
type(c_ptr), value :: new_trailing
end subroutine
! gboolean pango_layout_xy_to_index (PangoLayout *layout, int x, int y, int *index_, int *trailing);
function pango_layout_xy_to_index(layout, x, y, index_, trailing) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_xy_to_index
type(c_ptr), value :: layout
integer(c_int), value :: x
integer(c_int), value :: y
type(c_ptr), value :: index_
type(c_ptr), value :: trailing
end function
! void pango_layout_get_extents (PangoLayout *layout, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_get_extents(layout, ink_rect, logical_rect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_get_pixel_extents (PangoLayout *layout, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_get_pixel_extents(layout, ink_rect, logical_rect) bind(&
&c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_get_size (PangoLayout *layout, int *width, int *height);
subroutine pango_layout_get_size(layout, width, height) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: width
type(c_ptr), value :: height
end subroutine
! void pango_layout_get_pixel_size (PangoLayout *layout, int *width, int *height);
subroutine pango_layout_get_pixel_size(layout, width, height) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout
type(c_ptr), value :: width
type(c_ptr), value :: height
end subroutine
! int pango_layout_get_baseline (PangoLayout *layout);
function pango_layout_get_baseline(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_baseline
type(c_ptr), value :: layout
end function
! int pango_layout_get_line_count (PangoLayout *layout);
function pango_layout_get_line_count(layout) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_get_line_count
type(c_ptr), value :: layout
end function
! PangoLayoutLine *pango_layout_get_line (PangoLayout *layout, int line);
function pango_layout_get_line(layout, line) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_layout_get_line
type(c_ptr), value :: layout
integer(c_int), value :: line
end function
! PangoLayoutLine *pango_layout_get_line_readonly (PangoLayout *layout, int line);
function pango_layout_get_line_readonly(layout, line) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_layout_get_line_readonly
type(c_ptr), value :: layout
integer(c_int), value :: line
end function
! GSList * pango_layout_get_lines (PangoLayout *layout);
function pango_layout_get_lines(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_lines
type(c_ptr), value :: layout
end function
! GSList * pango_layout_get_lines_readonly (PangoLayout *layout);
function pango_layout_get_lines_readonly(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_lines_readonly
type(c_ptr), value :: layout
end function
! GType pango_layout_line_get_type (void) G_GNUC_CONST;
function pango_layout_line_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_layout_line_get_type
end function
! PangoLayoutLine *pango_layout_line_ref (PangoLayoutLine *line);
function pango_layout_line_ref(line) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_line_ref
type(c_ptr), value :: line
end function
! void pango_layout_line_unref (PangoLayoutLine *line);
subroutine pango_layout_line_unref(line) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: line
end subroutine
! gboolean pango_layout_line_x_to_index (PangoLayoutLine *line, int x_pos, int *index_, int *trailing);
function pango_layout_line_x_to_index(line, x_pos, index_, trailing) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_line_x_to_index
type(c_ptr), value :: line
integer(c_int), value :: x_pos
type(c_ptr), value :: index_
type(c_ptr), value :: trailing
end function
! void pango_layout_line_index_to_x (PangoLayoutLine *line, int index_, gboolean trailing, int *x_pos);
subroutine pango_layout_line_index_to_x(line, index_, trailing, x_pos) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: line
integer(c_int), value :: index_
integer(c_int), value :: trailing
type(c_ptr), value :: x_pos
end subroutine
! void pango_layout_line_get_x_ranges (PangoLayoutLine *line, int start_index, int end_index, int **ranges, int *n_ranges);
subroutine pango_layout_line_get_x_ranges(line, start_index, end_index, ranges,&
& n_ranges) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: line
integer(c_int), value :: start_index
integer(c_int), value :: end_index
type(c_ptr), value :: ranges
type(c_ptr), value :: n_ranges
end subroutine
! void pango_layout_line_get_extents (PangoLayoutLine *line, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_line_get_extents(line, ink_rect, logical_rect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: line
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_line_get_pixel_extents (PangoLayoutLine *layout_line, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_line_get_pixel_extents(layout_line, ink_rect, logical_r&
&ect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: layout_line
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! GType pango_layout_iter_get_type (void) G_GNUC_CONST;
function pango_layout_iter_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_layout_iter_get_type
end function
! PangoLayoutIter *pango_layout_get_iter (PangoLayout *layout);
function pango_layout_get_iter(layout) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_get_iter
type(c_ptr), value :: layout
end function
! PangoLayoutIter *pango_layout_iter_copy (PangoLayoutIter *iter);
function pango_layout_iter_copy(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_iter_copy
type(c_ptr), value :: iter
end function
! void pango_layout_iter_free (PangoLayoutIter *iter);
subroutine pango_layout_iter_free(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
end subroutine
! int pango_layout_iter_get_index (PangoLayoutIter *iter);
function pango_layout_iter_get_index(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_get_index
type(c_ptr), value :: iter
end function
! PangoLayoutRun *pango_layout_iter_get_run (PangoLayoutIter *iter);
function pango_layout_iter_get_run(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_iter_get_run
type(c_ptr), value :: iter
end function
! PangoLayoutRun *pango_layout_iter_get_run_readonly (PangoLayoutIter *iter);
function pango_layout_iter_get_run_readonly(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_iter_get_run_readonly
type(c_ptr), value :: iter
end function
! PangoLayoutLine *pango_layout_iter_get_line (PangoLayoutIter *iter);
function pango_layout_iter_get_line(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_iter_get_line
type(c_ptr), value :: iter
end function
! PangoLayoutLine *pango_layout_iter_get_line_readonly (PangoLayoutIter *iter);
function pango_layout_iter_get_line_readonly(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_iter_get_line_readonly
type(c_ptr), value :: iter
end function
! gboolean pango_layout_iter_at_last_line (PangoLayoutIter *iter);
function pango_layout_iter_at_last_line(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_at_last_line
type(c_ptr), value :: iter
end function
! PangoLayout *pango_layout_iter_get_layout (PangoLayoutIter *iter);
function pango_layout_iter_get_layout(iter) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_layout_iter_get_layout
type(c_ptr), value :: iter
end function
! gboolean pango_layout_iter_next_char (PangoLayoutIter *iter);
function pango_layout_iter_next_char(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_next_char
type(c_ptr), value :: iter
end function
! gboolean pango_layout_iter_next_cluster (PangoLayoutIter *iter);
function pango_layout_iter_next_cluster(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_next_cluster
type(c_ptr), value :: iter
end function
! gboolean pango_layout_iter_next_run (PangoLayoutIter *iter);
function pango_layout_iter_next_run(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_next_run
type(c_ptr), value :: iter
end function
! gboolean pango_layout_iter_next_line (PangoLayoutIter *iter);
function pango_layout_iter_next_line(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_next_line
type(c_ptr), value :: iter
end function
! void pango_layout_iter_get_char_extents (PangoLayoutIter *iter, PangoRectangle *logical_rect);
subroutine pango_layout_iter_get_char_extents(iter, logical_rect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_iter_get_cluster_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_iter_get_cluster_extents(iter, ink_rect, logical_rect) &
&bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_iter_get_run_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_iter_get_run_extents(iter, ink_rect, logical_rect) bind&
&(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_iter_get_line_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_iter_get_line_extents(iter, ink_rect, logical_rect) bin&
&d(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_layout_iter_get_line_yrange (PangoLayoutIter *iter, int *y0_, int *y1_);
subroutine pango_layout_iter_get_line_yrange(iter, y0_, y1_) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
type(c_ptr), value :: y0_
type(c_ptr), value :: y1_
end subroutine
! void pango_layout_iter_get_layout_extents (PangoLayoutIter *iter, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_layout_iter_get_layout_extents(iter, ink_rect, logical_rect) b&
&ind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: iter
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! int pango_layout_iter_get_baseline (PangoLayoutIter *iter);
function pango_layout_iter_get_baseline(iter) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_layout_iter_get_baseline
type(c_ptr), value :: iter
end function
! int pango_units_from_double (double d) G_GNUC_CONST;
function pango_units_from_double(d) bind(c)
use iso_c_binding, only: c_int, c_double
integer(c_int) :: pango_units_from_double
real(c_double), value :: d
end function
! double pango_units_to_double (int i) G_GNUC_CONST;
function pango_units_to_double(i) bind(c)
use iso_c_binding, only: c_double, c_int
real(c_double) :: pango_units_to_double
integer(c_int), value :: i
end function
! void pango_extents_to_pixels (PangoRectangle *inclusive, PangoRectangle *nearest);
subroutine pango_extents_to_pixels(inclusive, nearest) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: inclusive
type(c_ptr), value :: nearest
end subroutine
! double pango_gravity_to_rotation (PangoGravity gravity) G_GNUC_CONST;
function pango_gravity_to_rotation(gravity) bind(c)
use iso_c_binding, only: c_double, c_int
real(c_double) :: pango_gravity_to_rotation
integer(c_int), value :: gravity
end function
! PangoGravity pango_gravity_get_for_matrix (const PangoMatrix *matrix) G_GNUC_PURE;
function pango_gravity_get_for_matrix(matrix) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_gravity_get_for_matrix
type(c_ptr), value :: matrix
end function
! PangoGravity pango_gravity_get_for_script (PangoScript script, PangoGravity base_gravity, PangoGravityHint hint) G_GNUC_CONST;
function pango_gravity_get_for_script(script, base_gravity, hint) bind(c)
use iso_c_binding, only: c_int
integer(c_int) :: pango_gravity_get_for_script
integer(c_int), value :: script
integer(c_int), value :: base_gravity
integer(c_int), value :: hint
end function
! PangoGravity pango_gravity_get_for_script_and_width (PangoScript script, gboolean wide, PangoGravity base_gravity, PangoGravityHint hint) G_GNUC_CONST;
function pango_gravity_get_for_script_and_width(script, wide, base_gravity, hin&
&t) bind(c)
use iso_c_binding, only: c_int
integer(c_int) :: pango_gravity_get_for_script_and_width
integer(c_int), value :: script
integer(c_int), value :: wide
integer(c_int), value :: base_gravity
integer(c_int), value :: hint
end function
! PangoLanguage *pango_fc_fontset_key_get_language (const PangoFcFontsetKey *key);
function pango_fc_fontset_key_get_language(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_fontset_key_get_language
type(c_ptr), value :: key
end function
! const PangoFontDescription *pango_fc_fontset_key_get_description (const PangoFcFontsetKey *key);
function pango_fc_fontset_key_get_description(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_fontset_key_get_description
type(c_ptr), value :: key
end function
! const PangoMatrix *pango_fc_fontset_key_get_matrix (const PangoFcFontsetKey *key);
function pango_fc_fontset_key_get_matrix(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_fontset_key_get_matrix
type(c_ptr), value :: key
end function
! double pango_fc_fontset_key_get_absolute_size (const PangoFcFontsetKey *key);
function pango_fc_fontset_key_get_absolute_size(key) bind(c)
use iso_c_binding, only: c_double, c_ptr
real(c_double) :: pango_fc_fontset_key_get_absolute_size
type(c_ptr), value :: key
end function
! double pango_fc_fontset_key_get_resolution (const PangoFcFontsetKey *key);
function pango_fc_fontset_key_get_resolution(key) bind(c)
use iso_c_binding, only: c_double, c_ptr
real(c_double) :: pango_fc_fontset_key_get_resolution
type(c_ptr), value :: key
end function
! gpointer pango_fc_fontset_key_get_context_key (const PangoFcFontsetKey *key);
function pango_fc_fontset_key_get_context_key(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_fontset_key_get_context_key
type(c_ptr), value :: key
end function
! const FcPattern *pango_fc_font_key_get_pattern (const PangoFcFontKey *key);
function pango_fc_font_key_get_pattern(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_font_key_get_pattern
type(c_ptr), value :: key
end function
! const PangoMatrix *pango_fc_font_key_get_matrix (const PangoFcFontKey *key);
function pango_fc_font_key_get_matrix(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_font_key_get_matrix
type(c_ptr), value :: key
end function
! gpointer pango_fc_font_key_get_context_key (const PangoFcFontKey *key);
function pango_fc_font_key_get_context_key(key) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_font_key_get_context_key
type(c_ptr), value :: key
end function
! void pango_fc_font_map_shutdown (PangoFcFontMap *fcfontmap);
subroutine pango_fc_font_map_shutdown(fcfontmap) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: fcfontmap
end subroutine
! GType pango_fc_font_map_get_type (void) G_GNUC_CONST;
function pango_fc_font_map_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_fc_font_map_get_type
end function
! void pango_fc_font_map_cache_clear (PangoFcFontMap *fcfontmap);
subroutine pango_fc_font_map_cache_clear(fcfontmap) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: fcfontmap
end subroutine
! void pango_fc_font_map_add_decoder_find_func (PangoFcFontMap *fcfontmap, PangoFcDecoderFindFunc findfunc, gpointer user_data, GDestroyNotify dnotify);
subroutine pango_fc_font_map_add_decoder_find_func(fcfontmap, findfunc, user_da&
&ta, dnotify) bind(c)
use iso_c_binding, only: c_ptr, c_funptr
type(c_ptr), value :: fcfontmap
type(c_funptr), value :: findfunc
type(c_ptr), value :: user_data
type(c_funptr), value :: dnotify
end subroutine
! PangoFcDecoder *pango_fc_font_map_find_decoder (PangoFcFontMap *fcfontmap, FcPattern *pattern);
function pango_fc_font_map_find_decoder(fcfontmap, pattern) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fc_font_map_find_decoder
type(c_ptr), value :: fcfontmap
type(c_ptr), value :: pattern
end function
! PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern, gboolean include_size);
function pango_fc_font_description_from_pattern(pattern, include_size) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_fc_font_description_from_pattern
type(c_ptr), value :: pattern
integer(c_int), value :: include_size
end function
! PangoGlyphString *pango_glyph_string_new (void);
function pango_glyph_string_new() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_glyph_string_new
end function
! void pango_glyph_string_set_size (PangoGlyphString *string, gint new_len);
subroutine pango_glyph_string_set_size(string, new_len) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: string
integer(c_int), value :: new_len
end subroutine
! GType pango_glyph_string_get_type (void) G_GNUC_CONST;
function pango_glyph_string_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_glyph_string_get_type
end function
! PangoGlyphString *pango_glyph_string_copy (PangoGlyphString *string);
function pango_glyph_string_copy(string) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_glyph_string_copy
type(c_ptr), value :: string
end function
! void pango_glyph_string_free (PangoGlyphString *string);
subroutine pango_glyph_string_free(string) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: string
end subroutine
! void pango_glyph_string_extents (PangoGlyphString *glyphs, PangoFont *font, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_glyph_string_extents(glyphs, font, ink_rect, logical_rect) bin&
&d(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: glyphs
type(c_ptr), value :: font
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! int pango_glyph_string_get_width(PangoGlyphString *glyphs);
function pango_glyph_string_get_width(glyphs) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_glyph_string_get_width
type(c_ptr), value :: glyphs
end function
! void pango_glyph_string_extents_range (PangoGlyphString *glyphs, int start, int end, PangoFont *font, PangoRectangle *ink_rect, PangoRectangle *logical_rect);
subroutine pango_glyph_string_extents_range(glyphs, start, end, font, ink_rect,&
& logical_rect) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: glyphs
integer(c_int), value :: start
integer(c_int), value :: end
type(c_ptr), value :: font
type(c_ptr), value :: ink_rect
type(c_ptr), value :: logical_rect
end subroutine
! void pango_glyph_string_get_logical_widths (PangoGlyphString *glyphs, const char *text, int length, int embedding_level, int *logical_widths);
subroutine pango_glyph_string_get_logical_widths(glyphs, text, length, embeddin&
&g_level, logical_widths) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: glyphs
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
integer(c_int), value :: embedding_level
type(c_ptr), value :: logical_widths
end subroutine
! void pango_glyph_string_index_to_x (PangoGlyphString *glyphs, char *text, int length, PangoAnalysis *analysis, int index_, gboolean trailing, int *x_pos);
subroutine pango_glyph_string_index_to_x(glyphs, text, length, analysis, index_&
&, trailing, x_pos) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: glyphs
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
type(c_ptr), value :: analysis
integer(c_int), value :: index_
integer(c_int), value :: trailing
type(c_ptr), value :: x_pos
end subroutine
! void pango_glyph_string_x_to_index (PangoGlyphString *glyphs, char *text, int length, PangoAnalysis *analysis, int x_pos, int *index_, int *trailing);
subroutine pango_glyph_string_x_to_index(glyphs, text, length, analysis, x_pos,&
& index_, trailing) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: glyphs
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
type(c_ptr), value :: analysis
integer(c_int), value :: x_pos
type(c_ptr), value :: index_
type(c_ptr), value :: trailing
end subroutine
! void pango_shape (const gchar *text, gint length, const PangoAnalysis *analysis, PangoGlyphString *glyphs);
subroutine pango_shape(text, length, analysis, glyphs) bind(c)
use iso_c_binding, only: c_char, c_int, c_ptr
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
type(c_ptr), value :: analysis
type(c_ptr), value :: glyphs
end subroutine
! GList *pango_reorder_items (GList *logical_items);
function pango_reorder_items(logical_items) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_reorder_items
type(c_ptr), value :: logical_items
end function
! PangoMap * pango_find_map (PangoLanguage *language, guint engine_type_id, guint render_type_id);
function pango_find_map(language, engine_type_id, render_type_id) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_find_map
type(c_ptr), value :: language
integer(c_int), value :: engine_type_id
integer(c_int), value :: render_type_id
end function
! PangoEngine * pango_map_get_engine (PangoMap *map, PangoScript script);
function pango_map_get_engine(map, script) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_map_get_engine
type(c_ptr), value :: map
integer(c_int), value :: script
end function
! void pango_map_get_engines (PangoMap *map, PangoScript script, GSList **exact_engines, GSList **fallback_engines);
subroutine pango_map_get_engines(map, script, exact_engines, fallback_engines) &
&bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: map
integer(c_int), value :: script
type(c_ptr), value :: exact_engines
type(c_ptr), value :: fallback_engines
end subroutine
! void pango_module_register (PangoIncludedModule *module);
subroutine pango_module_register(module) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: module
end subroutine
! GType pango_font_map_get_type (void) G_GNUC_CONST;
function pango_font_map_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_map_get_type
end function
! PangoContext * pango_font_map_create_context (PangoFontMap *fontmap);
function pango_font_map_create_context(fontmap) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_map_create_context
type(c_ptr), value :: fontmap
end function
! PangoFont * pango_font_map_load_font (PangoFontMap *fontmap, PangoContext *context, const PangoFontDescription *desc);
function pango_font_map_load_font(fontmap, context, desc) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_map_load_font
type(c_ptr), value :: fontmap
type(c_ptr), value :: context
type(c_ptr), value :: desc
end function
! PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap, PangoContext *context, const PangoFontDescription *desc, PangoLanguage *language);
function pango_font_map_load_fontset(fontmap, context, desc, language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_map_load_fontset
type(c_ptr), value :: fontmap
type(c_ptr), value :: context
type(c_ptr), value :: desc
type(c_ptr), value :: language
end function
! void pango_font_map_list_families (PangoFontMap *fontmap, PangoFontFamily ***families, int *n_families);
subroutine pango_font_map_list_families(fontmap, families, n_families) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: fontmap
type(c_ptr), value :: families
type(c_ptr), value :: n_families
end subroutine
! const char *pango_font_map_get_shape_engine_type (PangoFontMap *fontmap);
function pango_font_map_get_shape_engine_type(fontmap) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_font_map_get_shape_engine_type
type(c_ptr), value :: fontmap
end function
! void pango_break (const gchar *text, int length, PangoAnalysis *analysis, PangoLogAttr *attrs, int attrs_len);
subroutine pango_break(text, length, analysis, attrs, attrs_len) bind(c)
use iso_c_binding, only: c_char, c_int, c_ptr
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
type(c_ptr), value :: analysis
type(c_ptr), value :: attrs
integer(c_int), value :: attrs_len
end subroutine
! void pango_find_paragraph_boundary (const gchar *text, gint length, gint *paragraph_delimiter_index, gint *next_paragraph_start);
subroutine pango_find_paragraph_boundary(text, length, paragraph_delimiter_inde&
&x, next_paragraph_start) bind(c)
use iso_c_binding, only: c_char, c_int, c_ptr
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
type(c_ptr), value :: paragraph_delimiter_index
type(c_ptr), value :: next_paragraph_start
end subroutine
! void pango_get_log_attrs (const char *text, int length, int level, PangoLanguage *language, PangoLogAttr *log_attrs, int attrs_len);
subroutine pango_get_log_attrs(text, length, level, language, log_attrs, attrs_&
&len) bind(c)
use iso_c_binding, only: c_char, c_int, c_ptr
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
integer(c_int), value :: level
type(c_ptr), value :: language
type(c_ptr), value :: log_attrs
integer(c_int), value :: attrs_len
end subroutine
! void pango_default_break (const gchar *text, int length, PangoAnalysis *analysis, PangoLogAttr *attrs, int attrs_len);
subroutine pango_default_break(text, length, analysis, attrs, attrs_len) bind(c&
&)
use iso_c_binding, only: c_char, c_int, c_ptr
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
type(c_ptr), value :: analysis
type(c_ptr), value :: attrs
integer(c_int), value :: attrs_len
end subroutine
! GType pango_xft_renderer_get_type (void) G_GNUC_CONST;
function pango_xft_renderer_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_xft_renderer_get_type
end function
! PangoRenderer *pango_xft_renderer_new (Display *display, int screen);
function pango_xft_renderer_new(display, screen) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_xft_renderer_new
type(c_ptr), value :: display
integer(c_int), value :: screen
end function
! void pango_xft_renderer_set_draw (PangoXftRenderer *xftrenderer, XftDraw *draw);
subroutine pango_xft_renderer_set_draw(xftrenderer, draw) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: xftrenderer
type(c_ptr), value :: draw
end subroutine
! void pango_xft_renderer_set_default_color (PangoXftRenderer *xftrenderer, PangoColor *default_color);
subroutine pango_xft_renderer_set_default_color(xftrenderer, default_color) bin&
&d(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: xftrenderer
type(c_ptr), value :: default_color
end subroutine
! void pango_xft_render (XftDraw *draw, XftColor *color, PangoFont *font, PangoGlyphString *glyphs, gint x, gint y);
subroutine pango_xft_render(draw, color, font, glyphs, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: draw
type(c_ptr), value :: color
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_xft_picture_render (Display *display, Picture src_picture, Picture dest_picture, PangoFont *font, PangoGlyphString *glyphs, gint x, gint y);
subroutine pango_xft_picture_render(display, src_picture, dest_picture, font, g&
&lyphs, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_long, c_int
type(c_ptr), value :: display
integer(c_long), value :: src_picture
integer(c_long), value :: dest_picture
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_xft_render_transformed (XftDraw *draw, XftColor *color, PangoMatrix *matrix, PangoFont *font, PangoGlyphString *glyphs, int x, int y);
subroutine pango_xft_render_transformed(draw, color, matrix, font, glyphs, x, y&
&) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: draw
type(c_ptr), value :: color
type(c_ptr), value :: matrix
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_xft_render_layout_line (XftDraw *draw, XftColor *color, PangoLayoutLine *line, int x, int y);
subroutine pango_xft_render_layout_line(draw, color, line, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: draw
type(c_ptr), value :: color
type(c_ptr), value :: line
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! void pango_xft_render_layout (XftDraw *draw, XftColor *color, PangoLayout *layout, int x, int y);
subroutine pango_xft_render_layout(draw, color, layout, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: draw
type(c_ptr), value :: color
type(c_ptr), value :: layout
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! GType pango_matrix_get_type (void) G_GNUC_CONST;
function pango_matrix_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_matrix_get_type
end function
! PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix);
function pango_matrix_copy(matrix) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_matrix_copy
type(c_ptr), value :: matrix
end function
! void pango_matrix_free (PangoMatrix *matrix);
subroutine pango_matrix_free(matrix) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: matrix
end subroutine
! void pango_matrix_translate (PangoMatrix *matrix, double tx, double ty);
subroutine pango_matrix_translate(matrix, tx, ty) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: matrix
real(c_double), value :: tx
real(c_double), value :: ty
end subroutine
! void pango_matrix_scale (PangoMatrix *matrix, double scale_x, double scale_y);
subroutine pango_matrix_scale(matrix, scale_x, scale_y) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: matrix
real(c_double), value :: scale_x
real(c_double), value :: scale_y
end subroutine
! void pango_matrix_rotate (PangoMatrix *matrix, double degrees);
subroutine pango_matrix_rotate(matrix, degrees) bind(c)
use iso_c_binding, only: c_ptr, c_double
type(c_ptr), value :: matrix
real(c_double), value :: degrees
end subroutine
! void pango_matrix_concat (PangoMatrix *matrix, const PangoMatrix *new_matrix);
subroutine pango_matrix_concat(matrix, new_matrix) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: matrix
type(c_ptr), value :: new_matrix
end subroutine
! void pango_matrix_transform_point (const PangoMatrix *matrix, double *x, double *y);
subroutine pango_matrix_transform_point(matrix, x, y) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: matrix
type(c_ptr), value :: x
type(c_ptr), value :: y
end subroutine
! void pango_matrix_transform_distance (const PangoMatrix *matrix, double *dx, double *dy);
subroutine pango_matrix_transform_distance(matrix, dx, dy) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: matrix
type(c_ptr), value :: dx
type(c_ptr), value :: dy
end subroutine
! void pango_matrix_transform_rectangle (const PangoMatrix *matrix, PangoRectangle *rect);
subroutine pango_matrix_transform_rectangle(matrix, rect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: matrix
type(c_ptr), value :: rect
end subroutine
! void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix, PangoRectangle *rect);
subroutine pango_matrix_transform_pixel_rectangle(matrix, rect) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: matrix
type(c_ptr), value :: rect
end subroutine
! double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PURE;
function pango_matrix_get_font_scale_factor(matrix) bind(c)
use iso_c_binding, only: c_double, c_ptr
real(c_double) :: pango_matrix_get_font_scale_factor
type(c_ptr), value :: matrix
end function
! GType pango_fontset_get_type (void) G_GNUC_CONST;
function pango_fontset_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_fontset_get_type
end function
! PangoFont * pango_fontset_get_font (PangoFontset *fontset, guint wc);
function pango_fontset_get_font(fontset, wc) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_fontset_get_font
type(c_ptr), value :: fontset
integer(c_int), value :: wc
end function
! PangoFontMetrics *pango_fontset_get_metrics (PangoFontset *fontset);
function pango_fontset_get_metrics(fontset) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fontset_get_metrics
type(c_ptr), value :: fontset
end function
! void pango_fontset_foreach (PangoFontset *fontset, PangoFontsetForeachFunc func, gpointer data);
subroutine pango_fontset_foreach(fontset, func, data) bind(c)
use iso_c_binding, only: c_ptr, c_funptr
type(c_ptr), value :: fontset
type(c_funptr), value :: func
type(c_ptr), value :: data
end subroutine
! GType pango_fontset_simple_get_type (void) G_GNUC_CONST;
function pango_fontset_simple_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_fontset_simple_get_type
end function
! PangoFontsetSimple * pango_fontset_simple_new (PangoLanguage *language);
function pango_fontset_simple_new(language) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_fontset_simple_new
type(c_ptr), value :: language
end function
! void pango_fontset_simple_append (PangoFontsetSimple *fontset, PangoFont *font);
subroutine pango_fontset_simple_append(fontset, font) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: fontset
type(c_ptr), value :: font
end subroutine
! int pango_fontset_simple_size (PangoFontsetSimple *fontset);
function pango_fontset_simple_size(fontset) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_fontset_simple_size
type(c_ptr), value :: fontset
end function
! PangoTabArray *pango_tab_array_new (gint initial_size, gboolean positions_in_pixels);
function pango_tab_array_new(initial_size, positions_in_pixels) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_tab_array_new
integer(c_int), value :: initial_size
integer(c_int), value :: positions_in_pixels
end function
! GType pango_tab_array_get_type (void) G_GNUC_CONST;
function pango_tab_array_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_tab_array_get_type
end function
! PangoTabArray *pango_tab_array_copy (PangoTabArray *src);
function pango_tab_array_copy(src) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_tab_array_copy
type(c_ptr), value :: src
end function
! void pango_tab_array_free (PangoTabArray *tab_array);
subroutine pango_tab_array_free(tab_array) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: tab_array
end subroutine
! gint pango_tab_array_get_size (PangoTabArray *tab_array);
function pango_tab_array_get_size(tab_array) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_tab_array_get_size
type(c_ptr), value :: tab_array
end function
! void pango_tab_array_resize (PangoTabArray *tab_array, gint new_size);
subroutine pango_tab_array_resize(tab_array, new_size) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: tab_array
integer(c_int), value :: new_size
end subroutine
! void pango_tab_array_set_tab (PangoTabArray *tab_array, gint tab_index, PangoTabAlign alignment, gint location);
subroutine pango_tab_array_set_tab(tab_array, tab_index, alignment, location) b&
&ind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: tab_array
integer(c_int), value :: tab_index
integer(c_int), value :: alignment
integer(c_int), value :: location
end subroutine
! void pango_tab_array_get_tab (PangoTabArray *tab_array, gint tab_index, PangoTabAlign *alignment, gint *location);
subroutine pango_tab_array_get_tab(tab_array, tab_index, alignment, location) b&
&ind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: tab_array
integer(c_int), value :: tab_index
integer(c_int), value :: alignment
type(c_ptr), value :: location
end subroutine
! void pango_tab_array_get_tabs (PangoTabArray *tab_array, PangoTabAlign **alignments, gint **locations);
subroutine pango_tab_array_get_tabs(tab_array, alignments, locations) bind(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr), value :: tab_array
integer(c_int), value :: alignments
type(c_ptr), value :: locations
end subroutine
! gboolean pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array);
function pango_tab_array_get_positions_in_pixels(tab_array) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_tab_array_get_positions_in_pixels
type(c_ptr), value :: tab_array
end function
! char ** pango_split_file_list (const char *str);
function pango_split_file_list(str) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_split_file_list
character(kind=c_char), dimension(*) :: str
end function
! char *pango_trim_string (const char *str);
function pango_trim_string(str) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_trim_string
character(kind=c_char), dimension(*) :: str
end function
! gint pango_read_line (FILE *stream, GString *str);
function pango_read_line(stream, str) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_read_line
type(c_ptr), value :: stream
type(c_ptr), value :: str
end function
! gboolean pango_skip_space (const char **pos);
function pango_skip_space(pos) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_skip_space
type(c_ptr), dimension(*) :: pos
end function
! gboolean pango_scan_word (const char **pos, GString *out);
function pango_scan_word(pos, out) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_scan_word
type(c_ptr), dimension(*) :: pos
type(c_ptr), value :: out
end function
! gboolean pango_scan_string (const char **pos, GString *out);
function pango_scan_string(pos, out) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_scan_string
type(c_ptr), dimension(*) :: pos
type(c_ptr), value :: out
end function
! gboolean pango_scan_int (const char **pos, int *out);
function pango_scan_int(pos, out) bind(c)
use iso_c_binding, only: c_int, c_ptr
integer(c_int) :: pango_scan_int
type(c_ptr), dimension(*) :: pos
type(c_ptr), value :: out
end function
! char * pango_config_key_get (const char *key);
function pango_config_key_get(key) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_config_key_get
character(kind=c_char), dimension(*) :: key
end function
! void pango_lookup_aliases (const char *fontname, char ***families, int *n_families);
subroutine pango_lookup_aliases(fontname, families, n_families) bind(c)
use iso_c_binding, only: c_char, c_ptr
character(kind=c_char), dimension(*) :: fontname
type(c_ptr), dimension(*) :: families
type(c_ptr), value :: n_families
end subroutine
! gboolean pango_parse_enum (GType type, const char *str, int *value, gboolean warn, char **possible_values);
function pango_parse_enum(type, str, value, warn, possible_values) bind(c)
use iso_c_binding, only: c_int, c_size_t, c_char, c_ptr
integer(c_int) :: pango_parse_enum
integer(c_size_t), value :: type
character(kind=c_char), dimension(*) :: str
type(c_ptr), value :: value
integer(c_int), value :: warn
type(c_ptr), dimension(*) :: possible_values
end function
! gboolean pango_parse_style (const char *str, PangoStyle *style, gboolean warn);
function pango_parse_style(str, style, warn) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_parse_style
character(kind=c_char), dimension(*) :: str
integer(c_int), value :: style
integer(c_int), value :: warn
end function
! gboolean pango_parse_variant (const char *str, PangoVariant *variant, gboolean warn);
function pango_parse_variant(str, variant, warn) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_parse_variant
character(kind=c_char), dimension(*) :: str
integer(c_int), value :: variant
integer(c_int), value :: warn
end function
! gboolean pango_parse_weight (const char *str, PangoWeight *weight, gboolean warn);
function pango_parse_weight(str, weight, warn) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_parse_weight
character(kind=c_char), dimension(*) :: str
integer(c_int), value :: weight
integer(c_int), value :: warn
end function
! gboolean pango_parse_stretch (const char *str, PangoStretch *stretch, gboolean warn);
function pango_parse_stretch(str, stretch, warn) bind(c)
use iso_c_binding, only: c_int, c_char
integer(c_int) :: pango_parse_stretch
character(kind=c_char), dimension(*) :: str
integer(c_int), value :: stretch
integer(c_int), value :: warn
end function
! const char * pango_get_sysconf_subdirectory (void) G_GNUC_PURE;
function pango_get_sysconf_subdirectory() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_get_sysconf_subdirectory
end function
! const char * pango_get_lib_subdirectory (void) G_GNUC_PURE;
function pango_get_lib_subdirectory() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_get_lib_subdirectory
end function
! void pango_quantize_line_geometry (int *thickness, int *position);
subroutine pango_quantize_line_geometry(thickness, position) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: thickness
type(c_ptr), value :: position
end subroutine
! guint8 * pango_log2vis_get_embedding_levels (const gchar *text, int length, PangoDirection *pbase_dir);
function pango_log2vis_get_embedding_levels(text, length, pbase_dir) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr) :: pango_log2vis_get_embedding_levels
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: length
integer(c_int), value :: pbase_dir
end function
! gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
function pango_is_zero_width(ch) bind(c)
use iso_c_binding, only: c_int, c_int32_t
integer(c_int) :: pango_is_zero_width
integer(c_int32_t), value :: ch
end function
! int pango_version (void) G_GNUC_CONST;
function pango_version() bind(c)
use iso_c_binding, only: c_int
integer(c_int) :: pango_version
end function
! const char * pango_version_string (void) G_GNUC_CONST;
function pango_version_string() bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_version_string
end function
! const char * pango_version_check (int required_major, int required_minor, int required_micro) G_GNUC_CONST;
function pango_version_check(required_major, required_minor, required_micro) bi&
&nd(c)
use iso_c_binding, only: c_ptr, c_int
type(c_ptr) :: pango_version_check
integer(c_int), value :: required_major
integer(c_int), value :: required_minor
integer(c_int), value :: required_micro
end function
! G_DEPRECATED PangoContext * pango_x_get_context (Display *display);
function pango_x_get_context(display) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_x_get_context
type(c_ptr), value :: display
end function
! G_DEPRECATED void pango_x_context_set_funcs (PangoContext *context, PangoGetGCFunc get_gc_func, PangoFreeGCFunc free_gc_func);
subroutine pango_x_context_set_funcs(context, get_gc_func, free_gc_func) bind(c&
&)
use iso_c_binding, only: c_ptr, c_funptr
type(c_ptr), value :: context
type(c_funptr), value :: get_gc_func
type(c_funptr), value :: free_gc_func
end subroutine
! G_DEPRECATED PangoFont * pango_x_load_font (Display *display, const gchar *spec);
function pango_x_load_font(display, spec) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_x_load_font
type(c_ptr), value :: display
character(kind=c_char), dimension(*) :: spec
end function
! G_DEPRECATED void pango_x_render (Display *display, Drawable d, GC gc, PangoFont *font, PangoGlyphString *glyphs, gint x, gint y);
subroutine pango_x_render(display, d, gc, font, glyphs, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_long, c_int
type(c_ptr), value :: display
integer(c_long), value :: d
type(c_ptr), value :: gc
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! G_DEPRECATED void pango_x_render_layout_line (Display *display, Drawable drawable, GC gc, PangoLayoutLine *line, int x, int y);
subroutine pango_x_render_layout_line(display, drawable, gc, line, x, y) bind(c&
&)
use iso_c_binding, only: c_ptr, c_long, c_int
type(c_ptr), value :: display
integer(c_long), value :: drawable
type(c_ptr), value :: gc
type(c_ptr), value :: line
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! G_DEPRECATED void pango_x_render_layout (Display *display, Drawable drawable, GC gc, PangoLayout *layout, int x, int y);
subroutine pango_x_render_layout(display, drawable, gc, layout, x, y) bind(c)
use iso_c_binding, only: c_ptr, c_long, c_int
type(c_ptr), value :: display
integer(c_long), value :: drawable
type(c_ptr), value :: gc
type(c_ptr), value :: layout
integer(c_int), value :: x
integer(c_int), value :: y
end subroutine
! G_DEPRECATED PangoXFontCache *pango_x_font_cache_new (Display *display);
function pango_x_font_cache_new(display) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_x_font_cache_new
type(c_ptr), value :: display
end function
! G_DEPRECATED void pango_x_font_cache_free (PangoXFontCache *cache);
subroutine pango_x_font_cache_free(cache) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cache
end subroutine
! G_DEPRECATED XFontStruct * pango_x_font_cache_load (PangoXFontCache *cache, const char *xlfd);
function pango_x_font_cache_load(cache, xlfd) bind(c)
use iso_c_binding, only: c_ptr, c_char
type(c_ptr) :: pango_x_font_cache_load
type(c_ptr), value :: cache
character(kind=c_char), dimension(*) :: xlfd
end function
! G_DEPRECATED void pango_x_font_cache_unload (PangoXFontCache *cache, XFontStruct *fs);
subroutine pango_x_font_cache_unload(cache, fs) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: cache
type(c_ptr), value :: fs
end subroutine
! G_DEPRECATED PangoFontMap * pango_x_font_map_for_display (Display *display);
function pango_x_font_map_for_display(display) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_x_font_map_for_display
type(c_ptr), value :: display
end function
! G_DEPRECATED void pango_x_shutdown_display (Display *display);
subroutine pango_x_shutdown_display(display) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr), value :: display
end subroutine
! G_DEPRECATED PangoXFontCache *pango_x_font_map_get_font_cache (PangoFontMap *font_map);
function pango_x_font_map_get_font_cache(font_map) bind(c)
use iso_c_binding, only: c_ptr
type(c_ptr) :: pango_x_font_map_get_font_cache
type(c_ptr), value :: font_map
end function
! G_DEPRECATED char *pango_x_font_subfont_xlfd (PangoFont *font, PangoXSubfont subfont_id);
function pango_x_font_subfont_xlfd(font, subfont_id) bind(c)
use iso_c_binding, only: c_ptr, c_int16_t
type(c_ptr) :: pango_x_font_subfont_xlfd
type(c_ptr), value :: font
integer(c_int16_t), value :: subfont_id
end function
! G_DEPRECATED void pango_x_fallback_shape (PangoFont *font, PangoGlyphString *glyphs, const char *text, int n_chars);
subroutine pango_x_fallback_shape(font, glyphs, text, n_chars) bind(c)
use iso_c_binding, only: c_ptr, c_char, c_int
type(c_ptr), value :: font
type(c_ptr), value :: glyphs
character(kind=c_char), dimension(*) :: text
integer(c_int), value :: n_chars
end subroutine
! GType pango_attr_type_get_type (void);
function pango_attr_type_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_attr_type_get_type
end function
! GType pango_underline_get_type (void);
function pango_underline_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_underline_get_type
end function
! GType pango_bidi_type_get_type (void);
function pango_bidi_type_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_bidi_type_get_type
end function
! GType pango_direction_get_type (void);
function pango_direction_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_direction_get_type
end function
! GType pango_coverage_level_get_type (void);
function pango_coverage_level_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_coverage_level_get_type
end function
! GType pango_style_get_type (void);
function pango_style_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_style_get_type
end function
! GType pango_variant_get_type (void);
function pango_variant_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_variant_get_type
end function
! GType pango_weight_get_type (void);
function pango_weight_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_weight_get_type
end function
! GType pango_stretch_get_type (void);
function pango_stretch_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_stretch_get_type
end function
! GType pango_font_mask_get_type (void);
function pango_font_mask_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_font_mask_get_type
end function
! GType pango_gravity_get_type (void);
function pango_gravity_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_gravity_get_type
end function
! GType pango_gravity_hint_get_type (void);
function pango_gravity_hint_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_gravity_hint_get_type
end function
! GType pango_alignment_get_type (void);
function pango_alignment_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_alignment_get_type
end function
! GType pango_wrap_mode_get_type (void);
function pango_wrap_mode_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_wrap_mode_get_type
end function
! GType pango_ellipsize_mode_get_type (void);
function pango_ellipsize_mode_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_ellipsize_mode_get_type
end function
! GType pango_render_part_get_type (void);
function pango_render_part_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_render_part_get_type
end function
! GType pango_script_get_type (void);
function pango_script_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_script_get_type
end function
! GType pango_tab_align_get_type (void);
function pango_tab_align_get_type() bind(c)
use iso_c_binding, only: c_size_t
integer(c_size_t) :: pango_tab_align_get_type