Python API reference #################### .. module:: pangocffi Rendering ========= Functions to run the rendering pipeline. .. autoclass:: Context Glyph Storage ============= Structures for storing information about glyphs. Units and conversion ____________________ .. autofunction:: pangocffi.units_to_double .. autofunction:: pangocffi.units_from_double Rectangle _________ .. autoclass:: Rectangle Matrix ______ API not implemented yet. Glyph String ____________ API not implemented yet. Glyph Item __________ .. autoclass:: GlyphItem Glyph Item Iterator ___________________ .. autoclass:: GlyphItemIter Item ____ .. autoclass:: Item Fonts ===== Structures representing abstract fonts. Font Description ________________ .. autoclass:: FontDescription Font ____ .. autoclass:: Font API not fully implemented yet. Font Metrics ____________ .. autoclass:: FontMetrics Font Map ________ API not implemented yet. Font Set ________ API not implemented yet. Font Fields ___________ API not implemented yet. Style ----- .. autoclass:: Style Weight ------ .. autoclass:: Weight Variant ------- .. autoclass:: Variant Stretch ------- .. autoclass:: Stretch FontMask -------- .. autoclass:: FontMask Text Attributes =============== Font and other attributes for annotating text. Attribute _________ .. autoclass:: Attribute AttrList ________ .. autoclass:: AttrList Tab Stops ========= Structures for storing tab stops. TabArray ________ .. autoclass:: TabArray TabAlign ________ .. autoclass:: TabAlign Text Attribute Markup ===================== See `Gnome's documentation`_ for details on how to use the Pango Text Attribute Markup Language. .. _`Gnome's documentation`: https://developer.gnome.org/pango/stable/PangoMarkupFormat.html Layout Objects ============== High-level layout driver objects. Layout ______ .. autoclass:: Layout Layout Iterator _______________ .. autoclass:: LayoutIter Layout Line ___________ API not implemented yet. Layout Run __________ .. autoclass:: LayoutRun Layout Modes ____________ API not implemented yet. Wrap Mode --------- .. autoclass:: WrapMode Ellipsize Mode -------------- .. autoclass:: EllipsizeMode Alignment --------- .. autoclass:: Alignment Scripts and Languages ===================== Identifying writing systems and languages. Script ______ API not implemented yet. Language ________ .. autoclass:: Language Underlined Text =============== Enum used by Text Attributes for underlining text. .. autoclass:: Underline Bidirectional Text ================== Types and functions to help with handling bidirectional text. API not implemented yet. Vertical Text ============= Laying text out in vertical directions. Gravity _______ .. autoclass:: Gravity Gravity Hints _____________ .. autoclass:: GravityHint Low Level Functionality ======================= Version Checking ________________ .. autofunction:: pangocffi.pango_version .. autofunction:: pangocffi.pango_version_string Pango Object ____________ .. autoclass:: PangoObject