mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 18:35:38 +00:00
0fa85fccbd
params... some functions use that to mark const "out" params. In fact, let's use it as a hint to mark them pass_as="out" too... * pango/pango-api-2.4.raw: * pango/pango-api-2.6.raw: * gtk/gtk-api-2.6.raw: Regen, fixing pango_script_iter_get_range and gtk_image_get_icon_name. * pango/Pango.metadata: * pango/ScriptIter.cs: Alas, exposing GetRange makes it clear that PangoScriptIter is really weird and we weren't wrapping it correctly before anyway, so mark the whole thing hidden and wrap it by hand. svn path=/trunk/gtk-sharp/; revision=47748
2031 lines
86 KiB
Plaintext
2031 lines
86 KiB
Plaintext
<?xml version="1.0"?>
|
|
<api>
|
|
<!--
|
|
|
|
This file was automatically generated.
|
|
Please DO NOT MODIFY THIS FILE, modify .metadata files instead.
|
|
|
|
-->
|
|
<namespace name="Pango" library="libpango-1.0-0.dll">
|
|
<enum name="Alignment" cname="PangoAlignment" gtype="pango_alignment_get_type" type="enum">
|
|
<member cname="PANGO_ALIGN_LEFT" name="Left" />
|
|
<member cname="PANGO_ALIGN_CENTER" name="Center" />
|
|
<member cname="PANGO_ALIGN_RIGHT" name="Right" />
|
|
</enum>
|
|
<enum name="AttrType" cname="PangoAttrType" gtype="pango_attr_type_get_type" type="enum">
|
|
<member cname="PANGO_ATTR_INVALID" name="Invalid" />
|
|
<member cname="PANGO_ATTR_LANGUAGE" name="Language" />
|
|
<member cname="PANGO_ATTR_FAMILY" name="Family" />
|
|
<member cname="PANGO_ATTR_STYLE" name="Style" />
|
|
<member cname="PANGO_ATTR_WEIGHT" name="Weight" />
|
|
<member cname="PANGO_ATTR_VARIANT" name="Variant" />
|
|
<member cname="PANGO_ATTR_STRETCH" name="Stretch" />
|
|
<member cname="PANGO_ATTR_SIZE" name="Size" />
|
|
<member cname="PANGO_ATTR_FONT_DESC" name="FontDesc" />
|
|
<member cname="PANGO_ATTR_FOREGROUND" name="Foreground" />
|
|
<member cname="PANGO_ATTR_BACKGROUND" name="Background" />
|
|
<member cname="PANGO_ATTR_UNDERLINE" name="Underline" />
|
|
<member cname="PANGO_ATTR_STRIKETHROUGH" name="Strikethrough" />
|
|
<member cname="PANGO_ATTR_RISE" name="Rise" />
|
|
<member cname="PANGO_ATTR_SHAPE" name="Shape" />
|
|
<member cname="PANGO_ATTR_SCALE" name="Scale" />
|
|
<member cname="PANGO_ATTR_FALLBACK" name="Fallback" />
|
|
<member cname="PANGO_ATTR_LETTER_SPACING" name="LetterSpacing" />
|
|
<member cname="PANGO_ATTR_UNDERLINE_COLOR" name="UnderlineColor" />
|
|
<member cname="PANGO_ATTR_STRIKETHROUGH_COLOR" name="StrikethroughColor" />
|
|
</enum>
|
|
<enum name="CoverageLevel" cname="PangoCoverageLevel" gtype="pango_coverage_level_get_type" type="enum">
|
|
<member cname="PANGO_COVERAGE_NONE" name="None" />
|
|
<member cname="PANGO_COVERAGE_FALLBACK" name="Fallback" />
|
|
<member cname="PANGO_COVERAGE_APPROXIMATE" name="Approximate" />
|
|
<member cname="PANGO_COVERAGE_EXACT" name="Exact" />
|
|
</enum>
|
|
<enum name="Direction" cname="PangoDirection" gtype="pango_direction_get_type" type="enum">
|
|
<member cname="PANGO_DIRECTION_LTR" name="Ltr" />
|
|
<member cname="PANGO_DIRECTION_RTL" name="Rtl" />
|
|
<member cname="PANGO_DIRECTION_TTB_LTR" name="TtbLtr" />
|
|
<member cname="PANGO_DIRECTION_TTB_RTL" name="TtbRtl" />
|
|
<member cname="PANGO_DIRECTION_WEAK_LTR" name="WeakLtr" />
|
|
<member cname="PANGO_DIRECTION_WEAK_RTL" name="WeakRtl" />
|
|
<member cname="PANGO_DIRECTION_NEUTRAL" name="Neutral" />
|
|
</enum>
|
|
<enum name="EllipsizeMode" cname="PangoEllipsizeMode" gtype="pango_ellipsize_mode_get_type" type="enum">
|
|
<member cname="PANGO_ELLIPSIZE_NONE" name="None" />
|
|
<member cname="PANGO_ELLIPSIZE_START" name="Start" />
|
|
<member cname="PANGO_ELLIPSIZE_MIDDLE" name="Middle" />
|
|
<member cname="PANGO_ELLIPSIZE_END" name="End" />
|
|
</enum>
|
|
<enum name="FontMask" cname="PangoFontMask" gtype="pango_font_mask_get_type" type="flags">
|
|
<member cname="PANGO_FONT_MASK_FAMILY" name="Family" value="1 << 0" />
|
|
<member cname="PANGO_FONT_MASK_STYLE" name="Style" value="1 << 1" />
|
|
<member cname="PANGO_FONT_MASK_VARIANT" name="Variant" value="1 << 2" />
|
|
<member cname="PANGO_FONT_MASK_WEIGHT" name="Weight" value="1 << 3" />
|
|
<member cname="PANGO_FONT_MASK_STRETCH" name="Stretch" value="1 << 4" />
|
|
<member cname="PANGO_FONT_MASK_SIZE" name="Size" value="1 << 5" />
|
|
</enum>
|
|
<enum name="RenderPart" cname="PangoRenderPart" gtype="pango_render_part_get_type" type="enum">
|
|
<member cname="PANGO_RENDER_PART_FOREGROUND" name="Foreground" />
|
|
<member cname="PANGO_RENDER_PART_BACKGROUND" name="Background" />
|
|
<member cname="PANGO_RENDER_PART_UNDERLINE" name="Underline" />
|
|
<member cname="PANGO_RENDER_PART_STRIKETHROUGH" name="Strikethrough" />
|
|
</enum>
|
|
<enum name="Script" cname="PangoScript" gtype="pango_script_get_type" type="enum">
|
|
<member cname="PANGO_SCRIPT_INVALID_CODE" name="InvalidCode" value="-1" />
|
|
<member cname="PANGO_SCRIPT_COMMON" name="Common" />
|
|
<member cname="PANGO_SCRIPT_INHERITED" name="Inherited" />
|
|
<member cname="PANGO_SCRIPT_ARABIC" name="Arabic" />
|
|
<member cname="PANGO_SCRIPT_ARMENIAN" name="Armenian" />
|
|
<member cname="PANGO_SCRIPT_BENGALI" name="Bengali" />
|
|
<member cname="PANGO_SCRIPT_BOPOMOFO" name="Bopomofo" />
|
|
<member cname="PANGO_SCRIPT_CHEROKEE" name="Cherokee" />
|
|
<member cname="PANGO_SCRIPT_COPTIC" name="Coptic" />
|
|
<member cname="PANGO_SCRIPT_CYRILLIC" name="Cyrillic" />
|
|
<member cname="PANGO_SCRIPT_DESERET" name="Deseret" />
|
|
<member cname="PANGO_SCRIPT_DEVANAGARI" name="Devanagari" />
|
|
<member cname="PANGO_SCRIPT_ETHIOPIC" name="Ethiopic" />
|
|
<member cname="PANGO_SCRIPT_GEORGIAN" name="Georgian" />
|
|
<member cname="PANGO_SCRIPT_GOTHIC" name="Gothic" />
|
|
<member cname="PANGO_SCRIPT_GREEK" name="Greek" />
|
|
<member cname="PANGO_SCRIPT_GUJARATI" name="Gujarati" />
|
|
<member cname="PANGO_SCRIPT_GURMUKHI" name="Gurmukhi" />
|
|
<member cname="PANGO_SCRIPT_HAN" name="Han" />
|
|
<member cname="PANGO_SCRIPT_HANGUL" name="Hangul" />
|
|
<member cname="PANGO_SCRIPT_HEBREW" name="Hebrew" />
|
|
<member cname="PANGO_SCRIPT_HIRAGANA" name="Hiragana" />
|
|
<member cname="PANGO_SCRIPT_KANNADA" name="Kannada" />
|
|
<member cname="PANGO_SCRIPT_KATAKANA" name="Katakana" />
|
|
<member cname="PANGO_SCRIPT_KHMER" name="Khmer" />
|
|
<member cname="PANGO_SCRIPT_LAO" name="Lao" />
|
|
<member cname="PANGO_SCRIPT_LATIN" name="Latin" />
|
|
<member cname="PANGO_SCRIPT_MALAYALAM" name="Malayalam" />
|
|
<member cname="PANGO_SCRIPT_MONGOLIAN" name="Mongolian" />
|
|
<member cname="PANGO_SCRIPT_MYANMAR" name="Myanmar" />
|
|
<member cname="PANGO_SCRIPT_OGHAM" name="Ogham" />
|
|
<member cname="PANGO_SCRIPT_OLD_ITALIC" name="OldItalic" />
|
|
<member cname="PANGO_SCRIPT_ORIYA" name="Oriya" />
|
|
<member cname="PANGO_SCRIPT_RUNIC" name="Runic" />
|
|
<member cname="PANGO_SCRIPT_SINHALA" name="Sinhala" />
|
|
<member cname="PANGO_SCRIPT_SYRIAC" name="Syriac" />
|
|
<member cname="PANGO_SCRIPT_TAMIL" name="Tamil" />
|
|
<member cname="PANGO_SCRIPT_TELUGU" name="Telugu" />
|
|
<member cname="PANGO_SCRIPT_THAANA" name="Thaana" />
|
|
<member cname="PANGO_SCRIPT_THAI" name="Thai" />
|
|
<member cname="PANGO_SCRIPT_TIBETAN" name="Tibetan" />
|
|
<member cname="PANGO_SCRIPT_CANADIAN_ABORIGINAL" name="CanadianAboriginal" />
|
|
<member cname="PANGO_SCRIPT_YI" name="Yi" />
|
|
<member cname="PANGO_SCRIPT_TAGALOG" name="Tagalog" />
|
|
<member cname="PANGO_SCRIPT_HANUNOO" name="Hanunoo" />
|
|
<member cname="PANGO_SCRIPT_BUHID" name="Buhid" />
|
|
<member cname="PANGO_SCRIPT_TAGBANWA" name="Tagbanwa" />
|
|
<member cname="PANGO_SCRIPT_BRAILLE" name="Braille" />
|
|
<member cname="PANGO_SCRIPT_CYPRIOT" name="Cypriot" />
|
|
<member cname="PANGO_SCRIPT_LIMBU" name="Limbu" />
|
|
<member cname="PANGO_SCRIPT_OSMANYA" name="Osmanya" />
|
|
<member cname="PANGO_SCRIPT_SHAVIAN" name="Shavian" />
|
|
<member cname="PANGO_SCRIPT_LINEAR_B" name="LinearB" />
|
|
<member cname="PANGO_SCRIPT_TAI_LE" name="TaiLe" />
|
|
<member cname="PANGO_SCRIPT_UGARITIC" name="Ugaritic" />
|
|
</enum>
|
|
<enum name="Stretch" cname="PangoStretch" gtype="pango_stretch_get_type" type="enum">
|
|
<member cname="PANGO_STRETCH_ULTRA_CONDENSED" name="UltraCondensed" />
|
|
<member cname="PANGO_STRETCH_EXTRA_CONDENSED" name="ExtraCondensed" />
|
|
<member cname="PANGO_STRETCH_CONDENSED" name="Condensed" />
|
|
<member cname="PANGO_STRETCH_SEMI_CONDENSED" name="SemiCondensed" />
|
|
<member cname="PANGO_STRETCH_NORMAL" name="Normal" />
|
|
<member cname="PANGO_STRETCH_SEMI_EXPANDED" name="SemiExpanded" />
|
|
<member cname="PANGO_STRETCH_EXPANDED" name="Expanded" />
|
|
<member cname="PANGO_STRETCH_EXTRA_EXPANDED" name="ExtraExpanded" />
|
|
<member cname="PANGO_STRETCH_ULTRA_EXPANDED" name="UltraExpanded" />
|
|
</enum>
|
|
<enum name="Style" cname="PangoStyle" gtype="pango_style_get_type" type="enum">
|
|
<member cname="PANGO_STYLE_NORMAL" name="Normal" />
|
|
<member cname="PANGO_STYLE_OBLIQUE" name="Oblique" />
|
|
<member cname="PANGO_STYLE_ITALIC" name="Italic" />
|
|
</enum>
|
|
<enum name="TabAlign" cname="PangoTabAlign" gtype="pango_tab_align_get_type" type="enum">
|
|
<member cname="PANGO_TAB_LEFT" name="Left" />
|
|
</enum>
|
|
<enum name="Underline" cname="PangoUnderline" gtype="pango_underline_get_type" type="enum">
|
|
<member cname="PANGO_UNDERLINE_NONE" name="None" />
|
|
<member cname="PANGO_UNDERLINE_SINGLE" name="Single" />
|
|
<member cname="PANGO_UNDERLINE_DOUBLE" name="Double" />
|
|
<member cname="PANGO_UNDERLINE_LOW" name="Low" />
|
|
<member cname="PANGO_UNDERLINE_ERROR" name="Error" />
|
|
</enum>
|
|
<enum name="Variant" cname="PangoVariant" gtype="pango_variant_get_type" type="enum">
|
|
<member cname="PANGO_VARIANT_NORMAL" name="Normal" />
|
|
<member cname="PANGO_VARIANT_SMALL_CAPS" name="SmallCaps" />
|
|
</enum>
|
|
<enum name="Weight" cname="PangoWeight" gtype="pango_weight_get_type" type="enum">
|
|
<member cname="PANGO_WEIGHT_ULTRALIGHT" name="Ultralight" value="200" />
|
|
<member cname="PANGO_WEIGHT_LIGHT" name="Light" value="300" />
|
|
<member cname="PANGO_WEIGHT_NORMAL" name="Normal" value="400" />
|
|
<member cname="PANGO_WEIGHT_SEMIBOLD" name="Semibold" value="600" />
|
|
<member cname="PANGO_WEIGHT_BOLD" name="Bold" value="700" />
|
|
<member cname="PANGO_WEIGHT_ULTRABOLD" name="Ultrabold" value="800" />
|
|
<member cname="PANGO_WEIGHT_HEAVY" name="Heavy" value="900" />
|
|
</enum>
|
|
<enum name="WrapMode" cname="PangoWrapMode" gtype="pango_wrap_mode_get_type" type="enum">
|
|
<member cname="PANGO_WRAP_WORD" name="Word" />
|
|
<member cname="PANGO_WRAP_CHAR" name="Char" />
|
|
<member cname="PANGO_WRAP_WORD_CHAR" name="WordChar" />
|
|
</enum>
|
|
<callback name="AttrDataCopyFunc" cname="PangoAttrDataCopyFunc">
|
|
<return-type type="gpointer" />
|
|
<parameters>
|
|
<parameter type="gconstpointer" name="data" />
|
|
</parameters>
|
|
</callback>
|
|
<callback name="AttrFilterFunc" cname="PangoAttrFilterFunc">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="PangoAttribute*" name="attribute" />
|
|
<parameter type="gpointer" name="data" />
|
|
</parameters>
|
|
</callback>
|
|
<callback name="FT2SubstituteFunc" cname="PangoFT2SubstituteFunc">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="FcPattern*" name="pattern" />
|
|
<parameter type="gpointer" name="data" />
|
|
</parameters>
|
|
</callback>
|
|
<callback name="FontsetForeachFunc" cname="PangoFontsetForeachFunc">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="PangoFontset*" name="fontset" />
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="gpointer" name="data" />
|
|
</parameters>
|
|
</callback>
|
|
<object name="Context" cname="PangoContext" parent="GObject">
|
|
<method name="GetBaseDir" cname="pango_context_get_base_dir">
|
|
<return-type type="PangoDirection" />
|
|
</method>
|
|
<method name="GetFontDescription" cname="pango_context_get_font_description">
|
|
<return-type type="PangoFontDescription*" />
|
|
</method>
|
|
<method name="GetFontMap" cname="pango_context_get_font_map">
|
|
<return-type type="PangoFontMap*" />
|
|
</method>
|
|
<method name="GetLanguage" cname="pango_context_get_language">
|
|
<return-type type="PangoLanguage*" />
|
|
</method>
|
|
<method name="GetMatrix" cname="pango_context_get_matrix">
|
|
<return-type type="const-PangoMatrix*" />
|
|
</method>
|
|
<method name="GetMetrics" cname="pango_context_get_metrics">
|
|
<return-type type="PangoFontMetrics*" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetType" cname="pango_context_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="ListFamilies" cname="pango_context_list_families">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontFamily***" name="families" />
|
|
<parameter type="int*" name="n_families" />
|
|
</parameters>
|
|
</method>
|
|
<method name="LoadFont" cname="pango_context_load_font">
|
|
<return-type type="PangoFont*" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
</parameters>
|
|
</method>
|
|
<method name="LoadFontset" cname="pango_context_load_fontset">
|
|
<return-type type="PangoFontset*" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetBaseDir" cname="pango_context_set_base_dir">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoDirection" name="direction" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetFontDescription" cname="pango_context_set_font_description">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetLanguage" cname="pango_context_set_language">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetMatrix" cname="pango_context_set_matrix">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoMatrix*" name="matrix" />
|
|
</parameters>
|
|
</method>
|
|
</object>
|
|
<object name="Font" cname="PangoFont" parent="GObject">
|
|
<method name="Describe" cname="pango_font_describe">
|
|
<return-type type="PangoFontDescription*" />
|
|
</method>
|
|
<method name="DescriptionsFree" cname="pango_font_descriptions_free" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontDescription**" name="descs" />
|
|
<parameter type="int" name="n_descs" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FindShaper" cname="pango_font_find_shaper">
|
|
<return-type type="PangoEngineShape*" />
|
|
<parameters>
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
<parameter type="guint32" name="ch" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetCoverage" cname="pango_font_get_coverage">
|
|
<return-type type="PangoCoverage*" />
|
|
<parameters>
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetGlyphExtents" cname="pango_font_get_glyph_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoGlyph" name="glyph" />
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetMetrics" cname="pango_font_get_metrics">
|
|
<return-type type="PangoFontMetrics*" />
|
|
<parameters>
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetType" cname="pango_font_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
</object>
|
|
<object name="Fontset" cname="PangoFontset" parent="GObject">
|
|
<method name="Foreach" cname="pango_fontset_foreach">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontsetForeachFunc" name="func" />
|
|
<parameter type="gpointer" name="data" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetFont" cname="pango_fontset_get_font">
|
|
<return-type type="PangoFont*" />
|
|
<parameters>
|
|
<parameter type="guint" name="wc" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetMetrics" cname="pango_fontset_get_metrics">
|
|
<return-type type="PangoFontMetrics*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_fontset_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
</object>
|
|
<object name="FontFace" cname="PangoFontFace" parent="GObject">
|
|
<method name="Describe" cname="pango_font_face_describe">
|
|
<return-type type="PangoFontDescription*" />
|
|
</method>
|
|
<method name="GetFaceName" cname="pango_font_face_get_face_name">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_font_face_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="ListSizes" cname="pango_font_face_list_sizes">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int**" name="sizes" />
|
|
<parameter type="int*" name="n_sizes" />
|
|
</parameters>
|
|
</method>
|
|
</object>
|
|
<object name="FontFamily" cname="PangoFontFamily" parent="GObject">
|
|
<method name="GetName" cname="pango_font_family_get_name">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_font_family_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="IsMonospace" cname="pango_font_family_is_monospace">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="ListFaces" cname="pango_font_family_list_faces">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontFace***" name="faces" />
|
|
<parameter type="int*" name="n_faces" />
|
|
</parameters>
|
|
</method>
|
|
</object>
|
|
<object name="FontMap" cname="PangoFontMap" parent="GObject">
|
|
<method name="GetType" cname="pango_font_map_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="ListFamilies" cname="pango_font_map_list_families">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontFamily***" name="families" />
|
|
<parameter type="int*" name="n_families" />
|
|
</parameters>
|
|
</method>
|
|
<method name="LoadFont" cname="pango_font_map_load_font">
|
|
<return-type type="PangoFont*" />
|
|
<parameters>
|
|
<parameter type="PangoContext*" name="context" />
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
</parameters>
|
|
</method>
|
|
<method name="LoadFontset" cname="pango_font_map_load_fontset">
|
|
<return-type type="PangoFontset*" />
|
|
<parameters>
|
|
<parameter type="PangoContext*" name="context" />
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
</object>
|
|
<object name="FT2FontMap" cname="PangoFT2FontMap" parent="PangoFcFontMap">
|
|
<method name="CreateContext" cname="pango_ft2_font_map_create_context">
|
|
<return-type type="PangoContext*" />
|
|
</method>
|
|
<method name="ForDisplay" cname="pango_ft2_font_map_for_display" deprecated="1" shared="true">
|
|
<return-type type="PangoFontMap*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_ft2_font_map_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<constructor cname="pango_ft2_font_map_new" />
|
|
<method name="SetDefaultSubstitute" cname="pango_ft2_font_map_set_default_substitute">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFT2SubstituteFunc" name="func" />
|
|
<parameter type="gpointer" name="data" />
|
|
<parameter type="GDestroyNotify" name="notify" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetResolution" cname="pango_ft2_font_map_set_resolution">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="dpi_x" />
|
|
<parameter type="double" name="dpi_y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SubstituteChanged" cname="pango_ft2_font_map_substitute_changed">
|
|
<return-type type="void" />
|
|
</method>
|
|
</object>
|
|
<object name="Layout" cname="PangoLayout" parent="GObject">
|
|
<method name="ContextChanged" cname="pango_layout_context_changed">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Copy" cname="pango_layout_copy">
|
|
<return-type type="PangoLayout*" />
|
|
</method>
|
|
<method name="GetAlignment" cname="pango_layout_get_alignment">
|
|
<return-type type="PangoAlignment" />
|
|
</method>
|
|
<method name="GetAttributes" cname="pango_layout_get_attributes">
|
|
<return-type type="PangoAttrList*" />
|
|
</method>
|
|
<method name="GetAutoDir" cname="pango_layout_get_auto_dir">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="GetContext" cname="pango_layout_get_context">
|
|
<return-type type="PangoContext*" />
|
|
</method>
|
|
<method name="GetCursorPos" cname="pango_layout_get_cursor_pos">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="index_" />
|
|
<parameter type="PangoRectangle*" name="strong_pos" />
|
|
<parameter type="PangoRectangle*" name="weak_pos" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetEllipsize" cname="pango_layout_get_ellipsize">
|
|
<return-type type="PangoEllipsizeMode" />
|
|
</method>
|
|
<method name="GetExtents" cname="pango_layout_get_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetFontDescription" cname="pango_layout_get_font_description">
|
|
<return-type type="const-PangoFontDescription*" />
|
|
</method>
|
|
<method name="GetIndent" cname="pango_layout_get_indent">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetIter" cname="pango_layout_get_iter">
|
|
<return-type type="PangoLayoutIter*" />
|
|
</method>
|
|
<method name="GetJustify" cname="pango_layout_get_justify">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="GetLine" cname="pango_layout_get_line">
|
|
<return-type type="PangoLayoutLine*" />
|
|
<parameters>
|
|
<parameter type="int" name="line" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetLineCount" cname="pango_layout_get_line_count">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetLines" cname="pango_layout_get_lines">
|
|
<return-type type="GSList*" />
|
|
</method>
|
|
<method name="GetLogAttrs" cname="pango_layout_get_log_attrs">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoLogAttr**" name="attrs" />
|
|
<parameter type="gint*" name="n_attrs" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetPixelExtents" cname="pango_layout_get_pixel_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetPixelSize" cname="pango_layout_get_pixel_size">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int*" name="width" />
|
|
<parameter type="int*" name="height" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetSingleParagraphMode" cname="pango_layout_get_single_paragraph_mode">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="GetSize" cname="pango_layout_get_size">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int*" name="width" />
|
|
<parameter type="int*" name="height" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetSpacing" cname="pango_layout_get_spacing">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetTabs" cname="pango_layout_get_tabs">
|
|
<return-type type="PangoTabArray*" />
|
|
</method>
|
|
<method name="GetText" cname="pango_layout_get_text">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_layout_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="GetWidth" cname="pango_layout_get_width">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetWrap" cname="pango_layout_get_wrap">
|
|
<return-type type="PangoWrapMode" />
|
|
</method>
|
|
<method name="IndexToPos" cname="pango_layout_index_to_pos">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="index_" />
|
|
<parameter type="PangoRectangle*" name="pos" />
|
|
</parameters>
|
|
</method>
|
|
<method name="MoveCursorVisually" cname="pango_layout_move_cursor_visually">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gboolean" name="strong" />
|
|
<parameter type="int" name="old_index" />
|
|
<parameter type="int" name="old_trailing" />
|
|
<parameter type="int" name="direction" />
|
|
<parameter type="int*" name="new_index" />
|
|
<parameter type="int*" name="new_trailing" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_layout_new">
|
|
<parameters>
|
|
<parameter type="PangoContext*" name="context" />
|
|
</parameters>
|
|
</constructor>
|
|
<method name="SetAlignment" cname="pango_layout_set_alignment">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAlignment" name="alignment" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetAttributes" cname="pango_layout_set_attributes">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAttrList*" name="attrs" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetAutoDir" cname="pango_layout_set_auto_dir">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gboolean" name="auto_dir" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetEllipsize" cname="pango_layout_set_ellipsize">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoEllipsizeMode" name="ellipsize" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetFontDescription" cname="pango_layout_set_font_description">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetIndent" cname="pango_layout_set_indent">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="indent" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetJustify" cname="pango_layout_set_justify">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gboolean" name="justify" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetMarkup" cname="pango_layout_set_markup">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="markup" />
|
|
<parameter type="int" name="length" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetMarkupWithAccel" cname="pango_layout_set_markup_with_accel">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="markup" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="gunichar" name="accel_marker" />
|
|
<parameter type="gunichar*" name="accel_char" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetSingleParagraphMode" cname="pango_layout_set_single_paragraph_mode">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gboolean" name="setting" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetSpacing" cname="pango_layout_set_spacing">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="spacing" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetTabs" cname="pango_layout_set_tabs">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoTabArray*" name="tabs" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetText" cname="pango_layout_set_text">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="int" name="length" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetWidth" cname="pango_layout_set_width">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="width" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetWrap" cname="pango_layout_set_wrap">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoWrapMode" name="wrap" />
|
|
</parameters>
|
|
</method>
|
|
<method name="XyToIndex" cname="pango_layout_xy_to_index">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
<parameter type="int*" name="index_" />
|
|
<parameter type="int*" name="trailing" />
|
|
</parameters>
|
|
</method>
|
|
</object>
|
|
<object name="Renderer" cname="PangoRenderer" parent="GObject">
|
|
<field name="Underline" cname="underline" type="PangoUnderline" />
|
|
<field name="Strikethrough" cname="strikethrough" type="gboolean" />
|
|
<field name="ActiveCount" cname="active_count" type="int" />
|
|
<field name="Matrix" cname="matrix" type="PangoMatrix*" access="public" />
|
|
<field name="Priv" cname="priv" type="PangoRendererPrivate*" />
|
|
<virtual_method name="DrawGlyphs" cname="draw_glyphs">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="PangoGlyphString*" name="glyphs" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="DrawRectangle" cname="draw_rectangle">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
<parameter type="int" name="width" />
|
|
<parameter type="int" name="height" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="DrawErrorUnderline" cname="draw_error_underline">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
<parameter type="int" name="width" />
|
|
<parameter type="int" name="height" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="DrawShape" cname="draw_shape">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoAttrShape*" name="attr" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="DrawTrapezoid" cname="draw_trapezoid">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
<parameter type="double" name="y1" />
|
|
<parameter type="double" name="x11" />
|
|
<parameter type="double" name="x21" />
|
|
<parameter type="double" name="y2" />
|
|
<parameter type="double" name="x12" />
|
|
<parameter type="double" name="x22" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="DrawGlyph" cname="draw_glyph">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="PangoGlyph" name="glyph" />
|
|
<parameter type="double" name="x" />
|
|
<parameter type="double" name="y" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="PartChanged" cname="part_changed">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="Begin" cname="begin">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="End" cname="end">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<virtual_method name="PrepareRun" cname="prepare_run">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderer*" name="renderer" />
|
|
<parameter type="PangoLayoutRun*" name="run" />
|
|
</parameters>
|
|
</virtual_method>
|
|
<method name="Activate" cname="pango_renderer_activate">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Deactivate" cname="pango_renderer_deactivate">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="DrawErrorUnderline" cname="pango_renderer_draw_error_underline">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
<parameter type="int" name="width" />
|
|
<parameter type="int" name="height" />
|
|
</parameters>
|
|
</method>
|
|
<method name="DrawGlyph" cname="pango_renderer_draw_glyph">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="PangoGlyph" name="glyph" />
|
|
<parameter type="double" name="x" />
|
|
<parameter type="double" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="DrawGlyphs" cname="pango_renderer_draw_glyphs">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="PangoGlyphString*" name="glyphs" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="DrawLayout" cname="pango_renderer_draw_layout">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoLayout*" name="layout" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="DrawLayoutLine" cname="pango_renderer_draw_layout_line">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoLayoutLine*" name="line" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="DrawRectangle" cname="pango_renderer_draw_rectangle">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
<parameter type="int" name="x" />
|
|
<parameter type="int" name="y" />
|
|
<parameter type="int" name="width" />
|
|
<parameter type="int" name="height" />
|
|
</parameters>
|
|
</method>
|
|
<method name="DrawTrapezoid" cname="pango_renderer_draw_trapezoid">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
<parameter type="double" name="y1" />
|
|
<parameter type="double" name="x11" />
|
|
<parameter type="double" name="x21" />
|
|
<parameter type="double" name="y2" />
|
|
<parameter type="double" name="x12" />
|
|
<parameter type="double" name="x22" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetColor" cname="pango_renderer_get_color">
|
|
<return-type type="PangoColor*" />
|
|
<parameters>
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetMatrix" cname="pango_renderer_get_matrix">
|
|
<return-type type="const-PangoMatrix*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_renderer_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="PartChanged" cname="pango_renderer_part_changed">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetColor" cname="pango_renderer_set_color">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRenderPart" name="part" />
|
|
<parameter type="const-PangoColor*" name="color" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetMatrix" cname="pango_renderer_set_matrix">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoMatrix*" name="matrix" />
|
|
</parameters>
|
|
</method>
|
|
</object>
|
|
<struct name="Analysis" cname="PangoAnalysis">
|
|
<field name="ShapeEngine" cname="shape_engine" type="PangoEngineShape*" />
|
|
<field name="LangEngine" cname="lang_engine" type="PangoEngineLang*" />
|
|
<field name="Font" cname="font" type="PangoFont*" />
|
|
<field name="Level" cname="level" type="guint8" />
|
|
<field name="Language" cname="language" type="PangoLanguage*" />
|
|
<field name="ExtraAttrs" cname="extra_attrs" type="GSList*" />
|
|
</struct>
|
|
<struct name="AttrClass" cname="PangoAttrClass">
|
|
<field name="Type" cname="type" type="PangoAttrType" />
|
|
<callback cname="copy">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="const-PangoAttribute*" name="attr" />
|
|
</parameters>
|
|
</callback>
|
|
<callback cname="destroy">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAttribute*" name="attr" />
|
|
</parameters>
|
|
</callback>
|
|
<callback cname="equal">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-PangoAttribute*" name="attr1," />
|
|
</parameters>
|
|
</callback>
|
|
</struct>
|
|
<struct name="AttrColor" cname="PangoAttrColor">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Color" cname="color" type="PangoColor" />
|
|
</struct>
|
|
<struct name="AttrFloat" cname="PangoAttrFloat">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Value" cname="value" type="double" />
|
|
</struct>
|
|
<struct name="AttrFontDesc" cname="PangoAttrFontDesc">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Desc" cname="desc" type="PangoFontDescription*" />
|
|
<constructor cname="pango_attr_font_desc_new">
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc" />
|
|
</parameters>
|
|
</constructor>
|
|
</struct>
|
|
<struct name="AttrInt" cname="PangoAttrInt">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Value" cname="value" type="int" />
|
|
</struct>
|
|
<struct name="AttrIterator" cname="PangoAttrIterator" opaque="true">
|
|
<method name="Copy" cname="pango_attr_iterator_copy">
|
|
<return-type type="PangoAttrIterator*" />
|
|
</method>
|
|
<method name="Destroy" cname="pango_attr_iterator_destroy">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Get" cname="pango_attr_iterator_get">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="PangoAttrType" name="type" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetAttrs" cname="pango_attr_iterator_get_attrs">
|
|
<return-type type="GSList*" />
|
|
</method>
|
|
<method name="GetFont" cname="pango_attr_iterator_get_font">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontDescription*" name="desc" />
|
|
<parameter type="PangoLanguage**" name="language" />
|
|
<parameter type="GSList**" name="extra_attrs" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Next" cname="pango_attr_iterator_next">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="Range" cname="pango_attr_iterator_range">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint*" name="start" />
|
|
<parameter type="gint*" name="end" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<struct name="AttrLanguage" cname="PangoAttrLanguage">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Value" cname="value" type="PangoLanguage*" />
|
|
<constructor cname="pango_attr_language_new">
|
|
<parameters>
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
</parameters>
|
|
</constructor>
|
|
</struct>
|
|
<boxed name="AttrList" cname="PangoAttrList" opaque="true">
|
|
<method name="Change" cname="pango_attr_list_change">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAttribute*" name="attr" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Copy" cname="pango_attr_list_copy">
|
|
<return-type type="PangoAttrList*" />
|
|
</method>
|
|
<method name="Filter" cname="pango_attr_list_filter">
|
|
<return-type type="PangoAttrList*" />
|
|
<parameters>
|
|
<parameter type="PangoAttrFilterFunc" name="func" />
|
|
<parameter type="gpointer" name="data" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetIterator" cname="pango_attr_list_get_iterator">
|
|
<return-type type="PangoAttrIterator*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_attr_list_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="Insert" cname="pango_attr_list_insert">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAttribute*" name="attr" />
|
|
</parameters>
|
|
</method>
|
|
<method name="InsertBefore" cname="pango_attr_list_insert_before">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAttribute*" name="attr" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_attr_list_new" />
|
|
<method name="Ref" cname="pango_attr_list_ref">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Splice" cname="pango_attr_list_splice">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoAttrList*" name="other" />
|
|
<parameter type="gint" name="pos" />
|
|
<parameter type="gint" name="len" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Unref" cname="pango_attr_list_unref">
|
|
<return-type type="void" />
|
|
</method>
|
|
</boxed>
|
|
<struct name="AttrShape" cname="PangoAttrShape">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="InkRect" cname="ink_rect" type="PangoRectangle" />
|
|
<field name="LogicalRect" cname="logical_rect" type="PangoRectangle" />
|
|
<field name="Data" cname="data" type="gpointer" />
|
|
<field name="CopyFunc" cname="copy_func" type="PangoAttrDataCopyFunc" />
|
|
<field name="DestroyFunc" cname="destroy_func" type="GDestroyNotify" />
|
|
<constructor cname="pango_attr_shape_new">
|
|
<parameters>
|
|
<parameter type="const-PangoRectangle*" name="ink_rect" />
|
|
<parameter type="const-PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</constructor>
|
|
<constructor cname="pango_attr_shape_new_with_data">
|
|
<parameters>
|
|
<parameter type="const-PangoRectangle*" name="ink_rect" />
|
|
<parameter type="const-PangoRectangle*" name="logical_rect" />
|
|
<parameter type="gpointer" name="data" />
|
|
<parameter type="PangoAttrDataCopyFunc" name="copy_func" />
|
|
<parameter type="GDestroyNotify" name="destroy_func" />
|
|
</parameters>
|
|
</constructor>
|
|
</struct>
|
|
<struct name="AttrSize" cname="PangoAttrSize">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Size" cname="size" type="int" />
|
|
<field name="Absolute" cname="absolute" bits="1" type="guint" />
|
|
<constructor cname="pango_attr_size_new">
|
|
<parameters>
|
|
<parameter type="int" name="size" />
|
|
</parameters>
|
|
</constructor>
|
|
<constructor cname="pango_attr_size_new_absolute">
|
|
<parameters>
|
|
<parameter type="int" name="size" />
|
|
</parameters>
|
|
</constructor>
|
|
</struct>
|
|
<struct name="AttrString" cname="PangoAttrString">
|
|
<field name="Attr" cname="attr" type="PangoAttribute" />
|
|
<field name="Value" cname="value" type="char*" />
|
|
</struct>
|
|
<struct name="Attribute" cname="PangoAttribute">
|
|
<field name="Klass" cname="klass" type="const-PangoAttrClass*" />
|
|
<field name="StartIndex" cname="start_index" type="guint" />
|
|
<field name="EndIndex" cname="end_index" type="guint" />
|
|
<method name="Copy" cname="pango_attribute_copy">
|
|
<return-type type="PangoAttribute*" />
|
|
</method>
|
|
<method name="Destroy" cname="pango_attribute_destroy">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Equal" cname="pango_attribute_equal">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-PangoAttribute*" name="attr2" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<boxed name="Color" cname="PangoColor">
|
|
<field name="Red" cname="red" type="guint16" />
|
|
<field name="Green" cname="green" type="guint16" />
|
|
<field name="Blue" cname="blue" type="guint16" />
|
|
<method name="Copy" cname="pango_color_copy">
|
|
<return-type type="PangoColor*" />
|
|
</method>
|
|
<method name="Free" cname="pango_color_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetType" cname="pango_color_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="Parse" cname="pango_color_parse">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="spec" />
|
|
</parameters>
|
|
</method>
|
|
</boxed>
|
|
<struct name="Coverage" cname="PangoCoverage" opaque="true">
|
|
<method name="Copy" cname="pango_coverage_copy">
|
|
<return-type type="PangoCoverage*" />
|
|
</method>
|
|
<method name="FromBytes" cname="pango_coverage_from_bytes" shared="true">
|
|
<return-type type="PangoCoverage*" />
|
|
<parameters>
|
|
<parameter type="guchar*" name="bytes" />
|
|
<parameter type="int" name="n_bytes" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Get" cname="pango_coverage_get">
|
|
<return-type type="PangoCoverageLevel" />
|
|
<parameters>
|
|
<parameter type="int" name="index_" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Max" cname="pango_coverage_max">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoCoverage*" name="other" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_coverage_new" />
|
|
<method name="Ref" cname="pango_coverage_ref">
|
|
<return-type type="PangoCoverage*" />
|
|
</method>
|
|
<method name="Set" cname="pango_coverage_set">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="index_" />
|
|
<parameter type="PangoCoverageLevel" name="level" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ToBytes" cname="pango_coverage_to_bytes">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="guchar**" name="bytes" />
|
|
<parameter type="int*" name="n_bytes" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Unref" cname="pango_coverage_unref">
|
|
<return-type type="void" />
|
|
</method>
|
|
</struct>
|
|
<struct name="EngineLang" cname="PangoEngineLang" opaque="true" />
|
|
<struct name="EngineShape" cname="PangoEngineShape" opaque="true" />
|
|
<boxed name="FontDescription" cname="PangoFontDescription" opaque="true">
|
|
<method name="BetterMatch" cname="pango_font_description_better_match">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="old_match" />
|
|
<parameter type="const-PangoFontDescription*" name="new_match" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Copy" cname="pango_font_description_copy">
|
|
<return-type type="PangoFontDescription*" />
|
|
</method>
|
|
<method name="CopyStatic" cname="pango_font_description_copy_static">
|
|
<return-type type="PangoFontDescription*" />
|
|
</method>
|
|
<method name="Equal" cname="pango_font_description_equal">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc2" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Free" cname="pango_font_description_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="FromString" cname="pango_font_description_from_string" shared="true">
|
|
<return-type type="PangoFontDescription*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetFamily" cname="pango_font_description_get_family">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<method name="GetSetFields" cname="pango_font_description_get_set_fields">
|
|
<return-type type="PangoFontMask" />
|
|
</method>
|
|
<method name="GetSize" cname="pango_font_description_get_size">
|
|
<return-type type="gint" />
|
|
</method>
|
|
<method name="GetSizeIsAbsolute" cname="pango_font_description_get_size_is_absolute">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="GetStretch" cname="pango_font_description_get_stretch">
|
|
<return-type type="PangoStretch" />
|
|
</method>
|
|
<method name="GetStyle" cname="pango_font_description_get_style">
|
|
<return-type type="PangoStyle" />
|
|
</method>
|
|
<method name="GetType" cname="pango_font_description_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="GetVariant" cname="pango_font_description_get_variant">
|
|
<return-type type="PangoVariant" />
|
|
</method>
|
|
<method name="GetWeight" cname="pango_font_description_get_weight">
|
|
<return-type type="PangoWeight" />
|
|
</method>
|
|
<method name="Hash" cname="pango_font_description_hash">
|
|
<return-type type="guint" />
|
|
</method>
|
|
<method name="Merge" cname="pango_font_description_merge">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc_to_merge" />
|
|
<parameter type="gboolean" name="replace_existing" />
|
|
</parameters>
|
|
</method>
|
|
<method name="MergeStatic" cname="pango_font_description_merge_static">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoFontDescription*" name="desc_to_merge" />
|
|
<parameter type="gboolean" name="replace_existing" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_font_description_new" />
|
|
<method name="SetAbsoluteSize" cname="pango_font_description_set_absolute_size">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="size" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetFamily" cname="pango_font_description_set_family">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="family" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetFamilyStatic" cname="pango_font_description_set_family_static">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="family" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetSize" cname="pango_font_description_set_size">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint" name="size" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetStretch" cname="pango_font_description_set_stretch">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoStretch" name="stretch" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetStyle" cname="pango_font_description_set_style">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoStyle" name="style" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetVariant" cname="pango_font_description_set_variant">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoVariant" name="variant" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetWeight" cname="pango_font_description_set_weight">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoWeight" name="weight" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ToFilename" cname="pango_font_description_to_filename">
|
|
<return-type type="char*" />
|
|
</method>
|
|
<method name="ToString" cname="pango_font_description_to_string">
|
|
<return-type type="char*" />
|
|
</method>
|
|
<method name="UnsetFields" cname="pango_font_description_unset_fields">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFontMask" name="to_unset" />
|
|
</parameters>
|
|
</method>
|
|
</boxed>
|
|
<boxed name="FontMetrics" cname="PangoFontMetrics" opaque="true">
|
|
<method name="GetApproximateCharWidth" cname="pango_font_metrics_get_approximate_char_width">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetApproximateDigitWidth" cname="pango_font_metrics_get_approximate_digit_width">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetAscent" cname="pango_font_metrics_get_ascent">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetDescent" cname="pango_font_metrics_get_descent">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetStrikethroughPosition" cname="pango_font_metrics_get_strikethrough_position">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetStrikethroughThickness" cname="pango_font_metrics_get_strikethrough_thickness">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetType" cname="pango_font_metrics_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="GetUnderlinePosition" cname="pango_font_metrics_get_underline_position">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetUnderlineThickness" cname="pango_font_metrics_get_underline_thickness">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="Ref" cname="pango_font_metrics_ref">
|
|
<return-type type="PangoFontMetrics*" />
|
|
</method>
|
|
<method name="Unref" cname="pango_font_metrics_unref">
|
|
<return-type type="void" />
|
|
</method>
|
|
</boxed>
|
|
<alias name="Glyph" cname="PangoGlyph" type="guint32" />
|
|
<struct name="GlyphGeometry" cname="PangoGlyphGeometry">
|
|
<field name="Width" cname="width" type="PangoGlyphUnit" />
|
|
<field name="XOffset" cname="x_offset" type="PangoGlyphUnit" />
|
|
<field name="YOffset" cname="y_offset" type="PangoGlyphUnit" />
|
|
</struct>
|
|
<struct name="GlyphInfo" cname="PangoGlyphInfo">
|
|
<field name="Glyph" cname="glyph" type="PangoGlyph" />
|
|
<field name="Geometry" cname="geometry" type="PangoGlyphGeometry" />
|
|
<field name="Attr" cname="attr" type="PangoGlyphVisAttr" />
|
|
</struct>
|
|
<struct name="GlyphItem" cname="PangoGlyphItem">
|
|
<field name="Item" cname="item" type="PangoItem*" />
|
|
<field name="Glyphs" cname="glyphs" type="PangoGlyphString*" />
|
|
<method name="ApplyAttrs" cname="pango_glyph_item_apply_attrs">
|
|
<return-type type="GSList*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="PangoAttrList*" name="list" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Free" cname="pango_glyph_item_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="LetterSpace" cname="pango_glyph_item_letter_space">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="PangoLogAttr*" name="log_attrs" />
|
|
<parameter type="int" name="letter_spacing" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Split" cname="pango_glyph_item_split">
|
|
<return-type type="PangoGlyphItem*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="int" name="split_index" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<boxed name="GlyphString" cname="PangoGlyphString">
|
|
<field name="NumGlyphs" cname="num_glyphs" type="gint" />
|
|
<field name="Glyphs" cname="glyphs" type="PangoGlyphInfo*" />
|
|
<field name="LogClusters" cname="log_clusters" type="gint*" />
|
|
<field name="Space" cname="space" type="gint" access="private" />
|
|
<method name="Copy" cname="pango_glyph_string_copy">
|
|
<return-type type="PangoGlyphString*" />
|
|
</method>
|
|
<method name="Extents" cname="pango_glyph_string_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ExtentsRange" cname="pango_glyph_string_extents_range">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="start" />
|
|
<parameter type="int" name="end" />
|
|
<parameter type="PangoFont*" name="font" />
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Free" cname="pango_glyph_string_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetLogicalWidths" cname="pango_glyph_string_get_logical_widths">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="int" name="embedding_level" />
|
|
<parameter type="int*" name="logical_widths" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetType" cname="pango_glyph_string_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="IndexToX" cname="pango_glyph_string_index_to_x">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="char*" name="text" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="PangoAnalysis*" name="analysis" />
|
|
<parameter type="int" name="index_" />
|
|
<parameter type="gboolean" name="trailing" />
|
|
<parameter type="int*" name="x_pos" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_glyph_string_new" />
|
|
<method name="SetSize" cname="pango_glyph_string_set_size">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint" name="new_len" />
|
|
</parameters>
|
|
</method>
|
|
<method name="XToIndex" cname="pango_glyph_string_x_to_index">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="char*" name="text" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="PangoAnalysis*" name="analysis" />
|
|
<parameter type="int" name="x_pos" />
|
|
<parameter type="int*" name="index_" />
|
|
<parameter type="int*" name="trailing" />
|
|
</parameters>
|
|
</method>
|
|
</boxed>
|
|
<alias name="GlyphUnit" cname="PangoGlyphUnit" type="gint32" />
|
|
<struct name="GlyphVisAttr" cname="PangoGlyphVisAttr">
|
|
<field name="IsClusterStart" cname="is_cluster_start" bits="1" type="guint" />
|
|
</struct>
|
|
<struct name="Item" cname="PangoItem">
|
|
<field name="Offset" cname="offset" type="gint" />
|
|
<field name="Length" cname="length" type="gint" />
|
|
<field name="NumChars" cname="num_chars" type="gint" />
|
|
<field name="Analysis" cname="analysis" type="PangoAnalysis" />
|
|
<method name="Copy" cname="pango_item_copy">
|
|
<return-type type="PangoItem*" />
|
|
</method>
|
|
<method name="Free" cname="pango_item_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<constructor cname="pango_item_new" />
|
|
<method name="Split" cname="pango_item_split">
|
|
<return-type type="PangoItem*" />
|
|
<parameters>
|
|
<parameter type="int" name="split_index" />
|
|
<parameter type="int" name="split_offset" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<boxed name="Language" cname="PangoLanguage" opaque="true">
|
|
<method name="FromString" cname="pango_language_from_string" shared="true">
|
|
<return-type type="PangoLanguage*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="language" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetSampleString" cname="pango_language_get_sample_string">
|
|
<return-type type="const-char*" />
|
|
</method>
|
|
<method name="GetType" cname="pango_language_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="IncludesScript" cname="pango_language_includes_script">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="PangoScript" name="script" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Matches" cname="pango_language_matches">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="range_list" />
|
|
</parameters>
|
|
</method>
|
|
</boxed>
|
|
<boxed name="LayoutIter" cname="PangoLayoutIter" opaque="true">
|
|
<method name="AtLastLine" cname="pango_layout_iter_at_last_line">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="Free" cname="pango_layout_iter_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetBaseline" cname="pango_layout_iter_get_baseline">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetCharExtents" cname="pango_layout_iter_get_char_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetClusterExtents" cname="pango_layout_iter_get_cluster_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetIndex" cname="pango_layout_iter_get_index">
|
|
<return-type type="int" />
|
|
</method>
|
|
<method name="GetLayoutExtents" cname="pango_layout_iter_get_layout_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetLine" cname="pango_layout_iter_get_line">
|
|
<return-type type="PangoLayoutLine*" />
|
|
</method>
|
|
<method name="GetLineExtents" cname="pango_layout_iter_get_line_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetLineYrange" cname="pango_layout_iter_get_line_yrange">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int*" name="y0_" />
|
|
<parameter type="int*" name="y1_" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetRun" cname="pango_layout_iter_get_run">
|
|
<return-type type="PangoLayoutRun*" />
|
|
</method>
|
|
<method name="GetRunExtents" cname="pango_layout_iter_get_run_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetType" cname="pango_layout_iter_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="NextChar" cname="pango_layout_iter_next_char">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="NextCluster" cname="pango_layout_iter_next_cluster">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="NextLine" cname="pango_layout_iter_next_line">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="NextRun" cname="pango_layout_iter_next_run">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
</boxed>
|
|
<struct name="LayoutLine" cname="PangoLayoutLine">
|
|
<field name="Layout" cname="layout" type="PangoLayout*" />
|
|
<field name="StartIndex" cname="start_index" type="gint" />
|
|
<field name="Length" cname="length" type="gint" />
|
|
<field name="Runs" cname="runs" type="GSList*" />
|
|
<field name="IsParagraphStart" cname="is_paragraph_start" bits="1" type="guint" />
|
|
<field name="ResolvedDir" cname="resolved_dir" bits="3" type="guint" />
|
|
<method name="GetExtents" cname="pango_layout_line_get_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetPixelExtents" cname="pango_layout_line_get_pixel_extents">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoRectangle*" name="ink_rect" />
|
|
<parameter type="PangoRectangle*" name="logical_rect" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetXRanges" cname="pango_layout_line_get_x_ranges">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="start_index" />
|
|
<parameter type="int" name="end_index" />
|
|
<parameter type="int**" name="ranges" />
|
|
<parameter type="int*" name="n_ranges" />
|
|
</parameters>
|
|
</method>
|
|
<method name="IndexToX" cname="pango_layout_line_index_to_x">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="int" name="index_" />
|
|
<parameter type="gboolean" name="trailing" />
|
|
<parameter type="int*" name="x_pos" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Ref" cname="pango_layout_line_ref">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Unref" cname="pango_layout_line_unref">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="XToIndex" cname="pango_layout_line_x_to_index">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="int" name="x_pos" />
|
|
<parameter type="int*" name="index_" />
|
|
<parameter type="int*" name="trailing" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<struct name="LayoutRun" cname="PangoLayoutRun">
|
|
<field name="Item" cname="item" type="PangoItem*" />
|
|
<field name="Glyphs" cname="glyphs" type="PangoGlyphString*" />
|
|
</struct>
|
|
<struct name="LogAttr" cname="PangoLogAttr">
|
|
<field name="IsLineBreak" cname="is_line_break" bits="1" type="guint" />
|
|
<field name="IsMandatoryBreak" cname="is_mandatory_break" bits="1" type="guint" />
|
|
<field name="IsCharBreak" cname="is_char_break" bits="1" type="guint" />
|
|
<field name="IsWhite" cname="is_white" bits="1" type="guint" />
|
|
<field name="IsCursorPosition" cname="is_cursor_position" bits="1" type="guint" />
|
|
<field name="IsWordStart" cname="is_word_start" bits="1" type="guint" />
|
|
<field name="IsWordEnd" cname="is_word_end" bits="1" type="guint" />
|
|
<field name="IsSentenceBoundary" cname="is_sentence_boundary" bits="1" type="guint" />
|
|
<field name="IsSentenceStart" cname="is_sentence_start" bits="1" type="guint" />
|
|
<field name="IsSentenceEnd" cname="is_sentence_end" bits="1" type="guint" />
|
|
<field name="BackspaceDeletesCharacter" cname="backspace_deletes_character" bits="1" type="guint" />
|
|
</struct>
|
|
<boxed name="Matrix" cname="PangoMatrix">
|
|
<field name="Xx" cname="xx" type="double" />
|
|
<field name="Xy" cname="xy" type="double" />
|
|
<field name="Yx" cname="yx" type="double" />
|
|
<field name="Yy" cname="yy" type="double" />
|
|
<field name="X0" cname="x0" type="double" />
|
|
<field name="Y0" cname="y0" type="double" />
|
|
<method name="Concat" cname="pango_matrix_concat">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-PangoMatrix*" name="new_matrix" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Copy" cname="pango_matrix_copy">
|
|
<return-type type="PangoMatrix*" />
|
|
</method>
|
|
<method name="Free" cname="pango_matrix_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetType" cname="pango_matrix_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<method name="Rotate" cname="pango_matrix_rotate">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="degrees" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Scale" cname="pango_matrix_scale">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="scale_x" />
|
|
<parameter type="double" name="scale_y" />
|
|
</parameters>
|
|
</method>
|
|
<method name="Translate" cname="pango_matrix_translate">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="double" name="tx" />
|
|
<parameter type="double" name="ty" />
|
|
</parameters>
|
|
</method>
|
|
</boxed>
|
|
<struct name="Rectangle" cname="PangoRectangle">
|
|
<field name="X" cname="x" type="int" />
|
|
<field name="Y" cname="y" type="int" />
|
|
<field name="Width" cname="width" type="int" />
|
|
<field name="Height" cname="height" type="int" />
|
|
</struct>
|
|
<struct name="ScriptIter" cname="PangoScriptIter" opaque="true">
|
|
<method name="Free" cname="pango_script_iter_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetRange" cname="pango_script_iter_get_range">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char**" pass_as="out" name="start" />
|
|
<parameter type="const-char**" pass_as="out" name="end" />
|
|
<parameter type="PangoScript*" name="script" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_script_iter_new">
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="int" name="length" />
|
|
</parameters>
|
|
</constructor>
|
|
<method name="Next" cname="pango_script_iter_next">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
</struct>
|
|
<boxed name="TabArray" cname="PangoTabArray" opaque="true">
|
|
<method name="Copy" cname="pango_tab_array_copy">
|
|
<return-type type="PangoTabArray*" />
|
|
</method>
|
|
<method name="Free" cname="pango_tab_array_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="GetPositionsInPixels" cname="pango_tab_array_get_positions_in_pixels">
|
|
<return-type type="gboolean" />
|
|
</method>
|
|
<method name="GetSize" cname="pango_tab_array_get_size">
|
|
<return-type type="gint" />
|
|
</method>
|
|
<method name="GetTab" cname="pango_tab_array_get_tab">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint" name="tab_index" />
|
|
<parameter type="PangoTabAlign*" name="alignment" />
|
|
<parameter type="gint*" name="location" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetTabs" cname="pango_tab_array_get_tabs">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="PangoTabAlign**" name="alignments" />
|
|
<parameter type="gint**" name="locations" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetType" cname="pango_tab_array_get_type" shared="true">
|
|
<return-type type="GType" />
|
|
</method>
|
|
<constructor cname="pango_tab_array_new">
|
|
<parameters>
|
|
<parameter type="gint" name="initial_size" />
|
|
<parameter type="gboolean" name="positions_in_pixels" />
|
|
</parameters>
|
|
</constructor>
|
|
<constructor cname="pango_tab_array_new_with_positions">
|
|
<parameters>
|
|
<parameter type="gint" name="size" />
|
|
<parameter type="gboolean" name="positions_in_pixels" />
|
|
<parameter type="PangoTabAlign" name="first_alignment" />
|
|
<parameter type="gint" name="first_position" />
|
|
<parameter ellipsis="true" />
|
|
</parameters>
|
|
</constructor>
|
|
<method name="Resize" cname="pango_tab_array_resize">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint" name="new_size" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SetTab" cname="pango_tab_array_set_tab">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="gint" name="tab_index" />
|
|
<parameter type="PangoTabAlign" name="alignment" />
|
|
<parameter type="gint" name="location" />
|
|
</parameters>
|
|
</method>
|
|
</boxed>
|
|
<struct name="Win32FontCache" cname="PangoWin32FontCache" opaque="true">
|
|
<method name="Free" cname="pango_win32_font_cache_free">
|
|
<return-type type="void" />
|
|
</method>
|
|
<method name="Load" cname="pango_win32_font_cache_load">
|
|
<return-type type="HFONT" />
|
|
<parameters>
|
|
<parameter type="const-LOGFONT*" name="logfont" />
|
|
</parameters>
|
|
</method>
|
|
<constructor cname="pango_win32_font_cache_new" />
|
|
<method name="Unload" cname="pango_win32_font_cache_unload">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="HFONT" name="hfont" />
|
|
</parameters>
|
|
</method>
|
|
</struct>
|
|
<class name="Attr" cname="PangoAttr_">
|
|
<method name="BackgroundNew" cname="pango_attr_background_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="guint16" name="red" />
|
|
<parameter type="guint16" name="green" />
|
|
<parameter type="guint16" name="blue" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FallbackNew" cname="pango_attr_fallback_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="gboolean" name="enable_fallback" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FamilyNew" cname="pango_attr_family_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="family" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ForegroundNew" cname="pango_attr_foreground_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="guint16" name="red" />
|
|
<parameter type="guint16" name="green" />
|
|
<parameter type="guint16" name="blue" />
|
|
</parameters>
|
|
</method>
|
|
<method name="LetterSpacingNew" cname="pango_attr_letter_spacing_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="int" name="letter_spacing" />
|
|
</parameters>
|
|
</method>
|
|
<method name="RiseNew" cname="pango_attr_rise_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="int" name="rise" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ScaleNew" cname="pango_attr_scale_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="double" name="scale_factor" />
|
|
</parameters>
|
|
</method>
|
|
<method name="StretchNew" cname="pango_attr_stretch_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="PangoStretch" name="stretch" />
|
|
</parameters>
|
|
</method>
|
|
<method name="StrikethroughColorNew" cname="pango_attr_strikethrough_color_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="guint16" name="red" />
|
|
<parameter type="guint16" name="green" />
|
|
<parameter type="guint16" name="blue" />
|
|
</parameters>
|
|
</method>
|
|
<method name="StrikethroughNew" cname="pango_attr_strikethrough_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="gboolean" name="strikethrough" />
|
|
</parameters>
|
|
</method>
|
|
<method name="StyleNew" cname="pango_attr_style_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="PangoStyle" name="style" />
|
|
</parameters>
|
|
</method>
|
|
<method name="TypeRegister" cname="pango_attr_type_register" shared="true">
|
|
<return-type type="PangoAttrType" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="name" />
|
|
</parameters>
|
|
</method>
|
|
<method name="UnderlineColorNew" cname="pango_attr_underline_color_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="guint16" name="red" />
|
|
<parameter type="guint16" name="green" />
|
|
<parameter type="guint16" name="blue" />
|
|
</parameters>
|
|
</method>
|
|
<method name="UnderlineNew" cname="pango_attr_underline_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="PangoUnderline" name="underline" />
|
|
</parameters>
|
|
</method>
|
|
<method name="VariantNew" cname="pango_attr_variant_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="PangoVariant" name="variant" />
|
|
</parameters>
|
|
</method>
|
|
<method name="WeightNew" cname="pango_attr_weight_new" shared="true">
|
|
<return-type type="PangoAttribute*" />
|
|
<parameters>
|
|
<parameter type="PangoWeight" name="weight" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="Global" cname="PangoGlobal">
|
|
<method name="FindBaseDir" cname="pango_find_base_dir" shared="true">
|
|
<return-type type="PangoDirection" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="text" />
|
|
<parameter type="gint" name="length" />
|
|
</parameters>
|
|
</method>
|
|
<method name="FindParagraphBoundary" cname="pango_find_paragraph_boundary" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-gchar*" name="text" />
|
|
<parameter type="gint" name="length" />
|
|
<parameter type="gint*" name="paragraph_delimiter_index" />
|
|
<parameter type="gint*" name="next_paragraph_start" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetLogAttrs" cname="pango_get_log_attrs" shared="true">
|
|
<return-type type="void" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="int" name="level" />
|
|
<parameter type="PangoLanguage*" name="language" />
|
|
<parameter type="PangoLogAttr*" name="log_attrs" />
|
|
<parameter type="int" name="attrs_len" />
|
|
</parameters>
|
|
</method>
|
|
<method name="GetMirrorChar" cname="pango_get_mirror_char" deprecated="1" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="gunichar" name="ch" />
|
|
<parameter type="gunichar*" name="mirrored_ch" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ItemizeWithBaseDir" cname="pango_itemize_with_base_dir" shared="true">
|
|
<return-type type="GList*" />
|
|
<parameters>
|
|
<parameter type="PangoContext*" name="context" />
|
|
<parameter type="PangoDirection" name="base_dir" />
|
|
<parameter type="const-char*" name="text" />
|
|
<parameter type="int" name="start_index" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="PangoAttrList*" name="attrs" />
|
|
<parameter type="PangoAttrIterator*" name="cached_iter" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseMarkup" cname="pango_parse_markup" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="markup_text" />
|
|
<parameter type="int" name="length" />
|
|
<parameter type="gunichar" name="accel_marker" />
|
|
<parameter type="PangoAttrList**" name="attr_list" />
|
|
<parameter type="char**" name="text" />
|
|
<parameter type="gunichar*" name="accel_char" />
|
|
<parameter type="GError**" name="error" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseStretch" cname="pango_parse_stretch" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoStretch*" name="stretch" />
|
|
<parameter type="gboolean" name="warn" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseStyle" cname="pango_parse_style" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoStyle*" name="style" />
|
|
<parameter type="gboolean" name="warn" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseVariant" cname="pango_parse_variant" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoVariant*" name="variant" />
|
|
<parameter type="gboolean" name="warn" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ParseWeight" cname="pango_parse_weight" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
<parameter type="PangoWeight*" name="weight" />
|
|
<parameter type="gboolean" name="warn" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ReadLine" cname="pango_read_line" shared="true">
|
|
<return-type type="gint" />
|
|
<parameters>
|
|
<parameter type="FILE*" name="stream" />
|
|
<parameter type="GString*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ReorderItems" cname="pango_reorder_items" shared="true">
|
|
<return-type type="GList*" />
|
|
<parameters>
|
|
<parameter type="GList*" name="logical_items" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ScanInt" cname="pango_scan_int" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char**" name="pos" />
|
|
<parameter type="int*" name="out" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ScanString" cname="pango_scan_string" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char**" name="pos" />
|
|
<parameter type="GString*" name="out" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ScanWord" cname="pango_scan_word" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char**" name="pos" />
|
|
<parameter type="GString*" name="out" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ScriptForUnichar" cname="pango_script_for_unichar" shared="true">
|
|
<return-type type="PangoScript" />
|
|
<parameters>
|
|
<parameter type="gunichar" name="ch" />
|
|
</parameters>
|
|
</method>
|
|
<method name="ScriptGetSampleLanguage" cname="pango_script_get_sample_language" shared="true">
|
|
<return-type type="PangoLanguage*" />
|
|
<parameters>
|
|
<parameter type="PangoScript" name="script" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SkipSpace" cname="pango_skip_space" shared="true">
|
|
<return-type type="gboolean" />
|
|
<parameters>
|
|
<parameter type="const-char**" name="pos" />
|
|
</parameters>
|
|
</method>
|
|
<method name="SplitFileList" cname="pango_split_file_list" shared="true">
|
|
<return-type type="char**" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="TrimString" cname="pango_trim_string" shared="true">
|
|
<return-type type="char*" />
|
|
<parameters>
|
|
<parameter type="const-char*" name="str" />
|
|
</parameters>
|
|
</method>
|
|
<method name="UnicharDirection" cname="pango_unichar_direction" shared="true">
|
|
<return-type type="PangoDirection" />
|
|
<parameters>
|
|
<parameter type="gunichar" name="ch" />
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
</namespace>
|
|
</api> |