Pango::Gravity(3) represents the orientation of glyphs in a segment of text

HIERARCHY

  Glib::Enum
  +----Pango::Gravity

METHODS

gravity = Pango::Gravity::get_for_matrix ($matrix)

  • $matrix (Pango::Matrix)

gravity = Pango::Gravity::get_for_script ($script, $base_gravity, $hint)

  • $script (Pango::Script)
  • $base_gravity (Pango::Gravity)
  • $hint (Pango::GravityHint)

boolean = Pango::Gravity::is_vertical ($gravity)

  • $gravity (Pango::Gravity)

double = Pango::Gravity::to_rotation ($gravity)

  • $gravity (Pango::Gravity)

ENUMS AND FLAGS

enum Pango::Gravity

  • 'south' / 'PANGO_GRAVITY_SOUTH'
  • 'east' / 'PANGO_GRAVITY_EAST'
  • 'north' / 'PANGO_GRAVITY_NORTH'
  • 'west' / 'PANGO_GRAVITY_WEST'
  • 'auto' / 'PANGO_GRAVITY_AUTO'

enum Pango::GravityHint

  • 'natural' / 'PANGO_GRAVITY_HINT_NATURAL'
  • 'strong' / 'PANGO_GRAVITY_HINT_STRONG'
  • 'line' / 'PANGO_GRAVITY_HINT_LINE'

enum Pango::Script

  • 'invalid-code' / 'PANGO_SCRIPT_INVALID_CODE'
  • 'common' / 'PANGO_SCRIPT_COMMON'
  • 'inherited' / 'PANGO_SCRIPT_INHERITED'
  • 'arabic' / 'PANGO_SCRIPT_ARABIC'
  • 'armenian' / 'PANGO_SCRIPT_ARMENIAN'
  • 'bengali' / 'PANGO_SCRIPT_BENGALI'
  • 'bopomofo' / 'PANGO_SCRIPT_BOPOMOFO'
  • 'cherokee' / 'PANGO_SCRIPT_CHEROKEE'
  • 'coptic' / 'PANGO_SCRIPT_COPTIC'
  • 'cyrillic' / 'PANGO_SCRIPT_CYRILLIC'
  • 'deseret' / 'PANGO_SCRIPT_DESERET'
  • 'devanagari' / 'PANGO_SCRIPT_DEVANAGARI'
  • 'ethiopic' / 'PANGO_SCRIPT_ETHIOPIC'
  • 'georgian' / 'PANGO_SCRIPT_GEORGIAN'
  • 'gothic' / 'PANGO_SCRIPT_GOTHIC'
  • 'greek' / 'PANGO_SCRIPT_GREEK'
  • 'gujarati' / 'PANGO_SCRIPT_GUJARATI'
  • 'gurmukhi' / 'PANGO_SCRIPT_GURMUKHI'
  • 'han' / 'PANGO_SCRIPT_HAN'
  • 'hangul' / 'PANGO_SCRIPT_HANGUL'
  • 'hebrew' / 'PANGO_SCRIPT_HEBREW'
  • 'hiragana' / 'PANGO_SCRIPT_HIRAGANA'
  • 'kannada' / 'PANGO_SCRIPT_KANNADA'
  • 'katakana' / 'PANGO_SCRIPT_KATAKANA'
  • 'khmer' / 'PANGO_SCRIPT_KHMER'
  • 'lao' / 'PANGO_SCRIPT_LAO'
  • 'latin' / 'PANGO_SCRIPT_LATIN'
  • 'malayalam' / 'PANGO_SCRIPT_MALAYALAM'
  • 'mongolian' / 'PANGO_SCRIPT_MONGOLIAN'
  • 'myanmar' / 'PANGO_SCRIPT_MYANMAR'
  • 'ogham' / 'PANGO_SCRIPT_OGHAM'
  • 'old-italic' / 'PANGO_SCRIPT_OLD_ITALIC'
  • 'oriya' / 'PANGO_SCRIPT_ORIYA'
  • 'runic' / 'PANGO_SCRIPT_RUNIC'
  • 'sinhala' / 'PANGO_SCRIPT_SINHALA'
  • 'syriac' / 'PANGO_SCRIPT_SYRIAC'
  • 'tamil' / 'PANGO_SCRIPT_TAMIL'
  • 'telugu' / 'PANGO_SCRIPT_TELUGU'
  • 'thaana' / 'PANGO_SCRIPT_THAANA'
  • 'thai' / 'PANGO_SCRIPT_THAI'
  • 'tibetan' / 'PANGO_SCRIPT_TIBETAN'
  • 'canadian-aboriginal' / 'PANGO_SCRIPT_CANADIAN_ABORIGINAL'
  • 'yi' / 'PANGO_SCRIPT_YI'
  • 'tagalog' / 'PANGO_SCRIPT_TAGALOG'
  • 'hanunoo' / 'PANGO_SCRIPT_HANUNOO'
  • 'buhid' / 'PANGO_SCRIPT_BUHID'
  • 'tagbanwa' / 'PANGO_SCRIPT_TAGBANWA'
  • 'braille' / 'PANGO_SCRIPT_BRAILLE'
  • 'cypriot' / 'PANGO_SCRIPT_CYPRIOT'
  • 'limbu' / 'PANGO_SCRIPT_LIMBU'
  • 'osmanya' / 'PANGO_SCRIPT_OSMANYA'
  • 'shavian' / 'PANGO_SCRIPT_SHAVIAN'
  • 'linear-b' / 'PANGO_SCRIPT_LINEAR_B'
  • 'tai-le' / 'PANGO_SCRIPT_TAI_LE'
  • 'ugaritic' / 'PANGO_SCRIPT_UGARITIC'
  • 'new-tai-lue' / 'PANGO_SCRIPT_NEW_TAI_LUE'
  • 'buginese' / 'PANGO_SCRIPT_BUGINESE'
  • 'glagolitic' / 'PANGO_SCRIPT_GLAGOLITIC'
  • 'tifinagh' / 'PANGO_SCRIPT_TIFINAGH'
  • 'syloti-nagri' / 'PANGO_SCRIPT_SYLOTI_NAGRI'
  • 'old-persian' / 'PANGO_SCRIPT_OLD_PERSIAN'
  • 'kharoshthi' / 'PANGO_SCRIPT_KHAROSHTHI'
  • 'unknown' / 'PANGO_SCRIPT_UNKNOWN'
  • 'balinese' / 'PANGO_SCRIPT_BALINESE'
  • 'cuneiform' / 'PANGO_SCRIPT_CUNEIFORM'
  • 'phoenician' / 'PANGO_SCRIPT_PHOENICIAN'
  • 'phags-pa' / 'PANGO_SCRIPT_PHAGS_PA'
  • 'nko' / 'PANGO_SCRIPT_NKO'
  • 'kayah-li' / 'PANGO_SCRIPT_KAYAH_LI'
  • 'lepcha' / 'PANGO_SCRIPT_LEPCHA'
  • 'rejang' / 'PANGO_SCRIPT_REJANG'
  • 'sundanese' / 'PANGO_SCRIPT_SUNDANESE'
  • 'saurashtra' / 'PANGO_SCRIPT_SAURASHTRA'
  • 'cham' / 'PANGO_SCRIPT_CHAM'
  • 'ol-chiki' / 'PANGO_SCRIPT_OL_CHIKI'
  • 'vai' / 'PANGO_SCRIPT_VAI'
  • 'carian' / 'PANGO_SCRIPT_CARIAN'
  • 'lycian' / 'PANGO_SCRIPT_LYCIAN'
  • 'lydian' / 'PANGO_SCRIPT_LYDIAN'
  • 'batak' / 'PANGO_SCRIPT_BATAK'
  • 'brahmi' / 'PANGO_SCRIPT_BRAHMI'
  • 'mandaic' / 'PANGO_SCRIPT_MANDAIC'
  • 'chakma' / 'PANGO_SCRIPT_CHAKMA'
  • 'meroitic-cursive' / 'PANGO_SCRIPT_MEROITIC_CURSIVE'
  • 'meroitic-hieroglyphs' / 'PANGO_SCRIPT_MEROITIC_HIEROGLYPHS'
  • 'miao' / 'PANGO_SCRIPT_MIAO'
  • 'sharada' / 'PANGO_SCRIPT_SHARADA'
  • 'sora-sompeng' / 'PANGO_SCRIPT_SORA_SOMPENG'
  • 'takri' / 'PANGO_SCRIPT_TAKRI'

COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Pango for a full notice.