1;; -*- scheme -*- 2; object definitions ... 3(define-object CairoFont 4 (in-module "Pango") 5 (c-name "PangoCairoFont") 6 (gtype-id "PANGO_TYPE_CAIRO_FONT") 7) 8 9(define-object CairoFontMap 10 (in-module "Pango") 11 (c-name "PangoCairoFontMap") 12 (gtype-id "PANGO_TYPE_CAIRO_FONT_MAP") 13) 14 15(define-object Engine 16 (in-module "Pango") 17 (parent "GObject") 18 (c-name "PangoEngine") 19 (gtype-id "PANGO_TYPE_ENGINE") 20) 21 22(define-object EngineLang 23 (in-module "Pango") 24 (parent "PangoEngine") 25 (c-name "PangoEngineLang") 26 (gtype-id "PANGO_TYPE_ENGINE_LANG") 27) 28 29(define-object EngineShape 30 (in-module "Pango") 31 (parent "PangoEngine") 32 (c-name "PangoEngineShape") 33 (gtype-id "PANGO_TYPE_ENGINE_SHAPE") 34) 35 36(define-object FcDecoder 37 (in-module "Pango") 38 (parent "GObject") 39 (c-name "PangoFcDecoder") 40 (gtype-id "PANGO_TYPE_FC_DECODER") 41) 42 43(define-object Font 44 (in-module "Pango") 45 (parent "GObject") 46 (c-name "PangoFont") 47 (gtype-id "PANGO_TYPE_FONT") 48) 49 50(define-object FcFont 51 (in-module "Pango") 52 (parent "PangoFont") 53 (c-name "PangoFcFont") 54 (gtype-id "PANGO_TYPE_FC_FONT") 55) 56 57(define-object CoreTextFont 58 (in-module "Pango") 59 (parent "PangoFont") 60 (c-name "PangoCoreTextFont") 61 (gtype-id "PANGO_TYPE_CORE_TEXT_FONT") 62) 63 64(define-object FontFace 65 (in-module "Pango") 66 (parent "GObject") 67 (c-name "PangoFontFace") 68 (gtype-id "PANGO_TYPE_FONT_FACE") 69) 70 71(define-object FontFamily 72 (in-module "Pango") 73 (parent "GObject") 74 (c-name "PangoFontFamily") 75 (gtype-id "PANGO_TYPE_FONT_FAMILY") 76) 77 78(define-object FontMap 79 (in-module "Pango") 80 (parent "GObject") 81 (c-name "PangoFontMap") 82 (gtype-id "PANGO_TYPE_FONT_MAP") 83) 84 85(define-object FcFontMap 86 (in-module "Pango") 87 (parent "PangoFontMap") 88 (c-name "PangoFcFontMap") 89 (gtype-id "PANGO_TYPE_FC_FONT_MAP") 90) 91 92(define-object CoreTextFontMap 93 (in-module "Pango") 94 (parent "PangoFontMap") 95 (c-name "PangoCoreTextFontMap") 96 (gtype-id "PANGO_TYPE_CORE_TEXT_FONT_MAP") 97) 98 99(define-object Fontset 100 (in-module "Pango") 101 (parent "GObject") 102 (c-name "PangoFontset") 103 (gtype-id "PANGO_TYPE_FONTSET") 104) 105 106(define-object OTInfo 107 (in-module "Pango") 108 (parent "GObject") 109 (c-name "PangoOTInfo") 110 (gtype-id "PANGO_TYPE_OT_INFO") 111) 112 113(define-object OTRuleset 114 (in-module "Pango") 115 (parent "GObject") 116 (c-name "PangoOTRuleset") 117 (gtype-id "PANGO_TYPE_OT_RULESET") 118) 119 120(define-object Renderer 121 (in-module "Pango") 122 (parent "GObject") 123 (c-name "PangoRenderer") 124 (gtype-id "PANGO_TYPE_RENDERER") 125) 126 127(define-object Win32Font 128 (in-module "Pango") 129 (parent "PangoFont") 130 (c-name "PangoWin32Font") 131 (gtype-id "PANGO_TYPE_WIN32_FONT") 132) 133 134(define-object Win32FontMap 135 (in-module "Pango") 136 (parent "PangoFontMap") 137 (c-name "PangoWin32FontMap") 138 (gtype-id "PANGO_TYPE_WIN32_FONT_MAP") 139) 140 141(define-object XftRenderer 142 (in-module "Pango") 143 (parent "PangoRenderer") 144 (c-name "PangoXftRenderer") 145 (gtype-id "PANGO_TYPE_XFT_RENDERER") 146) 147 148;; Enumerations and flags ... 149 150(define-enum AttrType 151 (in-module "Pango") 152 (c-name "PangoAttrType") 153 (gtype-id "PANGO_TYPE_ATTR_TYPE") 154 (values 155 '("invalid" "PANGO_ATTR_INVALID") 156 '("language" "PANGO_ATTR_LANGUAGE") 157 '("family" "PANGO_ATTR_FAMILY") 158 '("style" "PANGO_ATTR_STYLE") 159 '("weight" "PANGO_ATTR_WEIGHT") 160 '("variant" "PANGO_ATTR_VARIANT") 161 '("stretch" "PANGO_ATTR_STRETCH") 162 '("size" "PANGO_ATTR_SIZE") 163 '("font-desc" "PANGO_ATTR_FONT_DESC") 164 '("foreground" "PANGO_ATTR_FOREGROUND") 165 '("background" "PANGO_ATTR_BACKGROUND") 166 '("underline" "PANGO_ATTR_UNDERLINE") 167 '("strikethrough" "PANGO_ATTR_STRIKETHROUGH") 168 '("rise" "PANGO_ATTR_RISE") 169 '("shape" "PANGO_ATTR_SHAPE") 170 '("scale" "PANGO_ATTR_SCALE") 171 '("fallback" "PANGO_ATTR_FALLBACK") 172 '("letter-spacing" "PANGO_ATTR_LETTER_SPACING") 173 '("underline-color" "PANGO_ATTR_UNDERLINE_COLOR") 174 '("strikethrough-color" "PANGO_ATTR_STRIKETHROUGH_COLOR") 175 '("absolute-size" "PANGO_ATTR_ABSOLUTE_SIZE") 176 '("gravity" "PANGO_ATTR_GRAVITY") 177 '("gravity-hint" "PANGO_ATTR_GRAVITY_HINT") 178 '("font-features" "PANGO_ATTR_FONT_FEATURES") 179 '("foreground-alpha" "PANGO_ATTR_FOREGROUND_ALPHA") 180 '("background-alpha" "PANGO_ATTR_BACKGROUND_ALPHA") 181 ) 182) 183 184(define-enum Underline 185 (in-module "Pango") 186 (c-name "PangoUnderline") 187 (gtype-id "PANGO_TYPE_UNDERLINE") 188 (values 189 '("none" "PANGO_UNDERLINE_NONE") 190 '("single" "PANGO_UNDERLINE_SINGLE") 191 '("double" "PANGO_UNDERLINE_DOUBLE") 192 '("low" "PANGO_UNDERLINE_LOW") 193 '("error" "PANGO_UNDERLINE_ERROR") 194 ) 195) 196 197(define-enum BidiType 198 (in-module "Pango") 199 (c-name "PangoBidiType") 200 (gtype-id "PANGO_TYPE_BIDI_TYPE") 201 (values 202 '("l" "PANGO_BIDI_TYPE_L") 203 '("lre" "PANGO_BIDI_TYPE_LRE") 204 '("lro" "PANGO_BIDI_TYPE_LRO") 205 '("r" "PANGO_BIDI_TYPE_R") 206 '("al" "PANGO_BIDI_TYPE_AL") 207 '("rle" "PANGO_BIDI_TYPE_RLE") 208 '("rlo" "PANGO_BIDI_TYPE_RLO") 209 '("pdf" "PANGO_BIDI_TYPE_PDF") 210 '("en" "PANGO_BIDI_TYPE_EN") 211 '("es" "PANGO_BIDI_TYPE_ES") 212 '("et" "PANGO_BIDI_TYPE_ET") 213 '("an" "PANGO_BIDI_TYPE_AN") 214 '("cs" "PANGO_BIDI_TYPE_CS") 215 '("nsm" "PANGO_BIDI_TYPE_NSM") 216 '("bn" "PANGO_BIDI_TYPE_BN") 217 '("b" "PANGO_BIDI_TYPE_B") 218 '("s" "PANGO_BIDI_TYPE_S") 219 '("ws" "PANGO_BIDI_TYPE_WS") 220 '("on" "PANGO_BIDI_TYPE_ON") 221 ) 222) 223 224(define-enum Direction 225 (in-module "Pango") 226 (c-name "PangoDirection") 227 (gtype-id "PANGO_TYPE_DIRECTION") 228 (values 229 '("ltr" "PANGO_DIRECTION_LTR") 230 '("rtl" "PANGO_DIRECTION_RTL") 231 '("ttb-ltr" "PANGO_DIRECTION_TTB_LTR") 232 '("ttb-rtl" "PANGO_DIRECTION_TTB_RTL") 233 '("weak-ltr" "PANGO_DIRECTION_WEAK_LTR") 234 '("weak-rtl" "PANGO_DIRECTION_WEAK_RTL") 235 '("neutral" "PANGO_DIRECTION_NEUTRAL") 236 ) 237) 238 239(define-enum CoverageLevel 240 (in-module "Pango") 241 (c-name "PangoCoverageLevel") 242 (gtype-id "PANGO_TYPE_COVERAGE_LEVEL") 243 (values 244 '("none" "PANGO_COVERAGE_NONE") 245 '("fallback" "PANGO_COVERAGE_FALLBACK") 246 '("approximate" "PANGO_COVERAGE_APPROXIMATE") 247 '("exact" "PANGO_COVERAGE_EXACT") 248 ) 249) 250 251(define-enum Style 252 (in-module "Pango") 253 (c-name "PangoStyle") 254 (gtype-id "PANGO_TYPE_STYLE") 255 (values 256 '("normal" "PANGO_STYLE_NORMAL") 257 '("oblique" "PANGO_STYLE_OBLIQUE") 258 '("italic" "PANGO_STYLE_ITALIC") 259 ) 260) 261 262(define-enum Variant 263 (in-module "Pango") 264 (c-name "PangoVariant") 265 (gtype-id "PANGO_TYPE_VARIANT") 266 (values 267 '("normal" "PANGO_VARIANT_NORMAL") 268 '("small-caps" "PANGO_VARIANT_SMALL_CAPS") 269 ) 270) 271 272(define-enum Weight 273 (in-module "Pango") 274 (c-name "PangoWeight") 275 (gtype-id "PANGO_TYPE_WEIGHT") 276 (values 277 '("thin" "PANGO_WEIGHT_THIN") 278 '("ultralight" "PANGO_WEIGHT_ULTRALIGHT") 279 '("light" "PANGO_WEIGHT_LIGHT") 280 '("semilight" "PANGO_WEIGHT_SEMILIGHT") 281 '("book" "PANGO_WEIGHT_BOOK") 282 '("normal" "PANGO_WEIGHT_NORMAL") 283 '("medium" "PANGO_WEIGHT_MEDIUM") 284 '("semibold" "PANGO_WEIGHT_SEMIBOLD") 285 '("bold" "PANGO_WEIGHT_BOLD") 286 '("ultrabold" "PANGO_WEIGHT_ULTRABOLD") 287 '("heavy" "PANGO_WEIGHT_HEAVY") 288 '("ultraheavy" "PANGO_WEIGHT_ULTRAHEAVY") 289 ) 290) 291 292(define-enum Stretch 293 (in-module "Pango") 294 (c-name "PangoStretch") 295 (gtype-id "PANGO_TYPE_STRETCH") 296 (values 297 '("ultra-condensed" "PANGO_STRETCH_ULTRA_CONDENSED") 298 '("extra-condensed" "PANGO_STRETCH_EXTRA_CONDENSED") 299 '("condensed" "PANGO_STRETCH_CONDENSED") 300 '("semi-condensed" "PANGO_STRETCH_SEMI_CONDENSED") 301 '("normal" "PANGO_STRETCH_NORMAL") 302 '("semi-expanded" "PANGO_STRETCH_SEMI_EXPANDED") 303 '("expanded" "PANGO_STRETCH_EXPANDED") 304 '("extra-expanded" "PANGO_STRETCH_EXTRA_EXPANDED") 305 '("ultra-expanded" "PANGO_STRETCH_ULTRA_EXPANDED") 306 ) 307) 308 309(define-flags FontMask 310 (in-module "Pango") 311 (c-name "PangoFontMask") 312 (gtype-id "PANGO_TYPE_FONT_MASK") 313 (values 314 '("family" "PANGO_FONT_MASK_FAMILY") 315 '("style" "PANGO_FONT_MASK_STYLE") 316 '("variant" "PANGO_FONT_MASK_VARIANT") 317 '("weight" "PANGO_FONT_MASK_WEIGHT") 318 '("stretch" "PANGO_FONT_MASK_STRETCH") 319 '("size" "PANGO_FONT_MASK_SIZE") 320 '("gravity" "PANGO_FONT_MASK_GRAVITY") 321 ) 322) 323 324(define-enum Gravity 325 (in-module "Pango") 326 (c-name "PangoGravity") 327 (gtype-id "PANGO_TYPE_GRAVITY") 328 (values 329 '("south" "PANGO_GRAVITY_SOUTH") 330 '("east" "PANGO_GRAVITY_EAST") 331 '("north" "PANGO_GRAVITY_NORTH") 332 '("west" "PANGO_GRAVITY_WEST") 333 '("auto" "PANGO_GRAVITY_AUTO") 334 ) 335) 336 337(define-enum GravityHint 338 (in-module "Pango") 339 (c-name "PangoGravityHint") 340 (gtype-id "PANGO_TYPE_GRAVITY_HINT") 341 (values 342 '("natural" "PANGO_GRAVITY_HINT_NATURAL") 343 '("strong" "PANGO_GRAVITY_HINT_STRONG") 344 '("line" "PANGO_GRAVITY_HINT_LINE") 345 ) 346) 347 348(define-enum Alignment 349 (in-module "Pango") 350 (c-name "PangoAlignment") 351 (gtype-id "PANGO_TYPE_ALIGNMENT") 352 (values 353 '("left" "PANGO_ALIGN_LEFT") 354 '("center" "PANGO_ALIGN_CENTER") 355 '("right" "PANGO_ALIGN_RIGHT") 356 ) 357) 358 359(define-enum WrapMode 360 (in-module "Pango") 361 (c-name "PangoWrapMode") 362 (gtype-id "PANGO_TYPE_WRAP_MODE") 363 (values 364 '("word" "PANGO_WRAP_WORD") 365 '("char" "PANGO_WRAP_CHAR") 366 '("word-char" "PANGO_WRAP_WORD_CHAR") 367 ) 368) 369 370(define-enum EllipsizeMode 371 (in-module "Pango") 372 (c-name "PangoEllipsizeMode") 373 (gtype-id "PANGO_TYPE_ELLIPSIZE_MODE") 374 (values 375 '("none" "PANGO_ELLIPSIZE_NONE") 376 '("start" "PANGO_ELLIPSIZE_START") 377 '("middle" "PANGO_ELLIPSIZE_MIDDLE") 378 '("end" "PANGO_ELLIPSIZE_END") 379 ) 380) 381 382(define-enum OTTableType 383 (in-module "Pango") 384 (c-name "PangoOTTableType") 385 (gtype-id "PANGO_TYPE_OT_TABLE_TYPE") 386 (values 387 '("gsub" "PANGO_OT_TABLE_GSUB") 388 '("gpos" "PANGO_OT_TABLE_GPOS") 389 ) 390) 391 392(define-enum RenderPart 393 (in-module "Pango") 394 (c-name "PangoRenderPart") 395 (gtype-id "PANGO_TYPE_RENDER_PART") 396 (values 397 '("foreground" "PANGO_RENDER_PART_FOREGROUND") 398 '("background" "PANGO_RENDER_PART_BACKGROUND") 399 '("underline" "PANGO_RENDER_PART_UNDERLINE") 400 '("strikethrough" "PANGO_RENDER_PART_STRIKETHROUGH") 401 ) 402) 403 404(define-enum Script 405 (in-module "Pango") 406 (c-name "PangoScript") 407 (gtype-id "PANGO_TYPE_SCRIPT") 408 (values 409 '("invalid-code" "PANGO_SCRIPT_INVALID_CODE") 410 '("common" "PANGO_SCRIPT_COMMON") 411 '("inherited" "PANGO_SCRIPT_INHERITED") 412 '("arabic" "PANGO_SCRIPT_ARABIC") 413 '("armenian" "PANGO_SCRIPT_ARMENIAN") 414 '("bengali" "PANGO_SCRIPT_BENGALI") 415 '("bopomofo" "PANGO_SCRIPT_BOPOMOFO") 416 '("cherokee" "PANGO_SCRIPT_CHEROKEE") 417 '("coptic" "PANGO_SCRIPT_COPTIC") 418 '("cyrillic" "PANGO_SCRIPT_CYRILLIC") 419 '("deseret" "PANGO_SCRIPT_DESERET") 420 '("devanagari" "PANGO_SCRIPT_DEVANAGARI") 421 '("ethiopic" "PANGO_SCRIPT_ETHIOPIC") 422 '("georgian" "PANGO_SCRIPT_GEORGIAN") 423 '("gothic" "PANGO_SCRIPT_GOTHIC") 424 '("greek" "PANGO_SCRIPT_GREEK") 425 '("gujarati" "PANGO_SCRIPT_GUJARATI") 426 '("gurmukhi" "PANGO_SCRIPT_GURMUKHI") 427 '("han" "PANGO_SCRIPT_HAN") 428 '("hangul" "PANGO_SCRIPT_HANGUL") 429 '("hebrew" "PANGO_SCRIPT_HEBREW") 430 '("hiragana" "PANGO_SCRIPT_HIRAGANA") 431 '("kannada" "PANGO_SCRIPT_KANNADA") 432 '("katakana" "PANGO_SCRIPT_KATAKANA") 433 '("khmer" "PANGO_SCRIPT_KHMER") 434 '("lao" "PANGO_SCRIPT_LAO") 435 '("latin" "PANGO_SCRIPT_LATIN") 436 '("malayalam" "PANGO_SCRIPT_MALAYALAM") 437 '("mongolian" "PANGO_SCRIPT_MONGOLIAN") 438 '("myanmar" "PANGO_SCRIPT_MYANMAR") 439 '("ogham" "PANGO_SCRIPT_OGHAM") 440 '("old-italic" "PANGO_SCRIPT_OLD_ITALIC") 441 '("oriya" "PANGO_SCRIPT_ORIYA") 442 '("runic" "PANGO_SCRIPT_RUNIC") 443 '("sinhala" "PANGO_SCRIPT_SINHALA") 444 '("syriac" "PANGO_SCRIPT_SYRIAC") 445 '("tamil" "PANGO_SCRIPT_TAMIL") 446 '("telugu" "PANGO_SCRIPT_TELUGU") 447 '("thaana" "PANGO_SCRIPT_THAANA") 448 '("thai" "PANGO_SCRIPT_THAI") 449 '("tibetan" "PANGO_SCRIPT_TIBETAN") 450 '("canadian-aboriginal" "PANGO_SCRIPT_CANADIAN_ABORIGINAL") 451 '("yi" "PANGO_SCRIPT_YI") 452 '("tagalog" "PANGO_SCRIPT_TAGALOG") 453 '("hanunoo" "PANGO_SCRIPT_HANUNOO") 454 '("buhid" "PANGO_SCRIPT_BUHID") 455 '("tagbanwa" "PANGO_SCRIPT_TAGBANWA") 456 '("braille" "PANGO_SCRIPT_BRAILLE") 457 '("cypriot" "PANGO_SCRIPT_CYPRIOT") 458 '("limbu" "PANGO_SCRIPT_LIMBU") 459 '("osmanya" "PANGO_SCRIPT_OSMANYA") 460 '("shavian" "PANGO_SCRIPT_SHAVIAN") 461 '("linear-b" "PANGO_SCRIPT_LINEAR_B") 462 '("tai-le" "PANGO_SCRIPT_TAI_LE") 463 '("ugaritic" "PANGO_SCRIPT_UGARITIC") 464 '("new-tai-lue" "PANGO_SCRIPT_NEW_TAI_LUE") 465 '("buginese" "PANGO_SCRIPT_BUGINESE") 466 '("glagolitic" "PANGO_SCRIPT_GLAGOLITIC") 467 '("tifinagh" "PANGO_SCRIPT_TIFINAGH") 468 '("syloti-nagri" "PANGO_SCRIPT_SYLOTI_NAGRI") 469 '("old-persian" "PANGO_SCRIPT_OLD_PERSIAN") 470 '("kharoshthi" "PANGO_SCRIPT_KHAROSHTHI") 471 '("unknown" "PANGO_SCRIPT_UNKNOWN") 472 '("balinese" "PANGO_SCRIPT_BALINESE") 473 '("cuneiform" "PANGO_SCRIPT_CUNEIFORM") 474 '("phoenician" "PANGO_SCRIPT_PHOENICIAN") 475 '("phags-pa" "PANGO_SCRIPT_PHAGS_PA") 476 '("nko" "PANGO_SCRIPT_NKO") 477 '("kayah-li" "PANGO_SCRIPT_KAYAH_LI") 478 '("lepcha" "PANGO_SCRIPT_LEPCHA") 479 '("rejang" "PANGO_SCRIPT_REJANG") 480 '("sundanese" "PANGO_SCRIPT_SUNDANESE") 481 '("saurashtra" "PANGO_SCRIPT_SAURASHTRA") 482 '("cham" "PANGO_SCRIPT_CHAM") 483 '("ol-chiki" "PANGO_SCRIPT_OL_CHIKI") 484 '("vai" "PANGO_SCRIPT_VAI") 485 '("carian" "PANGO_SCRIPT_CARIAN") 486 '("lycian" "PANGO_SCRIPT_LYCIAN") 487 '("lydian" "PANGO_SCRIPT_LYDIAN") 488 '("batak" "PANGO_SCRIPT_BATAK") 489 '("brahmi" "PANGO_SCRIPT_BRAHMI") 490 '("mandaic" "PANGO_SCRIPT_MANDAIC") 491 '("chakma" "PANGO_SCRIPT_CHAKMA") 492 '("meroitic-cursive" "PANGO_SCRIPT_MEROITIC_CURSIVE") 493 '("meroitic-hieroglyphs" "PANGO_SCRIPT_MEROITIC_HIEROGLYPHS") 494 '("miao" "PANGO_SCRIPT_MIAO") 495 '("sharada" "PANGO_SCRIPT_SHARADA") 496 '("sora-sompeng" "PANGO_SCRIPT_SORA_SOMPENG") 497 '("takri" "PANGO_SCRIPT_TAKRI") 498 '("bassa-vah" "PANGO_SCRIPT_BASSA_VAH") 499 '("caucasian-albanian" "PANGO_SCRIPT_CAUCASIAN_ALBANIAN") 500 '("duployan" "PANGO_SCRIPT_DUPLOYAN") 501 '("elbasan" "PANGO_SCRIPT_ELBASAN") 502 '("grantha" "PANGO_SCRIPT_GRANTHA") 503 '("khojki" "PANGO_SCRIPT_KHOJKI") 504 '("khudawadi" "PANGO_SCRIPT_KHUDAWADI") 505 '("linear-a" "PANGO_SCRIPT_LINEAR_A") 506 '("mahajani" "PANGO_SCRIPT_MAHAJANI") 507 '("manichaean" "PANGO_SCRIPT_MANICHAEAN") 508 '("mende-kikakui" "PANGO_SCRIPT_MENDE_KIKAKUI") 509 '("modi" "PANGO_SCRIPT_MODI") 510 '("mro" "PANGO_SCRIPT_MRO") 511 '("nabataean" "PANGO_SCRIPT_NABATAEAN") 512 '("old-north-arabian" "PANGO_SCRIPT_OLD_NORTH_ARABIAN") 513 '("old-permic" "PANGO_SCRIPT_OLD_PERMIC") 514 '("pahawh-hmong" "PANGO_SCRIPT_PAHAWH_HMONG") 515 '("palmyrene" "PANGO_SCRIPT_PALMYRENE") 516 '("pau-cin-hau" "PANGO_SCRIPT_PAU_CIN_HAU") 517 '("psalter-pahlavi" "PANGO_SCRIPT_PSALTER_PAHLAVI") 518 '("siddham" "PANGO_SCRIPT_SIDDHAM") 519 '("tirhuta" "PANGO_SCRIPT_TIRHUTA") 520 '("warang-citi" "PANGO_SCRIPT_WARANG_CITI") 521 '("ahom" "PANGO_SCRIPT_AHOM") 522 '("anatolian-hieroglyphs" "PANGO_SCRIPT_ANATOLIAN_HIEROGLYPHS") 523 '("hatran" "PANGO_SCRIPT_HATRAN") 524 '("multani" "PANGO_SCRIPT_MULTANI") 525 '("old-hungarian" "PANGO_SCRIPT_OLD_HUNGARIAN") 526 '("signwriting" "PANGO_SCRIPT_SIGNWRITING") 527 ) 528) 529 530(define-enum TabAlign 531 (in-module "Pango") 532 (c-name "PangoTabAlign") 533 (gtype-id "PANGO_TYPE_TAB_ALIGN") 534 (values 535 '("left" "PANGO_TAB_LEFT") 536 ) 537) 538 539 540;; From module-defs.h 541 542 543 544;; From pango-attributes.h 545 546(define-function pango_color_get_type 547 (c-name "pango_color_get_type") 548 (return-type "GType") 549) 550 551(define-method copy 552 (of-object "PangoColor") 553 (c-name "pango_color_copy") 554 (return-type "PangoColor*") 555) 556 557(define-method free 558 (of-object "PangoColor") 559 (c-name "pango_color_free") 560 (return-type "none") 561) 562 563(define-method parse 564 (of-object "PangoColor") 565 (c-name "pango_color_parse") 566 (return-type "gboolean") 567 (parameters 568 '("const-char*" "spec") 569 ) 570) 571 572(define-method to_string 573 (of-object "PangoColor") 574 (c-name "pango_color_to_string") 575 (return-type "gchar*") 576) 577 578(define-function pango_attr_type_register 579 (c-name "pango_attr_type_register") 580 (return-type "PangoAttrType") 581 (parameters 582 '("const-gchar*" "name") 583 ) 584) 585 586(define-method get_name 587 (of-object "PangoAttrType") 588 (c-name "pango_attr_type_get_name") 589 (return-type "const-char*") 590) 591 592(define-method init 593 (of-object "PangoAttribute") 594 (c-name "pango_attribute_init") 595 (return-type "none") 596 (parameters 597 '("const-PangoAttrClass*" "klass") 598 ) 599) 600 601(define-method copy 602 (of-object "PangoAttribute") 603 (c-name "pango_attribute_copy") 604 (return-type "PangoAttribute*") 605) 606 607(define-method destroy 608 (of-object "PangoAttribute") 609 (c-name "pango_attribute_destroy") 610 (return-type "none") 611) 612 613(define-method equal 614 (of-object "PangoAttribute") 615 (c-name "pango_attribute_equal") 616 (return-type "gboolean") 617 (parameters 618 '("const-PangoAttribute*" "attr2") 619 ) 620) 621 622(define-function pango_attr_language_new 623 (c-name "pango_attr_language_new") 624 (is-constructor-of "PangoAttrLanguage") 625 (return-type "PangoAttribute*") 626 (parameters 627 '("PangoLanguage*" "language") 628 ) 629) 630 631(define-function pango_attr_family_new 632 (c-name "pango_attr_family_new") 633 (is-constructor-of "PangoAttrFamily") 634 (return-type "PangoAttribute*") 635 (parameters 636 '("const-char*" "family") 637 ) 638) 639 640(define-function pango_attr_foreground_new 641 (c-name "pango_attr_foreground_new") 642 (is-constructor-of "PangoAttrForeground") 643 (return-type "PangoAttribute*") 644 (parameters 645 '("guint16" "red") 646 '("guint16" "green") 647 '("guint16" "blue") 648 ) 649) 650 651(define-function pango_attr_background_new 652 (c-name "pango_attr_background_new") 653 (is-constructor-of "PangoAttrBackground") 654 (return-type "PangoAttribute*") 655 (parameters 656 '("guint16" "red") 657 '("guint16" "green") 658 '("guint16" "blue") 659 ) 660) 661 662(define-function pango_attr_size_new 663 (c-name "pango_attr_size_new") 664 (is-constructor-of "PangoAttrSize") 665 (return-type "PangoAttribute*") 666 (parameters 667 '("int" "size") 668 ) 669) 670 671(define-function pango_attr_size_new_absolute 672 (c-name "pango_attr_size_new_absolute") 673 (return-type "PangoAttribute*") 674 (parameters 675 '("int" "size") 676 ) 677) 678 679(define-function pango_attr_style_new 680 (c-name "pango_attr_style_new") 681 (is-constructor-of "PangoAttrStyle") 682 (return-type "PangoAttribute*") 683 (parameters 684 '("PangoStyle" "style") 685 ) 686) 687 688(define-function pango_attr_weight_new 689 (c-name "pango_attr_weight_new") 690 (is-constructor-of "PangoAttrWeight") 691 (return-type "PangoAttribute*") 692 (parameters 693 '("PangoWeight" "weight") 694 ) 695) 696 697(define-function pango_attr_variant_new 698 (c-name "pango_attr_variant_new") 699 (is-constructor-of "PangoAttrVariant") 700 (return-type "PangoAttribute*") 701 (parameters 702 '("PangoVariant" "variant") 703 ) 704) 705 706(define-function pango_attr_stretch_new 707 (c-name "pango_attr_stretch_new") 708 (is-constructor-of "PangoAttrStretch") 709 (return-type "PangoAttribute*") 710 (parameters 711 '("PangoStretch" "stretch") 712 ) 713) 714 715(define-function pango_attr_font_desc_new 716 (c-name "pango_attr_font_desc_new") 717 (is-constructor-of "PangoAttrFontDesc") 718 (return-type "PangoAttribute*") 719 (parameters 720 '("const-PangoFontDescription*" "desc") 721 ) 722) 723 724(define-function pango_attr_underline_new 725 (c-name "pango_attr_underline_new") 726 (is-constructor-of "PangoAttrUnderline") 727 (return-type "PangoAttribute*") 728 (parameters 729 '("PangoUnderline" "underline") 730 ) 731) 732 733(define-function pango_attr_underline_color_new 734 (c-name "pango_attr_underline_color_new") 735 (is-constructor-of "PangoAttrUnderlineColor") 736 (return-type "PangoAttribute*") 737 (parameters 738 '("guint16" "red") 739 '("guint16" "green") 740 '("guint16" "blue") 741 ) 742) 743 744(define-function pango_attr_strikethrough_new 745 (c-name "pango_attr_strikethrough_new") 746 (is-constructor-of "PangoAttrStrikethrough") 747 (return-type "PangoAttribute*") 748 (parameters 749 '("gboolean" "strikethrough") 750 ) 751) 752 753(define-function pango_attr_strikethrough_color_new 754 (c-name "pango_attr_strikethrough_color_new") 755 (is-constructor-of "PangoAttrStrikethroughColor") 756 (return-type "PangoAttribute*") 757 (parameters 758 '("guint16" "red") 759 '("guint16" "green") 760 '("guint16" "blue") 761 ) 762) 763 764(define-function pango_attr_rise_new 765 (c-name "pango_attr_rise_new") 766 (is-constructor-of "PangoAttrRise") 767 (return-type "PangoAttribute*") 768 (parameters 769 '("int" "rise") 770 ) 771) 772 773(define-function pango_attr_scale_new 774 (c-name "pango_attr_scale_new") 775 (is-constructor-of "PangoAttrScale") 776 (return-type "PangoAttribute*") 777 (parameters 778 '("double" "scale_factor") 779 ) 780) 781 782(define-function pango_attr_fallback_new 783 (c-name "pango_attr_fallback_new") 784 (is-constructor-of "PangoAttrFallback") 785 (return-type "PangoAttribute*") 786 (parameters 787 '("gboolean" "enable_fallback") 788 ) 789) 790 791(define-function pango_attr_letter_spacing_new 792 (c-name "pango_attr_letter_spacing_new") 793 (is-constructor-of "PangoAttrLetterSpacing") 794 (return-type "PangoAttribute*") 795 (parameters 796 '("int" "letter_spacing") 797 ) 798) 799 800(define-function pango_attr_shape_new 801 (c-name "pango_attr_shape_new") 802 (is-constructor-of "PangoAttrShape") 803 (return-type "PangoAttribute*") 804 (parameters 805 '("const-PangoRectangle*" "ink_rect") 806 '("const-PangoRectangle*" "logical_rect") 807 ) 808) 809 810(define-function pango_attr_shape_new_with_data 811 (c-name "pango_attr_shape_new_with_data") 812 (return-type "PangoAttribute*") 813 (parameters 814 '("const-PangoRectangle*" "ink_rect") 815 '("const-PangoRectangle*" "logical_rect") 816 '("gpointer" "data") 817 '("PangoAttrDataCopyFunc" "copy_func") 818 '("GDestroyNotify" "destroy_func") 819 ) 820) 821 822(define-function pango_attr_gravity_new 823 (c-name "pango_attr_gravity_new") 824 (is-constructor-of "PangoAttrGravity") 825 (return-type "PangoAttribute*") 826 (parameters 827 '("PangoGravity" "gravity") 828 ) 829) 830 831(define-function pango_attr_gravity_hint_new 832 (c-name "pango_attr_gravity_hint_new") 833 (is-constructor-of "PangoAttrGravityHint") 834 (return-type "PangoAttribute*") 835 (parameters 836 '("PangoGravityHint" "hint") 837 ) 838) 839 840(define-function pango_attr_font_features_new 841 (c-name "pango_attr_font_features_new") 842 (is-constructor-of "PangoAttrFontFeatures") 843 (return-type "PangoAttribute*") 844 (parameters 845 '("const-gchar*" "features") 846 ) 847) 848 849(define-function pango_attr_foreground_alpha_new 850 (c-name "pango_attr_foreground_alpha_new") 851 (is-constructor-of "PangoAttrForegroundAlpha") 852 (return-type "PangoAttribute*") 853 (parameters 854 '("guint16" "alpha") 855 ) 856) 857 858(define-function pango_attr_background_alpha_new 859 (c-name "pango_attr_background_alpha_new") 860 (is-constructor-of "PangoAttrBackgroundAlpha") 861 (return-type "PangoAttribute*") 862 (parameters 863 '("guint16" "alpha") 864 ) 865) 866 867(define-function pango_attr_list_get_type 868 (c-name "pango_attr_list_get_type") 869 (return-type "GType") 870) 871 872(define-function pango_attr_list_new 873 (c-name "pango_attr_list_new") 874 (is-constructor-of "PangoAttrList") 875 (return-type "PangoAttrList*") 876) 877 878(define-method ref 879 (of-object "PangoAttrList") 880 (c-name "pango_attr_list_ref") 881 (return-type "PangoAttrList*") 882) 883 884(define-method unref 885 (of-object "PangoAttrList") 886 (c-name "pango_attr_list_unref") 887 (return-type "none") 888) 889 890(define-method copy 891 (of-object "PangoAttrList") 892 (c-name "pango_attr_list_copy") 893 (return-type "PangoAttrList*") 894) 895 896(define-method insert 897 (of-object "PangoAttrList") 898 (c-name "pango_attr_list_insert") 899 (return-type "none") 900 (parameters 901 '("PangoAttribute*" "attr") 902 ) 903) 904 905(define-method insert_before 906 (of-object "PangoAttrList") 907 (c-name "pango_attr_list_insert_before") 908 (return-type "none") 909 (parameters 910 '("PangoAttribute*" "attr") 911 ) 912) 913 914(define-method change 915 (of-object "PangoAttrList") 916 (c-name "pango_attr_list_change") 917 (return-type "none") 918 (parameters 919 '("PangoAttribute*" "attr") 920 ) 921) 922 923(define-method splice 924 (of-object "PangoAttrList") 925 (c-name "pango_attr_list_splice") 926 (return-type "none") 927 (parameters 928 '("PangoAttrList*" "other") 929 '("gint" "pos") 930 '("gint" "len") 931 ) 932) 933 934(define-method filter 935 (of-object "PangoAttrList") 936 (c-name "pango_attr_list_filter") 937 (return-type "PangoAttrList*") 938 (parameters 939 '("PangoAttrFilterFunc" "func") 940 '("gpointer" "data") 941 ) 942) 943 944(define-method get_iterator 945 (of-object "PangoAttrList") 946 (c-name "pango_attr_list_get_iterator") 947 (return-type "PangoAttrIterator*") 948) 949 950(define-method range 951 (of-object "PangoAttrIterator") 952 (c-name "pango_attr_iterator_range") 953 (return-type "none") 954 (parameters 955 '("gint*" "start") 956 '("gint*" "end") 957 ) 958) 959 960(define-method next 961 (of-object "PangoAttrIterator") 962 (c-name "pango_attr_iterator_next") 963 (return-type "gboolean") 964) 965 966(define-method copy 967 (of-object "PangoAttrIterator") 968 (c-name "pango_attr_iterator_copy") 969 (return-type "PangoAttrIterator*") 970) 971 972(define-method destroy 973 (of-object "PangoAttrIterator") 974 (c-name "pango_attr_iterator_destroy") 975 (return-type "none") 976) 977 978(define-method get 979 (of-object "PangoAttrIterator") 980 (c-name "pango_attr_iterator_get") 981 (return-type "PangoAttribute*") 982 (parameters 983 '("PangoAttrType" "type") 984 ) 985) 986 987(define-method get_font 988 (of-object "PangoAttrIterator") 989 (c-name "pango_attr_iterator_get_font") 990 (return-type "none") 991 (parameters 992 '("PangoFontDescription*" "desc") 993 '("PangoLanguage**" "language") 994 '("GSList**" "extra_attrs") 995 ) 996) 997 998(define-method get_attrs 999 (of-object "PangoAttrIterator") 1000 (c-name "pango_attr_iterator_get_attrs") 1001 (return-type "GSList*") 1002) 1003 1004(define-function pango_parse_markup 1005 (c-name "pango_parse_markup") 1006 (return-type "gboolean") 1007 (parameters 1008 '("const-char*" "markup_text") 1009 '("int" "length") 1010 '("gunichar" "accel_marker") 1011 '("PangoAttrList**" "attr_list") 1012 '("char**" "text") 1013 '("gunichar*" "accel_char") 1014 '("GError**" "error") 1015 ) 1016) 1017 1018(define-function pango_markup_parser_new 1019 (c-name "pango_markup_parser_new") 1020 (is-constructor-of "PangoMarkupParser") 1021 (return-type "GMarkupParseContext*") 1022 (parameters 1023 '("gunichar" "accel_marker") 1024 ) 1025) 1026 1027(define-function pango_markup_parser_finish 1028 (c-name "pango_markup_parser_finish") 1029 (return-type "gboolean") 1030 (parameters 1031 '("GMarkupParseContext*" "context") 1032 '("PangoAttrList**" "attr_list") 1033 '("char**" "text") 1034 '("gunichar*" "accel_char") 1035 '("GError**" "error") 1036 ) 1037) 1038 1039 1040 1041;; From pango-bidi-type.h 1042 1043(define-function pango_bidi_type_for_unichar 1044 (c-name "pango_bidi_type_for_unichar") 1045 (return-type "PangoBidiType") 1046 (parameters 1047 '("gunichar" "ch") 1048 ) 1049) 1050 1051(define-function pango_unichar_direction 1052 (c-name "pango_unichar_direction") 1053 (return-type "PangoDirection") 1054 (parameters 1055 '("gunichar" "ch") 1056 ) 1057) 1058 1059(define-function pango_find_base_dir 1060 (c-name "pango_find_base_dir") 1061 (return-type "PangoDirection") 1062 (parameters 1063 '("const-gchar*" "text") 1064 '("gint" "length") 1065 ) 1066) 1067 1068(define-function pango_get_mirror_char 1069 (c-name "pango_get_mirror_char") 1070 (return-type "gboolean") 1071 (parameters 1072 '("gunichar" "ch") 1073 '("gunichar*" "mirrored_ch") 1074 ) 1075) 1076 1077 1078 1079;; From pango-break.h 1080 1081(define-function pango_break 1082 (c-name "pango_break") 1083 (return-type "none") 1084 (parameters 1085 '("const-gchar*" "text") 1086 '("int" "length") 1087 '("PangoAnalysis*" "analysis") 1088 '("PangoLogAttr*" "attrs") 1089 '("int" "attrs_len") 1090 ) 1091) 1092 1093(define-function pango_find_paragraph_boundary 1094 (c-name "pango_find_paragraph_boundary") 1095 (return-type "none") 1096 (parameters 1097 '("const-gchar*" "text") 1098 '("gint" "length") 1099 '("gint*" "paragraph_delimiter_index") 1100 '("gint*" "next_paragraph_start") 1101 ) 1102) 1103 1104(define-function pango_get_log_attrs 1105 (c-name "pango_get_log_attrs") 1106 (return-type "none") 1107 (parameters 1108 '("const-char*" "text") 1109 '("int" "length") 1110 '("int" "level") 1111 '("PangoLanguage*" "language") 1112 '("PangoLogAttr*" "log_attrs") 1113 '("int" "attrs_len") 1114 ) 1115) 1116 1117(define-function pango_default_break 1118 (c-name "pango_default_break") 1119 (return-type "none") 1120 (parameters 1121 '("const-gchar*" "text") 1122 '("int" "length") 1123 '("PangoAnalysis*" "analysis") 1124 '("PangoLogAttr*" "attrs") 1125 '("int" "attrs_len") 1126 ) 1127) 1128 1129 1130 1131;; From pangocairo-coretextfont.h 1132 1133(define-function pango_cairo_core_text_font_get_type 1134 (c-name "pango_cairo_core_text_font_get_type") 1135 (return-type "GType") 1136) 1137 1138 1139 1140;; From pangocairo-coretext.h 1141 1142(define-function pango_cairo_core_text_font_map_get_type 1143 (c-name "pango_cairo_core_text_font_map_get_type") 1144 (return-type "GType") 1145) 1146 1147 1148 1149;; From pangocairo-fc.h 1150 1151(define-function pango_cairo_fc_font_map_get_type 1152 (c-name "pango_cairo_fc_font_map_get_type") 1153 (return-type "GType") 1154) 1155 1156 1157 1158;; From pangocairo.h 1159 1160(define-function pango_cairo_font_map_get_type 1161 (c-name "pango_cairo_font_map_get_type") 1162 (return-type "GType") 1163) 1164 1165(define-function pango_cairo_font_map_new 1166 (c-name "pango_cairo_font_map_new") 1167 (is-constructor-of "PangoCairoFontMap") 1168 (return-type "PangoFontMap*") 1169) 1170 1171(define-function pango_cairo_font_map_new_for_font_type 1172 (c-name "pango_cairo_font_map_new_for_font_type") 1173 (return-type "PangoFontMap*") 1174 (parameters 1175 '("cairo_font_type_t" "fonttype") 1176 ) 1177) 1178 1179(define-function pango_cairo_font_map_get_default 1180 (c-name "pango_cairo_font_map_get_default") 1181 (return-type "PangoFontMap*") 1182) 1183 1184(define-method set_default 1185 (of-object "PangoCairoFontMap") 1186 (c-name "pango_cairo_font_map_set_default") 1187 (return-type "none") 1188) 1189 1190(define-method get_font_type 1191 (of-object "PangoCairoFontMap") 1192 (c-name "pango_cairo_font_map_get_font_type") 1193 (return-type "cairo_font_type_t") 1194) 1195 1196(define-method set_resolution 1197 (of-object "PangoCairoFontMap") 1198 (c-name "pango_cairo_font_map_set_resolution") 1199 (return-type "none") 1200 (parameters 1201 '("double" "dpi") 1202 ) 1203) 1204 1205(define-method get_resolution 1206 (of-object "PangoCairoFontMap") 1207 (c-name "pango_cairo_font_map_get_resolution") 1208 (return-type "double") 1209) 1210 1211(define-method create_context 1212 (of-object "PangoCairoFontMap") 1213 (c-name "pango_cairo_font_map_create_context") 1214 (return-type "PangoContext*") 1215) 1216 1217(define-function pango_cairo_font_get_type 1218 (c-name "pango_cairo_font_get_type") 1219 (return-type "GType") 1220) 1221 1222(define-method get_scaled_font 1223 (of-object "PangoCairoFont") 1224 (c-name "pango_cairo_font_get_scaled_font") 1225 (return-type "cairo_scaled_font_t*") 1226) 1227 1228(define-function pango_cairo_update_context 1229 (c-name "pango_cairo_update_context") 1230 (return-type "none") 1231 (parameters 1232 '("cairo_t*" "cr") 1233 '("PangoContext*" "context") 1234 ) 1235) 1236 1237(define-function pango_cairo_context_set_font_options 1238 (c-name "pango_cairo_context_set_font_options") 1239 (return-type "none") 1240 (parameters 1241 '("PangoContext*" "context") 1242 '("const-cairo_font_options_t*" "options") 1243 ) 1244) 1245 1246(define-function pango_cairo_context_get_font_options 1247 (c-name "pango_cairo_context_get_font_options") 1248 (return-type "const-cairo_font_options_t*") 1249 (parameters 1250 '("PangoContext*" "context") 1251 ) 1252) 1253 1254(define-function pango_cairo_context_set_resolution 1255 (c-name "pango_cairo_context_set_resolution") 1256 (return-type "none") 1257 (parameters 1258 '("PangoContext*" "context") 1259 '("double" "dpi") 1260 ) 1261) 1262 1263(define-function pango_cairo_context_get_resolution 1264 (c-name "pango_cairo_context_get_resolution") 1265 (return-type "double") 1266 (parameters 1267 '("PangoContext*" "context") 1268 ) 1269) 1270 1271(define-function pango_cairo_context_set_shape_renderer 1272 (c-name "pango_cairo_context_set_shape_renderer") 1273 (return-type "none") 1274 (parameters 1275 '("PangoContext*" "context") 1276 '("PangoCairoShapeRendererFunc" "func") 1277 '("gpointer" "data") 1278 '("GDestroyNotify" "dnotify") 1279 ) 1280) 1281 1282(define-function pango_cairo_context_get_shape_renderer 1283 (c-name "pango_cairo_context_get_shape_renderer") 1284 (return-type "PangoCairoShapeRendererFunc") 1285 (parameters 1286 '("PangoContext*" "context") 1287 '("gpointer*" "data") 1288 ) 1289) 1290 1291(define-function pango_cairo_create_context 1292 (c-name "pango_cairo_create_context") 1293 (return-type "PangoContext*") 1294 (parameters 1295 '("cairo_t*" "cr") 1296 ) 1297) 1298 1299(define-function pango_cairo_create_layout 1300 (c-name "pango_cairo_create_layout") 1301 (return-type "PangoLayout*") 1302 (parameters 1303 '("cairo_t*" "cr") 1304 ) 1305) 1306 1307(define-function pango_cairo_update_layout 1308 (c-name "pango_cairo_update_layout") 1309 (return-type "none") 1310 (parameters 1311 '("cairo_t*" "cr") 1312 '("PangoLayout*" "layout") 1313 ) 1314) 1315 1316(define-function pango_cairo_show_glyph_string 1317 (c-name "pango_cairo_show_glyph_string") 1318 (return-type "none") 1319 (parameters 1320 '("cairo_t*" "cr") 1321 '("PangoFont*" "font") 1322 '("PangoGlyphString*" "glyphs") 1323 ) 1324) 1325 1326(define-function pango_cairo_show_glyph_item 1327 (c-name "pango_cairo_show_glyph_item") 1328 (return-type "none") 1329 (parameters 1330 '("cairo_t*" "cr") 1331 '("const-char*" "text") 1332 '("PangoGlyphItem*" "glyph_item") 1333 ) 1334) 1335 1336(define-function pango_cairo_show_layout_line 1337 (c-name "pango_cairo_show_layout_line") 1338 (return-type "none") 1339 (parameters 1340 '("cairo_t*" "cr") 1341 '("PangoLayoutLine*" "line") 1342 ) 1343) 1344 1345(define-function pango_cairo_show_layout 1346 (c-name "pango_cairo_show_layout") 1347 (return-type "none") 1348 (parameters 1349 '("cairo_t*" "cr") 1350 '("PangoLayout*" "layout") 1351 ) 1352) 1353 1354(define-function pango_cairo_show_error_underline 1355 (c-name "pango_cairo_show_error_underline") 1356 (return-type "none") 1357 (parameters 1358 '("cairo_t*" "cr") 1359 '("double" "x") 1360 '("double" "y") 1361 '("double" "width") 1362 '("double" "height") 1363 ) 1364) 1365 1366(define-function pango_cairo_glyph_string_path 1367 (c-name "pango_cairo_glyph_string_path") 1368 (return-type "none") 1369 (parameters 1370 '("cairo_t*" "cr") 1371 '("PangoFont*" "font") 1372 '("PangoGlyphString*" "glyphs") 1373 ) 1374) 1375 1376(define-function pango_cairo_layout_line_path 1377 (c-name "pango_cairo_layout_line_path") 1378 (return-type "none") 1379 (parameters 1380 '("cairo_t*" "cr") 1381 '("PangoLayoutLine*" "line") 1382 ) 1383) 1384 1385(define-function pango_cairo_layout_path 1386 (c-name "pango_cairo_layout_path") 1387 (return-type "none") 1388 (parameters 1389 '("cairo_t*" "cr") 1390 '("PangoLayout*" "layout") 1391 ) 1392) 1393 1394(define-function pango_cairo_error_underline_path 1395 (c-name "pango_cairo_error_underline_path") 1396 (return-type "none") 1397 (parameters 1398 '("cairo_t*" "cr") 1399 '("double" "x") 1400 '("double" "y") 1401 '("double" "width") 1402 '("double" "height") 1403 ) 1404) 1405 1406 1407 1408;; From pangocairo-private.h 1409 1410(define-function pango_cairo_renderer_get_type 1411 (c-name "pango_cairo_renderer_get_type") 1412 (return-type "GType") 1413) 1414 1415 1416 1417;; From pangocairo-win32.h 1418 1419(define-function pango_cairo_win32_font_map_get_type 1420 (c-name "pango_cairo_win32_font_map_get_type") 1421 (return-type "GType") 1422) 1423 1424 1425 1426;; From pango-color-table.h 1427 1428 1429 1430;; From pango-context.h 1431 1432(define-function pango_context_get_type 1433 (c-name "pango_context_get_type") 1434 (return-type "GType") 1435) 1436 1437(define-function pango_context_new 1438 (c-name "pango_context_new") 1439 (is-constructor-of "PangoContext") 1440 (return-type "PangoContext*") 1441) 1442 1443(define-method changed 1444 (of-object "PangoContext") 1445 (c-name "pango_context_changed") 1446 (return-type "none") 1447) 1448 1449(define-method set_font_map 1450 (of-object "PangoContext") 1451 (c-name "pango_context_set_font_map") 1452 (return-type "none") 1453 (parameters 1454 '("PangoFontMap*" "font_map") 1455 ) 1456) 1457 1458(define-method get_font_map 1459 (of-object "PangoContext") 1460 (c-name "pango_context_get_font_map") 1461 (return-type "PangoFontMap*") 1462) 1463 1464(define-method get_serial 1465 (of-object "PangoContext") 1466 (c-name "pango_context_get_serial") 1467 (return-type "guint") 1468) 1469 1470(define-method list_families 1471 (of-object "PangoContext") 1472 (c-name "pango_context_list_families") 1473 (return-type "none") 1474 (parameters 1475 '("PangoFontFamily***" "families") 1476 '("int*" "n_families") 1477 ) 1478) 1479 1480(define-method load_font 1481 (of-object "PangoContext") 1482 (c-name "pango_context_load_font") 1483 (return-type "PangoFont*") 1484 (parameters 1485 '("const-PangoFontDescription*" "desc") 1486 ) 1487) 1488 1489(define-method load_fontset 1490 (of-object "PangoContext") 1491 (c-name "pango_context_load_fontset") 1492 (return-type "PangoFontset*") 1493 (parameters 1494 '("const-PangoFontDescription*" "desc") 1495 '("PangoLanguage*" "language") 1496 ) 1497) 1498 1499(define-method get_metrics 1500 (of-object "PangoContext") 1501 (c-name "pango_context_get_metrics") 1502 (return-type "PangoFontMetrics*") 1503 (parameters 1504 '("const-PangoFontDescription*" "desc") 1505 '("PangoLanguage*" "language") 1506 ) 1507) 1508 1509(define-method set_font_description 1510 (of-object "PangoContext") 1511 (c-name "pango_context_set_font_description") 1512 (return-type "none") 1513 (parameters 1514 '("const-PangoFontDescription*" "desc") 1515 ) 1516) 1517 1518(define-method get_font_description 1519 (of-object "PangoContext") 1520 (c-name "pango_context_get_font_description") 1521 (return-type "PangoFontDescription*") 1522) 1523 1524(define-method get_language 1525 (of-object "PangoContext") 1526 (c-name "pango_context_get_language") 1527 (return-type "PangoLanguage*") 1528) 1529 1530(define-method set_language 1531 (of-object "PangoContext") 1532 (c-name "pango_context_set_language") 1533 (return-type "none") 1534 (parameters 1535 '("PangoLanguage*" "language") 1536 ) 1537) 1538 1539(define-method set_base_dir 1540 (of-object "PangoContext") 1541 (c-name "pango_context_set_base_dir") 1542 (return-type "none") 1543 (parameters 1544 '("PangoDirection" "direction") 1545 ) 1546) 1547 1548(define-method get_base_dir 1549 (of-object "PangoContext") 1550 (c-name "pango_context_get_base_dir") 1551 (return-type "PangoDirection") 1552) 1553 1554(define-method set_base_gravity 1555 (of-object "PangoContext") 1556 (c-name "pango_context_set_base_gravity") 1557 (return-type "none") 1558 (parameters 1559 '("PangoGravity" "gravity") 1560 ) 1561) 1562 1563(define-method get_base_gravity 1564 (of-object "PangoContext") 1565 (c-name "pango_context_get_base_gravity") 1566 (return-type "PangoGravity") 1567) 1568 1569(define-method get_gravity 1570 (of-object "PangoContext") 1571 (c-name "pango_context_get_gravity") 1572 (return-type "PangoGravity") 1573) 1574 1575(define-method set_gravity_hint 1576 (of-object "PangoContext") 1577 (c-name "pango_context_set_gravity_hint") 1578 (return-type "none") 1579 (parameters 1580 '("PangoGravityHint" "hint") 1581 ) 1582) 1583 1584(define-method get_gravity_hint 1585 (of-object "PangoContext") 1586 (c-name "pango_context_get_gravity_hint") 1587 (return-type "PangoGravityHint") 1588) 1589 1590(define-method set_matrix 1591 (of-object "PangoContext") 1592 (c-name "pango_context_set_matrix") 1593 (return-type "none") 1594 (parameters 1595 '("const-PangoMatrix*" "matrix") 1596 ) 1597) 1598 1599(define-method get_matrix 1600 (of-object "PangoContext") 1601 (c-name "pango_context_get_matrix") 1602 (return-type "const-PangoMatrix*") 1603) 1604 1605(define-function pango_itemize 1606 (c-name "pango_itemize") 1607 (return-type "GList*") 1608 (parameters 1609 '("PangoContext*" "context") 1610 '("const-char*" "text") 1611 '("int" "start_index") 1612 '("int" "length") 1613 '("PangoAttrList*" "attrs") 1614 '("PangoAttrIterator*" "cached_iter") 1615 ) 1616) 1617 1618(define-function pango_itemize_with_base_dir 1619 (c-name "pango_itemize_with_base_dir") 1620 (return-type "GList*") 1621 (parameters 1622 '("PangoContext*" "context") 1623 '("PangoDirection" "base_dir") 1624 '("const-char*" "text") 1625 '("int" "start_index") 1626 '("int" "length") 1627 '("PangoAttrList*" "attrs") 1628 '("PangoAttrIterator*" "cached_iter") 1629 ) 1630) 1631 1632 1633 1634;; From pangocoretext.h 1635 1636(define-method get_ctfont 1637 (of-object "PangoCoreTextFont") 1638 (c-name "pango_core_text_font_get_ctfont") 1639 (return-type "CTFontRef") 1640) 1641 1642(define-function pango_core_text_font_get_type 1643 (c-name "pango_core_text_font_get_type") 1644 (return-type "GType") 1645) 1646 1647 1648 1649;; From pangocoretext-private.h 1650 1651(define-function pango_core_text_font_map_get_type 1652 (c-name "pango_core_text_font_map_get_type") 1653 (return-type "GType") 1654) 1655 1656(define-method get_absolute_size 1657 (of-object "PangoCoreTextFontKey") 1658 (c-name "pango_core_text_font_key_get_absolute_size") 1659 (return-type "int") 1660) 1661 1662(define-method get_resolution 1663 (of-object "PangoCoreTextFontKey") 1664 (c-name "pango_core_text_font_key_get_resolution") 1665 (return-type "double") 1666) 1667 1668(define-method get_synthetic_italic 1669 (of-object "PangoCoreTextFontKey") 1670 (c-name "pango_core_text_font_key_get_synthetic_italic") 1671 (return-type "gboolean") 1672) 1673 1674(define-method get_context_key 1675 (of-object "PangoCoreTextFontKey") 1676 (c-name "pango_core_text_font_key_get_context_key") 1677 (return-type "gpointer") 1678) 1679 1680(define-method get_matrix 1681 (of-object "PangoCoreTextFontKey") 1682 (c-name "pango_core_text_font_key_get_matrix") 1683 (return-type "const-PangoMatrix*") 1684) 1685 1686(define-method get_gravity 1687 (of-object "PangoCoreTextFontKey") 1688 (c-name "pango_core_text_font_key_get_gravity") 1689 (return-type "PangoGravity") 1690) 1691 1692(define-method get_ctfontdescriptor 1693 (of-object "PangoCoreTextFontKey") 1694 (c-name "pango_core_text_font_key_get_ctfontdescriptor") 1695 (return-type "CTFontDescriptorRef") 1696) 1697 1698 1699 1700;; From pango-coverage.h 1701 1702(define-function pango_coverage_new 1703 (c-name "pango_coverage_new") 1704 (is-constructor-of "PangoCoverage") 1705 (return-type "PangoCoverage*") 1706) 1707 1708(define-method ref 1709 (of-object "PangoCoverage") 1710 (c-name "pango_coverage_ref") 1711 (return-type "PangoCoverage*") 1712) 1713 1714(define-method unref 1715 (of-object "PangoCoverage") 1716 (c-name "pango_coverage_unref") 1717 (return-type "none") 1718) 1719 1720(define-method copy 1721 (of-object "PangoCoverage") 1722 (c-name "pango_coverage_copy") 1723 (return-type "PangoCoverage*") 1724) 1725 1726(define-method get 1727 (of-object "PangoCoverage") 1728 (c-name "pango_coverage_get") 1729 (return-type "PangoCoverageLevel") 1730 (parameters 1731 '("int" "index_") 1732 ) 1733) 1734 1735(define-method set 1736 (of-object "PangoCoverage") 1737 (c-name "pango_coverage_set") 1738 (return-type "none") 1739 (parameters 1740 '("int" "index_") 1741 '("PangoCoverageLevel" "level") 1742 ) 1743) 1744 1745(define-method max 1746 (of-object "PangoCoverage") 1747 (c-name "pango_coverage_max") 1748 (return-type "none") 1749 (parameters 1750 '("PangoCoverage*" "other") 1751 ) 1752) 1753 1754(define-method to_bytes 1755 (of-object "PangoCoverage") 1756 (c-name "pango_coverage_to_bytes") 1757 (return-type "none") 1758 (parameters 1759 '("guchar**" "bytes") 1760 '("int*" "n_bytes") 1761 ) 1762) 1763 1764(define-function pango_coverage_from_bytes 1765 (c-name "pango_coverage_from_bytes") 1766 (return-type "PangoCoverage*") 1767 (parameters 1768 '("guchar*" "bytes") 1769 '("int" "n_bytes") 1770 ) 1771) 1772 1773 1774 1775;; From pango-engine.h 1776 1777(define-function pango_engine_get_type 1778 (c-name "pango_engine_get_type") 1779 (return-type "GType") 1780) 1781 1782(define-function pango_engine_lang_get_type 1783 (c-name "pango_engine_lang_get_type") 1784 (return-type "GType") 1785) 1786 1787(define-function pango_engine_shape_get_type 1788 (c-name "pango_engine_shape_get_type") 1789 (return-type "GType") 1790) 1791 1792(define-function script_engine_list 1793 (c-name "script_engine_list") 1794 (return-type "none") 1795 (parameters 1796 '("PangoEngineInfo**" "engines") 1797 '("int*" "n_engines") 1798 ) 1799) 1800 1801(define-function script_engine_init 1802 (c-name "script_engine_init") 1803 (return-type "none") 1804 (parameters 1805 '("GTypeModule*" "module") 1806 ) 1807) 1808 1809(define-function script_engine_exit 1810 (c-name "script_engine_exit") 1811 (return-type "none") 1812) 1813 1814(define-function script_engine_create 1815 (c-name "script_engine_create") 1816 (return-type "PangoEngine*") 1817 (parameters 1818 '("const-char*" "id") 1819 ) 1820) 1821 1822 1823 1824;; From pango-engine-private.h 1825 1826 1827 1828;; From pango-enum-types.h 1829 1830(define-function pango_attr_type_get_type 1831 (c-name "pango_attr_type_get_type") 1832 (return-type "GType") 1833) 1834 1835(define-function pango_underline_get_type 1836 (c-name "pango_underline_get_type") 1837 (return-type "GType") 1838) 1839 1840(define-function pango_bidi_type_get_type 1841 (c-name "pango_bidi_type_get_type") 1842 (return-type "GType") 1843) 1844 1845(define-function pango_direction_get_type 1846 (c-name "pango_direction_get_type") 1847 (return-type "GType") 1848) 1849 1850(define-function pango_coverage_level_get_type 1851 (c-name "pango_coverage_level_get_type") 1852 (return-type "GType") 1853) 1854 1855(define-function pango_style_get_type 1856 (c-name "pango_style_get_type") 1857 (return-type "GType") 1858) 1859 1860(define-function pango_variant_get_type 1861 (c-name "pango_variant_get_type") 1862 (return-type "GType") 1863) 1864 1865(define-function pango_weight_get_type 1866 (c-name "pango_weight_get_type") 1867 (return-type "GType") 1868) 1869 1870(define-function pango_stretch_get_type 1871 (c-name "pango_stretch_get_type") 1872 (return-type "GType") 1873) 1874 1875(define-function pango_font_mask_get_type 1876 (c-name "pango_font_mask_get_type") 1877 (return-type "GType") 1878) 1879 1880(define-function pango_gravity_get_type 1881 (c-name "pango_gravity_get_type") 1882 (return-type "GType") 1883) 1884 1885(define-function pango_gravity_hint_get_type 1886 (c-name "pango_gravity_hint_get_type") 1887 (return-type "GType") 1888) 1889 1890(define-function pango_alignment_get_type 1891 (c-name "pango_alignment_get_type") 1892 (return-type "GType") 1893) 1894 1895(define-function pango_wrap_mode_get_type 1896 (c-name "pango_wrap_mode_get_type") 1897 (return-type "GType") 1898) 1899 1900(define-function pango_ellipsize_mode_get_type 1901 (c-name "pango_ellipsize_mode_get_type") 1902 (return-type "GType") 1903) 1904 1905(define-function pango_render_part_get_type 1906 (c-name "pango_render_part_get_type") 1907 (return-type "GType") 1908) 1909 1910(define-function pango_script_get_type 1911 (c-name "pango_script_get_type") 1912 (return-type "GType") 1913) 1914 1915(define-function pango_tab_align_get_type 1916 (c-name "pango_tab_align_get_type") 1917 (return-type "GType") 1918) 1919 1920 1921 1922;; From pangofc-decoder.h 1923 1924(define-function pango_fc_decoder_get_type 1925 (c-name "pango_fc_decoder_get_type") 1926 (return-type "GType") 1927) 1928 1929(define-method get_charset 1930 (of-object "PangoFcDecoder") 1931 (c-name "pango_fc_decoder_get_charset") 1932 (return-type "FcCharSet*") 1933 (parameters 1934 '("PangoFcFont*" "fcfont") 1935 ) 1936) 1937 1938(define-method get_glyph 1939 (of-object "PangoFcDecoder") 1940 (c-name "pango_fc_decoder_get_glyph") 1941 (return-type "PangoGlyph") 1942 (parameters 1943 '("PangoFcFont*" "fcfont") 1944 '("guint32" "wc") 1945 ) 1946) 1947 1948 1949 1950;; From pangofc-font.h 1951 1952(define-method has_char 1953 (of-object "PangoFcFont") 1954 (c-name "pango_fc_font_has_char") 1955 (return-type "gboolean") 1956 (parameters 1957 '("gunichar" "wc") 1958 ) 1959) 1960 1961(define-method get_glyph 1962 (of-object "PangoFcFont") 1963 (c-name "pango_fc_font_get_glyph") 1964 (return-type "guint") 1965 (parameters 1966 '("gunichar" "wc") 1967 ) 1968) 1969 1970(define-method get_unknown_glyph 1971 (of-object "PangoFcFont") 1972 (c-name "pango_fc_font_get_unknown_glyph") 1973 (return-type "PangoGlyph") 1974 (parameters 1975 '("gunichar" "wc") 1976 ) 1977) 1978 1979(define-method kern_glyphs 1980 (of-object "PangoFcFont") 1981 (c-name "pango_fc_font_kern_glyphs") 1982 (return-type "none") 1983 (parameters 1984 '("PangoGlyphString*" "glyphs") 1985 ) 1986) 1987 1988(define-function pango_fc_font_get_type 1989 (c-name "pango_fc_font_get_type") 1990 (return-type "GType") 1991) 1992 1993(define-method lock_face 1994 (of-object "PangoFcFont") 1995 (c-name "pango_fc_font_lock_face") 1996 (return-type "FT_Face") 1997) 1998 1999(define-method unlock_face 2000 (of-object "PangoFcFont") 2001 (c-name "pango_fc_font_unlock_face") 2002 (return-type "none") 2003) 2004 2005 2006 2007;; From pangofc-fontmap.h 2008 2009(define-method get_language 2010 (of-object "PangoFcFontsetKey") 2011 (c-name "pango_fc_fontset_key_get_language") 2012 (return-type "PangoLanguage*") 2013) 2014 2015(define-method get_description 2016 (of-object "PangoFcFontsetKey") 2017 (c-name "pango_fc_fontset_key_get_description") 2018 (return-type "const-PangoFontDescription*") 2019) 2020 2021(define-method get_matrix 2022 (of-object "PangoFcFontsetKey") 2023 (c-name "pango_fc_fontset_key_get_matrix") 2024 (return-type "const-PangoMatrix*") 2025) 2026 2027(define-method get_absolute_size 2028 (of-object "PangoFcFontsetKey") 2029 (c-name "pango_fc_fontset_key_get_absolute_size") 2030 (return-type "double") 2031) 2032 2033(define-method get_resolution 2034 (of-object "PangoFcFontsetKey") 2035 (c-name "pango_fc_fontset_key_get_resolution") 2036 (return-type "double") 2037) 2038 2039(define-method get_context_key 2040 (of-object "PangoFcFontsetKey") 2041 (c-name "pango_fc_fontset_key_get_context_key") 2042 (return-type "gpointer") 2043) 2044 2045(define-method get_pattern 2046 (of-object "PangoFcFontKey") 2047 (c-name "pango_fc_font_key_get_pattern") 2048 (return-type "const-FcPattern*") 2049) 2050 2051(define-method get_matrix 2052 (of-object "PangoFcFontKey") 2053 (c-name "pango_fc_font_key_get_matrix") 2054 (return-type "const-PangoMatrix*") 2055) 2056 2057(define-method get_context_key 2058 (of-object "PangoFcFontKey") 2059 (c-name "pango_fc_font_key_get_context_key") 2060 (return-type "gpointer") 2061) 2062 2063(define-method create_context 2064 (of-object "PangoFcFontMap") 2065 (c-name "pango_fc_font_map_create_context") 2066 (return-type "PangoContext*") 2067) 2068 2069(define-method shutdown 2070 (of-object "PangoFcFontMap") 2071 (c-name "pango_fc_font_map_shutdown") 2072 (return-type "none") 2073) 2074 2075(define-function pango_fc_font_map_get_type 2076 (c-name "pango_fc_font_map_get_type") 2077 (return-type "GType") 2078) 2079 2080(define-method cache_clear 2081 (of-object "PangoFcFontMap") 2082 (c-name "pango_fc_font_map_cache_clear") 2083 (return-type "none") 2084) 2085 2086(define-method config_changed 2087 (of-object "PangoFcFontMap") 2088 (c-name "pango_fc_font_map_config_changed") 2089 (return-type "none") 2090) 2091 2092(define-method set_config 2093 (of-object "PangoFcFontMap") 2094 (c-name "pango_fc_font_map_set_config") 2095 (return-type "none") 2096 (parameters 2097 '("FcConfig*" "fcconfig") 2098 ) 2099) 2100 2101(define-method get_config 2102 (of-object "PangoFcFontMap") 2103 (c-name "pango_fc_font_map_get_config") 2104 (return-type "FcConfig*") 2105) 2106 2107(define-method add_decoder_find_func 2108 (of-object "PangoFcFontMap") 2109 (c-name "pango_fc_font_map_add_decoder_find_func") 2110 (return-type "none") 2111 (parameters 2112 '("PangoFcDecoderFindFunc" "findfunc") 2113 '("gpointer" "user_data") 2114 '("GDestroyNotify" "dnotify") 2115 ) 2116) 2117 2118(define-method find_decoder 2119 (of-object "PangoFcFontMap") 2120 (c-name "pango_fc_font_map_find_decoder") 2121 (return-type "PangoFcDecoder*") 2122 (parameters 2123 '("FcPattern*" "pattern") 2124 ) 2125) 2126 2127(define-function pango_fc_font_description_from_pattern 2128 (c-name "pango_fc_font_description_from_pattern") 2129 (return-type "PangoFontDescription*") 2130 (parameters 2131 '("FcPattern*" "pattern") 2132 '("gboolean" "include_size") 2133 ) 2134) 2135 2136 2137 2138;; From pangofc-private.h 2139 2140(define-method get_raw_extents 2141 (of-object "PangoFcFont") 2142 (c-name "pango_fc_font_get_raw_extents") 2143 (return-type "none") 2144 (parameters 2145 '("FT_Int32" "load_flags") 2146 '("PangoGlyph" "glyph") 2147 '("PangoRectangle*" "ink_rect") 2148 '("PangoRectangle*" "logical_rect") 2149 ) 2150) 2151 2152(define-method create_base_metrics_for_context 2153 (of-object "PangoFcFont") 2154 (c-name "pango_fc_font_create_base_metrics_for_context") 2155 (return-type "PangoFontMetrics*") 2156 (parameters 2157 '("PangoContext*" "context") 2158 ) 2159) 2160 2161 2162 2163;; From pango-features.h 2164 2165 2166 2167;; From pango-font.h 2168 2169(define-function pango_font_description_get_type 2170 (c-name "pango_font_description_get_type") 2171 (return-type "GType") 2172) 2173 2174(define-function pango_font_description_new 2175 (c-name "pango_font_description_new") 2176 (is-constructor-of "PangoFontDescription") 2177 (return-type "PangoFontDescription*") 2178) 2179 2180(define-method copy 2181 (of-object "PangoFontDescription") 2182 (c-name "pango_font_description_copy") 2183 (return-type "PangoFontDescription*") 2184) 2185 2186(define-method copy_static 2187 (of-object "PangoFontDescription") 2188 (c-name "pango_font_description_copy_static") 2189 (return-type "PangoFontDescription*") 2190) 2191 2192(define-method hash 2193 (of-object "PangoFontDescription") 2194 (c-name "pango_font_description_hash") 2195 (return-type "guint") 2196) 2197 2198(define-method equal 2199 (of-object "PangoFontDescription") 2200 (c-name "pango_font_description_equal") 2201 (return-type "gboolean") 2202 (parameters 2203 '("const-PangoFontDescription*" "desc2") 2204 ) 2205) 2206 2207(define-method free 2208 (of-object "PangoFontDescription") 2209 (c-name "pango_font_description_free") 2210 (return-type "none") 2211) 2212 2213(define-function pango_font_descriptions_free 2214 (c-name "pango_font_descriptions_free") 2215 (return-type "none") 2216 (parameters 2217 '("PangoFontDescription**" "descs") 2218 '("int" "n_descs") 2219 ) 2220) 2221 2222(define-method set_family 2223 (of-object "PangoFontDescription") 2224 (c-name "pango_font_description_set_family") 2225 (return-type "none") 2226 (parameters 2227 '("const-char*" "family") 2228 ) 2229) 2230 2231(define-method set_family_static 2232 (of-object "PangoFontDescription") 2233 (c-name "pango_font_description_set_family_static") 2234 (return-type "none") 2235 (parameters 2236 '("const-char*" "family") 2237 ) 2238) 2239 2240(define-method get_family 2241 (of-object "PangoFontDescription") 2242 (c-name "pango_font_description_get_family") 2243 (return-type "const-char*") 2244) 2245 2246(define-method set_style 2247 (of-object "PangoFontDescription") 2248 (c-name "pango_font_description_set_style") 2249 (return-type "none") 2250 (parameters 2251 '("PangoStyle" "style") 2252 ) 2253) 2254 2255(define-method get_style 2256 (of-object "PangoFontDescription") 2257 (c-name "pango_font_description_get_style") 2258 (return-type "PangoStyle") 2259) 2260 2261(define-method set_variant 2262 (of-object "PangoFontDescription") 2263 (c-name "pango_font_description_set_variant") 2264 (return-type "none") 2265 (parameters 2266 '("PangoVariant" "variant") 2267 ) 2268) 2269 2270(define-method get_variant 2271 (of-object "PangoFontDescription") 2272 (c-name "pango_font_description_get_variant") 2273 (return-type "PangoVariant") 2274) 2275 2276(define-method set_weight 2277 (of-object "PangoFontDescription") 2278 (c-name "pango_font_description_set_weight") 2279 (return-type "none") 2280 (parameters 2281 '("PangoWeight" "weight") 2282 ) 2283) 2284 2285(define-method get_weight 2286 (of-object "PangoFontDescription") 2287 (c-name "pango_font_description_get_weight") 2288 (return-type "PangoWeight") 2289) 2290 2291(define-method set_stretch 2292 (of-object "PangoFontDescription") 2293 (c-name "pango_font_description_set_stretch") 2294 (return-type "none") 2295 (parameters 2296 '("PangoStretch" "stretch") 2297 ) 2298) 2299 2300(define-method get_stretch 2301 (of-object "PangoFontDescription") 2302 (c-name "pango_font_description_get_stretch") 2303 (return-type "PangoStretch") 2304) 2305 2306(define-method set_size 2307 (of-object "PangoFontDescription") 2308 (c-name "pango_font_description_set_size") 2309 (return-type "none") 2310 (parameters 2311 '("gint" "size") 2312 ) 2313) 2314 2315(define-method get_size 2316 (of-object "PangoFontDescription") 2317 (c-name "pango_font_description_get_size") 2318 (return-type "gint") 2319) 2320 2321(define-method set_absolute_size 2322 (of-object "PangoFontDescription") 2323 (c-name "pango_font_description_set_absolute_size") 2324 (return-type "none") 2325 (parameters 2326 '("double" "size") 2327 ) 2328) 2329 2330(define-method get_size_is_absolute 2331 (of-object "PangoFontDescription") 2332 (c-name "pango_font_description_get_size_is_absolute") 2333 (return-type "gboolean") 2334) 2335 2336(define-method set_gravity 2337 (of-object "PangoFontDescription") 2338 (c-name "pango_font_description_set_gravity") 2339 (return-type "none") 2340 (parameters 2341 '("PangoGravity" "gravity") 2342 ) 2343) 2344 2345(define-method get_gravity 2346 (of-object "PangoFontDescription") 2347 (c-name "pango_font_description_get_gravity") 2348 (return-type "PangoGravity") 2349) 2350 2351(define-method get_set_fields 2352 (of-object "PangoFontDescription") 2353 (c-name "pango_font_description_get_set_fields") 2354 (return-type "PangoFontMask") 2355) 2356 2357(define-method unset_fields 2358 (of-object "PangoFontDescription") 2359 (c-name "pango_font_description_unset_fields") 2360 (return-type "none") 2361 (parameters 2362 '("PangoFontMask" "to_unset") 2363 ) 2364) 2365 2366(define-method merge 2367 (of-object "PangoFontDescription") 2368 (c-name "pango_font_description_merge") 2369 (return-type "none") 2370 (parameters 2371 '("const-PangoFontDescription*" "desc_to_merge") 2372 '("gboolean" "replace_existing") 2373 ) 2374) 2375 2376(define-method merge_static 2377 (of-object "PangoFontDescription") 2378 (c-name "pango_font_description_merge_static") 2379 (return-type "none") 2380 (parameters 2381 '("const-PangoFontDescription*" "desc_to_merge") 2382 '("gboolean" "replace_existing") 2383 ) 2384) 2385 2386(define-method better_match 2387 (of-object "PangoFontDescription") 2388 (c-name "pango_font_description_better_match") 2389 (return-type "gboolean") 2390 (parameters 2391 '("const-PangoFontDescription*" "old_match") 2392 '("const-PangoFontDescription*" "new_match") 2393 ) 2394) 2395 2396(define-function pango_font_description_from_string 2397 (c-name "pango_font_description_from_string") 2398 (return-type "PangoFontDescription*") 2399 (parameters 2400 '("const-char*" "str") 2401 ) 2402) 2403 2404(define-method to_string 2405 (of-object "PangoFontDescription") 2406 (c-name "pango_font_description_to_string") 2407 (return-type "char*") 2408) 2409 2410(define-method to_filename 2411 (of-object "PangoFontDescription") 2412 (c-name "pango_font_description_to_filename") 2413 (return-type "char*") 2414) 2415 2416(define-function pango_font_metrics_get_type 2417 (c-name "pango_font_metrics_get_type") 2418 (return-type "GType") 2419) 2420 2421(define-method ref 2422 (of-object "PangoFontMetrics") 2423 (c-name "pango_font_metrics_ref") 2424 (return-type "PangoFontMetrics*") 2425) 2426 2427(define-method unref 2428 (of-object "PangoFontMetrics") 2429 (c-name "pango_font_metrics_unref") 2430 (return-type "none") 2431) 2432 2433(define-method get_ascent 2434 (of-object "PangoFontMetrics") 2435 (c-name "pango_font_metrics_get_ascent") 2436 (return-type "int") 2437) 2438 2439(define-method get_descent 2440 (of-object "PangoFontMetrics") 2441 (c-name "pango_font_metrics_get_descent") 2442 (return-type "int") 2443) 2444 2445(define-method get_approximate_char_width 2446 (of-object "PangoFontMetrics") 2447 (c-name "pango_font_metrics_get_approximate_char_width") 2448 (return-type "int") 2449) 2450 2451(define-method get_approximate_digit_width 2452 (of-object "PangoFontMetrics") 2453 (c-name "pango_font_metrics_get_approximate_digit_width") 2454 (return-type "int") 2455) 2456 2457(define-method get_underline_position 2458 (of-object "PangoFontMetrics") 2459 (c-name "pango_font_metrics_get_underline_position") 2460 (return-type "int") 2461) 2462 2463(define-method get_underline_thickness 2464 (of-object "PangoFontMetrics") 2465 (c-name "pango_font_metrics_get_underline_thickness") 2466 (return-type "int") 2467) 2468 2469(define-method get_strikethrough_position 2470 (of-object "PangoFontMetrics") 2471 (c-name "pango_font_metrics_get_strikethrough_position") 2472 (return-type "int") 2473) 2474 2475(define-method get_strikethrough_thickness 2476 (of-object "PangoFontMetrics") 2477 (c-name "pango_font_metrics_get_strikethrough_thickness") 2478 (return-type "int") 2479) 2480 2481(define-function pango_font_metrics_new 2482 (c-name "pango_font_metrics_new") 2483 (is-constructor-of "PangoFontMetrics") 2484 (return-type "PangoFontMetrics*") 2485) 2486 2487(define-function pango_font_family_get_type 2488 (c-name "pango_font_family_get_type") 2489 (return-type "GType") 2490) 2491 2492(define-method list_faces 2493 (of-object "PangoFontFamily") 2494 (c-name "pango_font_family_list_faces") 2495 (return-type "none") 2496 (parameters 2497 '("PangoFontFace***" "faces") 2498 '("int*" "n_faces") 2499 ) 2500) 2501 2502(define-method get_name 2503 (of-object "PangoFontFamily") 2504 (c-name "pango_font_family_get_name") 2505 (return-type "const-char*") 2506) 2507 2508(define-method is_monospace 2509 (of-object "PangoFontFamily") 2510 (c-name "pango_font_family_is_monospace") 2511 (return-type "gboolean") 2512) 2513 2514(define-function pango_font_face_get_type 2515 (c-name "pango_font_face_get_type") 2516 (return-type "GType") 2517) 2518 2519(define-method describe 2520 (of-object "PangoFontFace") 2521 (c-name "pango_font_face_describe") 2522 (return-type "PangoFontDescription*") 2523) 2524 2525(define-method get_face_name 2526 (of-object "PangoFontFace") 2527 (c-name "pango_font_face_get_face_name") 2528 (return-type "const-char*") 2529) 2530 2531(define-method list_sizes 2532 (of-object "PangoFontFace") 2533 (c-name "pango_font_face_list_sizes") 2534 (return-type "none") 2535 (parameters 2536 '("int**" "sizes") 2537 '("int*" "n_sizes") 2538 ) 2539) 2540 2541(define-method is_synthesized 2542 (of-object "PangoFontFace") 2543 (c-name "pango_font_face_is_synthesized") 2544 (return-type "gboolean") 2545) 2546 2547(define-function pango_font_get_type 2548 (c-name "pango_font_get_type") 2549 (return-type "GType") 2550) 2551 2552(define-method describe 2553 (of-object "PangoFont") 2554 (c-name "pango_font_describe") 2555 (return-type "PangoFontDescription*") 2556) 2557 2558(define-method describe_with_absolute_size 2559 (of-object "PangoFont") 2560 (c-name "pango_font_describe_with_absolute_size") 2561 (return-type "PangoFontDescription*") 2562) 2563 2564(define-method get_coverage 2565 (of-object "PangoFont") 2566 (c-name "pango_font_get_coverage") 2567 (return-type "PangoCoverage*") 2568 (parameters 2569 '("PangoLanguage*" "language") 2570 ) 2571) 2572 2573(define-method find_shaper 2574 (of-object "PangoFont") 2575 (c-name "pango_font_find_shaper") 2576 (return-type "PangoEngineShape*") 2577 (parameters 2578 '("PangoLanguage*" "language") 2579 '("guint32" "ch") 2580 ) 2581) 2582 2583(define-method get_metrics 2584 (of-object "PangoFont") 2585 (c-name "pango_font_get_metrics") 2586 (return-type "PangoFontMetrics*") 2587 (parameters 2588 '("PangoLanguage*" "language") 2589 ) 2590) 2591 2592(define-method get_glyph_extents 2593 (of-object "PangoFont") 2594 (c-name "pango_font_get_glyph_extents") 2595 (return-type "none") 2596 (parameters 2597 '("PangoGlyph" "glyph") 2598 '("PangoRectangle*" "ink_rect") 2599 '("PangoRectangle*" "logical_rect") 2600 ) 2601) 2602 2603(define-method get_font_map 2604 (of-object "PangoFont") 2605 (c-name "pango_font_get_font_map") 2606 (return-type "PangoFontMap*") 2607) 2608 2609 2610 2611;; From pango-fontmap.h 2612 2613(define-function pango_font_map_get_type 2614 (c-name "pango_font_map_get_type") 2615 (return-type "GType") 2616) 2617 2618(define-method create_context 2619 (of-object "PangoFontMap") 2620 (c-name "pango_font_map_create_context") 2621 (return-type "PangoContext*") 2622) 2623 2624(define-method load_font 2625 (of-object "PangoFontMap") 2626 (c-name "pango_font_map_load_font") 2627 (return-type "PangoFont*") 2628 (parameters 2629 '("PangoContext*" "context") 2630 '("const-PangoFontDescription*" "desc") 2631 ) 2632) 2633 2634(define-method load_fontset 2635 (of-object "PangoFontMap") 2636 (c-name "pango_font_map_load_fontset") 2637 (return-type "PangoFontset*") 2638 (parameters 2639 '("PangoContext*" "context") 2640 '("const-PangoFontDescription*" "desc") 2641 '("PangoLanguage*" "language") 2642 ) 2643) 2644 2645(define-method list_families 2646 (of-object "PangoFontMap") 2647 (c-name "pango_font_map_list_families") 2648 (return-type "none") 2649 (parameters 2650 '("PangoFontFamily***" "families") 2651 '("int*" "n_families") 2652 ) 2653) 2654 2655(define-method get_serial 2656 (of-object "PangoFontMap") 2657 (c-name "pango_font_map_get_serial") 2658 (return-type "guint") 2659) 2660 2661(define-method changed 2662 (of-object "PangoFontMap") 2663 (c-name "pango_font_map_changed") 2664 (return-type "none") 2665) 2666 2667(define-method get_shape_engine_type 2668 (of-object "PangoFontMap") 2669 (c-name "pango_font_map_get_shape_engine_type") 2670 (return-type "const-char*") 2671) 2672 2673 2674 2675;; From pango-fontset.h 2676 2677(define-function pango_fontset_get_type 2678 (c-name "pango_fontset_get_type") 2679 (return-type "GType") 2680) 2681 2682(define-method get_font 2683 (of-object "PangoFontset") 2684 (c-name "pango_fontset_get_font") 2685 (return-type "PangoFont*") 2686 (parameters 2687 '("guint" "wc") 2688 ) 2689) 2690 2691(define-method get_metrics 2692 (of-object "PangoFontset") 2693 (c-name "pango_fontset_get_metrics") 2694 (return-type "PangoFontMetrics*") 2695) 2696 2697(define-method foreach 2698 (of-object "PangoFontset") 2699 (c-name "pango_fontset_foreach") 2700 (return-type "none") 2701 (parameters 2702 '("PangoFontsetForeachFunc" "func") 2703 '("gpointer" "data") 2704 ) 2705) 2706 2707(define-function pango_fontset_simple_get_type 2708 (c-name "pango_fontset_simple_get_type") 2709 (return-type "GType") 2710) 2711 2712(define-function pango_fontset_simple_new 2713 (c-name "pango_fontset_simple_new") 2714 (is-constructor-of "PangoFontsetSimple") 2715 (return-type "PangoFontsetSimple*") 2716 (parameters 2717 '("PangoLanguage*" "language") 2718 ) 2719) 2720 2721(define-method append 2722 (of-object "PangoFontsetSimple") 2723 (c-name "pango_fontset_simple_append") 2724 (return-type "none") 2725 (parameters 2726 '("PangoFont*" "font") 2727 ) 2728) 2729 2730(define-method size 2731 (of-object "PangoFontsetSimple") 2732 (c-name "pango_fontset_simple_size") 2733 (return-type "int") 2734) 2735 2736 2737 2738;; From pangoft2.h 2739 2740(define-function pango_ft2_render 2741 (c-name "pango_ft2_render") 2742 (return-type "none") 2743 (parameters 2744 '("FT_Bitmap*" "bitmap") 2745 '("PangoFont*" "font") 2746 '("PangoGlyphString*" "glyphs") 2747 '("gint" "x") 2748 '("gint" "y") 2749 ) 2750) 2751 2752(define-function pango_ft2_render_transformed 2753 (c-name "pango_ft2_render_transformed") 2754 (return-type "none") 2755 (parameters 2756 '("FT_Bitmap*" "bitmap") 2757 '("const-PangoMatrix*" "matrix") 2758 '("PangoFont*" "font") 2759 '("PangoGlyphString*" "glyphs") 2760 '("int" "x") 2761 '("int" "y") 2762 ) 2763) 2764 2765(define-function pango_ft2_render_layout_line 2766 (c-name "pango_ft2_render_layout_line") 2767 (return-type "none") 2768 (parameters 2769 '("FT_Bitmap*" "bitmap") 2770 '("PangoLayoutLine*" "line") 2771 '("int" "x") 2772 '("int" "y") 2773 ) 2774) 2775 2776(define-function pango_ft2_render_layout_line_subpixel 2777 (c-name "pango_ft2_render_layout_line_subpixel") 2778 (return-type "none") 2779 (parameters 2780 '("FT_Bitmap*" "bitmap") 2781 '("PangoLayoutLine*" "line") 2782 '("int" "x") 2783 '("int" "y") 2784 ) 2785) 2786 2787(define-function pango_ft2_render_layout 2788 (c-name "pango_ft2_render_layout") 2789 (return-type "none") 2790 (parameters 2791 '("FT_Bitmap*" "bitmap") 2792 '("PangoLayout*" "layout") 2793 '("int" "x") 2794 '("int" "y") 2795 ) 2796) 2797 2798(define-function pango_ft2_render_layout_subpixel 2799 (c-name "pango_ft2_render_layout_subpixel") 2800 (return-type "none") 2801 (parameters 2802 '("FT_Bitmap*" "bitmap") 2803 '("PangoLayout*" "layout") 2804 '("int" "x") 2805 '("int" "y") 2806 ) 2807) 2808 2809(define-function pango_ft2_font_map_get_type 2810 (c-name "pango_ft2_font_map_get_type") 2811 (return-type "GType") 2812) 2813 2814(define-function pango_ft2_font_map_new 2815 (c-name "pango_ft2_font_map_new") 2816 (is-constructor-of "PangoFt2FontMap") 2817 (return-type "PangoFontMap*") 2818) 2819 2820(define-method set_resolution 2821 (of-object "PangoFT2FontMap") 2822 (c-name "pango_ft2_font_map_set_resolution") 2823 (return-type "none") 2824 (parameters 2825 '("double" "dpi_x") 2826 '("double" "dpi_y") 2827 ) 2828) 2829 2830(define-method set_default_substitute 2831 (of-object "PangoFT2FontMap") 2832 (c-name "pango_ft2_font_map_set_default_substitute") 2833 (return-type "none") 2834 (parameters 2835 '("PangoFT2SubstituteFunc" "func") 2836 '("gpointer" "data") 2837 '("GDestroyNotify" "notify") 2838 ) 2839) 2840 2841(define-method substitute_changed 2842 (of-object "PangoFT2FontMap") 2843 (c-name "pango_ft2_font_map_substitute_changed") 2844 (return-type "none") 2845) 2846 2847(define-method create_context 2848 (of-object "PangoFT2FontMap") 2849 (c-name "pango_ft2_font_map_create_context") 2850 (return-type "PangoContext*") 2851) 2852 2853(define-function pango_ft2_get_context 2854 (c-name "pango_ft2_get_context") 2855 (return-type "PangoContext*") 2856 (parameters 2857 '("double" "dpi_x") 2858 '("double" "dpi_y") 2859 ) 2860) 2861 2862(define-function pango_ft2_font_map_for_display 2863 (c-name "pango_ft2_font_map_for_display") 2864 (return-type "PangoFontMap*") 2865) 2866 2867(define-function pango_ft2_shutdown_display 2868 (c-name "pango_ft2_shutdown_display") 2869 (return-type "none") 2870) 2871 2872(define-function pango_ft2_get_unknown_glyph 2873 (c-name "pango_ft2_get_unknown_glyph") 2874 (return-type "PangoGlyph") 2875 (parameters 2876 '("PangoFont*" "font") 2877 ) 2878) 2879 2880(define-function pango_ft2_font_get_kerning 2881 (c-name "pango_ft2_font_get_kerning") 2882 (return-type "int") 2883 (parameters 2884 '("PangoFont*" "font") 2885 '("PangoGlyph" "left") 2886 '("PangoGlyph" "right") 2887 ) 2888) 2889 2890(define-function pango_ft2_font_get_face 2891 (c-name "pango_ft2_font_get_face") 2892 (return-type "FT_Face") 2893 (parameters 2894 '("PangoFont*" "font") 2895 ) 2896) 2897 2898(define-function pango_ft2_font_get_coverage 2899 (c-name "pango_ft2_font_get_coverage") 2900 (return-type "PangoCoverage*") 2901 (parameters 2902 '("PangoFont*" "font") 2903 '("PangoLanguage*" "language") 2904 ) 2905) 2906 2907 2908 2909;; From pangoft2-private.h 2910 2911(define-function pango_ft2_font_get_type 2912 (c-name "pango_ft2_font_get_type") 2913 (return-type "GType") 2914) 2915 2916(define-function pango_ft2_renderer_get_type 2917 (c-name "pango_ft2_renderer_get_type") 2918 (return-type "GType") 2919) 2920 2921 2922 2923;; From pango-glyph.h 2924 2925(define-function pango_glyph_string_new 2926 (c-name "pango_glyph_string_new") 2927 (is-constructor-of "PangoGlyphString") 2928 (return-type "PangoGlyphString*") 2929) 2930 2931(define-method set_size 2932 (of-object "PangoGlyphString") 2933 (c-name "pango_glyph_string_set_size") 2934 (return-type "none") 2935 (parameters 2936 '("gint" "new_len") 2937 ) 2938) 2939 2940(define-function pango_glyph_string_get_type 2941 (c-name "pango_glyph_string_get_type") 2942 (return-type "GType") 2943) 2944 2945(define-method copy 2946 (of-object "PangoGlyphString") 2947 (c-name "pango_glyph_string_copy") 2948 (return-type "PangoGlyphString*") 2949) 2950 2951(define-method free 2952 (of-object "PangoGlyphString") 2953 (c-name "pango_glyph_string_free") 2954 (return-type "none") 2955) 2956 2957(define-method extents 2958 (of-object "PangoGlyphString") 2959 (c-name "pango_glyph_string_extents") 2960 (return-type "none") 2961 (parameters 2962 '("PangoFont*" "font") 2963 '("PangoRectangle*" "ink_rect") 2964 '("PangoRectangle*" "logical_rect") 2965 ) 2966) 2967 2968(define-method get_width 2969 (of-object "PangoGlyphString") 2970 (c-name "pango_glyph_string_get_width") 2971 (return-type "int") 2972) 2973 2974(define-method extents_range 2975 (of-object "PangoGlyphString") 2976 (c-name "pango_glyph_string_extents_range") 2977 (return-type "none") 2978 (parameters 2979 '("int" "start") 2980 '("int" "end") 2981 '("PangoFont*" "font") 2982 '("PangoRectangle*" "ink_rect") 2983 '("PangoRectangle*" "logical_rect") 2984 ) 2985) 2986 2987(define-method get_logical_widths 2988 (of-object "PangoGlyphString") 2989 (c-name "pango_glyph_string_get_logical_widths") 2990 (return-type "none") 2991 (parameters 2992 '("const-char*" "text") 2993 '("int" "length") 2994 '("int" "embedding_level") 2995 '("int*" "logical_widths") 2996 ) 2997) 2998 2999(define-method index_to_x 3000 (of-object "PangoGlyphString") 3001 (c-name "pango_glyph_string_index_to_x") 3002 (return-type "none") 3003 (parameters 3004 '("char*" "text") 3005 '("int" "length") 3006 '("PangoAnalysis*" "analysis") 3007 '("int" "index_") 3008 '("gboolean" "trailing") 3009 '("int*" "x_pos") 3010 ) 3011) 3012 3013(define-method x_to_index 3014 (of-object "PangoGlyphString") 3015 (c-name "pango_glyph_string_x_to_index") 3016 (return-type "none") 3017 (parameters 3018 '("char*" "text") 3019 '("int" "length") 3020 '("PangoAnalysis*" "analysis") 3021 '("int" "x_pos") 3022 '("int*" "index_") 3023 '("int*" "trailing") 3024 ) 3025) 3026 3027(define-function pango_shape 3028 (c-name "pango_shape") 3029 (return-type "none") 3030 (parameters 3031 '("const-gchar*" "text") 3032 '("gint" "length") 3033 '("const-PangoAnalysis*" "analysis") 3034 '("PangoGlyphString*" "glyphs") 3035 ) 3036) 3037 3038(define-function pango_shape_full 3039 (c-name "pango_shape_full") 3040 (return-type "none") 3041 (parameters 3042 '("const-gchar*" "item_text") 3043 '("gint" "item_length") 3044 '("const-gchar*" "paragraph_text") 3045 '("gint" "paragraph_length") 3046 '("const-PangoAnalysis*" "analysis") 3047 '("PangoGlyphString*" "glyphs") 3048 ) 3049) 3050 3051(define-function pango_reorder_items 3052 (c-name "pango_reorder_items") 3053 (return-type "GList*") 3054 (parameters 3055 '("GList*" "logical_items") 3056 ) 3057) 3058 3059 3060 3061;; From pango-glyph-item.h 3062 3063(define-function pango_glyph_item_get_type 3064 (c-name "pango_glyph_item_get_type") 3065 (return-type "GType") 3066) 3067 3068(define-method split 3069 (of-object "PangoGlyphItem") 3070 (c-name "pango_glyph_item_split") 3071 (return-type "PangoGlyphItem*") 3072 (parameters 3073 '("const-char*" "text") 3074 '("int" "split_index") 3075 ) 3076) 3077 3078(define-method copy 3079 (of-object "PangoGlyphItem") 3080 (c-name "pango_glyph_item_copy") 3081 (return-type "PangoGlyphItem*") 3082) 3083 3084(define-method free 3085 (of-object "PangoGlyphItem") 3086 (c-name "pango_glyph_item_free") 3087 (return-type "none") 3088) 3089 3090(define-method apply_attrs 3091 (of-object "PangoGlyphItem") 3092 (c-name "pango_glyph_item_apply_attrs") 3093 (return-type "GSList*") 3094 (parameters 3095 '("const-char*" "text") 3096 '("PangoAttrList*" "list") 3097 ) 3098) 3099 3100(define-method letter_space 3101 (of-object "PangoGlyphItem") 3102 (c-name "pango_glyph_item_letter_space") 3103 (return-type "none") 3104 (parameters 3105 '("const-char*" "text") 3106 '("PangoLogAttr*" "log_attrs") 3107 '("int" "letter_spacing") 3108 ) 3109) 3110 3111(define-method get_logical_widths 3112 (of-object "PangoGlyphItem") 3113 (c-name "pango_glyph_item_get_logical_widths") 3114 (return-type "none") 3115 (parameters 3116 '("const-char*" "text") 3117 '("int*" "logical_widths") 3118 ) 3119) 3120 3121(define-function pango_glyph_item_iter_get_type 3122 (c-name "pango_glyph_item_iter_get_type") 3123 (return-type "GType") 3124) 3125 3126(define-method copy 3127 (of-object "PangoGlyphItemIter") 3128 (c-name "pango_glyph_item_iter_copy") 3129 (return-type "PangoGlyphItemIter*") 3130) 3131 3132(define-method free 3133 (of-object "PangoGlyphItemIter") 3134 (c-name "pango_glyph_item_iter_free") 3135 (return-type "none") 3136) 3137 3138(define-method init_start 3139 (of-object "PangoGlyphItemIter") 3140 (c-name "pango_glyph_item_iter_init_start") 3141 (return-type "gboolean") 3142 (parameters 3143 '("PangoGlyphItem*" "glyph_item") 3144 '("const-char*" "text") 3145 ) 3146) 3147 3148(define-method init_end 3149 (of-object "PangoGlyphItemIter") 3150 (c-name "pango_glyph_item_iter_init_end") 3151 (return-type "gboolean") 3152 (parameters 3153 '("PangoGlyphItem*" "glyph_item") 3154 '("const-char*" "text") 3155 ) 3156) 3157 3158(define-method next_cluster 3159 (of-object "PangoGlyphItemIter") 3160 (c-name "pango_glyph_item_iter_next_cluster") 3161 (return-type "gboolean") 3162) 3163 3164(define-method prev_cluster 3165 (of-object "PangoGlyphItemIter") 3166 (c-name "pango_glyph_item_iter_prev_cluster") 3167 (return-type "gboolean") 3168) 3169 3170 3171 3172;; From pango-gravity.h 3173 3174(define-method to_rotation 3175 (of-object "PangoGravity") 3176 (c-name "pango_gravity_to_rotation") 3177 (return-type "double") 3178) 3179 3180(define-function pango_gravity_get_for_matrix 3181 (c-name "pango_gravity_get_for_matrix") 3182 (return-type "PangoGravity") 3183 (parameters 3184 '("const-PangoMatrix*" "matrix") 3185 ) 3186) 3187 3188(define-function pango_gravity_get_for_script 3189 (c-name "pango_gravity_get_for_script") 3190 (return-type "PangoGravity") 3191 (parameters 3192 '("PangoScript" "script") 3193 '("PangoGravity" "base_gravity") 3194 '("PangoGravityHint" "hint") 3195 ) 3196) 3197 3198(define-function pango_gravity_get_for_script_and_width 3199 (c-name "pango_gravity_get_for_script_and_width") 3200 (return-type "PangoGravity") 3201 (parameters 3202 '("PangoScript" "script") 3203 '("gboolean" "wide") 3204 '("PangoGravity" "base_gravity") 3205 '("PangoGravityHint" "hint") 3206 ) 3207) 3208 3209 3210 3211;; From pango.h 3212 3213 3214 3215;; From pango-impl-utils.h 3216 3217 3218 3219;; From pango-item.h 3220 3221(define-function pango_item_get_type 3222 (c-name "pango_item_get_type") 3223 (return-type "GType") 3224) 3225 3226(define-function pango_item_new 3227 (c-name "pango_item_new") 3228 (is-constructor-of "PangoItem") 3229 (return-type "PangoItem*") 3230) 3231 3232(define-method copy 3233 (of-object "PangoItem") 3234 (c-name "pango_item_copy") 3235 (return-type "PangoItem*") 3236) 3237 3238(define-method free 3239 (of-object "PangoItem") 3240 (c-name "pango_item_free") 3241 (return-type "none") 3242) 3243 3244(define-method split 3245 (of-object "PangoItem") 3246 (c-name "pango_item_split") 3247 (return-type "PangoItem*") 3248 (parameters 3249 '("int" "split_index") 3250 '("int" "split_offset") 3251 ) 3252) 3253 3254 3255 3256;; From pango-language.h 3257 3258(define-function pango_language_get_type 3259 (c-name "pango_language_get_type") 3260 (return-type "GType") 3261) 3262 3263(define-function pango_language_from_string 3264 (c-name "pango_language_from_string") 3265 (return-type "PangoLanguage*") 3266 (parameters 3267 '("const-char*" "language") 3268 ) 3269) 3270 3271(define-method to_string 3272 (of-object "PangoLanguage") 3273 (c-name "pango_language_to_string") 3274 (return-type "const-char*") 3275) 3276 3277(define-method get_sample_string 3278 (of-object "PangoLanguage") 3279 (c-name "pango_language_get_sample_string") 3280 (return-type "const-char*") 3281) 3282 3283(define-function pango_language_get_default 3284 (c-name "pango_language_get_default") 3285 (return-type "PangoLanguage*") 3286) 3287 3288(define-method matches 3289 (of-object "PangoLanguage") 3290 (c-name "pango_language_matches") 3291 (return-type "gboolean") 3292 (parameters 3293 '("const-char*" "range_list") 3294 ) 3295) 3296 3297(define-method includes_script 3298 (of-object "PangoLanguage") 3299 (c-name "pango_language_includes_script") 3300 (return-type "gboolean") 3301 (parameters 3302 '("PangoScript" "script") 3303 ) 3304) 3305 3306(define-method get_scripts 3307 (of-object "PangoLanguage") 3308 (c-name "pango_language_get_scripts") 3309 (return-type "const-PangoScript*") 3310 (parameters 3311 '("int*" "num_scripts") 3312 ) 3313) 3314 3315 3316 3317;; From pango-language-sample-table.h 3318 3319 3320 3321;; From pango-layout.h 3322 3323(define-function pango_layout_get_type 3324 (c-name "pango_layout_get_type") 3325 (return-type "GType") 3326) 3327 3328(define-function pango_layout_new 3329 (c-name "pango_layout_new") 3330 (is-constructor-of "PangoLayout") 3331 (return-type "PangoLayout*") 3332 (parameters 3333 '("PangoContext*" "context") 3334 ) 3335) 3336 3337(define-method copy 3338 (of-object "PangoLayout") 3339 (c-name "pango_layout_copy") 3340 (return-type "PangoLayout*") 3341) 3342 3343(define-method get_context 3344 (of-object "PangoLayout") 3345 (c-name "pango_layout_get_context") 3346 (return-type "PangoContext*") 3347) 3348 3349(define-method set_attributes 3350 (of-object "PangoLayout") 3351 (c-name "pango_layout_set_attributes") 3352 (return-type "none") 3353 (parameters 3354 '("PangoAttrList*" "attrs") 3355 ) 3356) 3357 3358(define-method get_attributes 3359 (of-object "PangoLayout") 3360 (c-name "pango_layout_get_attributes") 3361 (return-type "PangoAttrList*") 3362) 3363 3364(define-method set_text 3365 (of-object "PangoLayout") 3366 (c-name "pango_layout_set_text") 3367 (return-type "none") 3368 (parameters 3369 '("const-char*" "text") 3370 '("int" "length") 3371 ) 3372) 3373 3374(define-method get_text 3375 (of-object "PangoLayout") 3376 (c-name "pango_layout_get_text") 3377 (return-type "const-char*") 3378) 3379 3380(define-method get_character_count 3381 (of-object "PangoLayout") 3382 (c-name "pango_layout_get_character_count") 3383 (return-type "gint") 3384) 3385 3386(define-method set_markup 3387 (of-object "PangoLayout") 3388 (c-name "pango_layout_set_markup") 3389 (return-type "none") 3390 (parameters 3391 '("const-char*" "markup") 3392 '("int" "length") 3393 ) 3394) 3395 3396(define-method set_markup_with_accel 3397 (of-object "PangoLayout") 3398 (c-name "pango_layout_set_markup_with_accel") 3399 (return-type "none") 3400 (parameters 3401 '("const-char*" "markup") 3402 '("int" "length") 3403 '("gunichar" "accel_marker") 3404 '("gunichar*" "accel_char") 3405 ) 3406) 3407 3408(define-method set_font_description 3409 (of-object "PangoLayout") 3410 (c-name "pango_layout_set_font_description") 3411 (return-type "none") 3412 (parameters 3413 '("const-PangoFontDescription*" "desc") 3414 ) 3415) 3416 3417(define-method get_font_description 3418 (of-object "PangoLayout") 3419 (c-name "pango_layout_get_font_description") 3420 (return-type "const-PangoFontDescription*") 3421) 3422 3423(define-method set_width 3424 (of-object "PangoLayout") 3425 (c-name "pango_layout_set_width") 3426 (return-type "none") 3427 (parameters 3428 '("int" "width") 3429 ) 3430) 3431 3432(define-method get_width 3433 (of-object "PangoLayout") 3434 (c-name "pango_layout_get_width") 3435 (return-type "int") 3436) 3437 3438(define-method set_height 3439 (of-object "PangoLayout") 3440 (c-name "pango_layout_set_height") 3441 (return-type "none") 3442 (parameters 3443 '("int" "height") 3444 ) 3445) 3446 3447(define-method get_height 3448 (of-object "PangoLayout") 3449 (c-name "pango_layout_get_height") 3450 (return-type "int") 3451) 3452 3453(define-method set_wrap 3454 (of-object "PangoLayout") 3455 (c-name "pango_layout_set_wrap") 3456 (return-type "none") 3457 (parameters 3458 '("PangoWrapMode" "wrap") 3459 ) 3460) 3461 3462(define-method get_wrap 3463 (of-object "PangoLayout") 3464 (c-name "pango_layout_get_wrap") 3465 (return-type "PangoWrapMode") 3466) 3467 3468(define-method is_wrapped 3469 (of-object "PangoLayout") 3470 (c-name "pango_layout_is_wrapped") 3471 (return-type "gboolean") 3472) 3473 3474(define-method set_indent 3475 (of-object "PangoLayout") 3476 (c-name "pango_layout_set_indent") 3477 (return-type "none") 3478 (parameters 3479 '("int" "indent") 3480 ) 3481) 3482 3483(define-method get_indent 3484 (of-object "PangoLayout") 3485 (c-name "pango_layout_get_indent") 3486 (return-type "int") 3487) 3488 3489(define-method set_spacing 3490 (of-object "PangoLayout") 3491 (c-name "pango_layout_set_spacing") 3492 (return-type "none") 3493 (parameters 3494 '("int" "spacing") 3495 ) 3496) 3497 3498(define-method get_spacing 3499 (of-object "PangoLayout") 3500 (c-name "pango_layout_get_spacing") 3501 (return-type "int") 3502) 3503 3504(define-method set_justify 3505 (of-object "PangoLayout") 3506 (c-name "pango_layout_set_justify") 3507 (return-type "none") 3508 (parameters 3509 '("gboolean" "justify") 3510 ) 3511) 3512 3513(define-method get_justify 3514 (of-object "PangoLayout") 3515 (c-name "pango_layout_get_justify") 3516 (return-type "gboolean") 3517) 3518 3519(define-method set_auto_dir 3520 (of-object "PangoLayout") 3521 (c-name "pango_layout_set_auto_dir") 3522 (return-type "none") 3523 (parameters 3524 '("gboolean" "auto_dir") 3525 ) 3526) 3527 3528(define-method get_auto_dir 3529 (of-object "PangoLayout") 3530 (c-name "pango_layout_get_auto_dir") 3531 (return-type "gboolean") 3532) 3533 3534(define-method set_alignment 3535 (of-object "PangoLayout") 3536 (c-name "pango_layout_set_alignment") 3537 (return-type "none") 3538 (parameters 3539 '("PangoAlignment" "alignment") 3540 ) 3541) 3542 3543(define-method get_alignment 3544 (of-object "PangoLayout") 3545 (c-name "pango_layout_get_alignment") 3546 (return-type "PangoAlignment") 3547) 3548 3549(define-method set_tabs 3550 (of-object "PangoLayout") 3551 (c-name "pango_layout_set_tabs") 3552 (return-type "none") 3553 (parameters 3554 '("PangoTabArray*" "tabs") 3555 ) 3556) 3557 3558(define-method get_tabs 3559 (of-object "PangoLayout") 3560 (c-name "pango_layout_get_tabs") 3561 (return-type "PangoTabArray*") 3562) 3563 3564(define-method set_single_paragraph_mode 3565 (of-object "PangoLayout") 3566 (c-name "pango_layout_set_single_paragraph_mode") 3567 (return-type "none") 3568 (parameters 3569 '("gboolean" "setting") 3570 ) 3571) 3572 3573(define-method get_single_paragraph_mode 3574 (of-object "PangoLayout") 3575 (c-name "pango_layout_get_single_paragraph_mode") 3576 (return-type "gboolean") 3577) 3578 3579(define-method set_ellipsize 3580 (of-object "PangoLayout") 3581 (c-name "pango_layout_set_ellipsize") 3582 (return-type "none") 3583 (parameters 3584 '("PangoEllipsizeMode" "ellipsize") 3585 ) 3586) 3587 3588(define-method get_ellipsize 3589 (of-object "PangoLayout") 3590 (c-name "pango_layout_get_ellipsize") 3591 (return-type "PangoEllipsizeMode") 3592) 3593 3594(define-method is_ellipsized 3595 (of-object "PangoLayout") 3596 (c-name "pango_layout_is_ellipsized") 3597 (return-type "gboolean") 3598) 3599 3600(define-method get_unknown_glyphs_count 3601 (of-object "PangoLayout") 3602 (c-name "pango_layout_get_unknown_glyphs_count") 3603 (return-type "int") 3604) 3605 3606(define-method context_changed 3607 (of-object "PangoLayout") 3608 (c-name "pango_layout_context_changed") 3609 (return-type "none") 3610) 3611 3612(define-method get_serial 3613 (of-object "PangoLayout") 3614 (c-name "pango_layout_get_serial") 3615 (return-type "guint") 3616) 3617 3618(define-method get_log_attrs 3619 (of-object "PangoLayout") 3620 (c-name "pango_layout_get_log_attrs") 3621 (return-type "none") 3622 (parameters 3623 '("PangoLogAttr**" "attrs") 3624 '("gint*" "n_attrs") 3625 ) 3626) 3627 3628(define-method get_log_attrs_readonly 3629 (of-object "PangoLayout") 3630 (c-name "pango_layout_get_log_attrs_readonly") 3631 (return-type "const-PangoLogAttr*") 3632 (parameters 3633 '("gint*" "n_attrs") 3634 ) 3635) 3636 3637(define-method index_to_pos 3638 (of-object "PangoLayout") 3639 (c-name "pango_layout_index_to_pos") 3640 (return-type "none") 3641 (parameters 3642 '("int" "index_") 3643 '("PangoRectangle*" "pos") 3644 ) 3645) 3646 3647(define-method index_to_line_x 3648 (of-object "PangoLayout") 3649 (c-name "pango_layout_index_to_line_x") 3650 (return-type "none") 3651 (parameters 3652 '("int" "index_") 3653 '("gboolean" "trailing") 3654 '("int*" "line") 3655 '("int*" "x_pos") 3656 ) 3657) 3658 3659(define-method get_cursor_pos 3660 (of-object "PangoLayout") 3661 (c-name "pango_layout_get_cursor_pos") 3662 (return-type "none") 3663 (parameters 3664 '("int" "index_") 3665 '("PangoRectangle*" "strong_pos") 3666 '("PangoRectangle*" "weak_pos") 3667 ) 3668) 3669 3670(define-method move_cursor_visually 3671 (of-object "PangoLayout") 3672 (c-name "pango_layout_move_cursor_visually") 3673 (return-type "none") 3674 (parameters 3675 '("gboolean" "strong") 3676 '("int" "old_index") 3677 '("int" "old_trailing") 3678 '("int" "direction") 3679 '("int*" "new_index") 3680 '("int*" "new_trailing") 3681 ) 3682) 3683 3684(define-method xy_to_index 3685 (of-object "PangoLayout") 3686 (c-name "pango_layout_xy_to_index") 3687 (return-type "gboolean") 3688 (parameters 3689 '("int" "x") 3690 '("int" "y") 3691 '("int*" "index_") 3692 '("int*" "trailing") 3693 ) 3694) 3695 3696(define-method get_extents 3697 (of-object "PangoLayout") 3698 (c-name "pango_layout_get_extents") 3699 (return-type "none") 3700 (parameters 3701 '("PangoRectangle*" "ink_rect") 3702 '("PangoRectangle*" "logical_rect") 3703 ) 3704) 3705 3706(define-method get_pixel_extents 3707 (of-object "PangoLayout") 3708 (c-name "pango_layout_get_pixel_extents") 3709 (return-type "none") 3710 (parameters 3711 '("PangoRectangle*" "ink_rect") 3712 '("PangoRectangle*" "logical_rect") 3713 ) 3714) 3715 3716(define-method get_size 3717 (of-object "PangoLayout") 3718 (c-name "pango_layout_get_size") 3719 (return-type "none") 3720 (parameters 3721 '("int*" "width") 3722 '("int*" "height") 3723 ) 3724) 3725 3726(define-method get_pixel_size 3727 (of-object "PangoLayout") 3728 (c-name "pango_layout_get_pixel_size") 3729 (return-type "none") 3730 (parameters 3731 '("int*" "width") 3732 '("int*" "height") 3733 ) 3734) 3735 3736(define-method get_baseline 3737 (of-object "PangoLayout") 3738 (c-name "pango_layout_get_baseline") 3739 (return-type "int") 3740) 3741 3742(define-method get_line_count 3743 (of-object "PangoLayout") 3744 (c-name "pango_layout_get_line_count") 3745 (return-type "int") 3746) 3747 3748(define-method get_line 3749 (of-object "PangoLayout") 3750 (c-name "pango_layout_get_line") 3751 (return-type "PangoLayoutLine*") 3752 (parameters 3753 '("int" "line") 3754 ) 3755) 3756 3757(define-method get_line_readonly 3758 (of-object "PangoLayout") 3759 (c-name "pango_layout_get_line_readonly") 3760 (return-type "PangoLayoutLine*") 3761 (parameters 3762 '("int" "line") 3763 ) 3764) 3765 3766(define-method get_lines 3767 (of-object "PangoLayout") 3768 (c-name "pango_layout_get_lines") 3769 (return-type "GSList*") 3770) 3771 3772(define-method get_lines_readonly 3773 (of-object "PangoLayout") 3774 (c-name "pango_layout_get_lines_readonly") 3775 (return-type "GSList*") 3776) 3777 3778(define-function pango_layout_line_get_type 3779 (c-name "pango_layout_line_get_type") 3780 (return-type "GType") 3781) 3782 3783(define-method ref 3784 (of-object "PangoLayoutLine") 3785 (c-name "pango_layout_line_ref") 3786 (return-type "PangoLayoutLine*") 3787) 3788 3789(define-method unref 3790 (of-object "PangoLayoutLine") 3791 (c-name "pango_layout_line_unref") 3792 (return-type "none") 3793) 3794 3795(define-method x_to_index 3796 (of-object "PangoLayoutLine") 3797 (c-name "pango_layout_line_x_to_index") 3798 (return-type "gboolean") 3799 (parameters 3800 '("int" "x_pos") 3801 '("int*" "index_") 3802 '("int*" "trailing") 3803 ) 3804) 3805 3806(define-method index_to_x 3807 (of-object "PangoLayoutLine") 3808 (c-name "pango_layout_line_index_to_x") 3809 (return-type "none") 3810 (parameters 3811 '("int" "index_") 3812 '("gboolean" "trailing") 3813 '("int*" "x_pos") 3814 ) 3815) 3816 3817(define-method get_x_ranges 3818 (of-object "PangoLayoutLine") 3819 (c-name "pango_layout_line_get_x_ranges") 3820 (return-type "none") 3821 (parameters 3822 '("int" "start_index") 3823 '("int" "end_index") 3824 '("int**" "ranges") 3825 '("int*" "n_ranges") 3826 ) 3827) 3828 3829(define-method get_extents 3830 (of-object "PangoLayoutLine") 3831 (c-name "pango_layout_line_get_extents") 3832 (return-type "none") 3833 (parameters 3834 '("PangoRectangle*" "ink_rect") 3835 '("PangoRectangle*" "logical_rect") 3836 ) 3837) 3838 3839(define-method get_pixel_extents 3840 (of-object "PangoLayoutLine") 3841 (c-name "pango_layout_line_get_pixel_extents") 3842 (return-type "none") 3843 (parameters 3844 '("PangoRectangle*" "ink_rect") 3845 '("PangoRectangle*" "logical_rect") 3846 ) 3847) 3848 3849(define-function pango_layout_iter_get_type 3850 (c-name "pango_layout_iter_get_type") 3851 (return-type "GType") 3852) 3853 3854(define-method get_iter 3855 (of-object "PangoLayout") 3856 (c-name "pango_layout_get_iter") 3857 (return-type "PangoLayoutIter*") 3858) 3859 3860(define-method copy 3861 (of-object "PangoLayoutIter") 3862 (c-name "pango_layout_iter_copy") 3863 (return-type "PangoLayoutIter*") 3864) 3865 3866(define-method free 3867 (of-object "PangoLayoutIter") 3868 (c-name "pango_layout_iter_free") 3869 (return-type "none") 3870) 3871 3872(define-method get_index 3873 (of-object "PangoLayoutIter") 3874 (c-name "pango_layout_iter_get_index") 3875 (return-type "int") 3876) 3877 3878(define-method get_run 3879 (of-object "PangoLayoutIter") 3880 (c-name "pango_layout_iter_get_run") 3881 (return-type "PangoLayoutRun*") 3882) 3883 3884(define-method get_run_readonly 3885 (of-object "PangoLayoutIter") 3886 (c-name "pango_layout_iter_get_run_readonly") 3887 (return-type "PangoLayoutRun*") 3888) 3889 3890(define-method get_line 3891 (of-object "PangoLayoutIter") 3892 (c-name "pango_layout_iter_get_line") 3893 (return-type "PangoLayoutLine*") 3894) 3895 3896(define-method get_line_readonly 3897 (of-object "PangoLayoutIter") 3898 (c-name "pango_layout_iter_get_line_readonly") 3899 (return-type "PangoLayoutLine*") 3900) 3901 3902(define-method at_last_line 3903 (of-object "PangoLayoutIter") 3904 (c-name "pango_layout_iter_at_last_line") 3905 (return-type "gboolean") 3906) 3907 3908(define-method get_layout 3909 (of-object "PangoLayoutIter") 3910 (c-name "pango_layout_iter_get_layout") 3911 (return-type "PangoLayout*") 3912) 3913 3914(define-method next_char 3915 (of-object "PangoLayoutIter") 3916 (c-name "pango_layout_iter_next_char") 3917 (return-type "gboolean") 3918) 3919 3920(define-method next_cluster 3921 (of-object "PangoLayoutIter") 3922 (c-name "pango_layout_iter_next_cluster") 3923 (return-type "gboolean") 3924) 3925 3926(define-method next_run 3927 (of-object "PangoLayoutIter") 3928 (c-name "pango_layout_iter_next_run") 3929 (return-type "gboolean") 3930) 3931 3932(define-method next_line 3933 (of-object "PangoLayoutIter") 3934 (c-name "pango_layout_iter_next_line") 3935 (return-type "gboolean") 3936) 3937 3938(define-method get_char_extents 3939 (of-object "PangoLayoutIter") 3940 (c-name "pango_layout_iter_get_char_extents") 3941 (return-type "none") 3942 (parameters 3943 '("PangoRectangle*" "logical_rect") 3944 ) 3945) 3946 3947(define-method get_cluster_extents 3948 (of-object "PangoLayoutIter") 3949 (c-name "pango_layout_iter_get_cluster_extents") 3950 (return-type "none") 3951 (parameters 3952 '("PangoRectangle*" "ink_rect") 3953 '("PangoRectangle*" "logical_rect") 3954 ) 3955) 3956 3957(define-method get_run_extents 3958 (of-object "PangoLayoutIter") 3959 (c-name "pango_layout_iter_get_run_extents") 3960 (return-type "none") 3961 (parameters 3962 '("PangoRectangle*" "ink_rect") 3963 '("PangoRectangle*" "logical_rect") 3964 ) 3965) 3966 3967(define-method get_line_extents 3968 (of-object "PangoLayoutIter") 3969 (c-name "pango_layout_iter_get_line_extents") 3970 (return-type "none") 3971 (parameters 3972 '("PangoRectangle*" "ink_rect") 3973 '("PangoRectangle*" "logical_rect") 3974 ) 3975) 3976 3977(define-method get_line_yrange 3978 (of-object "PangoLayoutIter") 3979 (c-name "pango_layout_iter_get_line_yrange") 3980 (return-type "none") 3981 (parameters 3982 '("int*" "y0_") 3983 '("int*" "y1_") 3984 ) 3985) 3986 3987(define-method get_layout_extents 3988 (of-object "PangoLayoutIter") 3989 (c-name "pango_layout_iter_get_layout_extents") 3990 (return-type "none") 3991 (parameters 3992 '("PangoRectangle*" "ink_rect") 3993 '("PangoRectangle*" "logical_rect") 3994 ) 3995) 3996 3997(define-method get_baseline 3998 (of-object "PangoLayoutIter") 3999 (c-name "pango_layout_iter_get_baseline") 4000 (return-type "int") 4001) 4002 4003 4004 4005;; From pango-layout-private.h 4006 4007 4008 4009;; From pango-matrix.h 4010 4011(define-function pango_matrix_get_type 4012 (c-name "pango_matrix_get_type") 4013 (return-type "GType") 4014) 4015 4016(define-method copy 4017 (of-object "PangoMatrix") 4018 (c-name "pango_matrix_copy") 4019 (return-type "PangoMatrix*") 4020) 4021 4022(define-method free 4023 (of-object "PangoMatrix") 4024 (c-name "pango_matrix_free") 4025 (return-type "none") 4026) 4027 4028(define-method translate 4029 (of-object "PangoMatrix") 4030 (c-name "pango_matrix_translate") 4031 (return-type "none") 4032 (parameters 4033 '("double" "tx") 4034 '("double" "ty") 4035 ) 4036) 4037 4038(define-method scale 4039 (of-object "PangoMatrix") 4040 (c-name "pango_matrix_scale") 4041 (return-type "none") 4042 (parameters 4043 '("double" "scale_x") 4044 '("double" "scale_y") 4045 ) 4046) 4047 4048(define-method rotate 4049 (of-object "PangoMatrix") 4050 (c-name "pango_matrix_rotate") 4051 (return-type "none") 4052 (parameters 4053 '("double" "degrees") 4054 ) 4055) 4056 4057(define-method concat 4058 (of-object "PangoMatrix") 4059 (c-name "pango_matrix_concat") 4060 (return-type "none") 4061 (parameters 4062 '("const-PangoMatrix*" "new_matrix") 4063 ) 4064) 4065 4066(define-method transform_point 4067 (of-object "PangoMatrix") 4068 (c-name "pango_matrix_transform_point") 4069 (return-type "none") 4070 (parameters 4071 '("double*" "x") 4072 '("double*" "y") 4073 ) 4074) 4075 4076(define-method transform_distance 4077 (of-object "PangoMatrix") 4078 (c-name "pango_matrix_transform_distance") 4079 (return-type "none") 4080 (parameters 4081 '("double*" "dx") 4082 '("double*" "dy") 4083 ) 4084) 4085 4086(define-method transform_rectangle 4087 (of-object "PangoMatrix") 4088 (c-name "pango_matrix_transform_rectangle") 4089 (return-type "none") 4090 (parameters 4091 '("PangoRectangle*" "rect") 4092 ) 4093) 4094 4095(define-method transform_pixel_rectangle 4096 (of-object "PangoMatrix") 4097 (c-name "pango_matrix_transform_pixel_rectangle") 4098 (return-type "none") 4099 (parameters 4100 '("PangoRectangle*" "rect") 4101 ) 4102) 4103 4104(define-method get_font_scale_factor 4105 (of-object "PangoMatrix") 4106 (c-name "pango_matrix_get_font_scale_factor") 4107 (return-type "double") 4108) 4109 4110(define-method get_font_scale_factors 4111 (of-object "PangoMatrix") 4112 (c-name "pango_matrix_get_font_scale_factors") 4113 (return-type "none") 4114 (parameters 4115 '("double*" "xscale") 4116 '("double*" "yscale") 4117 ) 4118) 4119 4120 4121 4122;; From pango-modules.h 4123 4124(define-function pango_find_map 4125 (c-name "pango_find_map") 4126 (return-type "PangoMap*") 4127 (parameters 4128 '("PangoLanguage*" "language") 4129 '("guint" "engine_type_id") 4130 '("guint" "render_type_id") 4131 ) 4132) 4133 4134(define-method get_engine 4135 (of-object "PangoMap") 4136 (c-name "pango_map_get_engine") 4137 (return-type "PangoEngine*") 4138 (parameters 4139 '("PangoScript" "script") 4140 ) 4141) 4142 4143(define-method get_engines 4144 (of-object "PangoMap") 4145 (c-name "pango_map_get_engines") 4146 (return-type "none") 4147 (parameters 4148 '("PangoScript" "script") 4149 '("GSList**" "exact_engines") 4150 '("GSList**" "fallback_engines") 4151 ) 4152) 4153 4154(define-function pango_module_register 4155 (c-name "pango_module_register") 4156 (return-type "none") 4157 (parameters 4158 '("PangoIncludedModule*" "module") 4159 ) 4160) 4161 4162 4163 4164;; From pango-ot.h 4165 4166(define-function pango_ot_info_get_type 4167 (c-name "pango_ot_info_get_type") 4168 (return-type "GType") 4169) 4170 4171(define-function pango_ot_ruleset_get_type 4172 (c-name "pango_ot_ruleset_get_type") 4173 (return-type "GType") 4174) 4175 4176(define-function pango_ot_info_get 4177 (c-name "pango_ot_info_get") 4178 (return-type "PangoOTInfo*") 4179 (parameters 4180 '("FT_Face" "face") 4181 ) 4182) 4183 4184(define-method find_script 4185 (of-object "PangoOTInfo") 4186 (c-name "pango_ot_info_find_script") 4187 (return-type "gboolean") 4188 (parameters 4189 '("PangoOTTableType" "table_type") 4190 '("PangoOTTag" "script_tag") 4191 '("guint*" "script_index") 4192 ) 4193) 4194 4195(define-method find_language 4196 (of-object "PangoOTInfo") 4197 (c-name "pango_ot_info_find_language") 4198 (return-type "gboolean") 4199 (parameters 4200 '("PangoOTTableType" "table_type") 4201 '("guint" "script_index") 4202 '("PangoOTTag" "language_tag") 4203 '("guint*" "language_index") 4204 '("guint*" "required_feature_index") 4205 ) 4206) 4207 4208(define-method find_feature 4209 (of-object "PangoOTInfo") 4210 (c-name "pango_ot_info_find_feature") 4211 (return-type "gboolean") 4212 (parameters 4213 '("PangoOTTableType" "table_type") 4214 '("PangoOTTag" "feature_tag") 4215 '("guint" "script_index") 4216 '("guint" "language_index") 4217 '("guint*" "feature_index") 4218 ) 4219) 4220 4221(define-method list_scripts 4222 (of-object "PangoOTInfo") 4223 (c-name "pango_ot_info_list_scripts") 4224 (return-type "PangoOTTag*") 4225 (parameters 4226 '("PangoOTTableType" "table_type") 4227 ) 4228) 4229 4230(define-method list_languages 4231 (of-object "PangoOTInfo") 4232 (c-name "pango_ot_info_list_languages") 4233 (return-type "PangoOTTag*") 4234 (parameters 4235 '("PangoOTTableType" "table_type") 4236 '("guint" "script_index") 4237 '("PangoOTTag" "language_tag") 4238 ) 4239) 4240 4241(define-method list_features 4242 (of-object "PangoOTInfo") 4243 (c-name "pango_ot_info_list_features") 4244 (return-type "PangoOTTag*") 4245 (parameters 4246 '("PangoOTTableType" "table_type") 4247 '("PangoOTTag" "tag") 4248 '("guint" "script_index") 4249 '("guint" "language_index") 4250 ) 4251) 4252 4253(define-function pango_ot_buffer_new 4254 (c-name "pango_ot_buffer_new") 4255 (is-constructor-of "PangoOtBuffer") 4256 (return-type "PangoOTBuffer*") 4257 (parameters 4258 '("PangoFcFont*" "font") 4259 ) 4260) 4261 4262(define-method destroy 4263 (of-object "PangoOTBuffer") 4264 (c-name "pango_ot_buffer_destroy") 4265 (return-type "none") 4266) 4267 4268(define-method clear 4269 (of-object "PangoOTBuffer") 4270 (c-name "pango_ot_buffer_clear") 4271 (return-type "none") 4272) 4273 4274(define-method set_rtl 4275 (of-object "PangoOTBuffer") 4276 (c-name "pango_ot_buffer_set_rtl") 4277 (return-type "none") 4278 (parameters 4279 '("gboolean" "rtl") 4280 ) 4281) 4282 4283(define-method add_glyph 4284 (of-object "PangoOTBuffer") 4285 (c-name "pango_ot_buffer_add_glyph") 4286 (return-type "none") 4287 (parameters 4288 '("guint" "glyph") 4289 '("guint" "properties") 4290 '("guint" "cluster") 4291 ) 4292) 4293 4294(define-method get_glyphs 4295 (of-object "PangoOTBuffer") 4296 (c-name "pango_ot_buffer_get_glyphs") 4297 (return-type "none") 4298 (parameters 4299 '("PangoOTGlyph**" "glyphs") 4300 '("int*" "n_glyphs") 4301 ) 4302) 4303 4304(define-method output 4305 (of-object "PangoOTBuffer") 4306 (c-name "pango_ot_buffer_output") 4307 (return-type "none") 4308 (parameters 4309 '("PangoGlyphString*" "glyphs") 4310 ) 4311) 4312 4313(define-method set_zero_width_marks 4314 (of-object "PangoOTBuffer") 4315 (c-name "pango_ot_buffer_set_zero_width_marks") 4316 (return-type "none") 4317 (parameters 4318 '("gboolean" "zero_width_marks") 4319 ) 4320) 4321 4322(define-function pango_ot_ruleset_get_for_description 4323 (c-name "pango_ot_ruleset_get_for_description") 4324 (return-type "const-PangoOTRuleset*") 4325 (parameters 4326 '("PangoOTInfo*" "info") 4327 '("const-PangoOTRulesetDescription*" "desc") 4328 ) 4329) 4330 4331(define-function pango_ot_ruleset_new 4332 (c-name "pango_ot_ruleset_new") 4333 (is-constructor-of "PangoOtRuleset") 4334 (return-type "PangoOTRuleset*") 4335 (parameters 4336 '("PangoOTInfo*" "info") 4337 ) 4338) 4339 4340(define-function pango_ot_ruleset_new_for 4341 (c-name "pango_ot_ruleset_new_for") 4342 (return-type "PangoOTRuleset*") 4343 (parameters 4344 '("PangoOTInfo*" "info") 4345 '("PangoScript" "script") 4346 '("PangoLanguage*" "language") 4347 ) 4348) 4349 4350(define-function pango_ot_ruleset_new_from_description 4351 (c-name "pango_ot_ruleset_new_from_description") 4352 (return-type "PangoOTRuleset*") 4353 (parameters 4354 '("PangoOTInfo*" "info") 4355 '("const-PangoOTRulesetDescription*" "desc") 4356 ) 4357) 4358 4359(define-method add_feature 4360 (of-object "PangoOTRuleset") 4361 (c-name "pango_ot_ruleset_add_feature") 4362 (return-type "none") 4363 (parameters 4364 '("PangoOTTableType" "table_type") 4365 '("guint" "feature_index") 4366 '("gulong" "property_bit") 4367 ) 4368) 4369 4370(define-method maybe_add_feature 4371 (of-object "PangoOTRuleset") 4372 (c-name "pango_ot_ruleset_maybe_add_feature") 4373 (return-type "gboolean") 4374 (parameters 4375 '("PangoOTTableType" "table_type") 4376 '("PangoOTTag" "feature_tag") 4377 '("gulong" "property_bit") 4378 ) 4379) 4380 4381(define-method maybe_add_features 4382 (of-object "PangoOTRuleset") 4383 (c-name "pango_ot_ruleset_maybe_add_features") 4384 (return-type "guint") 4385 (parameters 4386 '("PangoOTTableType" "table_type") 4387 '("const-PangoOTFeatureMap*" "features") 4388 '("guint" "n_features") 4389 ) 4390) 4391 4392(define-method get_feature_count 4393 (of-object "PangoOTRuleset") 4394 (c-name "pango_ot_ruleset_get_feature_count") 4395 (return-type "guint") 4396 (parameters 4397 '("guint*" "n_gsub_features") 4398 '("guint*" "n_gpos_features") 4399 ) 4400) 4401 4402(define-method substitute 4403 (of-object "PangoOTRuleset") 4404 (c-name "pango_ot_ruleset_substitute") 4405 (return-type "none") 4406 (parameters 4407 '("PangoOTBuffer*" "buffer") 4408 ) 4409) 4410 4411(define-method position 4412 (of-object "PangoOTRuleset") 4413 (c-name "pango_ot_ruleset_position") 4414 (return-type "none") 4415 (parameters 4416 '("PangoOTBuffer*" "buffer") 4417 ) 4418) 4419 4420(define-method to_script 4421 (of-object "PangoOTTag") 4422 (c-name "pango_ot_tag_to_script") 4423 (return-type "PangoScript") 4424) 4425 4426(define-function pango_ot_tag_from_script 4427 (c-name "pango_ot_tag_from_script") 4428 (return-type "PangoOTTag") 4429 (parameters 4430 '("PangoScript" "script") 4431 ) 4432) 4433 4434(define-method to_language 4435 (of-object "PangoOTTag") 4436 (c-name "pango_ot_tag_to_language") 4437 (return-type "PangoLanguage*") 4438) 4439 4440(define-function pango_ot_tag_from_language 4441 (c-name "pango_ot_tag_from_language") 4442 (return-type "PangoOTTag") 4443 (parameters 4444 '("PangoLanguage*" "language") 4445 ) 4446) 4447 4448(define-method hash 4449 (of-object "PangoOTRulesetDescription") 4450 (c-name "pango_ot_ruleset_description_hash") 4451 (return-type "guint") 4452) 4453 4454(define-method equal 4455 (of-object "PangoOTRulesetDescription") 4456 (c-name "pango_ot_ruleset_description_equal") 4457 (return-type "gboolean") 4458 (parameters 4459 '("const-PangoOTRulesetDescription*" "desc2") 4460 ) 4461) 4462 4463(define-method copy 4464 (of-object "PangoOTRulesetDescription") 4465 (c-name "pango_ot_ruleset_description_copy") 4466 (return-type "PangoOTRulesetDescription*") 4467) 4468 4469(define-method free 4470 (of-object "PangoOTRulesetDescription") 4471 (c-name "pango_ot_ruleset_description_free") 4472 (return-type "none") 4473) 4474 4475 4476 4477;; From pango-ot-private.h 4478 4479 4480 4481;; From pango-renderer.h 4482 4483(define-function pango_renderer_get_type 4484 (c-name "pango_renderer_get_type") 4485 (return-type "GType") 4486) 4487 4488(define-method draw_layout 4489 (of-object "PangoRenderer") 4490 (c-name "pango_renderer_draw_layout") 4491 (return-type "none") 4492 (parameters 4493 '("PangoLayout*" "layout") 4494 '("int" "x") 4495 '("int" "y") 4496 ) 4497) 4498 4499(define-method draw_layout_line 4500 (of-object "PangoRenderer") 4501 (c-name "pango_renderer_draw_layout_line") 4502 (return-type "none") 4503 (parameters 4504 '("PangoLayoutLine*" "line") 4505 '("int" "x") 4506 '("int" "y") 4507 ) 4508) 4509 4510(define-method draw_glyphs 4511 (of-object "PangoRenderer") 4512 (c-name "pango_renderer_draw_glyphs") 4513 (return-type "none") 4514 (parameters 4515 '("PangoFont*" "font") 4516 '("PangoGlyphString*" "glyphs") 4517 '("int" "x") 4518 '("int" "y") 4519 ) 4520) 4521 4522(define-method draw_glyph_item 4523 (of-object "PangoRenderer") 4524 (c-name "pango_renderer_draw_glyph_item") 4525 (return-type "none") 4526 (parameters 4527 '("const-char*" "text") 4528 '("PangoGlyphItem*" "glyph_item") 4529 '("int" "x") 4530 '("int" "y") 4531 ) 4532) 4533 4534(define-method draw_rectangle 4535 (of-object "PangoRenderer") 4536 (c-name "pango_renderer_draw_rectangle") 4537 (return-type "none") 4538 (parameters 4539 '("PangoRenderPart" "part") 4540 '("int" "x") 4541 '("int" "y") 4542 '("int" "width") 4543 '("int" "height") 4544 ) 4545) 4546 4547(define-method draw_error_underline 4548 (of-object "PangoRenderer") 4549 (c-name "pango_renderer_draw_error_underline") 4550 (return-type "none") 4551 (parameters 4552 '("int" "x") 4553 '("int" "y") 4554 '("int" "width") 4555 '("int" "height") 4556 ) 4557) 4558 4559(define-method draw_trapezoid 4560 (of-object "PangoRenderer") 4561 (c-name "pango_renderer_draw_trapezoid") 4562 (return-type "none") 4563 (parameters 4564 '("PangoRenderPart" "part") 4565 '("double" "y1_") 4566 '("double" "x11") 4567 '("double" "x21") 4568 '("double" "y2") 4569 '("double" "x12") 4570 '("double" "x22") 4571 ) 4572) 4573 4574(define-method draw_glyph 4575 (of-object "PangoRenderer") 4576 (c-name "pango_renderer_draw_glyph") 4577 (return-type "none") 4578 (parameters 4579 '("PangoFont*" "font") 4580 '("PangoGlyph" "glyph") 4581 '("double" "x") 4582 '("double" "y") 4583 ) 4584) 4585 4586(define-method activate 4587 (of-object "PangoRenderer") 4588 (c-name "pango_renderer_activate") 4589 (return-type "none") 4590) 4591 4592(define-method deactivate 4593 (of-object "PangoRenderer") 4594 (c-name "pango_renderer_deactivate") 4595 (return-type "none") 4596) 4597 4598(define-method part_changed 4599 (of-object "PangoRenderer") 4600 (c-name "pango_renderer_part_changed") 4601 (return-type "none") 4602 (parameters 4603 '("PangoRenderPart" "part") 4604 ) 4605) 4606 4607(define-method set_color 4608 (of-object "PangoRenderer") 4609 (c-name "pango_renderer_set_color") 4610 (return-type "none") 4611 (parameters 4612 '("PangoRenderPart" "part") 4613 '("const-PangoColor*" "color") 4614 ) 4615) 4616 4617(define-method get_color 4618 (of-object "PangoRenderer") 4619 (c-name "pango_renderer_get_color") 4620 (return-type "PangoColor*") 4621 (parameters 4622 '("PangoRenderPart" "part") 4623 ) 4624) 4625 4626(define-method set_alpha 4627 (of-object "PangoRenderer") 4628 (c-name "pango_renderer_set_alpha") 4629 (return-type "none") 4630 (parameters 4631 '("PangoRenderPart" "part") 4632 '("guint16" "alpha") 4633 ) 4634) 4635 4636(define-method get_alpha 4637 (of-object "PangoRenderer") 4638 (c-name "pango_renderer_get_alpha") 4639 (return-type "guint16") 4640 (parameters 4641 '("PangoRenderPart" "part") 4642 ) 4643) 4644 4645(define-method set_matrix 4646 (of-object "PangoRenderer") 4647 (c-name "pango_renderer_set_matrix") 4648 (return-type "none") 4649 (parameters 4650 '("const-PangoMatrix*" "matrix") 4651 ) 4652) 4653 4654(define-method get_matrix 4655 (of-object "PangoRenderer") 4656 (c-name "pango_renderer_get_matrix") 4657 (return-type "const-PangoMatrix*") 4658) 4659 4660(define-method get_layout 4661 (of-object "PangoRenderer") 4662 (c-name "pango_renderer_get_layout") 4663 (return-type "PangoLayout*") 4664) 4665 4666(define-method get_layout_line 4667 (of-object "PangoRenderer") 4668 (c-name "pango_renderer_get_layout_line") 4669 (return-type "PangoLayoutLine*") 4670) 4671 4672 4673 4674;; From pango-script.h 4675 4676(define-function pango_script_for_unichar 4677 (c-name "pango_script_for_unichar") 4678 (return-type "PangoScript") 4679 (parameters 4680 '("gunichar" "ch") 4681 ) 4682) 4683 4684(define-function pango_script_iter_new 4685 (c-name "pango_script_iter_new") 4686 (is-constructor-of "PangoScriptIter") 4687 (return-type "PangoScriptIter*") 4688 (parameters 4689 '("const-char*" "text") 4690 '("int" "length") 4691 ) 4692) 4693 4694(define-method get_range 4695 (of-object "PangoScriptIter") 4696 (c-name "pango_script_iter_get_range") 4697 (return-type "none") 4698 (parameters 4699 '("const-char**" "start") 4700 '("const-char**" "end") 4701 '("PangoScript*" "script") 4702 ) 4703) 4704 4705(define-method next 4706 (of-object "PangoScriptIter") 4707 (c-name "pango_script_iter_next") 4708 (return-type "gboolean") 4709) 4710 4711(define-method free 4712 (of-object "PangoScriptIter") 4713 (c-name "pango_script_iter_free") 4714 (return-type "none") 4715) 4716 4717(define-method get_sample_language 4718 (of-object "PangoScript") 4719 (c-name "pango_script_get_sample_language") 4720 (return-type "PangoLanguage*") 4721) 4722 4723 4724 4725;; From pango-script-lang-table.h 4726 4727 4728 4729;; From pango-script-private.h 4730 4731 4732 4733;; From pango-tabs.h 4734 4735(define-function pango_tab_array_new 4736 (c-name "pango_tab_array_new") 4737 (is-constructor-of "PangoTabArray") 4738 (return-type "PangoTabArray*") 4739 (parameters 4740 '("gint" "initial_size") 4741 '("gboolean" "positions_in_pixels") 4742 ) 4743) 4744 4745(define-function pango_tab_array_new_with_positions 4746 (c-name "pango_tab_array_new_with_positions") 4747 (return-type "PangoTabArray*") 4748 (parameters 4749 '("gint" "size") 4750 '("gboolean" "positions_in_pixels") 4751 '("PangoTabAlign" "first_alignment") 4752 '("gint" "first_position") 4753 ) 4754 (varargs #t) 4755) 4756 4757(define-function pango_tab_array_get_type 4758 (c-name "pango_tab_array_get_type") 4759 (return-type "GType") 4760) 4761 4762(define-method copy 4763 (of-object "PangoTabArray") 4764 (c-name "pango_tab_array_copy") 4765 (return-type "PangoTabArray*") 4766) 4767 4768(define-method free 4769 (of-object "PangoTabArray") 4770 (c-name "pango_tab_array_free") 4771 (return-type "none") 4772) 4773 4774(define-method get_size 4775 (of-object "PangoTabArray") 4776 (c-name "pango_tab_array_get_size") 4777 (return-type "gint") 4778) 4779 4780(define-method resize 4781 (of-object "PangoTabArray") 4782 (c-name "pango_tab_array_resize") 4783 (return-type "none") 4784 (parameters 4785 '("gint" "new_size") 4786 ) 4787) 4788 4789(define-method set_tab 4790 (of-object "PangoTabArray") 4791 (c-name "pango_tab_array_set_tab") 4792 (return-type "none") 4793 (parameters 4794 '("gint" "tab_index") 4795 '("PangoTabAlign" "alignment") 4796 '("gint" "location") 4797 ) 4798) 4799 4800(define-method get_tab 4801 (of-object "PangoTabArray") 4802 (c-name "pango_tab_array_get_tab") 4803 (return-type "none") 4804 (parameters 4805 '("gint" "tab_index") 4806 '("PangoTabAlign*" "alignment") 4807 '("gint*" "location") 4808 ) 4809) 4810 4811(define-method get_tabs 4812 (of-object "PangoTabArray") 4813 (c-name "pango_tab_array_get_tabs") 4814 (return-type "none") 4815 (parameters 4816 '("PangoTabAlign**" "alignments") 4817 '("gint**" "locations") 4818 ) 4819) 4820 4821(define-method get_positions_in_pixels 4822 (of-object "PangoTabArray") 4823 (c-name "pango_tab_array_get_positions_in_pixels") 4824 (return-type "gboolean") 4825) 4826 4827 4828 4829;; From pango-types.h 4830 4831(define-function pango_units_from_double 4832 (c-name "pango_units_from_double") 4833 (return-type "int") 4834 (parameters 4835 '("double" "d") 4836 ) 4837) 4838 4839(define-function pango_units_to_double 4840 (c-name "pango_units_to_double") 4841 (return-type "double") 4842 (parameters 4843 '("int" "i") 4844 ) 4845) 4846 4847(define-function pango_extents_to_pixels 4848 (c-name "pango_extents_to_pixels") 4849 (return-type "none") 4850 (parameters 4851 '("PangoRectangle*" "inclusive") 4852 '("PangoRectangle*" "nearest") 4853 ) 4854) 4855 4856 4857 4858;; From pango-utils.h 4859 4860(define-function pango_split_file_list 4861 (c-name "pango_split_file_list") 4862 (return-type "char**") 4863 (parameters 4864 '("const-char*" "str") 4865 ) 4866) 4867 4868(define-function pango_trim_string 4869 (c-name "pango_trim_string") 4870 (return-type "char*") 4871 (parameters 4872 '("const-char*" "str") 4873 ) 4874) 4875 4876(define-function pango_read_line 4877 (c-name "pango_read_line") 4878 (return-type "gint") 4879 (parameters 4880 '("FILE*" "stream") 4881 '("GString*" "str") 4882 ) 4883) 4884 4885(define-function pango_skip_space 4886 (c-name "pango_skip_space") 4887 (return-type "gboolean") 4888 (parameters 4889 '("const-char**" "pos") 4890 ) 4891) 4892 4893(define-function pango_scan_word 4894 (c-name "pango_scan_word") 4895 (return-type "gboolean") 4896 (parameters 4897 '("const-char**" "pos") 4898 '("GString*" "out") 4899 ) 4900) 4901 4902(define-function pango_scan_string 4903 (c-name "pango_scan_string") 4904 (return-type "gboolean") 4905 (parameters 4906 '("const-char**" "pos") 4907 '("GString*" "out") 4908 ) 4909) 4910 4911(define-function pango_scan_int 4912 (c-name "pango_scan_int") 4913 (return-type "gboolean") 4914 (parameters 4915 '("const-char**" "pos") 4916 '("int*" "out") 4917 ) 4918) 4919 4920(define-function pango_config_key_get_system 4921 (c-name "pango_config_key_get_system") 4922 (return-type "char*") 4923 (parameters 4924 '("const-char*" "key") 4925 ) 4926) 4927 4928(define-function pango_config_key_get 4929 (c-name "pango_config_key_get") 4930 (return-type "char*") 4931 (parameters 4932 '("const-char*" "key") 4933 ) 4934) 4935 4936(define-function pango_lookup_aliases 4937 (c-name "pango_lookup_aliases") 4938 (return-type "none") 4939 (parameters 4940 '("const-char*" "fontname") 4941 '("char***" "families") 4942 '("int*" "n_families") 4943 ) 4944) 4945 4946(define-function pango_parse_enum 4947 (c-name "pango_parse_enum") 4948 (return-type "gboolean") 4949 (parameters 4950 '("GType" "type") 4951 '("const-char*" "str") 4952 '("int*" "value") 4953 '("gboolean" "warn") 4954 '("char**" "possible_values") 4955 ) 4956) 4957 4958(define-function pango_parse_style 4959 (c-name "pango_parse_style") 4960 (return-type "gboolean") 4961 (parameters 4962 '("const-char*" "str") 4963 '("PangoStyle*" "style") 4964 '("gboolean" "warn") 4965 ) 4966) 4967 4968(define-function pango_parse_variant 4969 (c-name "pango_parse_variant") 4970 (return-type "gboolean") 4971 (parameters 4972 '("const-char*" "str") 4973 '("PangoVariant*" "variant") 4974 '("gboolean" "warn") 4975 ) 4976) 4977 4978(define-function pango_parse_weight 4979 (c-name "pango_parse_weight") 4980 (return-type "gboolean") 4981 (parameters 4982 '("const-char*" "str") 4983 '("PangoWeight*" "weight") 4984 '("gboolean" "warn") 4985 ) 4986) 4987 4988(define-function pango_parse_stretch 4989 (c-name "pango_parse_stretch") 4990 (return-type "gboolean") 4991 (parameters 4992 '("const-char*" "str") 4993 '("PangoStretch*" "stretch") 4994 '("gboolean" "warn") 4995 ) 4996) 4997 4998(define-function pango_get_sysconf_subdirectory 4999 (c-name "pango_get_sysconf_subdirectory") 5000 (return-type "const-char*") 5001) 5002 5003(define-function pango_get_lib_subdirectory 5004 (c-name "pango_get_lib_subdirectory") 5005 (return-type "const-char*") 5006) 5007 5008(define-function pango_quantize_line_geometry 5009 (c-name "pango_quantize_line_geometry") 5010 (return-type "none") 5011 (parameters 5012 '("int*" "thickness") 5013 '("int*" "position") 5014 ) 5015) 5016 5017(define-function pango_log2vis_get_embedding_levels 5018 (c-name "pango_log2vis_get_embedding_levels") 5019 (return-type "guint8*") 5020 (parameters 5021 '("const-gchar*" "text") 5022 '("int" "length") 5023 '("PangoDirection*" "pbase_dir") 5024 ) 5025) 5026 5027(define-function pango_is_zero_width 5028 (c-name "pango_is_zero_width") 5029 (return-type "gboolean") 5030 (parameters 5031 '("gunichar" "ch") 5032 ) 5033) 5034 5035(define-function pango_version 5036 (c-name "pango_version") 5037 (return-type "int") 5038) 5039 5040(define-function pango_version_string 5041 (c-name "pango_version_string") 5042 (return-type "const-char*") 5043) 5044 5045(define-function pango_version_check 5046 (c-name "pango_version_check") 5047 (return-type "const-char*") 5048 (parameters 5049 '("int" "required_major") 5050 '("int" "required_minor") 5051 '("int" "required_micro") 5052 ) 5053) 5054 5055 5056 5057;; From pangowin32.h 5058 5059(define-function pango_win32_get_context 5060 (c-name "pango_win32_get_context") 5061 (return-type "PangoContext*") 5062) 5063 5064(define-function pango_win32_render 5065 (c-name "pango_win32_render") 5066 (return-type "none") 5067 (parameters 5068 '("HDC" "hdc") 5069 '("PangoFont*" "font") 5070 '("PangoGlyphString*" "glyphs") 5071 '("gint" "x") 5072 '("gint" "y") 5073 ) 5074) 5075 5076(define-function pango_win32_render_layout_line 5077 (c-name "pango_win32_render_layout_line") 5078 (return-type "none") 5079 (parameters 5080 '("HDC" "hdc") 5081 '("PangoLayoutLine*" "line") 5082 '("int" "x") 5083 '("int" "y") 5084 ) 5085) 5086 5087(define-function pango_win32_render_layout 5088 (c-name "pango_win32_render_layout") 5089 (return-type "none") 5090 (parameters 5091 '("HDC" "hdc") 5092 '("PangoLayout*" "layout") 5093 '("int" "x") 5094 '("int" "y") 5095 ) 5096) 5097 5098(define-function pango_win32_render_transformed 5099 (c-name "pango_win32_render_transformed") 5100 (return-type "none") 5101 (parameters 5102 '("HDC" "hdc") 5103 '("const-PangoMatrix*" "matrix") 5104 '("PangoFont*" "font") 5105 '("PangoGlyphString*" "glyphs") 5106 '("int" "x") 5107 '("int" "y") 5108 ) 5109) 5110 5111(define-function pango_win32_get_unknown_glyph 5112 (c-name "pango_win32_get_unknown_glyph") 5113 (return-type "PangoGlyph") 5114 (parameters 5115 '("PangoFont*" "font") 5116 '("gunichar" "wc") 5117 ) 5118) 5119 5120(define-function pango_win32_font_get_glyph_index 5121 (c-name "pango_win32_font_get_glyph_index") 5122 (return-type "gint") 5123 (parameters 5124 '("PangoFont*" "font") 5125 '("gunichar" "wc") 5126 ) 5127) 5128 5129(define-function pango_win32_get_dc 5130 (c-name "pango_win32_get_dc") 5131 (return-type "HDC") 5132) 5133 5134(define-function pango_win32_get_debug_flag 5135 (c-name "pango_win32_get_debug_flag") 5136 (return-type "gboolean") 5137) 5138 5139(define-function pango_win32_font_select_font 5140 (c-name "pango_win32_font_select_font") 5141 (return-type "gboolean") 5142 (parameters 5143 '("PangoFont*" "font") 5144 '("HDC" "hdc") 5145 ) 5146) 5147 5148(define-function pango_win32_font_done_font 5149 (c-name "pango_win32_font_done_font") 5150 (return-type "none") 5151 (parameters 5152 '("PangoFont*" "font") 5153 ) 5154) 5155 5156(define-function pango_win32_font_get_metrics_factor 5157 (c-name "pango_win32_font_get_metrics_factor") 5158 (return-type "double") 5159 (parameters 5160 '("PangoFont*" "font") 5161 ) 5162) 5163 5164(define-function pango_win32_font_cache_new 5165 (c-name "pango_win32_font_cache_new") 5166 (is-constructor-of "PangoWin32FontCache") 5167 (return-type "PangoWin32FontCache*") 5168) 5169 5170(define-method free 5171 (of-object "PangoWin32FontCache") 5172 (c-name "pango_win32_font_cache_free") 5173 (return-type "none") 5174) 5175 5176(define-method load 5177 (of-object "PangoWin32FontCache") 5178 (c-name "pango_win32_font_cache_load") 5179 (return-type "HFONT") 5180 (parameters 5181 '("const-LOGFONTA*" "logfont") 5182 ) 5183) 5184 5185(define-method loadw 5186 (of-object "PangoWin32FontCache") 5187 (c-name "pango_win32_font_cache_loadw") 5188 (return-type "HFONT") 5189 (parameters 5190 '("const-LOGFONTW*" "logfont") 5191 ) 5192) 5193 5194(define-method unload 5195 (of-object "PangoWin32FontCache") 5196 (c-name "pango_win32_font_cache_unload") 5197 (return-type "none") 5198 (parameters 5199 '("HFONT" "hfont") 5200 ) 5201) 5202 5203(define-function pango_win32_font_map_for_display 5204 (c-name "pango_win32_font_map_for_display") 5205 (return-type "PangoFontMap*") 5206) 5207 5208(define-function pango_win32_shutdown_display 5209 (c-name "pango_win32_shutdown_display") 5210 (return-type "none") 5211) 5212 5213(define-function pango_win32_font_map_get_font_cache 5214 (c-name "pango_win32_font_map_get_font_cache") 5215 (return-type "PangoWin32FontCache*") 5216 (parameters 5217 '("PangoFontMap*" "font_map") 5218 ) 5219) 5220 5221(define-function pango_win32_font_logfont 5222 (c-name "pango_win32_font_logfont") 5223 (return-type "LOGFONTA*") 5224 (parameters 5225 '("PangoFont*" "font") 5226 ) 5227) 5228 5229(define-function pango_win32_font_logfontw 5230 (c-name "pango_win32_font_logfontw") 5231 (return-type "LOGFONTW*") 5232 (parameters 5233 '("PangoFont*" "font") 5234 ) 5235) 5236 5237(define-function pango_win32_font_description_from_logfont 5238 (c-name "pango_win32_font_description_from_logfont") 5239 (return-type "PangoFontDescription*") 5240 (parameters 5241 '("const-LOGFONTA*" "lfp") 5242 ) 5243) 5244 5245(define-function pango_win32_font_description_from_logfontw 5246 (c-name "pango_win32_font_description_from_logfontw") 5247 (return-type "PangoFontDescription*") 5248 (parameters 5249 '("const-LOGFONTW*" "lfp") 5250 ) 5251) 5252 5253 5254 5255;; From pangowin32-private.h 5256 5257 5258 5259;; From pangoxft.h 5260 5261(define-function pango_xft_get_font_map 5262 (c-name "pango_xft_get_font_map") 5263 (return-type "PangoFontMap*") 5264 (parameters 5265 '("Display*" "display") 5266 '("int" "screen") 5267 ) 5268) 5269 5270(define-function pango_xft_get_context 5271 (c-name "pango_xft_get_context") 5272 (return-type "PangoContext*") 5273 (parameters 5274 '("Display*" "display") 5275 '("int" "screen") 5276 ) 5277) 5278 5279(define-function pango_xft_shutdown_display 5280 (c-name "pango_xft_shutdown_display") 5281 (return-type "none") 5282 (parameters 5283 '("Display*" "display") 5284 '("int" "screen") 5285 ) 5286) 5287 5288(define-function pango_xft_set_default_substitute 5289 (c-name "pango_xft_set_default_substitute") 5290 (return-type "none") 5291 (parameters 5292 '("Display*" "display") 5293 '("int" "screen") 5294 '("PangoXftSubstituteFunc" "func") 5295 '("gpointer" "data") 5296 '("GDestroyNotify" "notify") 5297 ) 5298) 5299 5300(define-function pango_xft_substitute_changed 5301 (c-name "pango_xft_substitute_changed") 5302 (return-type "none") 5303 (parameters 5304 '("Display*" "display") 5305 '("int" "screen") 5306 ) 5307) 5308 5309(define-function pango_xft_font_map_get_type 5310 (c-name "pango_xft_font_map_get_type") 5311 (return-type "GType") 5312) 5313 5314(define-function pango_xft_font_get_type 5315 (c-name "pango_xft_font_get_type") 5316 (return-type "GType") 5317) 5318 5319(define-function pango_xft_font_get_font 5320 (c-name "pango_xft_font_get_font") 5321 (return-type "XftFont*") 5322 (parameters 5323 '("PangoFont*" "font") 5324 ) 5325) 5326 5327(define-function pango_xft_font_get_display 5328 (c-name "pango_xft_font_get_display") 5329 (return-type "Display*") 5330 (parameters 5331 '("PangoFont*" "font") 5332 ) 5333) 5334 5335(define-function pango_xft_font_lock_face 5336 (c-name "pango_xft_font_lock_face") 5337 (return-type "FT_Face") 5338 (parameters 5339 '("PangoFont*" "font") 5340 ) 5341) 5342 5343(define-function pango_xft_font_unlock_face 5344 (c-name "pango_xft_font_unlock_face") 5345 (return-type "none") 5346 (parameters 5347 '("PangoFont*" "font") 5348 ) 5349) 5350 5351(define-function pango_xft_font_get_glyph 5352 (c-name "pango_xft_font_get_glyph") 5353 (return-type "guint") 5354 (parameters 5355 '("PangoFont*" "font") 5356 '("gunichar" "wc") 5357 ) 5358) 5359 5360(define-function pango_xft_font_has_char 5361 (c-name "pango_xft_font_has_char") 5362 (return-type "gboolean") 5363 (parameters 5364 '("PangoFont*" "font") 5365 '("gunichar" "wc") 5366 ) 5367) 5368 5369(define-function pango_xft_font_get_unknown_glyph 5370 (c-name "pango_xft_font_get_unknown_glyph") 5371 (return-type "PangoGlyph") 5372 (parameters 5373 '("PangoFont*" "font") 5374 '("gunichar" "wc") 5375 ) 5376) 5377 5378 5379 5380;; From pangoxft-private.h 5381 5382 5383 5384;; From pangoxft-render.h 5385 5386(define-function pango_xft_renderer_get_type 5387 (c-name "pango_xft_renderer_get_type") 5388 (return-type "GType") 5389) 5390 5391(define-function pango_xft_renderer_new 5392 (c-name "pango_xft_renderer_new") 5393 (is-constructor-of "PangoXftRenderer") 5394 (return-type "PangoRenderer*") 5395 (parameters 5396 '("Display*" "display") 5397 '("int" "screen") 5398 ) 5399) 5400 5401(define-method set_draw 5402 (of-object "PangoXftRenderer") 5403 (c-name "pango_xft_renderer_set_draw") 5404 (return-type "none") 5405 (parameters 5406 '("XftDraw*" "draw") 5407 ) 5408) 5409 5410(define-method set_default_color 5411 (of-object "PangoXftRenderer") 5412 (c-name "pango_xft_renderer_set_default_color") 5413 (return-type "none") 5414 (parameters 5415 '("PangoColor*" "default_color") 5416 ) 5417) 5418 5419(define-function pango_xft_render 5420 (c-name "pango_xft_render") 5421 (return-type "none") 5422 (parameters 5423 '("XftDraw*" "draw") 5424 '("XftColor*" "color") 5425 '("PangoFont*" "font") 5426 '("PangoGlyphString*" "glyphs") 5427 '("gint" "x") 5428 '("gint" "y") 5429 ) 5430) 5431 5432(define-function pango_xft_picture_render 5433 (c-name "pango_xft_picture_render") 5434 (return-type "none") 5435 (parameters 5436 '("Display*" "display") 5437 '("Picture" "src_picture") 5438 '("Picture" "dest_picture") 5439 '("PangoFont*" "font") 5440 '("PangoGlyphString*" "glyphs") 5441 '("gint" "x") 5442 '("gint" "y") 5443 ) 5444) 5445 5446(define-function pango_xft_render_transformed 5447 (c-name "pango_xft_render_transformed") 5448 (return-type "none") 5449 (parameters 5450 '("XftDraw*" "draw") 5451 '("XftColor*" "color") 5452 '("PangoMatrix*" "matrix") 5453 '("PangoFont*" "font") 5454 '("PangoGlyphString*" "glyphs") 5455 '("int" "x") 5456 '("int" "y") 5457 ) 5458) 5459 5460(define-function pango_xft_render_layout_line 5461 (c-name "pango_xft_render_layout_line") 5462 (return-type "none") 5463 (parameters 5464 '("XftDraw*" "draw") 5465 '("XftColor*" "color") 5466 '("PangoLayoutLine*" "line") 5467 '("int" "x") 5468 '("int" "y") 5469 ) 5470) 5471 5472(define-function pango_xft_render_layout 5473 (c-name "pango_xft_render_layout") 5474 (return-type "none") 5475 (parameters 5476 '("XftDraw*" "draw") 5477 '("XftColor*" "color") 5478 '("PangoLayout*" "layout") 5479 '("int" "x") 5480 '("int" "y") 5481 ) 5482) 5483 5484 5485