1Gtk2::Pango::Renderer(3U)ser Contributed Perl DocumentatiGotnk2::Pango::Renderer(3)
2
3
4
6 Gtk2::Pango::Renderer
7
9 Glib::Object
10 +----Gtk2::Pango::Renderer
11
13 $renderer->activate
14 Since: pango 1.8
15
16 color or undef = $renderer->get_color ($part)
17 · $part (Gtk2::Pango::RenderPart)
18
19 Since: pango 1.8
20
21 $renderer->set_color ($part, $color)
22 · $part (Gtk2::Pango::RenderPart)
23
24 · $color (Gtk2::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 (Gtk2::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 (Gtk2::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 (Gtk2::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 (Gtk2::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 (Gtk2::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 (Gtk2::Pango::Matrix or undef)
112
113 Since: pango 1.8
114
115 $renderer->part_changed ($part)
116 · $part (Gtk2::Pango::RenderPart)
117
118 Since: pango 1.8
119
121 enum Gtk2::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
131 Gtk2, Glib::Object
132
134 Copyright (C) 2003-2008 by the gtk2-perl team.
135
136 This software is licensed under the LGPL. See Gtk2 for a full notice.
137
138
139
140perl v5.12.0 2010-05-02 Gtk2::Pango::Renderer(3)