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