Header Ads Widget

[MAN] Pango::Context

Content-type: text/html; charset=UTF-8 Man page of Pango::Context

Pango::Context

Section: User Contributed Perl Documentation (3pm)
Updated: 2017-07-27
Index Return to Main Contents
 

NAME

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

HIERARCHY

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

 

METHODS

 

direction = $context->get_base_dir

 

$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  

fontdescription = $context->get_font_description

 

$context->set_font_description ($desc)

$desc (Pango::FontDescription)
 

fontmap = $context->get_font_map

Since: pango 1.6  

gravity = $context->get_gravity

Since: pango 1.16  

gravityhint = $context->get_gravity_hint

Since: pango 1.16  

$context->set_gravity_hint ($hint)

$hint (Pango::GravityHint)

Since: pango 1.16  

language = $context->get_language

 

$context->set_language ($language)

$language (Pango::Language)
 

@families = $context->list_families

 

font = $context->load_font ($desc)

$desc (Pango::FontDescription or undef)
 

fontset = $context->load_fontset ($desc, $language)

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

matrix or undef = $context->get_matrix

Since: pango 1.6  

$context->set_matrix ($matrix)

$matrix (Pango::Matrix or undef)

Since: pango 1.6  

fontmetrics = $context->get_metrics ($desc, $language)

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

ENUMS AND FLAGS

 

enum Pango::Direction

'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'
 

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'
 

SEE ALSO

Pango, Glib::Object  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
direction = $context->get_base_dir
$context->set_base_dir ($direction)
gravity = $context->get_base_gravity
$context->set_base_gravity ($gravity)
fontdescription = $context->get_font_description
$context->set_font_description ($desc)
fontmap = $context->get_font_map
gravity = $context->get_gravity
gravityhint = $context->get_gravity_hint
$context->set_gravity_hint ($hint)
language = $context->get_language
$context->set_language ($language)
@families = $context->list_families
font = $context->load_font ($desc)
fontset = $context->load_fontset ($desc, $language)
matrix or undef = $context->get_matrix
$context->set_matrix ($matrix)
fontmetrics = $context->get_metrics ($desc, $language)
ENUMS AND FLAGS
enum Pango::Direction
enum Pango::Gravity
enum Pango::GravityHint
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 04:45:42 GMT, September 16, 2022

댓글 쓰기

0 댓글