1Pango::Context(3) User Contributed Perl Documentation Pango::Context(3)
2
3
4
6 Pango::Context - wrapper for PangoContext
7
9 Glib::Object
10 +----Pango::Context
11
13 direction = $context->get_base_dir
14 $context->set_base_dir ($direction)
15 • $direction (Pango::Direction)
16
17 gravity = $context->get_base_gravity
18 Since: pango 1.16
19
20 $context->set_base_gravity ($gravity)
21 • $gravity (Pango::Gravity)
22
23 Since: pango 1.16
24
25 fontdescription = $context->get_font_description
26 $context->set_font_description ($desc)
27 • $desc (Pango::FontDescription)
28
29 fontmap = $context->get_font_map
30 Since: pango 1.6
31
32 gravity = $context->get_gravity
33 Since: pango 1.16
34
35 gravityhint = $context->get_gravity_hint
36 Since: pango 1.16
37
38 $context->set_gravity_hint ($hint)
39 • $hint (Pango::GravityHint)
40
41 Since: pango 1.16
42
43 language = $context->get_language
44 $context->set_language ($language)
45 • $language (Pango::Language)
46
47 @families = $context->list_families
48 font = $context->load_font ($desc)
49 • $desc (Pango::FontDescription or undef)
50
51 fontset = $context->load_fontset ($desc, $language)
52 • $desc (Pango::FontDescription)
53
54 • $language (Pango::Language or undef)
55
56 matrix or undef = $context->get_matrix
57 Since: pango 1.6
58
59 $context->set_matrix ($matrix)
60 • $matrix (Pango::Matrix or undef)
61
62 Since: pango 1.6
63
64 fontmetrics = $context->get_metrics ($desc, $language)
65 • $desc (Pango::FontDescription)
66
67 • $language (Pango::Language or undef)
68
70 enum Pango::Direction
71 • 'ltr' / 'PANGO_DIRECTION_LTR'
72
73 • 'rtl' / 'PANGO_DIRECTION_RTL'
74
75 • 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'
76
77 • 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'
78
79 • 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'
80
81 • 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'
82
83 • 'neutral' / 'PANGO_DIRECTION_NEUTRAL'
84
85 enum Pango::Gravity
86 • 'south' / 'PANGO_GRAVITY_SOUTH'
87
88 • 'east' / 'PANGO_GRAVITY_EAST'
89
90 • 'north' / 'PANGO_GRAVITY_NORTH'
91
92 • 'west' / 'PANGO_GRAVITY_WEST'
93
94 • 'auto' / 'PANGO_GRAVITY_AUTO'
95
96 enum Pango::GravityHint
97 • 'natural' / 'PANGO_GRAVITY_HINT_NATURAL'
98
99 • 'strong' / 'PANGO_GRAVITY_HINT_STRONG'
100
101 • 'line' / 'PANGO_GRAVITY_HINT_LINE'
102
104 Pango, Glib::Object
105
107 Copyright (C) 2003-2011 by the gtk2-perl team.
108
109 This software is licensed under the LGPL. See Pango for a full notice.
110
111
112
113perl v5.34.0 2022-01-21 Pango::Context(3)