Mercurial > projects > dwt-linux
comparison dwt/internal/c/pango.d @ 33:27324bbbac70
changed to regenerated BCD bindings
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 10 Jan 2008 02:18:07 +0100 |
parents | |
children | 787b5413b0ce |
comparison
equal
deleted
inserted
replaced
32:b7c28480e3e0 | 33:27324bbbac70 |
---|---|
1 /****************************************************************************** | |
2 Based on the generated files from the BCD tool | |
3 modified by: Frank Benoit <keinfarbton@googlemail.com> | |
4 ******************************************************************************/ | |
5 module dwt.internal.c.pango; | |
6 | |
7 public import dwt.internal.c.glib; | |
8 | |
9 extern(C): | |
10 align(4): | |
11 | |
12 | |
13 struct _IO_FILE{}; | |
14 // .. gen .. | |
15 | |
16 const int PANGO_SCALE = 1024; | |
17 const int PANGO_VERSION_MAJOR = 1; | |
18 const int PANGO_VERSION_MINOR = 18; | |
19 const int PANGO_VERSION_MICRO = 3; | |
20 const char[] PANGO_VERSION_STRING = "1.18.3"; | |
21 enum PangoRenderPart { | |
22 PANGO_RENDER_PART_FOREGROUND=0, | |
23 PANGO_RENDER_PART_BACKGROUND=1, | |
24 PANGO_RENDER_PART_UNDERLINE=2, | |
25 PANGO_RENDER_PART_STRIKETHROUGH=3, | |
26 } | |
27 alias void PangoRendererPrivate; | |
28 alias _PangoRendererClass PangoRendererClass; | |
29 alias _PangoRenderer PangoRenderer; | |
30 alias void PangoFont; | |
31 alias _PangoGlyphString PangoGlyphString; | |
32 alias void function(_PangoRenderer *, void *, _PangoGlyphString *, int, int) _BCD_func__4309; | |
33 alias void function(_PangoRenderer *, int, int, int, int, int) _BCD_func__4310; | |
34 alias void function(_PangoRenderer *, int, int, int, int) _BCD_func__4311; | |
35 alias _PangoAttrShape PangoAttrShape; | |
36 alias void function(_PangoRenderer *, _PangoAttrShape *, int, int) _BCD_func__4312; | |
37 alias void function(_PangoRenderer *, int, double, double, double, double, double, double) _BCD_func__4313; | |
38 alias void function(_PangoRenderer *, void *, uint, double, double) _BCD_func__4314; | |
39 alias void function(_PangoRenderer *, int) _BCD_func__4315; | |
40 alias void function(_PangoRenderer *) _BCD_func__4316; | |
41 alias _PangoGlyphItem PangoGlyphItem; | |
42 alias _PangoGlyphItem PangoLayoutRun; | |
43 alias void function(_PangoRenderer *, _PangoGlyphItem *) _BCD_func__4317; | |
44 alias void function() _BCD_func__3343; | |
45 enum PangoUnderline { | |
46 PANGO_UNDERLINE_NONE=0, | |
47 PANGO_UNDERLINE_SINGLE=1, | |
48 PANGO_UNDERLINE_DOUBLE=2, | |
49 PANGO_UNDERLINE_LOW=3, | |
50 PANGO_UNDERLINE_ERROR=4, | |
51 } | |
52 alias _PangoMatrix PangoMatrix; | |
53 alias void PangoLayoutIter; | |
54 enum PangoEllipsizeMode { | |
55 PANGO_ELLIPSIZE_NONE=0, | |
56 PANGO_ELLIPSIZE_START=1, | |
57 PANGO_ELLIPSIZE_MIDDLE=2, | |
58 PANGO_ELLIPSIZE_END=3, | |
59 } | |
60 enum PangoWrapMode { | |
61 PANGO_WRAP_WORD=0, | |
62 PANGO_WRAP_CHAR=1, | |
63 PANGO_WRAP_WORD_CHAR=2, | |
64 } | |
65 enum PangoAlignment { | |
66 PANGO_ALIGN_LEFT=0, | |
67 PANGO_ALIGN_CENTER=1, | |
68 PANGO_ALIGN_RIGHT=2, | |
69 } | |
70 alias _PangoLayoutLine PangoLayoutLine; | |
71 alias void PangoLayout; | |
72 alias void PangoLayoutClass; | |
73 enum PangoTabAlign { | |
74 PANGO_TAB_LEFT=0, | |
75 } | |
76 alias void PangoTabArray; | |
77 alias _PangoItem PangoItem; | |
78 alias int PangoGlyphUnit; | |
79 alias _PangoGlyphInfo PangoGlyphInfo; | |
80 alias uint PangoGlyph; | |
81 alias _PangoGlyphGeometry PangoGlyphGeometry; | |
82 alias _PangoGlyphVisAttr PangoGlyphVisAttr; | |
83 alias void PangoContextClass; | |
84 alias void PangoContext; | |
85 alias void PangoFontset; | |
86 alias int function(void *, void *, void *) _BCD_func__3004; | |
87 alias _BCD_func__3004 PangoFontsetForeachFunc; | |
88 alias _PangoAnalysis PangoAnalysis; | |
89 alias void PangoEngineShape; | |
90 alias void PangoEngineLang; | |
91 alias void PangoLanguage; | |
92 alias void * function(void *) _BCD_func__3030; | |
93 alias _BCD_func__3030 PangoAttrDataCopyFunc; | |
94 alias _PangoAttribute PangoAttribute; | |
95 alias int function(_PangoAttribute *, void *) _BCD_func__3031; | |
96 alias _BCD_func__3031 PangoAttrFilterFunc; | |
97 enum PangoAttrType { | |
98 PANGO_ATTR_INVALID=0, | |
99 PANGO_ATTR_LANGUAGE=1, | |
100 PANGO_ATTR_FAMILY=2, | |
101 PANGO_ATTR_STYLE=3, | |
102 PANGO_ATTR_WEIGHT=4, | |
103 PANGO_ATTR_VARIANT=5, | |
104 PANGO_ATTR_STRETCH=6, | |
105 PANGO_ATTR_SIZE=7, | |
106 PANGO_ATTR_FONT_DESC=8, | |
107 PANGO_ATTR_FOREGROUND=9, | |
108 PANGO_ATTR_BACKGROUND=10, | |
109 PANGO_ATTR_UNDERLINE=11, | |
110 PANGO_ATTR_STRIKETHROUGH=12, | |
111 PANGO_ATTR_RISE=13, | |
112 PANGO_ATTR_SHAPE=14, | |
113 PANGO_ATTR_SCALE=15, | |
114 PANGO_ATTR_FALLBACK=16, | |
115 PANGO_ATTR_LETTER_SPACING=17, | |
116 PANGO_ATTR_UNDERLINE_COLOR=18, | |
117 PANGO_ATTR_STRIKETHROUGH_COLOR=19, | |
118 PANGO_ATTR_ABSOLUTE_SIZE=20, | |
119 PANGO_ATTR_GRAVITY=21, | |
120 PANGO_ATTR_GRAVITY_HINT=22, | |
121 } | |
122 alias void PangoAttrIterator; | |
123 alias void PangoAttrList; | |
124 alias _PangoRectangle PangoRectangle; | |
125 alias void function(void *) _BCD_func__2834; | |
126 alias _PangoAttrFontDesc PangoAttrFontDesc; | |
127 alias void PangoFontDescription; | |
128 alias _PangoAttrColor PangoAttrColor; | |
129 alias _PangoColor PangoColor; | |
130 alias _PangoAttrFloat PangoAttrFloat; | |
131 alias _PangoAttrSize PangoAttrSize; | |
132 alias _PangoAttrInt PangoAttrInt; | |
133 alias _PangoAttrLanguage PangoAttrLanguage; | |
134 alias _PangoAttrString PangoAttrString; | |
135 alias _PangoAttrClass PangoAttrClass; | |
136 alias _PangoAttribute * function(_PangoAttribute *) _BCD_func__4336; | |
137 alias void function(_PangoAttribute *) _BCD_func__4337; | |
138 alias int function(_PangoAttribute *, _PangoAttribute *) _BCD_func__4338; | |
139 alias void PangoFontFace; | |
140 alias void PangoFontFamily; | |
141 enum PangoFontMask { | |
142 PANGO_FONT_MASK_FAMILY=1, | |
143 PANGO_FONT_MASK_STYLE=2, | |
144 PANGO_FONT_MASK_VARIANT=4, | |
145 PANGO_FONT_MASK_WEIGHT=8, | |
146 PANGO_FONT_MASK_STRETCH=16, | |
147 PANGO_FONT_MASK_SIZE=32, | |
148 PANGO_FONT_MASK_GRAVITY=64, | |
149 } | |
150 enum PangoStretch { | |
151 PANGO_STRETCH_ULTRA_CONDENSED=0, | |
152 PANGO_STRETCH_EXTRA_CONDENSED=1, | |
153 PANGO_STRETCH_CONDENSED=2, | |
154 PANGO_STRETCH_SEMI_CONDENSED=3, | |
155 PANGO_STRETCH_NORMAL=4, | |
156 PANGO_STRETCH_SEMI_EXPANDED=5, | |
157 PANGO_STRETCH_EXPANDED=6, | |
158 PANGO_STRETCH_EXTRA_EXPANDED=7, | |
159 PANGO_STRETCH_ULTRA_EXPANDED=8, | |
160 } | |
161 enum PangoWeight { | |
162 PANGO_WEIGHT_ULTRALIGHT=200, | |
163 PANGO_WEIGHT_LIGHT=300, | |
164 PANGO_WEIGHT_NORMAL=400, | |
165 PANGO_WEIGHT_SEMIBOLD=600, | |
166 PANGO_WEIGHT_BOLD=700, | |
167 PANGO_WEIGHT_ULTRABOLD=800, | |
168 PANGO_WEIGHT_HEAVY=900, | |
169 } | |
170 enum PangoVariant { | |
171 PANGO_VARIANT_NORMAL=0, | |
172 PANGO_VARIANT_SMALL_CAPS=1, | |
173 } | |
174 enum PangoStyle { | |
175 PANGO_STYLE_NORMAL=0, | |
176 PANGO_STYLE_OBLIQUE=1, | |
177 PANGO_STYLE_ITALIC=2, | |
178 } | |
179 alias void PangoFontMetrics; | |
180 enum PangoScript { | |
181 PANGO_SCRIPT_INVALID_CODE=-1, | |
182 PANGO_SCRIPT_COMMON=0, | |
183 PANGO_SCRIPT_INHERITED=1, | |
184 PANGO_SCRIPT_ARABIC=2, | |
185 PANGO_SCRIPT_ARMENIAN=3, | |
186 PANGO_SCRIPT_BENGALI=4, | |
187 PANGO_SCRIPT_BOPOMOFO=5, | |
188 PANGO_SCRIPT_CHEROKEE=6, | |
189 PANGO_SCRIPT_COPTIC=7, | |
190 PANGO_SCRIPT_CYRILLIC=8, | |
191 PANGO_SCRIPT_DESERET=9, | |
192 PANGO_SCRIPT_DEVANAGARI=10, | |
193 PANGO_SCRIPT_ETHIOPIC=11, | |
194 PANGO_SCRIPT_GEORGIAN=12, | |
195 PANGO_SCRIPT_GOTHIC=13, | |
196 PANGO_SCRIPT_GREEK=14, | |
197 PANGO_SCRIPT_GUJARATI=15, | |
198 PANGO_SCRIPT_GURMUKHI=16, | |
199 PANGO_SCRIPT_HAN=17, | |
200 PANGO_SCRIPT_HANGUL=18, | |
201 PANGO_SCRIPT_HEBREW=19, | |
202 PANGO_SCRIPT_HIRAGANA=20, | |
203 PANGO_SCRIPT_KANNADA=21, | |
204 PANGO_SCRIPT_KATAKANA=22, | |
205 PANGO_SCRIPT_KHMER=23, | |
206 PANGO_SCRIPT_LAO=24, | |
207 PANGO_SCRIPT_LATIN=25, | |
208 PANGO_SCRIPT_MALAYALAM=26, | |
209 PANGO_SCRIPT_MONGOLIAN=27, | |
210 PANGO_SCRIPT_MYANMAR=28, | |
211 PANGO_SCRIPT_OGHAM=29, | |
212 PANGO_SCRIPT_OLD_ITALIC=30, | |
213 PANGO_SCRIPT_ORIYA=31, | |
214 PANGO_SCRIPT_RUNIC=32, | |
215 PANGO_SCRIPT_SINHALA=33, | |
216 PANGO_SCRIPT_SYRIAC=34, | |
217 PANGO_SCRIPT_TAMIL=35, | |
218 PANGO_SCRIPT_TELUGU=36, | |
219 PANGO_SCRIPT_THAANA=37, | |
220 PANGO_SCRIPT_THAI=38, | |
221 PANGO_SCRIPT_TIBETAN=39, | |
222 PANGO_SCRIPT_CANADIAN_ABORIGINAL=40, | |
223 PANGO_SCRIPT_YI=41, | |
224 PANGO_SCRIPT_TAGALOG=42, | |
225 PANGO_SCRIPT_HANUNOO=43, | |
226 PANGO_SCRIPT_BUHID=44, | |
227 PANGO_SCRIPT_TAGBANWA=45, | |
228 PANGO_SCRIPT_BRAILLE=46, | |
229 PANGO_SCRIPT_CYPRIOT=47, | |
230 PANGO_SCRIPT_LIMBU=48, | |
231 PANGO_SCRIPT_OSMANYA=49, | |
232 PANGO_SCRIPT_SHAVIAN=50, | |
233 PANGO_SCRIPT_LINEAR_B=51, | |
234 PANGO_SCRIPT_TAI_LE=52, | |
235 PANGO_SCRIPT_UGARITIC=53, | |
236 PANGO_SCRIPT_NEW_TAI_LUE=54, | |
237 PANGO_SCRIPT_BUGINESE=55, | |
238 PANGO_SCRIPT_GLAGOLITIC=56, | |
239 PANGO_SCRIPT_TIFINAGH=57, | |
240 PANGO_SCRIPT_SYLOTI_NAGRI=58, | |
241 PANGO_SCRIPT_OLD_PERSIAN=59, | |
242 PANGO_SCRIPT_KHAROSHTHI=60, | |
243 PANGO_SCRIPT_UNKNOWN=61, | |
244 PANGO_SCRIPT_BALINESE=62, | |
245 PANGO_SCRIPT_CUNEIFORM=63, | |
246 PANGO_SCRIPT_PHOENICIAN=64, | |
247 PANGO_SCRIPT_PHAGS_PA=65, | |
248 PANGO_SCRIPT_NKO=66, | |
249 } | |
250 alias void PangoScriptIter; | |
251 enum PangoGravityHint { | |
252 PANGO_GRAVITY_HINT_NATURAL=0, | |
253 PANGO_GRAVITY_HINT_STRONG=1, | |
254 PANGO_GRAVITY_HINT_LINE=2, | |
255 } | |
256 enum PangoGravity { | |
257 PANGO_GRAVITY_SOUTH=0, | |
258 PANGO_GRAVITY_EAST=1, | |
259 PANGO_GRAVITY_NORTH=2, | |
260 PANGO_GRAVITY_WEST=3, | |
261 PANGO_GRAVITY_AUTO=4, | |
262 } | |
263 enum PangoDirection { | |
264 PANGO_DIRECTION_LTR=0, | |
265 PANGO_DIRECTION_RTL=1, | |
266 PANGO_DIRECTION_TTB_LTR=2, | |
267 PANGO_DIRECTION_TTB_RTL=3, | |
268 PANGO_DIRECTION_WEAK_LTR=4, | |
269 PANGO_DIRECTION_WEAK_RTL=5, | |
270 PANGO_DIRECTION_NEUTRAL=6, | |
271 } | |
272 alias void PangoFontMap; | |
273 alias _PangoLogAttr PangoLogAttr; | |
274 enum PangoCoverageLevel { | |
275 PANGO_COVERAGE_NONE=0, | |
276 PANGO_COVERAGE_FALLBACK=1, | |
277 PANGO_COVERAGE_APPROXIMATE=2, | |
278 PANGO_COVERAGE_EXACT=3, | |
279 } | |
280 alias void PangoCoverage; | |
281 alias int function(void *) _BCD_func__143; | |
282 alias int function(void *, long *, int) _BCD_func__145; | |
283 alias int function(void *, char *, uint) _BCD_func__147; | |
284 alias int function(void *, char *, uint) _BCD_func__149; | |
285 alias int function(void * *, char *) _BCD_func__2835; | |
286 alias int function(char *, char * * *, uint *) _BCD_func__2836; | |
287 alias int function(void *, char *, char *, char *, char *) _BCD_func__2837; | |
288 alias int function(__gconv_step *, __gconv_step_data *, void *, char *, char * *, char *, char * *, uint *) _BCD_func__2838; | |
289 alias void function(__gconv_step *) _BCD_func__2839; | |
290 alias int function(__gconv_step *) _BCD_func__2840; | |
291 alias uint function(__gconv_step *, char) _BCD_func__2841; | |
292 alias int function(__gconv_step *, __gconv_step_data *, char * *, char *, char * *, uint *, int, int) _BCD_func__2842; | |
293 alias void function(void *, uint, uint, _GInterfaceInfo *) _BCD_func__3136; | |
294 alias void function(void *, uint, _GTypeInfo *, _GTypeValueTable *) _BCD_func__3137; | |
295 alias void function(void *) _BCD_func__3138; | |
296 alias void function(void *, _GObject *, int) _BCD_func__3286; | |
297 alias void function(void *, _GObject *) _BCD_func__3292; | |
298 alias void function(_GObject *) _BCD_func__3293; | |
299 alias void function(_GObject *, uint, _GValue *, _GParamSpec *) _BCD_func__3294; | |
300 alias void function(_GObject *, uint, _GValue *, _GParamSpec *) _BCD_func__3295; | |
301 alias int function(_GSignalInvocationHint *, _GValue *, _GValue *, void *) _BCD_func__3321; | |
302 alias int function(_GSignalInvocationHint *, uint, _GValue *, void *) _BCD_func__3322; | |
303 alias void function(_GClosure *, _GValue *, uint, _GValue *, void *, void *) _BCD_func__3323; | |
304 alias void function(void *, _GClosure *) _BCD_func__3342; | |
305 alias void function(_GValue *, _GValue *) _BCD_func__3400; | |
306 alias void * function(void *) _BCD_func__3428; | |
307 alias void function(void *, void *) _BCD_func__3432; | |
308 alias int function(void *, _GTypeClass *) _BCD_func__3433; | |
309 alias void function(_GTypeInstance *, void *) _BCD_func__3434; | |
310 alias int function(void *, void *, void *) _BCD_func__3490; | |
311 alias int function(void *, void *, void *) _BCD_func__3506; | |
312 alias void function(_GScanner *, char *, int) _BCD_func__3509; | |
313 alias int function(void *, _GString *, void *) _BCD_func__3582; | |
314 alias void function(void *, void *, void *, _GError * *) _BCD_func__3600; | |
315 alias int function(void *, void *, void *, _GError * *) _BCD_func__3601; | |
316 alias int function(char *, char *, void *, _GError * *) _BCD_func__3602; | |
317 alias void * function(void *, void *) _BCD_func__3613; | |
318 alias void function(_GNode *, void *) _BCD_func__3614; | |
319 alias int function(_GNode *, void *) _BCD_func__3615; | |
320 alias void function(char *) _BCD_func__3623; | |
321 alias void function(char *, int, char *, void *) _BCD_func__3625; | |
322 alias int function(_GIOChannel *, int, void *) _BCD_func__3642; | |
323 alias int function(_GPollFD *, uint, int) _BCD_func__3694; | |
324 alias void function(int, int, void *) _BCD_func__3700; | |
325 alias int function(void *) _BCD_func__3701; | |
326 alias void function(_GHookList *, _GHook *) _BCD_func__3736; | |
327 alias int function(_GHook *, void *) _BCD_func__3737; | |
328 alias void function(_GHook *, void *) _BCD_func__3738; | |
329 alias int function(_GHook *, _GHook *) _BCD_func__3739; | |
330 alias void function(uint, void *, void *) _BCD_func__3773; | |
331 alias int function(char *, char *, uint) _BCD_func__3776; | |
332 alias char * function(void *) _BCD_func__3777; | |
333 alias char * function(char *, void *) _BCD_func__3965; | |
334 alias void function(void *, void *, void *) _BCD_func__3966; | |
335 alias uint function(void *) _BCD_func__3967; | |
336 alias int function(void *, void *) _BCD_func__3968; | |
337 alias int function(void *, void *, void *) _BCD_func__3969; | |
338 alias int function(void *, void *) _BCD_func__3970; | |
339 struct _PangoRendererClass { | |
340 _GObjectClass parent_class; | |
341 _BCD_func__4309 draw_glyphs; | |
342 _BCD_func__4310 draw_rectangle; | |
343 _BCD_func__4311 draw_error_underline; | |
344 _BCD_func__4312 draw_shape; | |
345 _BCD_func__4313 draw_trapezoid; | |
346 _BCD_func__4314 draw_glyph; | |
347 _BCD_func__4315 part_changed; | |
348 _BCD_func__4316 begin; | |
349 _BCD_func__4316 end; | |
350 _BCD_func__4317 prepare_run; | |
351 _BCD_func__3343 _pango_reserved1; | |
352 _BCD_func__3343 _pango_reserved2; | |
353 _BCD_func__3343 _pango_reserved3; | |
354 _BCD_func__3343 _pango_reserved4; | |
355 } | |
356 struct _PangoRenderer { | |
357 _GObject parent_instance; | |
358 int underline; | |
359 int strikethrough; | |
360 int active_count; | |
361 _PangoMatrix * matrix; | |
362 void * priv; | |
363 } | |
364 struct _PangoLayoutLine { | |
365 void * layout; | |
366 int start_index; | |
367 int length; | |
368 _GSList * runs; | |
369 uint bitfield0; | |
370 // uint is_paragraph_start // bits 0 .. 1 | |
371 // uint resolved_dir // bits 1 .. 4 | |
372 } | |
373 struct _PangoGlyphItem { | |
374 _PangoItem * item; | |
375 _PangoGlyphString * glyphs; | |
376 } | |
377 struct _PangoGlyphString { | |
378 int num_glyphs; | |
379 _PangoGlyphInfo * glyphs; | |
380 int * log_clusters; | |
381 int space; | |
382 } | |
383 struct _PangoGlyphInfo { | |
384 uint glyph; | |
385 _PangoGlyphGeometry geometry; | |
386 _PangoGlyphVisAttr attr; | |
387 } | |
388 struct _PangoGlyphVisAttr { | |
389 uint bitfield0; | |
390 // uint is_cluster_start // bits 0 .. 1 | |
391 } | |
392 struct _PangoGlyphGeometry { | |
393 int width; | |
394 int x_offset; | |
395 int y_offset; | |
396 } | |
397 struct _PangoItem { | |
398 int offset; | |
399 int length; | |
400 int num_chars; | |
401 _PangoAnalysis analysis; | |
402 } | |
403 struct _PangoAnalysis { | |
404 void * shape_engine; | |
405 void * lang_engine; | |
406 void * font; | |
407 char level; | |
408 char gravity; | |
409 char flags; | |
410 char script; | |
411 void * language; | |
412 _GSList * extra_attrs; | |
413 } | |
414 struct _PangoAttrShape { | |
415 _PangoAttribute attr; | |
416 _PangoRectangle ink_rect; | |
417 _PangoRectangle logical_rect; | |
418 void * data; | |
419 _BCD_func__3030 copy_func; | |
420 _BCD_func__2834 destroy_func; | |
421 } | |
422 struct _PangoAttrFontDesc { | |
423 _PangoAttribute attr; | |
424 void * desc; | |
425 } | |
426 struct _PangoAttrColor { | |
427 _PangoAttribute attr; | |
428 _PangoColor color; | |
429 } | |
430 struct _PangoAttrFloat { | |
431 _PangoAttribute attr; | |
432 double value; | |
433 } | |
434 struct _PangoAttrSize { | |
435 _PangoAttribute attr; | |
436 int size; | |
437 uint bitfield0; | |
438 // uint absolute // bits 0 .. 1 | |
439 } | |
440 struct _PangoAttrInt { | |
441 _PangoAttribute attr; | |
442 int value; | |
443 } | |
444 struct _PangoAttrLanguage { | |
445 _PangoAttribute attr; | |
446 void * value; | |
447 } | |
448 struct _PangoAttrString { | |
449 _PangoAttribute attr; | |
450 char * value; | |
451 } | |
452 struct _PangoAttrClass { | |
453 int type; | |
454 _BCD_func__4336 copy; | |
455 _BCD_func__4337 destroy; | |
456 _BCD_func__4338 equal; | |
457 } | |
458 struct _PangoAttribute { | |
459 _PangoAttrClass * klass; | |
460 uint start_index; | |
461 uint end_index; | |
462 } | |
463 struct _PangoColor { | |
464 ushort red; | |
465 ushort green; | |
466 ushort blue; | |
467 } | |
468 struct _PangoMatrix { | |
469 double xx; | |
470 double xy; | |
471 double yx; | |
472 double yy; | |
473 double x0; | |
474 double y0; | |
475 } | |
476 struct _PangoRectangle { | |
477 int x; | |
478 int y; | |
479 int width; | |
480 int height; | |
481 } | |
482 struct _PangoLogAttr { | |
483 uint bitfield0; | |
484 // uint is_line_break // bits 0 .. 1 | |
485 // uint is_mandatory_break // bits 1 .. 2 | |
486 // uint is_char_break // bits 2 .. 3 | |
487 // uint is_white // bits 3 .. 4 | |
488 // uint is_cursor_position // bits 4 .. 5 | |
489 // uint is_word_start // bits 5 .. 6 | |
490 // uint is_word_end // bits 6 .. 7 | |
491 // uint is_sentence_boundary // bits 7 .. 8 | |
492 // uint is_sentence_start // bits 8 .. 9 | |
493 // uint is_sentence_end // bits 9 .. 10 | |
494 // uint backspace_deletes_character // bits 10 .. 11 | |
495 // uint is_expandable_space // bits 11 .. 12 | |
496 } | |
497 version(DYNLINK){ | |
498 extern (C) char * function(int, int, int)pango_version_check; | |
499 extern (C) char * function()pango_version_string; | |
500 extern (C) int function()pango_version; | |
501 extern (C) int function(uint)pango_is_zero_width; | |
502 extern (C) char * function(char *, int, int *)pango_log2vis_get_embedding_levels; | |
503 extern (C) void function(int *, int *)pango_quantize_line_geometry; | |
504 extern (C) int function(char *, int *, int)pango_parse_stretch; | |
505 extern (C) int function(char *, int *, int)pango_parse_weight; | |
506 extern (C) int function(char *, int *, int)pango_parse_variant; | |
507 extern (C) int function(char *, int *, int)pango_parse_style; | |
508 extern (C) int function(uint, char *, int *, int, char * *)pango_parse_enum; | |
509 extern (C) int function(char * *, int *)pango_scan_int; | |
510 extern (C) int function(char * *, _GString *)pango_scan_string; | |
511 extern (C) int function(char * *, _GString *)pango_scan_word; | |
512 extern (C) int function(char * *)pango_skip_space; | |
513 extern (C) int function(_IO_FILE *, _GString *)pango_read_line; | |
514 extern (C) char * function(char *)pango_trim_string; | |
515 extern (C) char * * function(char *)pango_split_file_list; | |
516 extern (C) _PangoMatrix * function(_PangoRenderer *)pango_renderer_get_matrix; | |
517 extern (C) void function(_PangoRenderer *, _PangoMatrix *)pango_renderer_set_matrix; | |
518 extern (C) _PangoColor * function(_PangoRenderer *, int)pango_renderer_get_color; | |
519 extern (C) void function(_PangoRenderer *, int, _PangoColor *)pango_renderer_set_color; | |
520 extern (C) void function(_PangoRenderer *, int)pango_renderer_part_changed; | |
521 extern (C) void function(_PangoRenderer *)pango_renderer_deactivate; | |
522 extern (C) void function(_PangoRenderer *)pango_renderer_activate; | |
523 extern (C) void function(_PangoRenderer *, void *, uint, double, double)pango_renderer_draw_glyph; | |
524 extern (C) void function(_PangoRenderer *, int, double, double, double, double, double, double)pango_renderer_draw_trapezoid; | |
525 extern (C) void function(_PangoRenderer *, int, int, int, int)pango_renderer_draw_error_underline; | |
526 extern (C) void function(_PangoRenderer *, int, int, int, int, int)pango_renderer_draw_rectangle; | |
527 extern (C) void function(_PangoRenderer *, void *, _PangoGlyphString *, int, int)pango_renderer_draw_glyphs; | |
528 extern (C) void function(_PangoRenderer *, _PangoLayoutLine *, int, int)pango_renderer_draw_layout_line; | |
529 extern (C) void function(_PangoRenderer *, void *, int, int)pango_renderer_draw_layout; | |
530 extern (C) uint function()pango_renderer_get_type; | |
531 extern (C) int function(void *)pango_layout_iter_get_baseline; | |
532 extern (C) void function(void *, _PangoRectangle *, _PangoRectangle *)pango_layout_iter_get_layout_extents; | |
533 extern (C) void function(void *, int *, int *)pango_layout_iter_get_line_yrange; | |
534 extern (C) void function(void *, _PangoRectangle *, _PangoRectangle *)pango_layout_iter_get_line_extents; | |
535 extern (C) void function(void *, _PangoRectangle *, _PangoRectangle *)pango_layout_iter_get_run_extents; | |
536 extern (C) void function(void *, _PangoRectangle *, _PangoRectangle *)pango_layout_iter_get_cluster_extents; | |
537 extern (C) void function(void *, _PangoRectangle *)pango_layout_iter_get_char_extents; | |
538 extern (C) int function(void *)pango_layout_iter_next_line; | |
539 extern (C) int function(void *)pango_layout_iter_next_run; | |
540 extern (C) int function(void *)pango_layout_iter_next_cluster; | |
541 extern (C) int function(void *)pango_layout_iter_next_char; | |
542 extern (C) int function(void *)pango_layout_iter_at_last_line; | |
543 extern (C) _PangoLayoutLine * function(void *)pango_layout_iter_get_line_readonly; | |
544 extern (C) _PangoLayoutLine * function(void *)pango_layout_iter_get_line; | |
545 extern (C) _PangoGlyphItem * function(void *)pango_layout_iter_get_run_readonly; | |
546 extern (C) _PangoGlyphItem * function(void *)pango_layout_iter_get_run; | |
547 extern (C) int function(void *)pango_layout_iter_get_index; | |
548 extern (C) void function(void *)pango_layout_iter_free; | |
549 extern (C) void * function(void *)pango_layout_get_iter; | |
550 extern (C) uint function()pango_layout_iter_get_type; | |
551 extern (C) void function(_PangoLayoutLine *, _PangoRectangle *, _PangoRectangle *)pango_layout_line_get_pixel_extents; | |
552 extern (C) void function(_PangoLayoutLine *, _PangoRectangle *, _PangoRectangle *)pango_layout_line_get_extents; | |
553 extern (C) void function(_PangoLayoutLine *, int, int, int * *, int *)pango_layout_line_get_x_ranges; | |
554 extern (C) void function(_PangoLayoutLine *, int, int, int *)pango_layout_line_index_to_x; | |
555 extern (C) int function(_PangoLayoutLine *, int, int *, int *)pango_layout_line_x_to_index; | |
556 extern (C) void function(_PangoLayoutLine *)pango_layout_line_unref; | |
557 extern (C) _PangoLayoutLine * function(_PangoLayoutLine *)pango_layout_line_ref; | |
558 extern (C) uint function()pango_layout_line_get_type; | |
559 extern (C) _GSList * function(void *)pango_layout_get_lines_readonly; | |
560 extern (C) _GSList * function(void *)pango_layout_get_lines; | |
561 extern (C) _PangoLayoutLine * function(void *, int)pango_layout_get_line_readonly; | |
562 extern (C) _PangoLayoutLine * function(void *, int)pango_layout_get_line; | |
563 extern (C) int function(void *)pango_layout_get_line_count; | |
564 extern (C) void function(void *, int *, int *)pango_layout_get_pixel_size; | |
565 extern (C) void function(void *, int *, int *)pango_layout_get_size; | |
566 extern (C) void function(void *, _PangoRectangle *, _PangoRectangle *)pango_layout_get_pixel_extents; | |
567 extern (C) void function(void *, _PangoRectangle *, _PangoRectangle *)pango_layout_get_extents; | |
568 extern (C) int function(void *, int, int, int *, int *)pango_layout_xy_to_index; | |
569 extern (C) void function(void *, int, int, int, int, int *, int *)pango_layout_move_cursor_visually; | |
570 extern (C) void function(void *, int, _PangoRectangle *, _PangoRectangle *)pango_layout_get_cursor_pos; | |
571 extern (C) void function(void *, int, int, int *, int *)pango_layout_index_to_line_x; | |
572 extern (C) void function(void *, int, _PangoRectangle *)pango_layout_index_to_pos; | |
573 extern (C) void function(void *, _PangoLogAttr * *, int *)pango_layout_get_log_attrs; | |
574 extern (C) void function(void *)pango_layout_context_changed; | |
575 extern (C) int function(void *)pango_layout_get_unknown_glyphs_count; | |
576 extern (C) int function(void *)pango_layout_is_ellipsized; | |
577 extern (C) int function(void *)pango_layout_get_ellipsize; | |
578 extern (C) void function(void *, int)pango_layout_set_ellipsize; | |
579 extern (C) int function(void *)pango_layout_get_single_paragraph_mode; | |
580 extern (C) void function(void *, int)pango_layout_set_single_paragraph_mode; | |
581 extern (C) void * function(void *)pango_layout_get_tabs; | |
582 extern (C) void function(void *, void *)pango_layout_set_tabs; | |
583 extern (C) int function(void *)pango_layout_get_alignment; | |
584 extern (C) void function(void *, int)pango_layout_set_alignment; | |
585 extern (C) int function(void *)pango_layout_get_auto_dir; | |
586 extern (C) void function(void *, int)pango_layout_set_auto_dir; | |
587 extern (C) int function(void *)pango_layout_get_justify; | |
588 extern (C) void function(void *, int)pango_layout_set_justify; | |
589 extern (C) int function(void *)pango_layout_get_spacing; | |
590 extern (C) void function(void *, int)pango_layout_set_spacing; | |
591 extern (C) int function(void *)pango_layout_get_indent; | |
592 extern (C) void function(void *, int)pango_layout_set_indent; | |
593 extern (C) int function(void *)pango_layout_is_wrapped; | |
594 extern (C) int function(void *)pango_layout_get_wrap; | |
595 extern (C) void function(void *, int)pango_layout_set_wrap; | |
596 extern (C) int function(void *)pango_layout_get_width; | |
597 extern (C) void function(void *, int)pango_layout_set_width; | |
598 extern (C) void * function(void *)pango_layout_get_font_description; | |
599 extern (C) void function(void *, void *)pango_layout_set_font_description; | |
600 extern (C) void function(void *, char *, int, uint, uint *)pango_layout_set_markup_with_accel; | |
601 extern (C) void function(void *, char *, int)pango_layout_set_markup; | |
602 extern (C) char * function(void *)pango_layout_get_text; | |
603 extern (C) void function(void *, char *, int)pango_layout_set_text; | |
604 extern (C) void * function(void *)pango_layout_get_attributes; | |
605 extern (C) void function(void *, void *)pango_layout_set_attributes; | |
606 extern (C) void * function(void *)pango_layout_get_context; | |
607 extern (C) void * function(void *)pango_layout_copy; | |
608 extern (C) void * function(void *)pango_layout_new; | |
609 extern (C) uint function()pango_layout_get_type; | |
610 extern (C) int function(void *)pango_tab_array_get_positions_in_pixels; | |
611 extern (C) void function(void *, int * *, int * *)pango_tab_array_get_tabs; | |
612 extern (C) void function(void *, int, int *, int *)pango_tab_array_get_tab; | |
613 extern (C) void function(void *, int, int, int)pango_tab_array_set_tab; | |
614 extern (C) void function(void *, int)pango_tab_array_resize; | |
615 extern (C) int function(void *)pango_tab_array_get_size; | |
616 extern (C) void function(void *)pango_tab_array_free; | |
617 extern (C) void * function(void *)pango_tab_array_copy; | |
618 extern (C) uint function()pango_tab_array_get_type; | |
619 extern (C) void * function(int, int, int, int, ...)pango_tab_array_new_with_positions; | |
620 extern (C) void * function(int, int)pango_tab_array_new; | |
621 extern (C) void function(_PangoGlyphItem *, char *, _PangoLogAttr *, int)pango_glyph_item_letter_space; | |
622 extern (C) _GSList * function(_PangoGlyphItem *, char *, void *)pango_glyph_item_apply_attrs; | |
623 extern (C) void function(_PangoGlyphItem *)pango_glyph_item_free; | |
624 extern (C) _PangoGlyphItem * function(_PangoGlyphItem *, char *, int)pango_glyph_item_split; | |
625 extern (C) uint function()pango_direction_get_type; | |
626 extern (C) uint function()pango_tab_align_get_type; | |
627 extern (C) uint function()pango_script_get_type; | |
628 extern (C) uint function()pango_render_part_get_type; | |
629 extern (C) uint function()pango_ellipsize_mode_get_type; | |
630 extern (C) uint function()pango_wrap_mode_get_type; | |
631 extern (C) uint function()pango_alignment_get_type; | |
632 extern (C) uint function()pango_gravity_hint_get_type; | |
633 extern (C) uint function()pango_gravity_get_type; | |
634 extern (C) uint function()pango_font_mask_get_type; | |
635 extern (C) uint function()pango_stretch_get_type; | |
636 extern (C) uint function()pango_weight_get_type; | |
637 extern (C) uint function()pango_variant_get_type; | |
638 extern (C) uint function()pango_style_get_type; | |
639 extern (C) uint function()pango_coverage_level_get_type; | |
640 extern (C) uint function()pango_underline_get_type; | |
641 extern (C) uint function()pango_attr_type_get_type; | |
642 extern (C) _GList * function(_GList *)pango_reorder_items; | |
643 extern (C) void function(char *, int, _PangoAnalysis *, _PangoGlyphString *)pango_shape; | |
644 extern (C) void function(_PangoGlyphString *, char *, int, _PangoAnalysis *, int, int *, int *)pango_glyph_string_x_to_index; | |
645 extern (C) void function(_PangoGlyphString *, char *, int, _PangoAnalysis *, int, int, int *)pango_glyph_string_index_to_x; | |
646 extern (C) void function(_PangoGlyphString *, char *, int, int, int *)pango_glyph_string_get_logical_widths; | |
647 extern (C) void function(_PangoGlyphString *, int, int, void *, _PangoRectangle *, _PangoRectangle *)pango_glyph_string_extents_range; | |
648 extern (C) int function(_PangoGlyphString *)pango_glyph_string_get_width; | |
649 extern (C) void function(_PangoGlyphString *, void *, _PangoRectangle *, _PangoRectangle *)pango_glyph_string_extents; | |
650 extern (C) void function(_PangoGlyphString *)pango_glyph_string_free; | |
651 extern (C) _PangoGlyphString * function(_PangoGlyphString *)pango_glyph_string_copy; | |
652 extern (C) uint function()pango_glyph_string_get_type; | |
653 extern (C) void function(_PangoGlyphString *, int)pango_glyph_string_set_size; | |
654 extern (C) _PangoGlyphString * function()pango_glyph_string_new; | |
655 extern (C) _GList * function(void *, int, char *, int, int, void *, void *)pango_itemize_with_base_dir; | |
656 extern (C) _GList * function(void *, char *, int, int, void *, void *)pango_itemize; | |
657 extern (C) _PangoMatrix * function(void *)pango_context_get_matrix; | |
658 extern (C) void function(void *, _PangoMatrix *)pango_context_set_matrix; | |
659 extern (C) int function(void *)pango_context_get_gravity_hint; | |
660 extern (C) void function(void *, int)pango_context_set_gravity_hint; | |
661 extern (C) int function(void *)pango_context_get_gravity; | |
662 extern (C) int function(void *)pango_context_get_base_gravity; | |
663 extern (C) void function(void *, int)pango_context_set_base_gravity; | |
664 extern (C) int function(void *)pango_context_get_base_dir; | |
665 extern (C) void function(void *, int)pango_context_set_base_dir; | |
666 extern (C) void function(void *, void *)pango_context_set_language; | |
667 extern (C) void * function(void *)pango_context_get_language; | |
668 extern (C) void * function(void *)pango_context_get_font_description; | |
669 extern (C) void function(void *, void *)pango_context_set_font_description; | |
670 extern (C) void * function(void *, void *, void *)pango_context_get_metrics; | |
671 extern (C) void * function(void *, void *, void *)pango_context_load_fontset; | |
672 extern (C) void * function(void *, void *)pango_context_load_font; | |
673 extern (C) void function(void *, void * * *, int *)pango_context_list_families; | |
674 extern (C) void * function(void *)pango_context_get_font_map; | |
675 extern (C) uint function()pango_context_get_type; | |
676 extern (C) void function(void *, void * * *, int *)pango_font_map_list_families; | |
677 extern (C) void * function(void *, void *, void *, void *)pango_font_map_load_fontset; | |
678 extern (C) void * function(void *, void *, void *)pango_font_map_load_font; | |
679 extern (C) uint function()pango_font_map_get_type; | |
680 extern (C) void function(void *, _BCD_func__3004, void *)pango_fontset_foreach; | |
681 extern (C) void * function(void *)pango_fontset_get_metrics; | |
682 extern (C) void * function(void *, uint)pango_fontset_get_font; | |
683 extern (C) uint function()pango_fontset_get_type; | |
684 extern (C) void function(char *, int, int, void *, _PangoLogAttr *, int)pango_get_log_attrs; | |
685 extern (C) void function(char *, int, int *, int *)pango_find_paragraph_boundary; | |
686 extern (C) void function(char *, int, _PangoAnalysis *, _PangoLogAttr *, int)pango_break; | |
687 extern (C) _PangoItem * function(_PangoItem *, int, int)pango_item_split; | |
688 extern (C) void function(_PangoItem *)pango_item_free; | |
689 extern (C) _PangoItem * function(_PangoItem *)pango_item_copy; | |
690 extern (C) _PangoItem * function()pango_item_new; | |
691 extern (C) uint function()pango_item_get_type; | |
692 extern (C) int function(char *, int, uint, void * *, char * *, uint *, _GError * *)pango_parse_markup; | |
693 extern (C) _GSList * function(void *)pango_attr_iterator_get_attrs; | |
694 extern (C) void function(void *, void *, void * *, _GSList * *)pango_attr_iterator_get_font; | |
695 extern (C) _PangoAttribute * function(void *, int)pango_attr_iterator_get; | |
696 extern (C) void function(void *)pango_attr_iterator_destroy; | |
697 extern (C) void * function(void *)pango_attr_iterator_copy; | |
698 extern (C) int function(void *)pango_attr_iterator_next; | |
699 extern (C) void function(void *, int *, int *)pango_attr_iterator_range; | |
700 extern (C) void * function(void *)pango_attr_list_get_iterator; | |
701 extern (C) void * function(void *, _BCD_func__3031, void *)pango_attr_list_filter; | |
702 extern (C) void function(void *, void *, int, int)pango_attr_list_splice; | |
703 extern (C) void function(void *, _PangoAttribute *)pango_attr_list_change; | |
704 extern (C) void function(void *, _PangoAttribute *)pango_attr_list_insert_before; | |
705 extern (C) void function(void *, _PangoAttribute *)pango_attr_list_insert; | |
706 extern (C) void * function(void *)pango_attr_list_copy; | |
707 extern (C) void function(void *)pango_attr_list_unref; | |
708 extern (C) void * function(void *)pango_attr_list_ref; | |
709 extern (C) void * function()pango_attr_list_new; | |
710 extern (C) uint function()pango_attr_list_get_type; | |
711 extern (C) _PangoAttribute * function(int)pango_attr_gravity_hint_new; | |
712 extern (C) _PangoAttribute * function(int)pango_attr_gravity_new; | |
713 extern (C) _PangoAttribute * function(_PangoRectangle *, _PangoRectangle *, void *, _BCD_func__3030, _BCD_func__2834)pango_attr_shape_new_with_data; | |
714 extern (C) _PangoAttribute * function(_PangoRectangle *, _PangoRectangle *)pango_attr_shape_new; | |
715 extern (C) _PangoAttribute * function(int)pango_attr_letter_spacing_new; | |
716 extern (C) _PangoAttribute * function(int)pango_attr_fallback_new; | |
717 extern (C) _PangoAttribute * function(double)pango_attr_scale_new; | |
718 extern (C) _PangoAttribute * function(int)pango_attr_rise_new; | |
719 extern (C) _PangoAttribute * function(ushort, ushort, ushort)pango_attr_strikethrough_color_new; | |
720 extern (C) _PangoAttribute * function(int)pango_attr_strikethrough_new; | |
721 extern (C) _PangoAttribute * function(ushort, ushort, ushort)pango_attr_underline_color_new; | |
722 extern (C) _PangoAttribute * function(int)pango_attr_underline_new; | |
723 extern (C) _PangoAttribute * function(void *)pango_attr_font_desc_new; | |
724 extern (C) _PangoAttribute * function(int)pango_attr_stretch_new; | |
725 extern (C) _PangoAttribute * function(int)pango_attr_variant_new; | |
726 extern (C) _PangoAttribute * function(int)pango_attr_weight_new; | |
727 extern (C) _PangoAttribute * function(int)pango_attr_style_new; | |
728 extern (C) _PangoAttribute * function(int)pango_attr_size_new_absolute; | |
729 extern (C) _PangoAttribute * function(int)pango_attr_size_new; | |
730 extern (C) _PangoAttribute * function(ushort, ushort, ushort)pango_attr_background_new; | |
731 extern (C) _PangoAttribute * function(ushort, ushort, ushort)pango_attr_foreground_new; | |
732 extern (C) _PangoAttribute * function(char *)pango_attr_family_new; | |
733 extern (C) _PangoAttribute * function(void *)pango_attr_language_new; | |
734 extern (C) int function(_PangoAttribute *, _PangoAttribute *)pango_attribute_equal; | |
735 extern (C) void function(_PangoAttribute *)pango_attribute_destroy; | |
736 extern (C) _PangoAttribute * function(_PangoAttribute *)pango_attribute_copy; | |
737 extern (C) int function(char *)pango_attr_type_register; | |
738 extern (C) char * function(_PangoColor *)pango_color_to_string; | |
739 extern (C) int function(_PangoColor *, char *)pango_color_parse; | |
740 extern (C) void function(_PangoColor *)pango_color_free; | |
741 extern (C) _PangoColor * function(_PangoColor *)pango_color_copy; | |
742 extern (C) uint function()pango_color_get_type; | |
743 extern (C) void * function(void *)pango_font_get_font_map; | |
744 extern (C) void function(void *, uint, _PangoRectangle *, _PangoRectangle *)pango_font_get_glyph_extents; | |
745 extern (C) void * function(void *, void *)pango_font_get_metrics; | |
746 extern (C) void * function(void *, void *, uint)pango_font_find_shaper; | |
747 extern (C) void * function(void *, void *)pango_font_get_coverage; | |
748 extern (C) void * function(void *)pango_font_describe_with_absolute_size; | |
749 extern (C) void * function(void *)pango_font_describe; | |
750 extern (C) uint function()pango_font_get_type; | |
751 extern (C) int function(void *)pango_font_face_is_synthesized; | |
752 extern (C) void function(void *, int * *, int *)pango_font_face_list_sizes; | |
753 extern (C) char * function(void *)pango_font_face_get_face_name; | |
754 extern (C) void * function(void *)pango_font_face_describe; | |
755 extern (C) uint function()pango_font_face_get_type; | |
756 extern (C) int function(void *)pango_font_family_is_monospace; | |
757 extern (C) char * function(void *)pango_font_family_get_name; | |
758 extern (C) void function(void *, void * * *, int *)pango_font_family_list_faces; | |
759 extern (C) uint function()pango_font_family_get_type; | |
760 extern (C) int function(void *)pango_font_metrics_get_strikethrough_thickness; | |
761 extern (C) int function(void *)pango_font_metrics_get_strikethrough_position; | |
762 extern (C) int function(void *)pango_font_metrics_get_underline_thickness; | |
763 extern (C) int function(void *)pango_font_metrics_get_underline_position; | |
764 extern (C) int function(void *)pango_font_metrics_get_approximate_digit_width; | |
765 extern (C) int function(void *)pango_font_metrics_get_approximate_char_width; | |
766 extern (C) int function(void *)pango_font_metrics_get_descent; | |
767 extern (C) int function(void *)pango_font_metrics_get_ascent; | |
768 extern (C) void function(void *)pango_font_metrics_unref; | |
769 extern (C) void * function(void *)pango_font_metrics_ref; | |
770 extern (C) uint function()pango_font_metrics_get_type; | |
771 extern (C) char * function(void *)pango_font_description_to_filename; | |
772 extern (C) char * function(void *)pango_font_description_to_string; | |
773 extern (C) void * function(char *)pango_font_description_from_string; | |
774 extern (C) int function(void *, void *, void *)pango_font_description_better_match; | |
775 extern (C) void function(void *, void *, int)pango_font_description_merge_static; | |
776 extern (C) void function(void *, void *, int)pango_font_description_merge; | |
777 extern (C) void function(void *, int)pango_font_description_unset_fields; | |
778 extern (C) int function(void *)pango_font_description_get_set_fields; | |
779 extern (C) int function(void *)pango_font_description_get_gravity; | |
780 extern (C) void function(void *, int)pango_font_description_set_gravity; | |
781 extern (C) int function(void *)pango_font_description_get_size_is_absolute; | |
782 extern (C) void function(void *, double)pango_font_description_set_absolute_size; | |
783 extern (C) int function(void *)pango_font_description_get_size; | |
784 extern (C) void function(void *, int)pango_font_description_set_size; | |
785 extern (C) int function(void *)pango_font_description_get_stretch; | |
786 extern (C) void function(void *, int)pango_font_description_set_stretch; | |
787 extern (C) int function(void *)pango_font_description_get_weight; | |
788 extern (C) void function(void *, int)pango_font_description_set_weight; | |
789 extern (C) int function(void *)pango_font_description_get_variant; | |
790 extern (C) void function(void *, int)pango_font_description_set_variant; | |
791 extern (C) int function(void *)pango_font_description_get_style; | |
792 extern (C) void function(void *, int)pango_font_description_set_style; | |
793 extern (C) char * function(void *)pango_font_description_get_family; | |
794 extern (C) void function(void *, char *)pango_font_description_set_family_static; | |
795 extern (C) void function(void *, char *)pango_font_description_set_family; | |
796 extern (C) void function(void * *, int)pango_font_descriptions_free; | |
797 extern (C) void function(void *)pango_font_description_free; | |
798 extern (C) int function(void *, void *)pango_font_description_equal; | |
799 extern (C) uint function(void *)pango_font_description_hash; | |
800 extern (C) void * function(void *)pango_font_description_copy_static; | |
801 extern (C) void * function(void *)pango_font_description_copy; | |
802 extern (C) void * function()pango_font_description_new; | |
803 extern (C) uint function()pango_font_description_get_type; | |
804 extern (C) int function(int, int, int)pango_gravity_get_for_script; | |
805 extern (C) int function(_PangoMatrix *)pango_gravity_get_for_matrix; | |
806 extern (C) double function(int)pango_gravity_to_rotation; | |
807 extern (C) int function(void *, int)pango_language_includes_script; | |
808 extern (C) void * function(int)pango_script_get_sample_language; | |
809 extern (C) void function(void *)pango_script_iter_free; | |
810 extern (C) int function(void *)pango_script_iter_next; | |
811 extern (C) void function(void *, char * *, char * *, int *)pango_script_iter_get_range; | |
812 extern (C) void * function(char *, int)pango_script_iter_new; | |
813 extern (C) int function(uint)pango_script_for_unichar; | |
814 extern (C) int function(void *, char *)pango_language_matches; | |
815 extern (C) void * function()pango_language_get_default; | |
816 extern (C) char * function(void *)pango_language_get_sample_string; | |
817 extern (C) void * function(char *)pango_language_from_string; | |
818 extern (C) uint function()pango_language_get_type; | |
819 extern (C) double function(_PangoMatrix *)pango_matrix_get_font_scale_factor; | |
820 extern (C) void function(_PangoMatrix *, _PangoRectangle *)pango_matrix_transform_pixel_rectangle; | |
821 extern (C) void function(_PangoMatrix *, _PangoRectangle *)pango_matrix_transform_rectangle; | |
822 extern (C) void function(_PangoMatrix *, double *, double *)pango_matrix_transform_distance; | |
823 extern (C) void function(_PangoMatrix *, double *, double *)pango_matrix_transform_point; | |
824 extern (C) void function(_PangoMatrix *, _PangoMatrix *)pango_matrix_concat; | |
825 extern (C) void function(_PangoMatrix *, double)pango_matrix_rotate; | |
826 extern (C) void function(_PangoMatrix *, double, double)pango_matrix_scale; | |
827 extern (C) void function(_PangoMatrix *, double, double)pango_matrix_translate; | |
828 extern (C) void function(_PangoMatrix *)pango_matrix_free; | |
829 extern (C) _PangoMatrix * function(_PangoMatrix *)pango_matrix_copy; | |
830 extern (C) uint function()pango_matrix_get_type; | |
831 extern (C) int function(uint, uint *)pango_get_mirror_char; | |
832 extern (C) int function(char *, int)pango_find_base_dir; | |
833 extern (C) int function(uint)pango_unichar_direction; | |
834 extern (C) void function(_PangoRectangle *, _PangoRectangle *)pango_extents_to_pixels; | |
835 extern (C) double function(int)pango_units_to_double; | |
836 extern (C) int function(double)pango_units_from_double; | |
837 extern (C) void * function(char *, int)pango_coverage_from_bytes; | |
838 extern (C) void function(void *, char * *, int *)pango_coverage_to_bytes; | |
839 extern (C) void function(void *, void *)pango_coverage_max; | |
840 extern (C) void function(void *, int, int)pango_coverage_set; | |
841 extern (C) int function(void *, int)pango_coverage_get; | |
842 extern (C) void * function(void *)pango_coverage_copy; | |
843 extern (C) void function(void *)pango_coverage_unref; | |
844 extern (C) void * function(void *)pango_coverage_ref; | |
845 extern (C) void * function()pango_coverage_new; | |
846 | |
847 | |
848 Symbol[] symbols = [ | |
849 { "pango_version_check", cast(void**)& pango_version_check}, | |
850 { "pango_version_string", cast(void**)& pango_version_string}, | |
851 { "pango_version", cast(void**)& pango_version}, | |
852 { "pango_is_zero_width", cast(void**)& pango_is_zero_width}, | |
853 { "pango_log2vis_get_embedding_levels", cast(void**)& pango_log2vis_get_embedding_levels}, | |
854 { "pango_quantize_line_geometry", cast(void**)& pango_quantize_line_geometry}, | |
855 { "pango_parse_stretch", cast(void**)& pango_parse_stretch}, | |
856 { "pango_parse_weight", cast(void**)& pango_parse_weight}, | |
857 { "pango_parse_variant", cast(void**)& pango_parse_variant}, | |
858 { "pango_parse_style", cast(void**)& pango_parse_style}, | |
859 { "pango_parse_enum", cast(void**)& pango_parse_enum}, | |
860 { "pango_scan_int", cast(void**)& pango_scan_int}, | |
861 { "pango_scan_string", cast(void**)& pango_scan_string}, | |
862 { "pango_scan_word", cast(void**)& pango_scan_word}, | |
863 { "pango_skip_space", cast(void**)& pango_skip_space}, | |
864 { "pango_read_line", cast(void**)& pango_read_line}, | |
865 { "pango_trim_string", cast(void**)& pango_trim_string}, | |
866 { "pango_split_file_list", cast(void**)& pango_split_file_list}, | |
867 { "pango_renderer_get_matrix", cast(void**)& pango_renderer_get_matrix}, | |
868 { "pango_renderer_set_matrix", cast(void**)& pango_renderer_set_matrix}, | |
869 { "pango_renderer_get_color", cast(void**)& pango_renderer_get_color}, | |
870 { "pango_renderer_set_color", cast(void**)& pango_renderer_set_color}, | |
871 { "pango_renderer_part_changed", cast(void**)& pango_renderer_part_changed}, | |
872 { "pango_renderer_deactivate", cast(void**)& pango_renderer_deactivate}, | |
873 { "pango_renderer_activate", cast(void**)& pango_renderer_activate}, | |
874 { "pango_renderer_draw_glyph", cast(void**)& pango_renderer_draw_glyph}, | |
875 { "pango_renderer_draw_trapezoid", cast(void**)& pango_renderer_draw_trapezoid}, | |
876 { "pango_renderer_draw_error_underline", cast(void**)& pango_renderer_draw_error_underline}, | |
877 { "pango_renderer_draw_rectangle", cast(void**)& pango_renderer_draw_rectangle}, | |
878 { "pango_renderer_draw_glyphs", cast(void**)& pango_renderer_draw_glyphs}, | |
879 { "pango_renderer_draw_layout_line", cast(void**)& pango_renderer_draw_layout_line}, | |
880 { "pango_renderer_draw_layout", cast(void**)& pango_renderer_draw_layout}, | |
881 { "pango_renderer_get_type", cast(void**)& pango_renderer_get_type}, | |
882 { "pango_layout_iter_get_baseline", cast(void**)& pango_layout_iter_get_baseline}, | |
883 { "pango_layout_iter_get_layout_extents", cast(void**)& pango_layout_iter_get_layout_extents}, | |
884 { "pango_layout_iter_get_line_yrange", cast(void**)& pango_layout_iter_get_line_yrange}, | |
885 { "pango_layout_iter_get_line_extents", cast(void**)& pango_layout_iter_get_line_extents}, | |
886 { "pango_layout_iter_get_run_extents", cast(void**)& pango_layout_iter_get_run_extents}, | |
887 { "pango_layout_iter_get_cluster_extents", cast(void**)& pango_layout_iter_get_cluster_extents}, | |
888 { "pango_layout_iter_get_char_extents", cast(void**)& pango_layout_iter_get_char_extents}, | |
889 { "pango_layout_iter_next_line", cast(void**)& pango_layout_iter_next_line}, | |
890 { "pango_layout_iter_next_run", cast(void**)& pango_layout_iter_next_run}, | |
891 { "pango_layout_iter_next_cluster", cast(void**)& pango_layout_iter_next_cluster}, | |
892 { "pango_layout_iter_next_char", cast(void**)& pango_layout_iter_next_char}, | |
893 { "pango_layout_iter_at_last_line", cast(void**)& pango_layout_iter_at_last_line}, | |
894 { "pango_layout_iter_get_line_readonly", cast(void**)& pango_layout_iter_get_line_readonly}, | |
895 { "pango_layout_iter_get_line", cast(void**)& pango_layout_iter_get_line}, | |
896 { "pango_layout_iter_get_run_readonly", cast(void**)& pango_layout_iter_get_run_readonly}, | |
897 { "pango_layout_iter_get_run", cast(void**)& pango_layout_iter_get_run}, | |
898 { "pango_layout_iter_get_index", cast(void**)& pango_layout_iter_get_index}, | |
899 { "pango_layout_iter_free", cast(void**)& pango_layout_iter_free}, | |
900 { "pango_layout_get_iter", cast(void**)& pango_layout_get_iter}, | |
901 { "pango_layout_iter_get_type", cast(void**)& pango_layout_iter_get_type}, | |
902 { "pango_layout_line_get_pixel_extents", cast(void**)& pango_layout_line_get_pixel_extents}, | |
903 { "pango_layout_line_get_extents", cast(void**)& pango_layout_line_get_extents}, | |
904 { "pango_layout_line_get_x_ranges", cast(void**)& pango_layout_line_get_x_ranges}, | |
905 { "pango_layout_line_index_to_x", cast(void**)& pango_layout_line_index_to_x}, | |
906 { "pango_layout_line_x_to_index", cast(void**)& pango_layout_line_x_to_index}, | |
907 { "pango_layout_line_unref", cast(void**)& pango_layout_line_unref}, | |
908 { "pango_layout_line_ref", cast(void**)& pango_layout_line_ref}, | |
909 { "pango_layout_line_get_type", cast(void**)& pango_layout_line_get_type}, | |
910 { "pango_layout_get_lines_readonly", cast(void**)& pango_layout_get_lines_readonly}, | |
911 { "pango_layout_get_lines", cast(void**)& pango_layout_get_lines}, | |
912 { "pango_layout_get_line_readonly", cast(void**)& pango_layout_get_line_readonly}, | |
913 { "pango_layout_get_line", cast(void**)& pango_layout_get_line}, | |
914 { "pango_layout_get_line_count", cast(void**)& pango_layout_get_line_count}, | |
915 { "pango_layout_get_pixel_size", cast(void**)& pango_layout_get_pixel_size}, | |
916 { "pango_layout_get_size", cast(void**)& pango_layout_get_size}, | |
917 { "pango_layout_get_pixel_extents", cast(void**)& pango_layout_get_pixel_extents}, | |
918 { "pango_layout_get_extents", cast(void**)& pango_layout_get_extents}, | |
919 { "pango_layout_xy_to_index", cast(void**)& pango_layout_xy_to_index}, | |
920 { "pango_layout_move_cursor_visually", cast(void**)& pango_layout_move_cursor_visually}, | |
921 { "pango_layout_get_cursor_pos", cast(void**)& pango_layout_get_cursor_pos}, | |
922 { "pango_layout_index_to_line_x", cast(void**)& pango_layout_index_to_line_x}, | |
923 { "pango_layout_index_to_pos", cast(void**)& pango_layout_index_to_pos}, | |
924 { "pango_layout_get_log_attrs", cast(void**)& pango_layout_get_log_attrs}, | |
925 { "pango_layout_context_changed", cast(void**)& pango_layout_context_changed}, | |
926 { "pango_layout_get_unknown_glyphs_count", cast(void**)& pango_layout_get_unknown_glyphs_count}, | |
927 { "pango_layout_is_ellipsized", cast(void**)& pango_layout_is_ellipsized}, | |
928 { "pango_layout_get_ellipsize", cast(void**)& pango_layout_get_ellipsize}, | |
929 { "pango_layout_set_ellipsize", cast(void**)& pango_layout_set_ellipsize}, | |
930 { "pango_layout_get_single_paragraph_mode", cast(void**)& pango_layout_get_single_paragraph_mode}, | |
931 { "pango_layout_set_single_paragraph_mode", cast(void**)& pango_layout_set_single_paragraph_mode}, | |
932 { "pango_layout_get_tabs", cast(void**)& pango_layout_get_tabs}, | |
933 { "pango_layout_set_tabs", cast(void**)& pango_layout_set_tabs}, | |
934 { "pango_layout_get_alignment", cast(void**)& pango_layout_get_alignment}, | |
935 { "pango_layout_set_alignment", cast(void**)& pango_layout_set_alignment}, | |
936 { "pango_layout_get_auto_dir", cast(void**)& pango_layout_get_auto_dir}, | |
937 { "pango_layout_set_auto_dir", cast(void**)& pango_layout_set_auto_dir}, | |
938 { "pango_layout_get_justify", cast(void**)& pango_layout_get_justify}, | |
939 { "pango_layout_set_justify", cast(void**)& pango_layout_set_justify}, | |
940 { "pango_layout_get_spacing", cast(void**)& pango_layout_get_spacing}, | |
941 { "pango_layout_set_spacing", cast(void**)& pango_layout_set_spacing}, | |
942 { "pango_layout_get_indent", cast(void**)& pango_layout_get_indent}, | |
943 { "pango_layout_set_indent", cast(void**)& pango_layout_set_indent}, | |
944 { "pango_layout_is_wrapped", cast(void**)& pango_layout_is_wrapped}, | |
945 { "pango_layout_get_wrap", cast(void**)& pango_layout_get_wrap}, | |
946 { "pango_layout_set_wrap", cast(void**)& pango_layout_set_wrap}, | |
947 { "pango_layout_get_width", cast(void**)& pango_layout_get_width}, | |
948 { "pango_layout_set_width", cast(void**)& pango_layout_set_width}, | |
949 { "pango_layout_get_font_description", cast(void**)& pango_layout_get_font_description}, | |
950 { "pango_layout_set_font_description", cast(void**)& pango_layout_set_font_description}, | |
951 { "pango_layout_set_markup_with_accel", cast(void**)& pango_layout_set_markup_with_accel}, | |
952 { "pango_layout_set_markup", cast(void**)& pango_layout_set_markup}, | |
953 { "pango_layout_get_text", cast(void**)& pango_layout_get_text}, | |
954 { "pango_layout_set_text", cast(void**)& pango_layout_set_text}, | |
955 { "pango_layout_get_attributes", cast(void**)& pango_layout_get_attributes}, | |
956 { "pango_layout_set_attributes", cast(void**)& pango_layout_set_attributes}, | |
957 { "pango_layout_get_context", cast(void**)& pango_layout_get_context}, | |
958 { "pango_layout_copy", cast(void**)& pango_layout_copy}, | |
959 { "pango_layout_new", cast(void**)& pango_layout_new}, | |
960 { "pango_layout_get_type", cast(void**)& pango_layout_get_type}, | |
961 { "pango_tab_array_get_positions_in_pixels", cast(void**)& pango_tab_array_get_positions_in_pixels}, | |
962 { "pango_tab_array_get_tabs", cast(void**)& pango_tab_array_get_tabs}, | |
963 { "pango_tab_array_get_tab", cast(void**)& pango_tab_array_get_tab}, | |
964 { "pango_tab_array_set_tab", cast(void**)& pango_tab_array_set_tab}, | |
965 { "pango_tab_array_resize", cast(void**)& pango_tab_array_resize}, | |
966 { "pango_tab_array_get_size", cast(void**)& pango_tab_array_get_size}, | |
967 { "pango_tab_array_free", cast(void**)& pango_tab_array_free}, | |
968 { "pango_tab_array_copy", cast(void**)& pango_tab_array_copy}, | |
969 { "pango_tab_array_get_type", cast(void**)& pango_tab_array_get_type}, | |
970 { "pango_tab_array_new_with_positions", cast(void**)& pango_tab_array_new_with_positions}, | |
971 { "pango_tab_array_new", cast(void**)& pango_tab_array_new}, | |
972 { "pango_glyph_item_letter_space", cast(void**)& pango_glyph_item_letter_space}, | |
973 { "pango_glyph_item_apply_attrs", cast(void**)& pango_glyph_item_apply_attrs}, | |
974 { "pango_glyph_item_free", cast(void**)& pango_glyph_item_free}, | |
975 { "pango_glyph_item_split", cast(void**)& pango_glyph_item_split}, | |
976 { "pango_direction_get_type", cast(void**)& pango_direction_get_type}, | |
977 { "pango_tab_align_get_type", cast(void**)& pango_tab_align_get_type}, | |
978 { "pango_script_get_type", cast(void**)& pango_script_get_type}, | |
979 { "pango_render_part_get_type", cast(void**)& pango_render_part_get_type}, | |
980 { "pango_ellipsize_mode_get_type", cast(void**)& pango_ellipsize_mode_get_type}, | |
981 { "pango_wrap_mode_get_type", cast(void**)& pango_wrap_mode_get_type}, | |
982 { "pango_alignment_get_type", cast(void**)& pango_alignment_get_type}, | |
983 { "pango_gravity_hint_get_type", cast(void**)& pango_gravity_hint_get_type}, | |
984 { "pango_gravity_get_type", cast(void**)& pango_gravity_get_type}, | |
985 { "pango_font_mask_get_type", cast(void**)& pango_font_mask_get_type}, | |
986 { "pango_stretch_get_type", cast(void**)& pango_stretch_get_type}, | |
987 { "pango_weight_get_type", cast(void**)& pango_weight_get_type}, | |
988 { "pango_variant_get_type", cast(void**)& pango_variant_get_type}, | |
989 { "pango_style_get_type", cast(void**)& pango_style_get_type}, | |
990 { "pango_coverage_level_get_type", cast(void**)& pango_coverage_level_get_type}, | |
991 { "pango_underline_get_type", cast(void**)& pango_underline_get_type}, | |
992 { "pango_attr_type_get_type", cast(void**)& pango_attr_type_get_type}, | |
993 { "pango_reorder_items", cast(void**)& pango_reorder_items}, | |
994 { "pango_shape", cast(void**)& pango_shape}, | |
995 { "pango_glyph_string_x_to_index", cast(void**)& pango_glyph_string_x_to_index}, | |
996 { "pango_glyph_string_index_to_x", cast(void**)& pango_glyph_string_index_to_x}, | |
997 { "pango_glyph_string_get_logical_widths", cast(void**)& pango_glyph_string_get_logical_widths}, | |
998 { "pango_glyph_string_extents_range", cast(void**)& pango_glyph_string_extents_range}, | |
999 { "pango_glyph_string_get_width", cast(void**)& pango_glyph_string_get_width}, | |
1000 { "pango_glyph_string_extents", cast(void**)& pango_glyph_string_extents}, | |
1001 { "pango_glyph_string_free", cast(void**)& pango_glyph_string_free}, | |
1002 { "pango_glyph_string_copy", cast(void**)& pango_glyph_string_copy}, | |
1003 { "pango_glyph_string_get_type", cast(void**)& pango_glyph_string_get_type}, | |
1004 { "pango_glyph_string_set_size", cast(void**)& pango_glyph_string_set_size}, | |
1005 { "pango_glyph_string_new", cast(void**)& pango_glyph_string_new}, | |
1006 { "pango_itemize_with_base_dir", cast(void**)& pango_itemize_with_base_dir}, | |
1007 { "pango_itemize", cast(void**)& pango_itemize}, | |
1008 { "pango_context_get_matrix", cast(void**)& pango_context_get_matrix}, | |
1009 { "pango_context_set_matrix", cast(void**)& pango_context_set_matrix}, | |
1010 { "pango_context_get_gravity_hint", cast(void**)& pango_context_get_gravity_hint}, | |
1011 { "pango_context_set_gravity_hint", cast(void**)& pango_context_set_gravity_hint}, | |
1012 { "pango_context_get_gravity", cast(void**)& pango_context_get_gravity}, | |
1013 { "pango_context_get_base_gravity", cast(void**)& pango_context_get_base_gravity}, | |
1014 { "pango_context_set_base_gravity", cast(void**)& pango_context_set_base_gravity}, | |
1015 { "pango_context_get_base_dir", cast(void**)& pango_context_get_base_dir}, | |
1016 { "pango_context_set_base_dir", cast(void**)& pango_context_set_base_dir}, | |
1017 { "pango_context_set_language", cast(void**)& pango_context_set_language}, | |
1018 { "pango_context_get_language", cast(void**)& pango_context_get_language}, | |
1019 { "pango_context_get_font_description", cast(void**)& pango_context_get_font_description}, | |
1020 { "pango_context_set_font_description", cast(void**)& pango_context_set_font_description}, | |
1021 { "pango_context_get_metrics", cast(void**)& pango_context_get_metrics}, | |
1022 { "pango_context_load_fontset", cast(void**)& pango_context_load_fontset}, | |
1023 { "pango_context_load_font", cast(void**)& pango_context_load_font}, | |
1024 { "pango_context_list_families", cast(void**)& pango_context_list_families}, | |
1025 { "pango_context_get_font_map", cast(void**)& pango_context_get_font_map}, | |
1026 { "pango_context_get_type", cast(void**)& pango_context_get_type}, | |
1027 { "pango_font_map_list_families", cast(void**)& pango_font_map_list_families}, | |
1028 { "pango_font_map_load_fontset", cast(void**)& pango_font_map_load_fontset}, | |
1029 { "pango_font_map_load_font", cast(void**)& pango_font_map_load_font}, | |
1030 { "pango_font_map_get_type", cast(void**)& pango_font_map_get_type}, | |
1031 { "pango_fontset_foreach", cast(void**)& pango_fontset_foreach}, | |
1032 { "pango_fontset_get_metrics", cast(void**)& pango_fontset_get_metrics}, | |
1033 { "pango_fontset_get_font", cast(void**)& pango_fontset_get_font}, | |
1034 { "pango_fontset_get_type", cast(void**)& pango_fontset_get_type}, | |
1035 { "pango_get_log_attrs", cast(void**)& pango_get_log_attrs}, | |
1036 { "pango_find_paragraph_boundary", cast(void**)& pango_find_paragraph_boundary}, | |
1037 { "pango_break", cast(void**)& pango_break}, | |
1038 { "pango_item_split", cast(void**)& pango_item_split}, | |
1039 { "pango_item_free", cast(void**)& pango_item_free}, | |
1040 { "pango_item_copy", cast(void**)& pango_item_copy}, | |
1041 { "pango_item_new", cast(void**)& pango_item_new}, | |
1042 { "pango_item_get_type", cast(void**)& pango_item_get_type}, | |
1043 { "pango_parse_markup", cast(void**)& pango_parse_markup}, | |
1044 { "pango_attr_iterator_get_attrs", cast(void**)& pango_attr_iterator_get_attrs}, | |
1045 { "pango_attr_iterator_get_font", cast(void**)& pango_attr_iterator_get_font}, | |
1046 { "pango_attr_iterator_get", cast(void**)& pango_attr_iterator_get}, | |
1047 { "pango_attr_iterator_destroy", cast(void**)& pango_attr_iterator_destroy}, | |
1048 { "pango_attr_iterator_copy", cast(void**)& pango_attr_iterator_copy}, | |
1049 { "pango_attr_iterator_next", cast(void**)& pango_attr_iterator_next}, | |
1050 { "pango_attr_iterator_range", cast(void**)& pango_attr_iterator_range}, | |
1051 { "pango_attr_list_get_iterator", cast(void**)& pango_attr_list_get_iterator}, | |
1052 { "pango_attr_list_filter", cast(void**)& pango_attr_list_filter}, | |
1053 { "pango_attr_list_splice", cast(void**)& pango_attr_list_splice}, | |
1054 { "pango_attr_list_change", cast(void**)& pango_attr_list_change}, | |
1055 { "pango_attr_list_insert_before", cast(void**)& pango_attr_list_insert_before}, | |
1056 { "pango_attr_list_insert", cast(void**)& pango_attr_list_insert}, | |
1057 { "pango_attr_list_copy", cast(void**)& pango_attr_list_copy}, | |
1058 { "pango_attr_list_unref", cast(void**)& pango_attr_list_unref}, | |
1059 { "pango_attr_list_ref", cast(void**)& pango_attr_list_ref}, | |
1060 { "pango_attr_list_new", cast(void**)& pango_attr_list_new}, | |
1061 { "pango_attr_list_get_type", cast(void**)& pango_attr_list_get_type}, | |
1062 { "pango_attr_gravity_hint_new", cast(void**)& pango_attr_gravity_hint_new}, | |
1063 { "pango_attr_gravity_new", cast(void**)& pango_attr_gravity_new}, | |
1064 { "pango_attr_shape_new_with_data", cast(void**)& pango_attr_shape_new_with_data}, | |
1065 { "pango_attr_shape_new", cast(void**)& pango_attr_shape_new}, | |
1066 { "pango_attr_letter_spacing_new", cast(void**)& pango_attr_letter_spacing_new}, | |
1067 { "pango_attr_fallback_new", cast(void**)& pango_attr_fallback_new}, | |
1068 { "pango_attr_scale_new", cast(void**)& pango_attr_scale_new}, | |
1069 { "pango_attr_rise_new", cast(void**)& pango_attr_rise_new}, | |
1070 { "pango_attr_strikethrough_color_new", cast(void**)& pango_attr_strikethrough_color_new}, | |
1071 { "pango_attr_strikethrough_new", cast(void**)& pango_attr_strikethrough_new}, | |
1072 { "pango_attr_underline_color_new", cast(void**)& pango_attr_underline_color_new}, | |
1073 { "pango_attr_underline_new", cast(void**)& pango_attr_underline_new}, | |
1074 { "pango_attr_font_desc_new", cast(void**)& pango_attr_font_desc_new}, | |
1075 { "pango_attr_stretch_new", cast(void**)& pango_attr_stretch_new}, | |
1076 { "pango_attr_variant_new", cast(void**)& pango_attr_variant_new}, | |
1077 { "pango_attr_weight_new", cast(void**)& pango_attr_weight_new}, | |
1078 { "pango_attr_style_new", cast(void**)& pango_attr_style_new}, | |
1079 { "pango_attr_size_new_absolute", cast(void**)& pango_attr_size_new_absolute}, | |
1080 { "pango_attr_size_new", cast(void**)& pango_attr_size_new}, | |
1081 { "pango_attr_background_new", cast(void**)& pango_attr_background_new}, | |
1082 { "pango_attr_foreground_new", cast(void**)& pango_attr_foreground_new}, | |
1083 { "pango_attr_family_new", cast(void**)& pango_attr_family_new}, | |
1084 { "pango_attr_language_new", cast(void**)& pango_attr_language_new}, | |
1085 { "pango_attribute_equal", cast(void**)& pango_attribute_equal}, | |
1086 { "pango_attribute_destroy", cast(void**)& pango_attribute_destroy}, | |
1087 { "pango_attribute_copy", cast(void**)& pango_attribute_copy}, | |
1088 { "pango_attr_type_register", cast(void**)& pango_attr_type_register}, | |
1089 { "pango_color_to_string", cast(void**)& pango_color_to_string}, | |
1090 { "pango_color_parse", cast(void**)& pango_color_parse}, | |
1091 { "pango_color_free", cast(void**)& pango_color_free}, | |
1092 { "pango_color_copy", cast(void**)& pango_color_copy}, | |
1093 { "pango_color_get_type", cast(void**)& pango_color_get_type}, | |
1094 { "pango_font_get_font_map", cast(void**)& pango_font_get_font_map}, | |
1095 { "pango_font_get_glyph_extents", cast(void**)& pango_font_get_glyph_extents}, | |
1096 { "pango_font_get_metrics", cast(void**)& pango_font_get_metrics}, | |
1097 { "pango_font_find_shaper", cast(void**)& pango_font_find_shaper}, | |
1098 { "pango_font_get_coverage", cast(void**)& pango_font_get_coverage}, | |
1099 { "pango_font_describe_with_absolute_size", cast(void**)& pango_font_describe_with_absolute_size}, | |
1100 { "pango_font_describe", cast(void**)& pango_font_describe}, | |
1101 { "pango_font_get_type", cast(void**)& pango_font_get_type}, | |
1102 { "pango_font_face_is_synthesized", cast(void**)& pango_font_face_is_synthesized}, | |
1103 { "pango_font_face_list_sizes", cast(void**)& pango_font_face_list_sizes}, | |
1104 { "pango_font_face_get_face_name", cast(void**)& pango_font_face_get_face_name}, | |
1105 { "pango_font_face_describe", cast(void**)& pango_font_face_describe}, | |
1106 { "pango_font_face_get_type", cast(void**)& pango_font_face_get_type}, | |
1107 { "pango_font_family_is_monospace", cast(void**)& pango_font_family_is_monospace}, | |
1108 { "pango_font_family_get_name", cast(void**)& pango_font_family_get_name}, | |
1109 { "pango_font_family_list_faces", cast(void**)& pango_font_family_list_faces}, | |
1110 { "pango_font_family_get_type", cast(void**)& pango_font_family_get_type}, | |
1111 { "pango_font_metrics_get_strikethrough_thickness", cast(void**)& pango_font_metrics_get_strikethrough_thickness}, | |
1112 { "pango_font_metrics_get_strikethrough_position", cast(void**)& pango_font_metrics_get_strikethrough_position}, | |
1113 { "pango_font_metrics_get_underline_thickness", cast(void**)& pango_font_metrics_get_underline_thickness}, | |
1114 { "pango_font_metrics_get_underline_position", cast(void**)& pango_font_metrics_get_underline_position}, | |
1115 { "pango_font_metrics_get_approximate_digit_width", cast(void**)& pango_font_metrics_get_approximate_digit_width}, | |
1116 { "pango_font_metrics_get_approximate_char_width", cast(void**)& pango_font_metrics_get_approximate_char_width}, | |
1117 { "pango_font_metrics_get_descent", cast(void**)& pango_font_metrics_get_descent}, | |
1118 { "pango_font_metrics_get_ascent", cast(void**)& pango_font_metrics_get_ascent}, | |
1119 { "pango_font_metrics_unref", cast(void**)& pango_font_metrics_unref}, | |
1120 { "pango_font_metrics_ref", cast(void**)& pango_font_metrics_ref}, | |
1121 { "pango_font_metrics_get_type", cast(void**)& pango_font_metrics_get_type}, | |
1122 { "pango_font_description_to_filename", cast(void**)& pango_font_description_to_filename}, | |
1123 { "pango_font_description_to_string", cast(void**)& pango_font_description_to_string}, | |
1124 { "pango_font_description_from_string", cast(void**)& pango_font_description_from_string}, | |
1125 { "pango_font_description_better_match", cast(void**)& pango_font_description_better_match}, | |
1126 { "pango_font_description_merge_static", cast(void**)& pango_font_description_merge_static}, | |
1127 { "pango_font_description_merge", cast(void**)& pango_font_description_merge}, | |
1128 { "pango_font_description_unset_fields", cast(void**)& pango_font_description_unset_fields}, | |
1129 { "pango_font_description_get_set_fields", cast(void**)& pango_font_description_get_set_fields}, | |
1130 { "pango_font_description_get_gravity", cast(void**)& pango_font_description_get_gravity}, | |
1131 { "pango_font_description_set_gravity", cast(void**)& pango_font_description_set_gravity}, | |
1132 { "pango_font_description_get_size_is_absolute", cast(void**)& pango_font_description_get_size_is_absolute}, | |
1133 { "pango_font_description_set_absolute_size", cast(void**)& pango_font_description_set_absolute_size}, | |
1134 { "pango_font_description_get_size", cast(void**)& pango_font_description_get_size}, | |
1135 { "pango_font_description_set_size", cast(void**)& pango_font_description_set_size}, | |
1136 { "pango_font_description_get_stretch", cast(void**)& pango_font_description_get_stretch}, | |
1137 { "pango_font_description_set_stretch", cast(void**)& pango_font_description_set_stretch}, | |
1138 { "pango_font_description_get_weight", cast(void**)& pango_font_description_get_weight}, | |
1139 { "pango_font_description_set_weight", cast(void**)& pango_font_description_set_weight}, | |
1140 { "pango_font_description_get_variant", cast(void**)& pango_font_description_get_variant}, | |
1141 { "pango_font_description_set_variant", cast(void**)& pango_font_description_set_variant}, | |
1142 { "pango_font_description_get_style", cast(void**)& pango_font_description_get_style}, | |
1143 { "pango_font_description_set_style", cast(void**)& pango_font_description_set_style}, | |
1144 { "pango_font_description_get_family", cast(void**)& pango_font_description_get_family}, | |
1145 { "pango_font_description_set_family_static", cast(void**)& pango_font_description_set_family_static}, | |
1146 { "pango_font_description_set_family", cast(void**)& pango_font_description_set_family}, | |
1147 { "pango_font_descriptions_free", cast(void**)& pango_font_descriptions_free}, | |
1148 { "pango_font_description_free", cast(void**)& pango_font_description_free}, | |
1149 { "pango_font_description_equal", cast(void**)& pango_font_description_equal}, | |
1150 { "pango_font_description_hash", cast(void**)& pango_font_description_hash}, | |
1151 { "pango_font_description_copy_static", cast(void**)& pango_font_description_copy_static}, | |
1152 { "pango_font_description_copy", cast(void**)& pango_font_description_copy}, | |
1153 { "pango_font_description_new", cast(void**)& pango_font_description_new}, | |
1154 { "pango_font_description_get_type", cast(void**)& pango_font_description_get_type}, | |
1155 { "pango_gravity_get_for_script", cast(void**)& pango_gravity_get_for_script}, | |
1156 { "pango_gravity_get_for_matrix", cast(void**)& pango_gravity_get_for_matrix}, | |
1157 { "pango_gravity_to_rotation", cast(void**)& pango_gravity_to_rotation}, | |
1158 { "pango_language_includes_script", cast(void**)& pango_language_includes_script}, | |
1159 { "pango_script_get_sample_language", cast(void**)& pango_script_get_sample_language}, | |
1160 { "pango_script_iter_free", cast(void**)& pango_script_iter_free}, | |
1161 { "pango_script_iter_next", cast(void**)& pango_script_iter_next}, | |
1162 { "pango_script_iter_get_range", cast(void**)& pango_script_iter_get_range}, | |
1163 { "pango_script_iter_new", cast(void**)& pango_script_iter_new}, | |
1164 { "pango_script_for_unichar", cast(void**)& pango_script_for_unichar}, | |
1165 { "pango_language_matches", cast(void**)& pango_language_matches}, | |
1166 { "pango_language_get_default", cast(void**)& pango_language_get_default}, | |
1167 { "pango_language_get_sample_string", cast(void**)& pango_language_get_sample_string}, | |
1168 { "pango_language_from_string", cast(void**)& pango_language_from_string}, | |
1169 { "pango_language_get_type", cast(void**)& pango_language_get_type}, | |
1170 { "pango_matrix_get_font_scale_factor", cast(void**)& pango_matrix_get_font_scale_factor}, | |
1171 { "pango_matrix_transform_pixel_rectangle", cast(void**)& pango_matrix_transform_pixel_rectangle}, | |
1172 { "pango_matrix_transform_rectangle", cast(void**)& pango_matrix_transform_rectangle}, | |
1173 { "pango_matrix_transform_distance", cast(void**)& pango_matrix_transform_distance}, | |
1174 { "pango_matrix_transform_point", cast(void**)& pango_matrix_transform_point}, | |
1175 { "pango_matrix_concat", cast(void**)& pango_matrix_concat}, | |
1176 { "pango_matrix_rotate", cast(void**)& pango_matrix_rotate}, | |
1177 { "pango_matrix_scale", cast(void**)& pango_matrix_scale}, | |
1178 { "pango_matrix_translate", cast(void**)& pango_matrix_translate}, | |
1179 { "pango_matrix_free", cast(void**)& pango_matrix_free}, | |
1180 { "pango_matrix_copy", cast(void**)& pango_matrix_copy}, | |
1181 { "pango_matrix_get_type", cast(void**)& pango_matrix_get_type}, | |
1182 { "pango_get_mirror_char", cast(void**)& pango_get_mirror_char}, | |
1183 { "pango_find_base_dir", cast(void**)& pango_find_base_dir}, | |
1184 { "pango_unichar_direction", cast(void**)& pango_unichar_direction}, | |
1185 { "pango_extents_to_pixels", cast(void**)& pango_extents_to_pixels}, | |
1186 { "pango_units_to_double", cast(void**)& pango_units_to_double}, | |
1187 { "pango_units_from_double", cast(void**)& pango_units_from_double}, | |
1188 { "pango_coverage_from_bytes", cast(void**)& pango_coverage_from_bytes}, | |
1189 { "pango_coverage_to_bytes", cast(void**)& pango_coverage_to_bytes}, | |
1190 { "pango_coverage_max", cast(void**)& pango_coverage_max}, | |
1191 { "pango_coverage_set", cast(void**)& pango_coverage_set}, | |
1192 { "pango_coverage_get", cast(void**)& pango_coverage_get}, | |
1193 { "pango_coverage_copy", cast(void**)& pango_coverage_copy}, | |
1194 { "pango_coverage_unref", cast(void**)& pango_coverage_unref}, | |
1195 { "pango_coverage_ref", cast(void**)& pango_coverage_ref}, | |
1196 { "pango_coverage_new", cast(void**)& pango_coverage_new}, | |
1197 ]; | |
1198 | |
1199 } else { // version(DYNLINK) | |
1200 extern (C) char * pango_version_check(int, int, int); | |
1201 extern (C) char * pango_version_string(); | |
1202 extern (C) int pango_version(); | |
1203 extern (C) int pango_is_zero_width(uint); | |
1204 extern (C) char * pango_log2vis_get_embedding_levels(char *, int, int *); | |
1205 extern (C) void pango_quantize_line_geometry(int *, int *); | |
1206 extern (C) int pango_parse_stretch(char *, int *, int); | |
1207 extern (C) int pango_parse_weight(char *, int *, int); | |
1208 extern (C) int pango_parse_variant(char *, int *, int); | |
1209 extern (C) int pango_parse_style(char *, int *, int); | |
1210 extern (C) int pango_parse_enum(uint, char *, int *, int, char * *); | |
1211 extern (C) int pango_scan_int(char * *, int *); | |
1212 extern (C) int pango_scan_string(char * *, _GString *); | |
1213 extern (C) int pango_scan_word(char * *, _GString *); | |
1214 extern (C) int pango_skip_space(char * *); | |
1215 extern (C) int pango_read_line(_IO_FILE *, _GString *); | |
1216 extern (C) char * pango_trim_string(char *); | |
1217 extern (C) char * * pango_split_file_list(char *); | |
1218 extern (C) _PangoMatrix * pango_renderer_get_matrix(_PangoRenderer *); | |
1219 extern (C) void pango_renderer_set_matrix(_PangoRenderer *, _PangoMatrix *); | |
1220 extern (C) _PangoColor * pango_renderer_get_color(_PangoRenderer *, int); | |
1221 extern (C) void pango_renderer_set_color(_PangoRenderer *, int, _PangoColor *); | |
1222 extern (C) void pango_renderer_part_changed(_PangoRenderer *, int); | |
1223 extern (C) void pango_renderer_deactivate(_PangoRenderer *); | |
1224 extern (C) void pango_renderer_activate(_PangoRenderer *); | |
1225 extern (C) void pango_renderer_draw_glyph(_PangoRenderer *, void *, uint, double, double); | |
1226 extern (C) void pango_renderer_draw_trapezoid(_PangoRenderer *, int, double, double, double, double, double, double); | |
1227 extern (C) void pango_renderer_draw_error_underline(_PangoRenderer *, int, int, int, int); | |
1228 extern (C) void pango_renderer_draw_rectangle(_PangoRenderer *, int, int, int, int, int); | |
1229 extern (C) void pango_renderer_draw_glyphs(_PangoRenderer *, void *, _PangoGlyphString *, int, int); | |
1230 extern (C) void pango_renderer_draw_layout_line(_PangoRenderer *, _PangoLayoutLine *, int, int); | |
1231 extern (C) void pango_renderer_draw_layout(_PangoRenderer *, void *, int, int); | |
1232 extern (C) uint pango_renderer_get_type(); | |
1233 extern (C) int pango_layout_iter_get_baseline(void *); | |
1234 extern (C) void pango_layout_iter_get_layout_extents(void *, _PangoRectangle *, _PangoRectangle *); | |
1235 extern (C) void pango_layout_iter_get_line_yrange(void *, int *, int *); | |
1236 extern (C) void pango_layout_iter_get_line_extents(void *, _PangoRectangle *, _PangoRectangle *); | |
1237 extern (C) void pango_layout_iter_get_run_extents(void *, _PangoRectangle *, _PangoRectangle *); | |
1238 extern (C) void pango_layout_iter_get_cluster_extents(void *, _PangoRectangle *, _PangoRectangle *); | |
1239 extern (C) void pango_layout_iter_get_char_extents(void *, _PangoRectangle *); | |
1240 extern (C) int pango_layout_iter_next_line(void *); | |
1241 extern (C) int pango_layout_iter_next_run(void *); | |
1242 extern (C) int pango_layout_iter_next_cluster(void *); | |
1243 extern (C) int pango_layout_iter_next_char(void *); | |
1244 extern (C) int pango_layout_iter_at_last_line(void *); | |
1245 extern (C) _PangoLayoutLine * pango_layout_iter_get_line_readonly(void *); | |
1246 extern (C) _PangoLayoutLine * pango_layout_iter_get_line(void *); | |
1247 extern (C) _PangoGlyphItem * pango_layout_iter_get_run_readonly(void *); | |
1248 extern (C) _PangoGlyphItem * pango_layout_iter_get_run(void *); | |
1249 extern (C) int pango_layout_iter_get_index(void *); | |
1250 extern (C) void pango_layout_iter_free(void *); | |
1251 extern (C) void * pango_layout_get_iter(void *); | |
1252 extern (C) uint pango_layout_iter_get_type(); | |
1253 extern (C) void pango_layout_line_get_pixel_extents(_PangoLayoutLine *, _PangoRectangle *, _PangoRectangle *); | |
1254 extern (C) void pango_layout_line_get_extents(_PangoLayoutLine *, _PangoRectangle *, _PangoRectangle *); | |
1255 extern (C) void pango_layout_line_get_x_ranges(_PangoLayoutLine *, int, int, int * *, int *); | |
1256 extern (C) void pango_layout_line_index_to_x(_PangoLayoutLine *, int, int, int *); | |
1257 extern (C) int pango_layout_line_x_to_index(_PangoLayoutLine *, int, int *, int *); | |
1258 extern (C) void pango_layout_line_unref(_PangoLayoutLine *); | |
1259 extern (C) _PangoLayoutLine * pango_layout_line_ref(_PangoLayoutLine *); | |
1260 extern (C) uint pango_layout_line_get_type(); | |
1261 extern (C) _GSList * pango_layout_get_lines_readonly(void *); | |
1262 extern (C) _GSList * pango_layout_get_lines(void *); | |
1263 extern (C) _PangoLayoutLine * pango_layout_get_line_readonly(void *, int); | |
1264 extern (C) _PangoLayoutLine * pango_layout_get_line(void *, int); | |
1265 extern (C) int pango_layout_get_line_count(void *); | |
1266 extern (C) void pango_layout_get_pixel_size(void *, int *, int *); | |
1267 extern (C) void pango_layout_get_size(void *, int *, int *); | |
1268 extern (C) void pango_layout_get_pixel_extents(void *, _PangoRectangle *, _PangoRectangle *); | |
1269 extern (C) void pango_layout_get_extents(void *, _PangoRectangle *, _PangoRectangle *); | |
1270 extern (C) int pango_layout_xy_to_index(void *, int, int, int *, int *); | |
1271 extern (C) void pango_layout_move_cursor_visually(void *, int, int, int, int, int *, int *); | |
1272 extern (C) void pango_layout_get_cursor_pos(void *, int, _PangoRectangle *, _PangoRectangle *); | |
1273 extern (C) void pango_layout_index_to_line_x(void *, int, int, int *, int *); | |
1274 extern (C) void pango_layout_index_to_pos(void *, int, _PangoRectangle *); | |
1275 extern (C) void pango_layout_get_log_attrs(void *, _PangoLogAttr * *, int *); | |
1276 extern (C) void pango_layout_context_changed(void *); | |
1277 extern (C) int pango_layout_get_unknown_glyphs_count(void *); | |
1278 extern (C) int pango_layout_is_ellipsized(void *); | |
1279 extern (C) int pango_layout_get_ellipsize(void *); | |
1280 extern (C) void pango_layout_set_ellipsize(void *, int); | |
1281 extern (C) int pango_layout_get_single_paragraph_mode(void *); | |
1282 extern (C) void pango_layout_set_single_paragraph_mode(void *, int); | |
1283 extern (C) void * pango_layout_get_tabs(void *); | |
1284 extern (C) void pango_layout_set_tabs(void *, void *); | |
1285 extern (C) int pango_layout_get_alignment(void *); | |
1286 extern (C) void pango_layout_set_alignment(void *, int); | |
1287 extern (C) int pango_layout_get_auto_dir(void *); | |
1288 extern (C) void pango_layout_set_auto_dir(void *, int); | |
1289 extern (C) int pango_layout_get_justify(void *); | |
1290 extern (C) void pango_layout_set_justify(void *, int); | |
1291 extern (C) int pango_layout_get_spacing(void *); | |
1292 extern (C) void pango_layout_set_spacing(void *, int); | |
1293 extern (C) int pango_layout_get_indent(void *); | |
1294 extern (C) void pango_layout_set_indent(void *, int); | |
1295 extern (C) int pango_layout_is_wrapped(void *); | |
1296 extern (C) int pango_layout_get_wrap(void *); | |
1297 extern (C) void pango_layout_set_wrap(void *, int); | |
1298 extern (C) int pango_layout_get_width(void *); | |
1299 extern (C) void pango_layout_set_width(void *, int); | |
1300 extern (C) void * pango_layout_get_font_description(void *); | |
1301 extern (C) void pango_layout_set_font_description(void *, void *); | |
1302 extern (C) void pango_layout_set_markup_with_accel(void *, char *, int, uint, uint *); | |
1303 extern (C) void pango_layout_set_markup(void *, char *, int); | |
1304 extern (C) char * pango_layout_get_text(void *); | |
1305 extern (C) void pango_layout_set_text(void *, char *, int); | |
1306 extern (C) void * pango_layout_get_attributes(void *); | |
1307 extern (C) void pango_layout_set_attributes(void *, void *); | |
1308 extern (C) void * pango_layout_get_context(void *); | |
1309 extern (C) void * pango_layout_copy(void *); | |
1310 extern (C) void * pango_layout_new(void *); | |
1311 extern (C) uint pango_layout_get_type(); | |
1312 extern (C) int pango_tab_array_get_positions_in_pixels(void *); | |
1313 extern (C) void pango_tab_array_get_tabs(void *, int * *, int * *); | |
1314 extern (C) void pango_tab_array_get_tab(void *, int, int *, int *); | |
1315 extern (C) void pango_tab_array_set_tab(void *, int, int, int); | |
1316 extern (C) void pango_tab_array_resize(void *, int); | |
1317 extern (C) int pango_tab_array_get_size(void *); | |
1318 extern (C) void pango_tab_array_free(void *); | |
1319 extern (C) void * pango_tab_array_copy(void *); | |
1320 extern (C) uint pango_tab_array_get_type(); | |
1321 extern (C) void * pango_tab_array_new_with_positions(int, int, int, int, ...); | |
1322 extern (C) void * pango_tab_array_new(int, int); | |
1323 extern (C) void pango_glyph_item_letter_space(_PangoGlyphItem *, char *, _PangoLogAttr *, int); | |
1324 extern (C) _GSList * pango_glyph_item_apply_attrs(_PangoGlyphItem *, char *, void *); | |
1325 extern (C) void pango_glyph_item_free(_PangoGlyphItem *); | |
1326 extern (C) _PangoGlyphItem * pango_glyph_item_split(_PangoGlyphItem *, char *, int); | |
1327 extern (C) uint pango_direction_get_type(); | |
1328 extern (C) uint pango_tab_align_get_type(); | |
1329 extern (C) uint pango_script_get_type(); | |
1330 extern (C) uint pango_render_part_get_type(); | |
1331 extern (C) uint pango_ellipsize_mode_get_type(); | |
1332 extern (C) uint pango_wrap_mode_get_type(); | |
1333 extern (C) uint pango_alignment_get_type(); | |
1334 extern (C) uint pango_gravity_hint_get_type(); | |
1335 extern (C) uint pango_gravity_get_type(); | |
1336 extern (C) uint pango_font_mask_get_type(); | |
1337 extern (C) uint pango_stretch_get_type(); | |
1338 extern (C) uint pango_weight_get_type(); | |
1339 extern (C) uint pango_variant_get_type(); | |
1340 extern (C) uint pango_style_get_type(); | |
1341 extern (C) uint pango_coverage_level_get_type(); | |
1342 extern (C) uint pango_underline_get_type(); | |
1343 extern (C) uint pango_attr_type_get_type(); | |
1344 extern (C) _GList * pango_reorder_items(_GList *); | |
1345 extern (C) void pango_shape(char *, int, _PangoAnalysis *, _PangoGlyphString *); | |
1346 extern (C) void pango_glyph_string_x_to_index(_PangoGlyphString *, char *, int, _PangoAnalysis *, int, int *, int *); | |
1347 extern (C) void pango_glyph_string_index_to_x(_PangoGlyphString *, char *, int, _PangoAnalysis *, int, int, int *); | |
1348 extern (C) void pango_glyph_string_get_logical_widths(_PangoGlyphString *, char *, int, int, int *); | |
1349 extern (C) void pango_glyph_string_extents_range(_PangoGlyphString *, int, int, void *, _PangoRectangle *, _PangoRectangle *); | |
1350 extern (C) int pango_glyph_string_get_width(_PangoGlyphString *); | |
1351 extern (C) void pango_glyph_string_extents(_PangoGlyphString *, void *, _PangoRectangle *, _PangoRectangle *); | |
1352 extern (C) void pango_glyph_string_free(_PangoGlyphString *); | |
1353 extern (C) _PangoGlyphString * pango_glyph_string_copy(_PangoGlyphString *); | |
1354 extern (C) uint pango_glyph_string_get_type(); | |
1355 extern (C) void pango_glyph_string_set_size(_PangoGlyphString *, int); | |
1356 extern (C) _PangoGlyphString * pango_glyph_string_new(); | |
1357 extern (C) _GList * pango_itemize_with_base_dir(void *, int, char *, int, int, void *, void *); | |
1358 extern (C) _GList * pango_itemize(void *, char *, int, int, void *, void *); | |
1359 extern (C) _PangoMatrix * pango_context_get_matrix(void *); | |
1360 extern (C) void pango_context_set_matrix(void *, _PangoMatrix *); | |
1361 extern (C) int pango_context_get_gravity_hint(void *); | |
1362 extern (C) void pango_context_set_gravity_hint(void *, int); | |
1363 extern (C) int pango_context_get_gravity(void *); | |
1364 extern (C) int pango_context_get_base_gravity(void *); | |
1365 extern (C) void pango_context_set_base_gravity(void *, int); | |
1366 extern (C) int pango_context_get_base_dir(void *); | |
1367 extern (C) void pango_context_set_base_dir(void *, int); | |
1368 extern (C) void pango_context_set_language(void *, void *); | |
1369 extern (C) void * pango_context_get_language(void *); | |
1370 extern (C) void * pango_context_get_font_description(void *); | |
1371 extern (C) void pango_context_set_font_description(void *, void *); | |
1372 extern (C) void * pango_context_get_metrics(void *, void *, void *); | |
1373 extern (C) void * pango_context_load_fontset(void *, void *, void *); | |
1374 extern (C) void * pango_context_load_font(void *, void *); | |
1375 extern (C) void pango_context_list_families(void *, void * * *, int *); | |
1376 extern (C) void * pango_context_get_font_map(void *); | |
1377 extern (C) uint pango_context_get_type(); | |
1378 extern (C) void pango_font_map_list_families(void *, void * * *, int *); | |
1379 extern (C) void * pango_font_map_load_fontset(void *, void *, void *, void *); | |
1380 extern (C) void * pango_font_map_load_font(void *, void *, void *); | |
1381 extern (C) uint pango_font_map_get_type(); | |
1382 extern (C) void pango_fontset_foreach(void *, _BCD_func__3004, void *); | |
1383 extern (C) void * pango_fontset_get_metrics(void *); | |
1384 extern (C) void * pango_fontset_get_font(void *, uint); | |
1385 extern (C) uint pango_fontset_get_type(); | |
1386 extern (C) void pango_get_log_attrs(char *, int, int, void *, _PangoLogAttr *, int); | |
1387 extern (C) void pango_find_paragraph_boundary(char *, int, int *, int *); | |
1388 extern (C) void pango_break(char *, int, _PangoAnalysis *, _PangoLogAttr *, int); | |
1389 extern (C) _PangoItem * pango_item_split(_PangoItem *, int, int); | |
1390 extern (C) void pango_item_free(_PangoItem *); | |
1391 extern (C) _PangoItem * pango_item_copy(_PangoItem *); | |
1392 extern (C) _PangoItem * pango_item_new(); | |
1393 extern (C) uint pango_item_get_type(); | |
1394 extern (C) int pango_parse_markup(char *, int, uint, void * *, char * *, uint *, _GError * *); | |
1395 extern (C) _GSList * pango_attr_iterator_get_attrs(void *); | |
1396 extern (C) void pango_attr_iterator_get_font(void *, void *, void * *, _GSList * *); | |
1397 extern (C) _PangoAttribute * pango_attr_iterator_get(void *, int); | |
1398 extern (C) void pango_attr_iterator_destroy(void *); | |
1399 extern (C) void * pango_attr_iterator_copy(void *); | |
1400 extern (C) int pango_attr_iterator_next(void *); | |
1401 extern (C) void pango_attr_iterator_range(void *, int *, int *); | |
1402 extern (C) void * pango_attr_list_get_iterator(void *); | |
1403 extern (C) void * pango_attr_list_filter(void *, _BCD_func__3031, void *); | |
1404 extern (C) void pango_attr_list_splice(void *, void *, int, int); | |
1405 extern (C) void pango_attr_list_change(void *, _PangoAttribute *); | |
1406 extern (C) void pango_attr_list_insert_before(void *, _PangoAttribute *); | |
1407 extern (C) void pango_attr_list_insert(void *, _PangoAttribute *); | |
1408 extern (C) void * pango_attr_list_copy(void *); | |
1409 extern (C) void pango_attr_list_unref(void *); | |
1410 extern (C) void * pango_attr_list_ref(void *); | |
1411 extern (C) void * pango_attr_list_new(); | |
1412 extern (C) uint pango_attr_list_get_type(); | |
1413 extern (C) _PangoAttribute * pango_attr_gravity_hint_new(int); | |
1414 extern (C) _PangoAttribute * pango_attr_gravity_new(int); | |
1415 extern (C) _PangoAttribute * pango_attr_shape_new_with_data(_PangoRectangle *, _PangoRectangle *, void *, _BCD_func__3030, _BCD_func__2834); | |
1416 extern (C) _PangoAttribute * pango_attr_shape_new(_PangoRectangle *, _PangoRectangle *); | |
1417 extern (C) _PangoAttribute * pango_attr_letter_spacing_new(int); | |
1418 extern (C) _PangoAttribute * pango_attr_fallback_new(int); | |
1419 extern (C) _PangoAttribute * pango_attr_scale_new(double); | |
1420 extern (C) _PangoAttribute * pango_attr_rise_new(int); | |
1421 extern (C) _PangoAttribute * pango_attr_strikethrough_color_new(ushort, ushort, ushort); | |
1422 extern (C) _PangoAttribute * pango_attr_strikethrough_new(int); | |
1423 extern (C) _PangoAttribute * pango_attr_underline_color_new(ushort, ushort, ushort); | |
1424 extern (C) _PangoAttribute * pango_attr_underline_new(int); | |
1425 extern (C) _PangoAttribute * pango_attr_font_desc_new(void *); | |
1426 extern (C) _PangoAttribute * pango_attr_stretch_new(int); | |
1427 extern (C) _PangoAttribute * pango_attr_variant_new(int); | |
1428 extern (C) _PangoAttribute * pango_attr_weight_new(int); | |
1429 extern (C) _PangoAttribute * pango_attr_style_new(int); | |
1430 extern (C) _PangoAttribute * pango_attr_size_new_absolute(int); | |
1431 extern (C) _PangoAttribute * pango_attr_size_new(int); | |
1432 extern (C) _PangoAttribute * pango_attr_background_new(ushort, ushort, ushort); | |
1433 extern (C) _PangoAttribute * pango_attr_foreground_new(ushort, ushort, ushort); | |
1434 extern (C) _PangoAttribute * pango_attr_family_new(char *); | |
1435 extern (C) _PangoAttribute * pango_attr_language_new(void *); | |
1436 extern (C) int pango_attribute_equal(_PangoAttribute *, _PangoAttribute *); | |
1437 extern (C) void pango_attribute_destroy(_PangoAttribute *); | |
1438 extern (C) _PangoAttribute * pango_attribute_copy(_PangoAttribute *); | |
1439 extern (C) int pango_attr_type_register(char *); | |
1440 extern (C) char * pango_color_to_string(_PangoColor *); | |
1441 extern (C) int pango_color_parse(_PangoColor *, char *); | |
1442 extern (C) void pango_color_free(_PangoColor *); | |
1443 extern (C) _PangoColor * pango_color_copy(_PangoColor *); | |
1444 extern (C) uint pango_color_get_type(); | |
1445 extern (C) void * pango_font_get_font_map(void *); | |
1446 extern (C) void pango_font_get_glyph_extents(void *, uint, _PangoRectangle *, _PangoRectangle *); | |
1447 extern (C) void * pango_font_get_metrics(void *, void *); | |
1448 extern (C) void * pango_font_find_shaper(void *, void *, uint); | |
1449 extern (C) void * pango_font_get_coverage(void *, void *); | |
1450 extern (C) void * pango_font_describe_with_absolute_size(void *); | |
1451 extern (C) void * pango_font_describe(void *); | |
1452 extern (C) uint pango_font_get_type(); | |
1453 extern (C) int pango_font_face_is_synthesized(void *); | |
1454 extern (C) void pango_font_face_list_sizes(void *, int * *, int *); | |
1455 extern (C) char * pango_font_face_get_face_name(void *); | |
1456 extern (C) void * pango_font_face_describe(void *); | |
1457 extern (C) uint pango_font_face_get_type(); | |
1458 extern (C) int pango_font_family_is_monospace(void *); | |
1459 extern (C) char * pango_font_family_get_name(void *); | |
1460 extern (C) void pango_font_family_list_faces(void *, void * * *, int *); | |
1461 extern (C) uint pango_font_family_get_type(); | |
1462 extern (C) int pango_font_metrics_get_strikethrough_thickness(void *); | |
1463 extern (C) int pango_font_metrics_get_strikethrough_position(void *); | |
1464 extern (C) int pango_font_metrics_get_underline_thickness(void *); | |
1465 extern (C) int pango_font_metrics_get_underline_position(void *); | |
1466 extern (C) int pango_font_metrics_get_approximate_digit_width(void *); | |
1467 extern (C) int pango_font_metrics_get_approximate_char_width(void *); | |
1468 extern (C) int pango_font_metrics_get_descent(void *); | |
1469 extern (C) int pango_font_metrics_get_ascent(void *); | |
1470 extern (C) void pango_font_metrics_unref(void *); | |
1471 extern (C) void * pango_font_metrics_ref(void *); | |
1472 extern (C) uint pango_font_metrics_get_type(); | |
1473 extern (C) char * pango_font_description_to_filename(void *); | |
1474 extern (C) char * pango_font_description_to_string(void *); | |
1475 extern (C) void * pango_font_description_from_string(char *); | |
1476 extern (C) int pango_font_description_better_match(void *, void *, void *); | |
1477 extern (C) void pango_font_description_merge_static(void *, void *, int); | |
1478 extern (C) void pango_font_description_merge(void *, void *, int); | |
1479 extern (C) void pango_font_description_unset_fields(void *, int); | |
1480 extern (C) int pango_font_description_get_set_fields(void *); | |
1481 extern (C) int pango_font_description_get_gravity(void *); | |
1482 extern (C) void pango_font_description_set_gravity(void *, int); | |
1483 extern (C) int pango_font_description_get_size_is_absolute(void *); | |
1484 extern (C) void pango_font_description_set_absolute_size(void *, double); | |
1485 extern (C) int pango_font_description_get_size(void *); | |
1486 extern (C) void pango_font_description_set_size(void *, int); | |
1487 extern (C) int pango_font_description_get_stretch(void *); | |
1488 extern (C) void pango_font_description_set_stretch(void *, int); | |
1489 extern (C) int pango_font_description_get_weight(void *); | |
1490 extern (C) void pango_font_description_set_weight(void *, int); | |
1491 extern (C) int pango_font_description_get_variant(void *); | |
1492 extern (C) void pango_font_description_set_variant(void *, int); | |
1493 extern (C) int pango_font_description_get_style(void *); | |
1494 extern (C) void pango_font_description_set_style(void *, int); | |
1495 extern (C) char * pango_font_description_get_family(void *); | |
1496 extern (C) void pango_font_description_set_family_static(void *, char *); | |
1497 extern (C) void pango_font_description_set_family(void *, char *); | |
1498 extern (C) void pango_font_descriptions_free(void * *, int); | |
1499 extern (C) void pango_font_description_free(void *); | |
1500 extern (C) int pango_font_description_equal(void *, void *); | |
1501 extern (C) uint pango_font_description_hash(void *); | |
1502 extern (C) void * pango_font_description_copy_static(void *); | |
1503 extern (C) void * pango_font_description_copy(void *); | |
1504 extern (C) void * pango_font_description_new(); | |
1505 extern (C) uint pango_font_description_get_type(); | |
1506 extern (C) int pango_gravity_get_for_script(int, int, int); | |
1507 extern (C) int pango_gravity_get_for_matrix(_PangoMatrix *); | |
1508 extern (C) double pango_gravity_to_rotation(int); | |
1509 extern (C) int pango_language_includes_script(void *, int); | |
1510 extern (C) void * pango_script_get_sample_language(int); | |
1511 extern (C) void pango_script_iter_free(void *); | |
1512 extern (C) int pango_script_iter_next(void *); | |
1513 extern (C) void pango_script_iter_get_range(void *, char * *, char * *, int *); | |
1514 extern (C) void * pango_script_iter_new(char *, int); | |
1515 extern (C) int pango_script_for_unichar(uint); | |
1516 extern (C) int pango_language_matches(void *, char *); | |
1517 extern (C) void * pango_language_get_default(); | |
1518 extern (C) char * pango_language_get_sample_string(void *); | |
1519 extern (C) void * pango_language_from_string(char *); | |
1520 extern (C) uint pango_language_get_type(); | |
1521 extern (C) double pango_matrix_get_font_scale_factor(_PangoMatrix *); | |
1522 extern (C) void pango_matrix_transform_pixel_rectangle(_PangoMatrix *, _PangoRectangle *); | |
1523 extern (C) void pango_matrix_transform_rectangle(_PangoMatrix *, _PangoRectangle *); | |
1524 extern (C) void pango_matrix_transform_distance(_PangoMatrix *, double *, double *); | |
1525 extern (C) void pango_matrix_transform_point(_PangoMatrix *, double *, double *); | |
1526 extern (C) void pango_matrix_concat(_PangoMatrix *, _PangoMatrix *); | |
1527 extern (C) void pango_matrix_rotate(_PangoMatrix *, double); | |
1528 extern (C) void pango_matrix_scale(_PangoMatrix *, double, double); | |
1529 extern (C) void pango_matrix_translate(_PangoMatrix *, double, double); | |
1530 extern (C) void pango_matrix_free(_PangoMatrix *); | |
1531 extern (C) _PangoMatrix * pango_matrix_copy(_PangoMatrix *); | |
1532 extern (C) uint pango_matrix_get_type(); | |
1533 extern (C) int pango_get_mirror_char(uint, uint *); | |
1534 extern (C) int pango_find_base_dir(char *, int); | |
1535 extern (C) int pango_unichar_direction(uint); | |
1536 extern (C) void pango_extents_to_pixels(_PangoRectangle *, _PangoRectangle *); | |
1537 extern (C) double pango_units_to_double(int); | |
1538 extern (C) int pango_units_from_double(double); | |
1539 extern (C) void * pango_coverage_from_bytes(char *, int); | |
1540 extern (C) void pango_coverage_to_bytes(void *, char * *, int *); | |
1541 extern (C) void pango_coverage_max(void *, void *); | |
1542 extern (C) void pango_coverage_set(void *, int, int); | |
1543 extern (C) int pango_coverage_get(void *, int); | |
1544 extern (C) void * pango_coverage_copy(void *); | |
1545 extern (C) void pango_coverage_unref(void *); | |
1546 extern (C) void * pango_coverage_ref(void *); | |
1547 extern (C) void * pango_coverage_new(); | |
1548 } // version(DYNLINK) |