Author: JonNeal Date: 2009-01-02 22:25:49 -0500 (Fri, 02 Jan 2009) New Revision: 1409
Added: trunk/pysoy/include/pango.pxd Log: Ticket #973: * Forgot to add the pxd to svn. hehe Added: trunk/pysoy/include/pango.pxd =================================================================== --- trunk/pysoy/include/pango.pxd (rev 0) +++ trunk/pysoy/include/pango.pxd 2009-01-03 03:25:49 UTC (rev 1409) @@ -0,0 +1,762 @@ +# Pango Declarations +# +# Copyright (C) 2006,2007,2008,2009 PySoy Group +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program; if not, see http://www.gnu.org/licenses +# +# $Id$ + +cdef extern from "pango/pango.h" nogil : + ctypedef enum PangoStyle : + PANGO_STYLE_NORMAL, + PANGO_STYLE_OBLIQUE, + PANGO_STYLE_ITALIC + + ctypedef enum PangoVariant : + PANGO_VARIANT_NORMAL, + PANGO_VARIANT_SMALL_CAPS + + ctypedef enum PangoWeight : + PANGO_WEIGHT_ULTRALIGHT = 200, + PANGO_WEIGHT_LIGHT = 300, + PANGO_WEIGHT_NORMAL = 400, + PANGO_WEIGHT_SEMIBOLD = 600, + PANGO_WEIGHT_BOLD = 700, + PANGO_WEIGHT_ULTRABOLD = 800, + PANGO_WEIGHT_HEAVY = 900 + + ctypedef enum PangoStretch : + PANGO_STRETCH_ULTRA_CONDENSED, + PANGO_STRETCH_EXTRA_CONDENSED, + PANGO_STRETCH_CONDENSED, + PANGO_STRETCH_SEMI_CONDENSED, + PANGO_STRETCH_NORMAL, + PANGO_STRETCH_SEMI_EXPANDED, + PANGO_STRETCH_EXPANDED, + PANGO_STRETCH_EXTRA_EXPANDED, + PANGO_STRETCH_ULTRA_EXPANDED + + ctypedef enum PangoFontMask : + PANGO_FONT_MASK_FAMILY = 1 << 0, + PANGO_FONT_MASK_STYLE = 1 << 1, + PANGO_FONT_MASK_VARIANT = 1 << 2, + PANGO_FONT_MASK_WEIGHT = 1 << 3, + PANGO_FONT_MASK_STRETCH = 1 << 4, + PANGO_FONT_MASK_SIZE = 1 << 5, + PANGO_FONT_MASK_GRAVITY = 1 << 6 + + ctypedef enum PangoDirection : + PANGO_DIRECTION_LTR, + PANGO_DIRECTION_RTL, + PANGO_DIRECTION_TTB_LTR, + PANGO_DIRECTION_TTB_RTL, + PANGO_DIRECTION_WEAK_LTR, + PANGO_DIRECTION_WEAK_RTL, + PANGO_DIRECTION_NEUTRAL + + ctypedef enum PangoScript : + PANGO_SCRIPT_INVALID_CODE = -1, + PANGO_SCRIPT_COMMON = 0, + PANGO_SCRIPT_INHERITED, + PANGO_SCRIPT_ARABIC, + PANGO_SCRIPT_ARMENIAN, + PANGO_SCRIPT_BENGALI, + PANGO_SCRIPT_BOPOMOFO, + PANGO_SCRIPT_CHEROKEE, + PANGO_SCRIPT_COPTIC, + PANGO_SCRIPT_CYRILLIC, + PANGO_SCRIPT_DESERET, + PANGO_SCRIPT_DEVANAGARI, + PANGO_SCRIPT_ETHIOPIC, + PANGO_SCRIPT_GEORGIAN, + PANGO_SCRIPT_GOTHIC, + PANGO_SCRIPT_GREEK, + PANGO_SCRIPT_GUJARATI, + PANGO_SCRIPT_GURMUKHI, + PANGO_SCRIPT_HAN, + PANGO_SCRIPT_HANGUL, + PANGO_SCRIPT_HEBREW, + PANGO_SCRIPT_HIRAGANA, + PANGO_SCRIPT_KANNADA, + PANGO_SCRIPT_KATAKANA, + PANGO_SCRIPT_KHMER, + PANGO_SCRIPT_LAO, + PANGO_SCRIPT_LATIN, + PANGO_SCRIPT_MALAYALAM, + PANGO_SCRIPT_MONGOLIAN, + PANGO_SCRIPT_MYANMAR, + PANGO_SCRIPT_OGHAM, + PANGO_SCRIPT_OLD_ITALIC, + PANGO_SCRIPT_ORIYA, + PANGO_SCRIPT_RUNIC, + PANGO_SCRIPT_SINHALA, + PANGO_SCRIPT_SYRIAC, + PANGO_SCRIPT_TAMIL, + PANGO_SCRIPT_TELUGU, + PANGO_SCRIPT_THAANA, + PANGO_SCRIPT_THAI, + PANGO_SCRIPT_TIBETAN, + PANGO_SCRIPT_CANADIAN_ABORIGINAL, + PANGO_SCRIPT_YI, + PANGO_SCRIPT_TAGALOG, + PANGO_SCRIPT_HANUNOO, + PANGO_SCRIPT_BUHID, + PANGO_SCRIPT_TAGBANWA, + PANGO_SCRIPT_BRAILLE, + PANGO_SCRIPT_CYPRIOT, + PANGO_SCRIPT_LIMBU, + PANGO_SCRIPT_OSMANYA, + PANGO_SCRIPT_SHAVIAN, + PANGO_SCRIPT_LINEAR_B, + PANGO_SCRIPT_TAI_LE, + PANGO_SCRIPT_UGARITIC, + PANGO_SCRIPT_NEW_TAI_LUE, + PANGO_SCRIPT_BUGINESE, + PANGO_SCRIPT_GLAGOLITIC, + PANGO_SCRIPT_TIFINAGH, + PANGO_SCRIPT_SYLOTI_NAGRI, + PANGO_SCRIPT_OLD_PERSIAN, + PANGO_SCRIPT_KHAROSHTHI, + PANGO_SCRIPT_UNKNOWN, + PANGO_SCRIPT_BALINESE, + PANGO_SCRIPT_CUNEIFORM, + PANGO_SCRIPT_PHOENICIAN, + PANGO_SCRIPT_PHAGS_PA, + PANGO_SCRIPT_NKO, + PANGO_SCRIPT_KAYAH_LI, + PANGO_SCRIPT_LEPCHA, + PANGO_SCRIPT_REJANG, + PANGO_SCRIPT_SUNDANESE, + PANGO_SCRIPT_SAURASHTRA, + PANGO_SCRIPT_CHAM, + PANGO_SCRIPT_OL_CHIKI, + PANGO_SCRIPT_VAI, + PANGO_SCRIPT_CARIAN, + PANGO_SCRIPT_LYCIAN, + PANGO_SCRIPT_LYDIAN + + ctypedef enum PangoRenderPart : + PANGO_RENDER_PART_FOREGROUND, + PANGO_RENDER_PART_BACKGROUND, + PANGO_RENDER_PART_UNDERLINE, + PANGO_RENDER_PART_STRIKETHROUGH + + ctypedef enum PangoAlignment : + PANGO_ALIGN_LEFT, + PANGO_ALIGN_CENTER, + PANGO_ALIGN_RIGHT + + ctypedef enum PangoWrapMode : + PANGO_WRAP_WORD, + PANGO_WRAP_CHAR, + PANGO_WRAP_WORD_CHAR + + ctypedef enum PangoEllipsizeMode : + PANGO_ELLIPSIZE_NONE, + PANGO_ELLIPSIZE_START, + PANGO_ELLIPSIZE_MIDDLE, + PANGO_ELLIPSIZE_END + + ctypedef enum PangoOTTableType : + PANGO_OT_TABLE_GSUB, + PANGO_OT_TABLE_GPOS + + ctypedef enum PangoGravity : + PANGO_GRAVITY_SOUTH, + PANGO_GRAVITY_EAST, + PANGO_GRAVITY_NORTH, + PANGO_GRAVITY_WEST, + PANGO_GRAVITY_AUTO + + ctypedef enum PangoGravityHint : + PANGO_GRAVITY_HINT_NATURAL, + PANGO_GRAVITY_HINT_STRONG, + PANGO_GRAVITY_HINT_LINE + + ctypedef enum PangoCoverageLevel : + PANGO_COVERAGE_NONE, + PANGO_COVERAGE_FALLBACK, + PANGO_COVERAGE_APPROXIMATE, + PANGO_COVERAGE_EXACT + + ctypedef enum PangoAttrType : + PANGO_ATTR_INVALID, + PANGO_ATTR_LANGUAGE, + PANGO_ATTR_FAMILY, + PANGO_ATTR_STYLE, + PANGO_ATTR_WEIGHT, + PANGO_ATTR_VARIANT, + PANGO_ATTR_STRETCH, + PANGO_ATTR_SIZE, + PANGO_ATTR_FONT_DESC, + PANGO_ATTR_FOREGROUND, + PANGO_ATTR_BACKGROUND, + PANGO_ATTR_UNDERLINE, + PANGO_ATTR_STRIKETHROUGH, + PANGO_ATTR_RISE, + PANGO_ATTR_SHAPE, + PANGO_ATTR_SCALE, + PANGO_ATTR_FALLBACK, + PANGO_ATTR_LETTER_SPACING, + PANGO_ATTR_UNDERLINE_COLOR, + PANGO_ATTR_STRIKETHROUGH_COLOR, + PANGO_ATTR_ABSOLUTE_SIZE, + PANGO_ATTR_GRAVITY, + PANGO_ATTR_GRAVITY_HINT + + ctypedef enum PangoUnderline : + PANGO_UNDERLINE_NONE, + PANGO_UNDERLINE_SINGLE, + PANGO_UNDERLINE_DOUBLE, + PANGO_UNDERLINE_LOW, + PANGO_UNDERLINE_ERROR + + ctypedef enum PangoTabAlign : + PANGO_TAB_LEFT + + + ctypedef void* PangoFontDescription + ctypedef void* PangoFontMetrics + ctypedef void* PangoFontFamily + ctypedef void* PangoFontFace + ctypedef void* PangoFontFamilyClass + ctypedef void* PangoFontFaceClass + ctypedef void* PangoFontClass + ctypedef void* PangoCairoFont + ctypedef void* PangoCairoFontMap + ctypedef void* PangoFontset + ctypedef void* PangoFontsetClass + ctypedef void* PangoFontsetSimple + ctypedef void* PangoFontsetSimpleClass + ctypedef void* PangoGlyphItem + ctypedef void* PangoFcFontMap + ctypedef void* PangoFcFontMapClass + ctypedef void* PangoFcFontMapPrivate + ctypedef void* PangoLogAttr + ctypedef void* PangoEngineLang + ctypedef void* PangoEngineShape + ctypedef void* PangoFont + ctypedef void* PangoFontMap + ctypedef void* PangoRectangle + ctypedef void* PangoScriptIter + ctypedef void* PangoRenderer + ctypedef void* PangoRendererClass + ctypedef void* PangoRendererPrivate + ctypedef void* PangoXftRenderer + ctypedef void* PangoXftRendererClass + ctypedef void* PangoXftRendererPrivate + ctypedef void* PangoFT2FontMap + ctypedef void* PangoLayout + ctypedef void* PangoLayoutClass + ctypedef void* PangoLayoutLine + ctypedef void* PangoLayoutIter + ctypedef void* PangoFcFont + ctypedef void* PangoFcFontClass + ctypedef void* PangoOTInfo + ctypedef void* PangoOTBuffer + ctypedef void* PangoOTGlyph + ctypedef void* PangoOTRuleset + ctypedef void* PangoOTFeatureMap + ctypedef void* PangoOTRulesetDescription + ctypedef void* PangoMap + ctypedef void* PangoMapEntry + ctypedef void* PangoIncludedModule + ctypedef void* PangoMatrix + ctypedef void* PangoXFontCache + ctypedef void* PangoAnalysis + ctypedef void* PangoItem + ctypedef void* PangoEngine + ctypedef void* PangoEngineClass + ctypedef void* PangoEngineLangClass + ctypedef void* PangoEngineShapeClass + ctypedef void* PangoEngineInfo + ctypedef void* PangoEngineScriptInfo + ctypedef void* PangoContextClass + ctypedef void* PangoCoverage + ctypedef void* PangoXftFontMap + ctypedef void* PangoXftFont + ctypedef void* PangoColor + ctypedef void* PangoAttribute + ctypedef void* PangoAttrClass + ctypedef void* PangoAttrString + ctypedef void* PangoAttrLanguage + ctypedef void* PangoAttrInt + ctypedef void* PangoAttrSize + ctypedef void* PangoAttrFloat + ctypedef void* PangoAttrColor + ctypedef void* PangoAttrFontDesc + ctypedef void* PangoAttrShape + ctypedef void* PangoAttrList + ctypedef void* PangoAttrIterator + ctypedef void* PangoTabArray + ctypedef void* PangoContext + ctypedef void* PangoFontMapClass + ctypedef void* PangoGlyphGeometry + ctypedef void* PangoGlyphVisAttr + ctypedef void* PangoGlyphInfo + ctypedef void* PangoGlyphString + ctypedef void* PangoLanguage + ctypedef void* PangoFcDecoder + ctypedef void* PangoFcDecoderClass + + ctypedef struct _PangoFontMetrics : + guint ref_count + int ascent + int descent + int approximate_char_width + int approximate_digit_width + int underline_position + int underline_thickness + int strikethrough_position + int strikethrough_thickness + + ctypedef struct _PangoFontFamily : + GObject parent_instance + + ctypedef struct _PangoFontFamilyClass : + GObjectClass parent_class + void (*list_faces) (PangoFontFamily*, + PangoFontFace***, + int*) + char* (*get_name) (PangoFontFamily*) + gboolean (*is_monospace) (PangoFontFamily*) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoFontFace : + GObject parent_instance + + ctypedef struct _PangoFontFaceClass : + GObjectClass parent_class + char* (*get_face_name) (PangoFontFace*) + PangoFontDescription* (*describe) (PangoFontFace*) + void (*list_sizes) (PangoFontFace*, + int**, + int*) + gboolean (*is_synthesized) (PangoFontFace*) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoFont : + GObject parent_instance + + ctypedef struct _PangoFontClass : + GObjectClass parent_class + PangoFontDescription* (*describe) (PangoFont*) + PangoCoverage* (*get_coverage) (PangoFont*, + PangoLanguage*) + PangoEngineShape* (*find_shaper) (PangoFont*, + PangoLanguage*, + guint32) + void (*get_glyph_extents) (PangoFont*, + PangoGlyph, + PangoRectangle*, + PangoRectangle*) + PangoFontMetrics* (*get_metrics) (PangoFont*, + PangoLanguage*) + PangoFontMap* (*get_font_map) (PangoFont*) + PangoFontDescription* (*describe_absolute) (PangoFont*) + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + + ctypedef struct _PangoFontset : + GObject parent_instance + + ctypedef struct _PangoFontsetClass : + GObjectClass parent_class + PangoFont* (*get_font) (PangoFontset*, + guint) + PangoFontMetrics* (*get_metrics) (PangoFontset*) + PangoLanguage* (*get_language) (PangoFontset*) + void (*foreach) (PangoFontset*, + PangoFontsetForeachFunc, + gpointer) + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoLogAttr : + guint is_line_break + guint is_mandatory_break + guint is_char_break + guint is_white + guint is_cursor_position + guint is_word_start + guint is_word_end + guint is_sentence_boundary + guint is_sentence_start + guint is_sentence_end + guint backspace_deletes_character + guint is_expandable_space + + ctypedef struct _PangoGlyphItem : + PangoItem* item + PangoGlyphString* glyphs + + ctypedef struct _PangoFcFontMap : + PangoFontMap parent_instance + PangoFcFontMapPrivate* priv + + ctypedef struct _PangoFcFontMapClass : + PangoFontMapClass parent_class + void (*default_substitute) (PangoFcFontMap*, + FcPattern*) + PangoFcFont* (*new_font) (PangoFcFontMap*, + FcPattern*) + double (*get_resolution) (PangoFcFontMap*, + PangoContext*) + gconstpointer (*context_key_get) (PangoFcFontMap*, + PangoContext*) + gpointer (*context_key_copy) (PangoFcFontMap*, + gconstpointer) + void (*context_key_free) (PangoFcFontMap*, + gpointer) + guint32 (*context_key_hash) (PangoFcFontMap*, + gconstpointer) + gboolean (*context_key_equal) (PangoFcFontMap*, + gconstpointer, + gconstpointer) + void (*context_substitute) (PangoFcFontMap*, + PangoContext*, + FcPattern*) + PangoFcFont* (*create_font) (PangoFcFontMap*, + PangoContext*, + PangoFontDescription*, + FcPattern*) + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoRectangle : + int x + int y + int width + int height + + ctypedef struct _PangoRenderer : + GObject parent_instance + PangoUnderline underline + gboolean strikethrough + int active_count + PangoMatrix* matrix + PangoRendererPrivate* priv + + ctypedef struct _PangoRendererClass : + GObjectClass parent_class + void (*draw_glyphs) (PangoRenderer*, + PangoFont*, + PangoGlyphString*, + int, + int) + void (*draw_rectangle) (PangoRenderer*, + PangoRenderPart, + int, + int, + int, + int) + void (*draw_error_underline) (PangoRenderer*, + int, + int, + int, + int) + void (*draw_shape) (PangoRenderer*, + PangoAttrShape*, + int, + int) + void (*draw_trapezoid) (PangoRenderer*, + PangoRenderPart, + double, + double, + double, + double, + double, + double) + void (*draw_glyph) (PangoRenderer*, + PangoFont*, + PangoGlyph, + double, + double) + void (*part_changed) (PangoRenderer*, + PangoRenderPart) + void (*begin) (PangoRenderer*) + void (*end) (PangoRenderer*) + void (*prepare_run) (PangoRenderer*, + PangoLayoutRun*) + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoXftRenderer : + PangoRenderer parent_instance + Display* display + int screen + XftDraw* draw + PangoXftRendererPrivate* priv + + ctypedef struct _PangoXftRendererClass : + PangoRendererClass parent_class + void (*composite_trapezoids) (PangoXftRenderer*, + PangoRenderPart, + XTrapezoid*, + int) + void (*composite_glyphs) (PangoXftRenderer*, + XftFont*, + XftGlyphSpec*, + int) + + ctypedef struct _PangoLayoutLine : + PangoLayout* layout + gint start_index + gint length + GSList* runs + guint is_paragraph_start + guint resolved_dir + + ctypedef struct _PangoFcFont : + PangoFont parent_instance + FcPattern* font_pattern + PangoFontMap* fontmap + gpointer priv + PangoMatrix matrix + PangoFontDescription* description + GSList* metrics_by_lang + guint is_hinted + guint is_transformed + + ctypedef struct _PangoFcFontClass : + PangoFontClass parent_class + FT_Face (*lock_face) (PangoFcFont*) + void (*unlock_face) (PangoFcFont*) + gboolean (*has_char) (PangoFcFont*, + gunichar) + guint (*get_glyph) (PangoFcFont*, + gunichar) + PangoGlyph (*get_unknown_glyph) (PangoFcFont*, + gunichar) + void (*shutdown) (PangoFcFont*) + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoOTGlyph : + guint glyph + guint properties + guint cluster + gushort component + gushort ligID + gushort property_cache + + ctypedef struct _PangoOTFeatureMap : + char feature_name[5] + gulong property_bit + + ctypedef struct _PangoOTRulesetDescription : + PangoScript script + PangoLanguage* language + PangoOTFeatureMap* static_gsub_features + guint n_static_gsub_features + PangoOTFeatureMap* static_gpos_features + guint n_static_gpos_features + PangoOTFeatureMap* other_features + guint n_other_features + + ctypedef struct _PangoIncludedModule : + void (*list) (PangoEngineInfo**,int*) + void (*init) (GTypeModule*) + void (*exit) ( ) + PangoEngine* (*create) (char*) + + ctypedef struct _PangoMatrix : + double xx + double xy + double yx + double yy + double x0 + double y0 + + ctypedef struct _PangoAnalysis : + PangoEngineShape* shape_engine + PangoEngineLang* lang_engine + PangoFont* font + guint8 level + guint8 gravity + guint8 flags + guint8 script + PangoLanguage* language + GSList* extra_attrs + + ctypedef struct _PangoItem : + gint offset + gint length + gint num_chars + PangoAnalysis analysis + + ctypedef struct _PangoEngine : + GObject parent_instance + + ctypedef struct _PangoEngineClass : + GObjectClass parent_class + + ctypedef struct _PangoEngineLang : + PangoEngine parent_instance + + ctypedef struct _PangoEngineLangClass : + PangoEngineClass parent_class + void (*script_break) (PangoEngineLang*, + char*, + int, + PangoAnalysis*, + PangoLogAttr*, + int) + + ctypedef struct _PangoEngineShape : + PangoEngine parent_instance + + ctypedef struct _PangoEngineShapeClass : + PangoEngineClass parent_class + void (*script_shape) (PangoEngineShape*, + PangoFont*, + char*, + int, + PangoAnalysis*, + PangoGlyphString*) + PangoCoverageLevel (*covers) (PangoEngineShape*, + PangoFont*, + PangoLanguage*, + gunichar) + + ctypedef struct _PangoEngineScriptInfo : + PangoScript script + gchar* langs + + ctypedef struct _PangoEngineInfo : + gchar* id + gchar* engine_type + gchar* render_type + PangoEngineScriptInfo* scripts + gint n_scripts + + ctypedef struct _PangoColor : + guint16 red + guint16 green + guint16 blue + + ctypedef struct _PangoAttribute : + PangoAttrClass* klass + guint start_index + guint end_index + + ctypedef struct _PangoAttrClass : + PangoAttrType type + PangoAttribute* (*copy) (PangoAttribute* ) + void (*destroy) (PangoAttribute* ) + gboolean (*equal) (PangoAttribute* , PangoAttribute* ) + + ctypedef struct _PangoAttrString : + PangoAttribute attr + char* value + + ctypedef struct _PangoAttrLanguage : + PangoAttribute attr + PangoLanguage* value + + ctypedef struct _PangoAttrInt : + PangoAttribute attr + int value + + ctypedef struct _PangoAttrFloat : + PangoAttribute attr + double value + + ctypedef struct _PangoAttrColor : + PangoAttribute attr + PangoColor color + + ctypedef struct _PangoAttrSize : + PangoAttribute attr + int size + guint absolute + + ctypedef struct _PangoAttrShape : + PangoAttribute attr + PangoRectangle ink_rect + PangoRectangle logical_rect + gpointer data + PangoAttrDataCopyFunc copy_func + GDestroyNotify destroy_func + + ctypedef struct _PangoAttrFontDesc : + PangoAttribute attr + PangoFontDescription* desc + + ctypedef struct _PangoFontMap : + GObject parent_instance + + ctypedef struct _PangoFontMapClass : + GObjectClass parent_class + PangoFont* (*load_font) (PangoFontMap*, + PangoContext*, + PangoFontDescription*) + void (*list_families) (PangoFontMap*, + PangoFontFamily***, + int*) + PangoFontset* (*load_fontset) (PangoFontMap*, + PangoContext*, + PangoFontDescription*, + PangoLanguage*) + char* shape_engine_type + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + + ctypedef struct _PangoGlyphGeometry : + PangoGlyphUnit width + PangoGlyphUnit x_offset + PangoGlyphUnit y_offset + + ctypedef struct _PangoGlyphVisAttr : + guint is_cluster_start + + ctypedef struct _PangoGlyphInfo : + PangoGlyph glyph + PangoGlyphGeometry geometry + PangoGlyphVisAttr attr + + ctypedef struct _PangoGlyphString : + gint num_glyphs + PangoGlyphInfo* glyphs + gint* log_clusters + gint space + + ctypedef struct _PangoFcDecoder : + GObject parent_instance + + ctypedef struct _PangoFcDecoderClass : + GObjectClass parent_class + FcCharSet* (*get_charset) (PangoFcDecoder*, + PangoFcFont*) + PangoGlyph (*get_glyph) (PangoFcDecoder*, + PangoFcFont*, + guint32) + void (*_pango_reserved1) ( ) + void (*_pango_reserved2) ( ) + void (*_pango_reserved3) ( ) + void (*_pango_reserved4) ( ) + _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn