1Pango::Renderer(3) User Contributed Perl Documentation Pango::Renderer(3)
2
3
4
6 Pango::Renderer - wrapper for PangoRenderer
7
9 Glib::Object
10 +----Pango::Renderer
11
13 $renderer->activate
14 Since: pango 1.8
15
16 color or undef = $renderer->get_color ($part)
17 · $part (Pango::RenderPart)
18
19 Since: pango 1.8
20
21 $renderer->set_color ($part, $color)
22 · $part (Pango::RenderPart)
23
24 · $color (Pango::Color or undef)
25
26 Since: pango 1.8
27
28 $renderer->deactivate
29 Since: pango 1.8
30
31 $renderer->draw_error_underline ($x, $y, $width, $height)
32 · $x (integer)
33
34 · $y (integer)
35
36 · $width (integer)
37
38 · $height (integer)
39
40 Since: pango 1.8
41
42 $renderer->draw_glyph ($font, $glyph, $x, $y)
43 · $font (Pango::Font)
44
45 · $glyph (integer)
46
47 · $x (double)
48
49 · $y (double)
50
51 Since: pango 1.8
52
53 $renderer->draw_layout ($layout, $x, $y)
54 · $layout (Pango::Layout)
55
56 · $x (integer)
57
58 · $y (integer)
59
60 Since: pango 1.8
61
62 $renderer->draw_layout_line ($line, $x, $y)
63 · $line (Pango::LayoutLine)
64
65 · $x (integer)
66
67 · $y (integer)
68
69 Since: pango 1.8
70
71 $renderer->draw_rectangle ($part, $x, $y, $width, $height)
72 · $part (Pango::RenderPart)
73
74 · $x (integer)
75
76 · $y (integer)
77
78 · $width (integer)
79
80 · $height (integer)
81
82 Since: pango 1.8
83
84 $renderer->draw_trapezoid ($part, $y1_, $x11, $x21, $y2, $x12, $x22)
85 · $part (Pango::RenderPart)
86
87 · $y1_ (double)
88
89 · $x11 (double)
90
91 · $x21 (double)
92
93 · $y2 (double)
94
95 · $x12 (double)
96
97 · $x22 (double)
98
99 Since: pango 1.8
100
101 layout = $renderer->get_layout
102 Since: pango 1.20
103
104 layoutline = $renderer->get_layout_line
105 Since: pango 1.20
106
107 matrix or undef = $renderer->get_matrix
108 Since: pango 1.8
109
110 $renderer->set_matrix ($matrix)
111 · $matrix (Pango::Matrix or undef)
112
113 Since: pango 1.8
114
115 $renderer->part_changed ($part)
116 · $part (Pango::RenderPart)
117
118 Since: pango 1.8
119
121 enum Pango::RenderPart
122 · 'foreground' / 'PANGO_RENDER_PART_FOREGROUND'
123
124 · 'background' / 'PANGO_RENDER_PART_BACKGROUND'
125
126 · 'underline' / 'PANGO_RENDER_PART_UNDERLINE'
127
128 · 'strikethrough' / 'PANGO_RENDER_PART_STRIKETHROUGH'
129
130 · 'overline' / 'PANGO_RENDER_PART_OVERLINE'
131
133 Pango, Glib::Object
134
136 Copyright (C) 2003-2011 by the gtk2-perl team.
137
138 This software is licensed under the LGPL. See Pango for a full notice.
139
140
141
142perl v5.32.0 2020-07-28 Pango::Renderer(3)