blob: 54445450e1202340ea79696b0a07251b3d196759 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
|
<!-- ##### SECTION Title ##### -->
PangoRenderer
<!-- ##### SECTION Short_Description ##### -->
Rendering driver base class
<!-- ##### SECTION Long_Description ##### -->
<para>
#PangoRenderer is a base class that contains the necessary logic for
rendering a #PangoLayout or #PangoLayoutLine. By subclassing
#PangoRenderer and overriding operations such as @draw_glyphs and
@draw_rectangle, renderers for particular font backends and
destinations can be created.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT PangoRenderer ##### -->
<para>
</para>
@matrix:
<!-- ##### ENUM PangoRenderPart ##### -->
<para>
</para>
@PANGO_RENDER_PART_FOREGROUND:
@PANGO_RENDER_PART_BACKGROUND:
@PANGO_RENDER_PART_UNDERLINE:
@PANGO_RENDER_PART_STRIKETHROUGH:
<!-- ##### MACRO PANGO_TYPE_RENDER_PART ##### -->
<para>
The #GObject type for #PangoRenderPart.
</para>
<!-- ##### STRUCT PangoRendererClass ##### -->
<para>
</para>
@draw_glyphs:
@draw_rectangle:
@draw_error_underline:
@draw_shape:
@draw_trapezoid:
@draw_glyph:
@part_changed:
@begin:
@end:
@prepare_run:
@draw_glyph_item:
<!-- ##### FUNCTION pango_renderer_draw_layout ##### -->
<para>
</para>
@renderer:
@layout:
@x:
@y:
<!-- ##### FUNCTION pango_renderer_draw_layout_line ##### -->
<para>
</para>
@renderer:
@line:
@x:
@y:
<!-- ##### FUNCTION pango_renderer_draw_glyphs ##### -->
<para>
</para>
@renderer:
@font:
@glyphs:
@x:
@y:
<!-- ##### FUNCTION pango_renderer_draw_glyph_item ##### -->
<para>
</para>
@renderer:
@text:
@glyph_item:
@x:
@y:
<!-- ##### FUNCTION pango_renderer_draw_rectangle ##### -->
<para>
</para>
@renderer:
@part:
@x:
@y:
@width:
@height:
<!-- ##### FUNCTION pango_renderer_draw_error_underline ##### -->
<para>
</para>
@renderer:
@x:
@y:
@width:
@height:
<!-- ##### FUNCTION pango_renderer_draw_trapezoid ##### -->
<para>
</para>
@renderer:
@part:
@y1_:
@x11:
@x21:
@y2:
@x12:
@x22:
<!-- ##### FUNCTION pango_renderer_draw_glyph ##### -->
<para>
</para>
@renderer:
@font:
@glyph:
@x:
@y:
<!-- ##### FUNCTION pango_renderer_activate ##### -->
<para>
</para>
@renderer:
<!-- ##### FUNCTION pango_renderer_deactivate ##### -->
<para>
</para>
@renderer:
<!-- ##### FUNCTION pango_renderer_part_changed ##### -->
<para>
</para>
@renderer:
@part:
<!-- ##### FUNCTION pango_renderer_set_color ##### -->
<para>
</para>
@renderer:
@part:
@color:
<!-- ##### FUNCTION pango_renderer_get_color ##### -->
<para>
</para>
@renderer:
@part:
@Returns:
<!-- ##### FUNCTION pango_renderer_set_matrix ##### -->
<para>
</para>
@renderer:
@matrix:
<!-- ##### FUNCTION pango_renderer_get_matrix ##### -->
<para>
</para>
@renderer:
@Returns:
<!-- ##### FUNCTION pango_renderer_get_layout ##### -->
<para>
</para>
@renderer:
@Returns:
<!-- ##### FUNCTION pango_renderer_get_layout_line ##### -->
<para>
</para>
@renderer:
@Returns:
|