DOKK / manpages / debian 10 / libpango-perl / Pango::Context.3pm.en
Pango::Context(3pm) User Contributed Perl Documentation Pango::Context(3pm)

Pango::Context - Pango object that stores global information used to control the itemization process

  Glib::Object
  +----Pango::Context

$context->set_base_dir ($direction)

$direction (Pango::Direction)

gravity = $context->get_base_gravity

Since: pango 1.16

$context->set_base_gravity ($gravity)

$gravity (Pango::Gravity)

Since: pango 1.16

$context->set_font_description ($desc)

$desc (Pango::FontDescription)

Since: pango 1.6

gravity = $context->get_gravity

Since: pango 1.16

Since: pango 1.16

$context->set_gravity_hint ($hint)

$hint (Pango::GravityHint)

Since: pango 1.16

$context->set_language ($language)

$language (Pango::Language)

$desc (Pango::FontDescription or undef)

  • $desc (Pango::FontDescription)
  • $language (Pango::Language or undef)

Since: pango 1.6

$context->set_matrix ($matrix)

$matrix (Pango::Matrix or undef)

Since: pango 1.6

  • $desc (Pango::FontDescription)
  • $language (Pango::Language or undef)

  • 'ltr' / 'PANGO_DIRECTION_LTR'
  • 'rtl' / 'PANGO_DIRECTION_RTL'
  • 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'
  • 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'
  • 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'
  • 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'
  • 'neutral' / 'PANGO_DIRECTION_NEUTRAL'

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

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

Pango, Glib::Object

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

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

2018-11-02 perl v5.28.0