pango 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +21 -2
- data/lib/2.0/pango.so +0 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +820 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +3 -3
- data/vendor/local/include/harfbuzz/hb-blob.h +3 -4
- data/vendor/local/include/harfbuzz/hb-buffer.h +22 -1
- data/vendor/local/include/harfbuzz/hb-common.h +23 -18
- data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +11 -3
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +10 -11
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-version.h +7 -7
- data/vendor/local/include/layout/LEFontInstance.h +550 -0
- data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
- data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
- data/vendor/local/include/layout/LEInsertionList.h +177 -0
- data/vendor/local/include/layout/LELanguages.h +112 -0
- data/vendor/local/include/layout/LEScripts.h +263 -0
- data/vendor/local/include/layout/LESwaps.h +100 -0
- data/vendor/local/include/layout/LETableReference.h +418 -0
- data/vendor/local/include/layout/LETypes.h +728 -0
- data/vendor/local/include/layout/LayoutEngine.h +518 -0
- data/vendor/local/include/layout/ParagraphLayout.h +747 -0
- data/vendor/local/include/layout/RunArrays.h +676 -0
- data/vendor/local/include/layout/loengine.h +225 -0
- data/vendor/local/include/layout/playout.h +466 -0
- data/vendor/local/include/layout/plruns.h +441 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -1
- data/vendor/local/include/pango-1.0/pango/pango-item.h +11 -2
- data/vendor/local/include/unicode/alphaindex.h +752 -0
- data/vendor/local/include/unicode/appendable.h +232 -0
- data/vendor/local/include/unicode/basictz.h +214 -0
- data/vendor/local/include/unicode/brkiter.h +655 -0
- data/vendor/local/include/unicode/bytestream.h +257 -0
- data/vendor/local/include/unicode/bytestrie.h +519 -0
- data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
- data/vendor/local/include/unicode/calendar.h +2519 -0
- data/vendor/local/include/unicode/caniter.h +208 -0
- data/vendor/local/include/unicode/chariter.h +722 -0
- data/vendor/local/include/unicode/choicfmt.h +594 -0
- data/vendor/local/include/unicode/coleitr.h +404 -0
- data/vendor/local/include/unicode/coll.h +1267 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
- data/vendor/local/include/unicode/curramt.h +130 -0
- data/vendor/local/include/unicode/currpinf.h +258 -0
- data/vendor/local/include/unicode/currunit.h +110 -0
- data/vendor/local/include/unicode/datefmt.h +883 -0
- data/vendor/local/include/unicode/dbbi.h +40 -0
- data/vendor/local/include/unicode/dcfmtsym.h +482 -0
- data/vendor/local/include/unicode/decimfmt.h +2479 -0
- data/vendor/local/include/unicode/docmain.h +215 -0
- data/vendor/local/include/unicode/dtfmtsym.h +912 -0
- data/vendor/local/include/unicode/dtintrv.h +158 -0
- data/vendor/local/include/unicode/dtitvfmt.h +985 -0
- data/vendor/local/include/unicode/dtitvinf.h +514 -0
- data/vendor/local/include/unicode/dtptngen.h +498 -0
- data/vendor/local/include/unicode/dtrule.h +250 -0
- data/vendor/local/include/unicode/enumset.h +64 -0
- data/vendor/local/include/unicode/errorcode.h +137 -0
- data/vendor/local/include/unicode/fieldpos.h +291 -0
- data/vendor/local/include/unicode/filteredbrk.h +131 -0
- data/vendor/local/include/unicode/fmtable.h +760 -0
- data/vendor/local/include/unicode/format.h +305 -0
- data/vendor/local/include/unicode/fpositer.h +117 -0
- data/vendor/local/include/unicode/gender.h +111 -0
- data/vendor/local/include/unicode/gregocal.h +777 -0
- data/vendor/local/include/unicode/icudataver.h +41 -0
- data/vendor/local/include/unicode/icuplug.h +371 -0
- data/vendor/local/include/unicode/idna.h +323 -0
- data/vendor/local/include/unicode/listformatter.h +167 -0
- data/vendor/local/include/unicode/localpointer.h +304 -0
- data/vendor/local/include/unicode/locdspnm.h +204 -0
- data/vendor/local/include/unicode/locid.h +815 -0
- data/vendor/local/include/unicode/measfmt.h +389 -0
- data/vendor/local/include/unicode/measunit.h +1443 -0
- data/vendor/local/include/unicode/measure.h +159 -0
- data/vendor/local/include/unicode/messagepattern.h +943 -0
- data/vendor/local/include/unicode/msgfmt.h +1093 -0
- data/vendor/local/include/unicode/normalizer2.h +658 -0
- data/vendor/local/include/unicode/normlzr.h +797 -0
- data/vendor/local/include/unicode/numfmt.h +1187 -0
- data/vendor/local/include/unicode/numsys.h +208 -0
- data/vendor/local/include/unicode/parseerr.h +92 -0
- data/vendor/local/include/unicode/parsepos.h +230 -0
- data/vendor/local/include/unicode/platform.h +751 -0
- data/vendor/local/include/unicode/plurfmt.h +615 -0
- data/vendor/local/include/unicode/plurrule.h +501 -0
- data/vendor/local/include/unicode/ptypes.h +126 -0
- data/vendor/local/include/unicode/putil.h +181 -0
- data/vendor/local/include/unicode/rbbi.h +782 -0
- data/vendor/local/include/unicode/rbnf.h +1032 -0
- data/vendor/local/include/unicode/rbtz.h +362 -0
- data/vendor/local/include/unicode/regex.h +1857 -0
- data/vendor/local/include/unicode/region.h +228 -0
- data/vendor/local/include/unicode/reldatefmt.h +498 -0
- data/vendor/local/include/unicode/rep.h +261 -0
- data/vendor/local/include/unicode/resbund.h +490 -0
- data/vendor/local/include/unicode/schriter.h +187 -0
- data/vendor/local/include/unicode/scientificformathelper.h +139 -0
- data/vendor/local/include/unicode/search.h +575 -0
- data/vendor/local/include/unicode/selfmt.h +367 -0
- data/vendor/local/include/unicode/simpletz.h +928 -0
- data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
- data/vendor/local/include/unicode/sortkey.h +338 -0
- data/vendor/local/include/unicode/std_string.h +37 -0
- data/vendor/local/include/unicode/strenum.h +276 -0
- data/vendor/local/include/unicode/stringpiece.h +224 -0
- data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
- data/vendor/local/include/unicode/stsearch.h +504 -0
- data/vendor/local/include/unicode/symtable.h +112 -0
- data/vendor/local/include/unicode/tblcoll.h +873 -0
- data/vendor/local/include/unicode/timezone.h +948 -0
- data/vendor/local/include/unicode/tmunit.h +129 -0
- data/vendor/local/include/unicode/tmutamt.h +168 -0
- data/vendor/local/include/unicode/tmutfmt.h +243 -0
- data/vendor/local/include/unicode/translit.h +1342 -0
- data/vendor/local/include/unicode/tzfmt.h +1098 -0
- data/vendor/local/include/unicode/tznames.h +404 -0
- data/vendor/local/include/unicode/tzrule.h +828 -0
- data/vendor/local/include/unicode/tztrans.h +195 -0
- data/vendor/local/include/unicode/ubidi.h +2186 -0
- data/vendor/local/include/unicode/ubrk.h +540 -0
- data/vendor/local/include/unicode/ucal.h +1560 -0
- data/vendor/local/include/unicode/ucasemap.h +423 -0
- data/vendor/local/include/unicode/ucat.h +158 -0
- data/vendor/local/include/unicode/uchar.h +3426 -0
- data/vendor/local/include/unicode/ucharstrie.h +576 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
- data/vendor/local/include/unicode/uchriter.h +381 -0
- data/vendor/local/include/unicode/uclean.h +258 -0
- data/vendor/local/include/unicode/ucnv.h +2036 -0
- data/vendor/local/include/unicode/ucnv_cb.h +162 -0
- data/vendor/local/include/unicode/ucnv_err.h +463 -0
- data/vendor/local/include/unicode/ucnvsel.h +187 -0
- data/vendor/local/include/unicode/ucol.h +1474 -0
- data/vendor/local/include/unicode/ucoleitr.h +266 -0
- data/vendor/local/include/unicode/uconfig.h +430 -0
- data/vendor/local/include/unicode/ucsdet.h +413 -0
- data/vendor/local/include/unicode/ucurr.h +424 -0
- data/vendor/local/include/unicode/udat.h +1536 -0
- data/vendor/local/include/unicode/udata.h +430 -0
- data/vendor/local/include/unicode/udateintervalformat.h +181 -0
- data/vendor/local/include/unicode/udatpg.h +588 -0
- data/vendor/local/include/unicode/udisplaycontext.h +150 -0
- data/vendor/local/include/unicode/uenum.h +206 -0
- data/vendor/local/include/unicode/uformattable.h +280 -0
- data/vendor/local/include/unicode/ugender.h +82 -0
- data/vendor/local/include/unicode/uidna.h +762 -0
- data/vendor/local/include/unicode/uiter.h +707 -0
- data/vendor/local/include/unicode/uldnames.h +302 -0
- data/vendor/local/include/unicode/uloc.h +1256 -0
- data/vendor/local/include/unicode/ulocdata.h +277 -0
- data/vendor/local/include/unicode/umachine.h +356 -0
- data/vendor/local/include/unicode/umisc.h +60 -0
- data/vendor/local/include/unicode/umsg.h +623 -0
- data/vendor/local/include/unicode/unifilt.h +120 -0
- data/vendor/local/include/unicode/unifunct.h +125 -0
- data/vendor/local/include/unicode/unimatch.h +163 -0
- data/vendor/local/include/unicode/unirepl.h +97 -0
- data/vendor/local/include/unicode/uniset.h +1691 -0
- data/vendor/local/include/unicode/unistr.h +4470 -0
- data/vendor/local/include/unicode/unorm.h +561 -0
- data/vendor/local/include/unicode/unorm2.h +528 -0
- data/vendor/local/include/unicode/unum.h +1328 -0
- data/vendor/local/include/unicode/unumsys.h +170 -0
- data/vendor/local/include/unicode/uobject.h +320 -0
- data/vendor/local/include/unicode/upluralrules.h +145 -0
- data/vendor/local/include/unicode/uregex.h +1591 -0
- data/vendor/local/include/unicode/uregion.h +248 -0
- data/vendor/local/include/unicode/urename.h +1784 -0
- data/vendor/local/include/unicode/urep.h +155 -0
- data/vendor/local/include/unicode/ures.h +887 -0
- data/vendor/local/include/unicode/uscript.h +642 -0
- data/vendor/local/include/unicode/usearch.h +885 -0
- data/vendor/local/include/unicode/uset.h +1126 -0
- data/vendor/local/include/unicode/usetiter.h +318 -0
- data/vendor/local/include/unicode/ushape.h +474 -0
- data/vendor/local/include/unicode/uspoof.h +1064 -0
- data/vendor/local/include/unicode/usprep.h +269 -0
- data/vendor/local/include/unicode/ustdio.h +1018 -0
- data/vendor/local/include/unicode/ustream.h +68 -0
- data/vendor/local/include/unicode/ustring.h +1700 -0
- data/vendor/local/include/unicode/ustringtrie.h +95 -0
- data/vendor/local/include/unicode/utext.h +1600 -0
- data/vendor/local/include/unicode/utf.h +223 -0
- data/vendor/local/include/unicode/utf16.h +623 -0
- data/vendor/local/include/unicode/utf32.h +23 -0
- data/vendor/local/include/unicode/utf8.h +824 -0
- data/vendor/local/include/unicode/utf_old.h +1169 -0
- data/vendor/local/include/unicode/utmscale.h +481 -0
- data/vendor/local/include/unicode/utrace.h +359 -0
- data/vendor/local/include/unicode/utrans.h +658 -0
- data/vendor/local/include/unicode/utypes.h +723 -0
- data/vendor/local/include/unicode/uvernum.h +170 -0
- data/vendor/local/include/unicode/uversion.h +193 -0
- data/vendor/local/include/unicode/vtzone.h +455 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
- data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
- data/vendor/local/lib/icu/Makefile.inc +293 -0
- data/vendor/local/lib/icu/pkgdata.inc +17 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt54.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +2 -2
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +3009 -462
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +64 -22
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +4 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +343 -313
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +6 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +442 -247
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1389 -654
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +954 -698
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +95 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +477 -191
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1951 -1039
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +123 -65
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +67 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +574 -347
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +104 -37
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +10 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +744 -318
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +294 -153
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +196 -104
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1100 -757
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +51 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +110 -84
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +289 -503
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +161 -316
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +31 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +143 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +150 -108
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +163 -112
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +348 -229
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +746 -514
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +853 -623
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +31 -33
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +10 -12
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +12 -14
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +53 -55
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +29 -31
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +9 -11
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +11 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +7 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +49 -51
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +36 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +37 -39
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +68 -70
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +568 -570
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +229 -399
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +345 -259
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +979 -664
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +70 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +349 -229
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +236 -153
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +3100 -2159
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +659 -472
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +1952 -1384
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +3050 -2135
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +676 -463
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +223 -146
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1589 -1199
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1072 -842
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +406 -276
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +2541 -1792
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +1479 -1033
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +214 -154
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +374 -291
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +733 -498
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +893 -617
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +59 -59
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +578 -782
- data/vendor/local/share/gtk-doc/html/pango/pango.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/tools.html +4 -4
- data/vendor/local/share/icu/54.1/config/mh-mingw +158 -0
- data/vendor/local/share/icu/54.1/install-sh +251 -0
- data/vendor/local/share/icu/54.1/license.html +385 -0
- data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
- data/vendor/local/share/license/harfbuzz/AUTHORS +1 -0
- data/vendor/local/share/man/man1/derb.1 +196 -0
- data/vendor/local/share/man/man1/genbrk.1 +112 -0
- data/vendor/local/share/man/man1/gencfu.1 +91 -0
- data/vendor/local/share/man/man1/gencnval.1 +91 -0
- data/vendor/local/share/man/man1/gendict.1 +131 -0
- data/vendor/local/share/man/man1/genrb.1 +146 -0
- data/vendor/local/share/man/man1/icu-config.1 +288 -0
- data/vendor/local/share/man/man1/makeconv.1 +112 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -118
- data/vendor/local/share/man/man1/pkgdata.1 +258 -0
- data/vendor/local/share/man/man1/uconv.1 +443 -0
- data/vendor/local/share/man/man8/genccode.8 +106 -0
- data/vendor/local/share/man/man8/gencmn.8 +129 -0
- data/vendor/local/share/man/man8/gensprep.8 +102 -0
- data/vendor/local/share/man/man8/icupkg.8 +204 -0
- metadata +266 -14
- data/lib/1.9/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
@@ -8,17 +8,15 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango.html" title="Basic Pango Interfaces">
|
10
10
|
<link rel="next" href="pango-Glyph-Storage.html" title="Glyph Storage">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#pango-Text-Processing.
|
20
|
-
|
|
21
|
-
<a href="#pango-Text-Processing.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#pango-Text-Processing.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#pango-Text-Processing.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
22
20
|
</td>
|
23
21
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
22
|
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -32,224 +30,355 @@
|
|
32
30
|
<h2><span class="refentrytitle"><a name="pango-Text-Processing.top_of_page"></a>Rendering</span></h2>
|
33
31
|
<p>Rendering — Functions to run the rendering pipeline</p>
|
34
32
|
</td>
|
35
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
34
|
</tr></table></div>
|
37
|
-
<div class="refsynopsisdiv">
|
38
|
-
<a name="pango-Text-Processing.synopsis"></a><h2>Synopsis</h2>
|
39
|
-
<a name="PangoContext"></a><a name="PangoItem"></a><pre class="synopsis"> <a class="link" href="pango-Text-Processing.html#PangoContext-struct" title="PangoContext">PangoContext</a>;
|
40
|
-
struct <a class="link" href="pango-Text-Processing.html#PangoItem-struct" title="struct PangoItem">PangoItem</a>;
|
41
|
-
struct <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis">PangoAnalysis</a>;
|
42
|
-
#define <a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS" title="PANGO_ANALYSIS_FLAG_CENTERED_BASELINE">PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</a>
|
43
|
-
#define <a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION:CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a>
|
44
|
-
|
45
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()">pango_itemize</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
46
|
-
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
47
|
-
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
48
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *cached_iter</code></em>);
|
51
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="pango-Text-Processing.html#pango-itemize-with-base-dir" title="pango_itemize_with_base_dir ()">pango_itemize_with_base_dir</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
52
|
-
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> base_dir</code></em>,
|
53
|
-
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
56
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>,
|
57
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *cached_iter</code></em>);
|
58
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()">pango_item_free</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);
|
59
|
-
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> * <a class="link" href="pango-Text-Processing.html#pango-item-copy" title="pango_item_copy ()">pango_item_copy</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);
|
60
|
-
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> * <a class="link" href="pango-Text-Processing.html#pango-item-new" title="pango_item_new ()">pango_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
61
|
-
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> * <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()">pango_item_split</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *orig</code></em>,
|
62
|
-
<em class="parameter"><code><span class="type">int</span> split_index</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">int</span> split_offset</code></em>);
|
64
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="pango-Text-Processing.html#pango-reorder-items" title="pango_reorder_items ()">pango_reorder_items</a> (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *logical_items</code></em>);
|
65
|
-
|
66
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()">pango_context_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
67
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-changed" title="pango_context_changed ()">pango_context_changed</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
68
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="pango-Text-Processing.html#pango-context-get-serial" title="pango_context_get_serial ()">pango_context_get_serial</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()">pango_context_set_font_map</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
70
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);
|
71
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-get-font-map" title="pango_context_get_font_map ()">pango_context_get_font_map</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
72
|
-
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-get-font-description" title="pango_context_get_font_description ()">pango_context_get_font_description</a>
|
73
|
-
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
74
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-font-description" title="pango_context_set_font_description ()">pango_context_set_font_description</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
75
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
76
|
-
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-get-language" title="pango_context_get_language ()">pango_context_get_language</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
77
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-language" title="pango_context_set_language ()">pango_context_set_language</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
78
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
79
|
-
<a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a> <a class="link" href="pango-Text-Processing.html#pango-context-get-base-dir" title="pango_context_get_base_dir ()">pango_context_get_base_dir</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()">pango_context_set_base_dir</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> direction</code></em>);
|
82
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()">pango_context_get_base_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
83
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()">pango_context_set_base_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
84
|
-
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
85
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()">pango_context_get_gravity</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
86
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a> <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity-hint" title="pango_context_get_gravity_hint ()">pango_context_get_gravity_hint</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()">pango_context_set_gravity_hint</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
88
|
-
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
|
89
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-get-matrix" title="pango_context_get_matrix ()">pango_context_get_matrix</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
|
90
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()">pango_context_set_matrix</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
91
|
-
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
92
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-load-font" title="pango_context_load_font ()">pango_context_load_font</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
93
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);
|
94
|
-
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-load-fontset" title="pango_context_load_fontset ()">pango_context_load_fontset</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
95
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
96
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
97
|
-
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> * <a class="link" href="pango-Text-Processing.html#pango-context-get-metrics" title="pango_context_get_metrics ()">pango_context_get_metrics</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
98
|
-
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
99
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);
|
100
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-context-list-families" title="pango_context_list_families ()">pango_context_list_families</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
101
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
102
|
-
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);
|
103
|
-
|
104
|
-
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()">pango_break</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
106
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
107
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
108
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
|
109
|
-
<em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);
|
110
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()">pango_get_log_attrs</a> (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
111
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
112
|
-
<em class="parameter"><code><span class="type">int</span> level</code></em>,
|
113
|
-
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
114
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
|
115
|
-
<em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);
|
116
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-find-paragraph-boundary" title="pango_find_paragraph_boundary ()">pango_find_paragraph_boundary</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
117
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
118
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *paragraph_delimiter_index</code></em>,
|
119
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *next_paragraph_start</code></em>);
|
120
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-default-break" title="pango_default_break ()">pango_default_break</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
121
|
-
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
122
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
123
|
-
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
|
124
|
-
<em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);
|
125
|
-
<a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a>;
|
126
|
-
|
127
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()">pango_shape</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
128
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
129
|
-
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
130
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
|
131
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()">pango_shape_full</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item_text</code></em>,
|
132
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_length</code></em>,
|
133
|
-
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *paragraph_text</code></em>,
|
134
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> paragraph_length</code></em>,
|
135
|
-
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
136
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
|
137
|
-
</pre>
|
138
|
-
</div>
|
139
|
-
<div class="refsect1">
|
140
|
-
<a name="pango-Text-Processing.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
141
|
-
<pre class="synopsis">
|
142
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
143
|
-
+----PangoContext
|
144
|
-
</pre>
|
145
|
-
<pre class="synopsis">
|
146
|
-
GBoxed
|
147
|
-
+----PangoItem
|
148
|
-
</pre>
|
149
|
-
</div>
|
150
|
-
<div class="refsect1">
|
151
|
-
<a name="pango-Text-Processing.description"></a><h2>Description</h2>
|
152
|
-
<p>
|
153
|
-
The Pango rendering pipeline takes a string of
|
154
|
-
Unicode characters and converts it into glyphs.
|
155
|
-
The functions described in this section accomplish
|
156
|
-
various steps of this process.</p>
|
157
|
-
</div>
|
158
35
|
<div class="refsect1">
|
159
|
-
<a name="pango-Text-Processing.
|
160
|
-
<div class="
|
161
|
-
<a name="PangoContext-struct"></a><h3>PangoContext</h3>
|
162
|
-
<pre class="programlisting">typedef struct _PangoContext PangoContext;</pre>
|
163
|
-
<p>
|
164
|
-
The <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> structure stores global information
|
165
|
-
used to control the itemization process.</p>
|
166
|
-
</div>
|
167
|
-
<hr>
|
168
|
-
<div class="refsect2">
|
169
|
-
<a name="PangoItem-struct"></a><h3>struct PangoItem</h3>
|
170
|
-
<pre class="programlisting">struct PangoItem {
|
171
|
-
gint offset;
|
172
|
-
gint length;
|
173
|
-
gint num_chars;
|
174
|
-
PangoAnalysis analysis;
|
175
|
-
};
|
176
|
-
</pre>
|
177
|
-
<p>
|
178
|
-
The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure stores information abouta segment of text.</p>
|
179
|
-
</div>
|
180
|
-
<hr>
|
181
|
-
<div class="refsect2">
|
182
|
-
<a name="PangoAnalysis"></a><h3>struct PangoAnalysis</h3>
|
183
|
-
<pre class="programlisting">struct PangoAnalysis {
|
184
|
-
PangoEngineShape *shape_engine;
|
185
|
-
PangoEngineLang *lang_engine;
|
186
|
-
PangoFont *font;
|
187
|
-
|
188
|
-
guint8 level;
|
189
|
-
guint8 gravity; /* PangoGravity */
|
190
|
-
guint8 flags;
|
191
|
-
|
192
|
-
guint8 script; /* PangoScript */
|
193
|
-
PangoLanguage *language;
|
194
|
-
|
195
|
-
GSList *extra_attrs;
|
196
|
-
};
|
197
|
-
</pre>
|
198
|
-
<p>
|
199
|
-
The <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure stores information about
|
200
|
-
the properties of a segment of text.</p>
|
201
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
36
|
+
<a name="pango-Text-Processing.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
202
38
|
<colgroup>
|
203
|
-
<col
|
204
|
-
<col>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
205
41
|
</colgroup>
|
206
42
|
<tbody>
|
207
43
|
<tr>
|
208
|
-
<td
|
209
|
-
<td
|
44
|
+
<td class="define_keyword">#define</td>
|
45
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS" title="PANGO_ANALYSIS_FLAG_CENTERED_BASELINE">PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</a></td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td class="define_keyword">#define</td>
|
49
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PANGO-TYPE-DIRECTION:CAPS" title="PANGO_TYPE_DIRECTION">PANGO_TYPE_DIRECTION</a></td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
56
|
+
<a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()">pango_itemize</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="pango-Text-Processing.html#pango-itemize-with-base-dir" title="pango_itemize_with_base_dir ()">pango_itemize_with_base_dir</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="function_type">
|
69
|
+
<span class="returnvalue">void</span>
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()">pango_item_free</a> <span class="c_punctuation">()</span>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td class="function_type">
|
77
|
+
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<a class="link" href="pango-Text-Processing.html#pango-item-copy" title="pango_item_copy ()">pango_item_copy</a> <span class="c_punctuation">()</span>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td class="function_type">
|
85
|
+
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<a class="link" href="pango-Text-Processing.html#pango-item-new" title="pango_item_new ()">pango_item_new</a> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td class="function_type">
|
93
|
+
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()">pango_item_split</a> <span class="c_punctuation">()</span>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td class="function_type">
|
101
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<a class="link" href="pango-Text-Processing.html#pango-reorder-items" title="pango_reorder_items ()">pango_reorder_items</a> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="function_type">
|
109
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
110
|
+
</td>
|
111
|
+
<td class="function_name">
|
112
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-new" title="pango_context_new ()">pango_context_new</a> <span class="c_punctuation">()</span>
|
113
|
+
</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td class="function_type">
|
117
|
+
<span class="returnvalue">void</span>
|
118
|
+
</td>
|
119
|
+
<td class="function_name">
|
120
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-changed" title="pango_context_changed ()">pango_context_changed</a> <span class="c_punctuation">()</span>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td class="function_type">
|
125
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-serial" title="pango_context_get_serial ()">pango_context_get_serial</a> <span class="c_punctuation">()</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td class="function_type">
|
133
|
+
<span class="returnvalue">void</span>
|
134
|
+
</td>
|
135
|
+
<td class="function_name">
|
136
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()">pango_context_set_font_map</a> <span class="c_punctuation">()</span>
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td class="function_type">
|
141
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-font-map" title="pango_context_get_font_map ()">pango_context_get_font_map</a> <span class="c_punctuation">()</span>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="function_type">
|
149
|
+
<a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-font-description" title="pango_context_get_font_description ()">pango_context_get_font_description</a> <span class="c_punctuation">()</span>
|
153
|
+
</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td class="function_type">
|
157
|
+
<span class="returnvalue">void</span>
|
158
|
+
</td>
|
159
|
+
<td class="function_name">
|
160
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-font-description" title="pango_context_set_font_description ()">pango_context_set_font_description</a> <span class="c_punctuation">()</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="function_type">
|
165
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
166
|
+
</td>
|
167
|
+
<td class="function_name">
|
168
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-language" title="pango_context_get_language ()">pango_context_get_language</a> <span class="c_punctuation">()</span>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="function_type">
|
173
|
+
<span class="returnvalue">void</span>
|
174
|
+
</td>
|
175
|
+
<td class="function_name">
|
176
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-language" title="pango_context_set_language ()">pango_context_set_language</a> <span class="c_punctuation">()</span>
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td class="function_type">
|
181
|
+
<a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a>
|
182
|
+
</td>
|
183
|
+
<td class="function_name">
|
184
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-dir" title="pango_context_get_base_dir ()">pango_context_get_base_dir</a> <span class="c_punctuation">()</span>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="function_type">
|
189
|
+
<span class="returnvalue">void</span>
|
190
|
+
</td>
|
191
|
+
<td class="function_name">
|
192
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()">pango_context_set_base_dir</a> <span class="c_punctuation">()</span>
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td class="function_type">
|
197
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
|
198
|
+
</td>
|
199
|
+
<td class="function_name">
|
200
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()">pango_context_get_base_gravity</a> <span class="c_punctuation">()</span>
|
201
|
+
</td>
|
202
|
+
</tr>
|
203
|
+
<tr>
|
204
|
+
<td class="function_type">
|
205
|
+
<span class="returnvalue">void</span>
|
206
|
+
</td>
|
207
|
+
<td class="function_name">
|
208
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()">pango_context_set_base_gravity</a> <span class="c_punctuation">()</span>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td class="function_type">
|
213
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
|
214
|
+
</td>
|
215
|
+
<td class="function_name">
|
216
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()">pango_context_get_gravity</a> <span class="c_punctuation">()</span>
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="function_type">
|
221
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a>
|
222
|
+
</td>
|
223
|
+
<td class="function_name">
|
224
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-gravity-hint" title="pango_context_get_gravity_hint ()">pango_context_get_gravity_hint</a> <span class="c_punctuation">()</span>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td class="function_type">
|
229
|
+
<span class="returnvalue">void</span>
|
230
|
+
</td>
|
231
|
+
<td class="function_name">
|
232
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()">pango_context_set_gravity_hint</a> <span class="c_punctuation">()</span>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td class="function_type">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
|
237
|
+
</td>
|
238
|
+
<td class="function_name">
|
239
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-matrix" title="pango_context_get_matrix ()">pango_context_get_matrix</a> <span class="c_punctuation">()</span>
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td class="function_type">
|
244
|
+
<span class="returnvalue">void</span>
|
245
|
+
</td>
|
246
|
+
<td class="function_name">
|
247
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()">pango_context_set_matrix</a> <span class="c_punctuation">()</span>
|
248
|
+
</td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td class="function_type">
|
252
|
+
<a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
253
|
+
</td>
|
254
|
+
<td class="function_name">
|
255
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-load-font" title="pango_context_load_font ()">pango_context_load_font</a> <span class="c_punctuation">()</span>
|
256
|
+
</td>
|
257
|
+
</tr>
|
258
|
+
<tr>
|
259
|
+
<td class="function_type">
|
260
|
+
<a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> *
|
261
|
+
</td>
|
262
|
+
<td class="function_name">
|
263
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-load-fontset" title="pango_context_load_fontset ()">pango_context_load_fontset</a> <span class="c_punctuation">()</span>
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td class="function_type">
|
268
|
+
<a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
269
|
+
</td>
|
270
|
+
<td class="function_name">
|
271
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-metrics" title="pango_context_get_metrics ()">pango_context_get_metrics</a> <span class="c_punctuation">()</span>
|
272
|
+
</td>
|
273
|
+
</tr>
|
274
|
+
<tr>
|
275
|
+
<td class="function_type">
|
276
|
+
<span class="returnvalue">void</span>
|
277
|
+
</td>
|
278
|
+
<td class="function_name">
|
279
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-list-families" title="pango_context_list_families ()">pango_context_list_families</a> <span class="c_punctuation">()</span>
|
280
|
+
</td>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td class="function_type">
|
284
|
+
<span class="returnvalue">void</span>
|
285
|
+
</td>
|
286
|
+
<td class="function_name">
|
287
|
+
<a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()">pango_break</a> <span class="c_punctuation">()</span>
|
288
|
+
</td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td class="function_type">
|
292
|
+
<span class="returnvalue">void</span>
|
293
|
+
</td>
|
294
|
+
<td class="function_name">
|
295
|
+
<a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()">pango_get_log_attrs</a> <span class="c_punctuation">()</span>
|
296
|
+
</td>
|
210
297
|
</tr>
|
211
298
|
<tr>
|
212
|
-
<td
|
213
|
-
<
|
299
|
+
<td class="function_type">
|
300
|
+
<span class="returnvalue">void</span>
|
301
|
+
</td>
|
302
|
+
<td class="function_name">
|
303
|
+
<a class="link" href="pango-Text-Processing.html#pango-find-paragraph-boundary" title="pango_find_paragraph_boundary ()">pango_find_paragraph_boundary</a> <span class="c_punctuation">()</span>
|
304
|
+
</td>
|
214
305
|
</tr>
|
215
306
|
<tr>
|
216
|
-
<td
|
217
|
-
<
|
307
|
+
<td class="function_type">
|
308
|
+
<span class="returnvalue">void</span>
|
309
|
+
</td>
|
310
|
+
<td class="function_name">
|
311
|
+
<a class="link" href="pango-Text-Processing.html#pango-default-break" title="pango_default_break ()">pango_default_break</a> <span class="c_punctuation">()</span>
|
312
|
+
</td>
|
218
313
|
</tr>
|
219
314
|
<tr>
|
220
|
-
<td
|
221
|
-
<
|
315
|
+
<td class="function_type">
|
316
|
+
<span class="returnvalue">void</span>
|
317
|
+
</td>
|
318
|
+
<td class="function_name">
|
319
|
+
<a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()">pango_shape</a> <span class="c_punctuation">()</span>
|
320
|
+
</td>
|
222
321
|
</tr>
|
223
322
|
<tr>
|
224
|
-
<td
|
225
|
-
<
|
323
|
+
<td class="function_type">
|
324
|
+
<span class="returnvalue">void</span>
|
325
|
+
</td>
|
326
|
+
<td class="function_name">
|
327
|
+
<a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()">pango_shape_full</a> <span class="c_punctuation">()</span>
|
328
|
+
</td>
|
226
329
|
</tr>
|
330
|
+
</tbody>
|
331
|
+
</table></div>
|
332
|
+
</div>
|
333
|
+
<a name="PangoContext"></a><a name="PangoItem"></a><div class="refsect1">
|
334
|
+
<a name="pango-Text-Processing.other"></a><h2>Types and Values</h2>
|
335
|
+
<div class="informaltable"><table width="100%" border="0">
|
336
|
+
<colgroup>
|
337
|
+
<col width="150px" class="name">
|
338
|
+
<col class="description">
|
339
|
+
</colgroup>
|
340
|
+
<tbody>
|
227
341
|
<tr>
|
228
|
-
<td
|
229
|
-
<td
|
342
|
+
<td class="datatype_keyword"> </td>
|
343
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoContext-struct" title="PangoContext">PangoContext</a></td>
|
230
344
|
</tr>
|
231
345
|
<tr>
|
232
|
-
<td
|
233
|
-
<td
|
346
|
+
<td class="datatype_keyword">struct</td>
|
347
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoItem-struct" title="struct PangoItem">PangoItem</a></td>
|
234
348
|
</tr>
|
235
349
|
<tr>
|
236
|
-
<td
|
237
|
-
<td
|
350
|
+
<td class="datatype_keyword">struct</td>
|
351
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis">PangoAnalysis</a></td>
|
238
352
|
</tr>
|
239
353
|
<tr>
|
240
|
-
<td
|
241
|
-
<td
|
354
|
+
<td class="datatype_keyword"> </td>
|
355
|
+
<td class="function_name"><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr">PangoLogAttr</a></td>
|
242
356
|
</tr>
|
243
357
|
</tbody>
|
244
358
|
</table></div>
|
245
359
|
</div>
|
246
|
-
<
|
360
|
+
<div class="refsect1">
|
361
|
+
<a name="pango-Text-Processing.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
362
|
+
<pre class="screen"> GBoxed
|
363
|
+
<span class="lineart">╰──</span> PangoItem
|
364
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
365
|
+
<span class="lineart">╰──</span> PangoContext
|
366
|
+
</pre>
|
367
|
+
</div>
|
368
|
+
<div class="refsect1">
|
369
|
+
<a name="pango-Text-Processing.description"></a><h2>Description</h2>
|
370
|
+
<p>The Pango rendering pipeline takes a string of
|
371
|
+
Unicode characters and converts it into glyphs.
|
372
|
+
The functions described in this section accomplish
|
373
|
+
various steps of this process.</p>
|
374
|
+
</div>
|
375
|
+
<div class="refsect1">
|
376
|
+
<a name="pango-Text-Processing.functions_details"></a><h2>Functions</h2>
|
247
377
|
<div class="refsect2">
|
248
378
|
<a name="PANGO-ANALYSIS-FLAG-CENTERED-BASELINE:CAPS"></a><h3>PANGO_ANALYSIS_FLAG_CENTERED_BASELINE</h3>
|
249
379
|
<pre class="programlisting">#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0)
|
250
380
|
</pre>
|
251
|
-
<p>
|
252
|
-
Whether the segment should be shifted to center around the baseline.
|
381
|
+
<p>Whether the segment should be shifted to center around the baseline.
|
253
382
|
Used in vertical writing directions mostly.</p>
|
254
383
|
<p class="since">Since 1.16</p>
|
255
384
|
</div>
|
@@ -261,1121 +390,1513 @@ Used in vertical writing directions mostly.</p>
|
|
261
390
|
</div>
|
262
391
|
<hr>
|
263
392
|
<div class="refsect2">
|
264
|
-
<a name="pango-itemize"></a><h3>pango_itemize
|
265
|
-
<pre class="programlisting"><a href="
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<
|
272
|
-
Breaks a piece of text into segments with consistent
|
273
|
-
directional level and shaping engine. Each byte of <em class="parameter"><code>text</code></em>
|
393
|
+
<a name="pango-itemize"></a><h3>pango_itemize ()</h3>
|
394
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
395
|
+
pango_itemize (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
396
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
397
|
+
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
398
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
399
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>,
|
400
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *cached_iter</code></em>);</pre>
|
401
|
+
<p>Breaks a piece of text into segments with consistent
|
402
|
+
directional level and shaping engine. Each byte of <em class="parameter"><code>text</code></em>
|
403
|
+
will
|
274
404
|
be contained in exactly one of the items in the returned list;
|
275
405
|
the generated list of items will be in logical order (the start
|
276
406
|
offsets of the items are ascending).</p>
|
277
|
-
<p>
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
407
|
+
<p><em class="parameter"><code>cached_iter</code></em>
|
408
|
+
should be an iterator over <em class="parameter"><code>attrs</code></em>
|
409
|
+
currently positioned at a
|
410
|
+
range before or containing <em class="parameter"><code>start_index</code></em>
|
411
|
+
; <em class="parameter"><code>cached_iter</code></em>
|
412
|
+
will be advanced to
|
413
|
+
the range covering the position just after <em class="parameter"><code>start_index</code></em>
|
414
|
+
+ <em class="parameter"><code>length</code></em>
|
415
|
+
.
|
416
|
+
(i.e. if itemizing in a loop, just keep passing in the same <em class="parameter"><code>cached_iter</code></em>
|
417
|
+
).</p>
|
418
|
+
<div class="refsect3">
|
419
|
+
<a name="id-1.2.2.9.4.6"></a><h4>Parameters</h4>
|
420
|
+
<div class="informaltable"><table width="100%" border="0">
|
283
421
|
<colgroup>
|
284
|
-
<col
|
285
|
-
<col>
|
422
|
+
<col width="150px" class="parameters_name">
|
423
|
+
<col class="parameters_description">
|
424
|
+
<col width="200px" class="parameters_annotations">
|
286
425
|
</colgroup>
|
287
426
|
<tbody>
|
288
427
|
<tr>
|
289
|
-
<td
|
290
|
-
<td>a structure holding information that affects
|
291
|
-
the itemization process.</td>
|
428
|
+
<td class="parameter_name"><p>context</p></td>
|
429
|
+
<td class="parameter_description"><p>a structure holding information that affects
|
430
|
+
the itemization process.</p></td>
|
431
|
+
<td class="parameter_annotations"> </td>
|
292
432
|
</tr>
|
293
433
|
<tr>
|
294
|
-
<td
|
295
|
-
<td>the text to itemize.</td>
|
434
|
+
<td class="parameter_name"><p>text</p></td>
|
435
|
+
<td class="parameter_description"><p>the text to itemize.</p></td>
|
436
|
+
<td class="parameter_annotations"> </td>
|
296
437
|
</tr>
|
297
438
|
<tr>
|
298
|
-
<td
|
299
|
-
<td>first byte in <em class="parameter"><code>text</code></em>
|
439
|
+
<td class="parameter_name"><p>start_index</p></td>
|
440
|
+
<td class="parameter_description"><p>first byte in <em class="parameter"><code>text</code></em>
|
441
|
+
to process</p></td>
|
442
|
+
<td class="parameter_annotations"> </td>
|
300
443
|
</tr>
|
301
444
|
<tr>
|
302
|
-
<td
|
303
|
-
<td>the number of bytes (not characters) to process
|
304
|
-
after <em class="parameter"><code>start_index</code></em
|
305
|
-
|
445
|
+
<td class="parameter_name"><p>length</p></td>
|
446
|
+
<td class="parameter_description"><p>the number of bytes (not characters) to process
|
447
|
+
after <em class="parameter"><code>start_index</code></em>
|
448
|
+
.
|
449
|
+
This must be >= 0.</p></td>
|
450
|
+
<td class="parameter_annotations"> </td>
|
306
451
|
</tr>
|
307
452
|
<tr>
|
308
|
-
<td
|
309
|
-
<td>the set of attributes that apply to <em class="parameter"><code>text</code></em
|
310
|
-
|
311
|
-
<
|
312
|
-
<td><p><span class="term"><em class="parameter"><code>cached_iter</code></em> :</span></p></td>
|
313
|
-
<td>Cached attribute iterator, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
314
|
-
</td>
|
453
|
+
<td class="parameter_name"><p>attrs</p></td>
|
454
|
+
<td class="parameter_description"><p>the set of attributes that apply to <em class="parameter"><code>text</code></em>
|
455
|
+
.</p></td>
|
456
|
+
<td class="parameter_annotations"> </td>
|
315
457
|
</tr>
|
316
458
|
<tr>
|
317
|
-
<td
|
318
|
-
<td>
|
319
|
-
|
320
|
-
probably in combination with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself
|
321
|
-
using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span>
|
322
|
-
</td>
|
459
|
+
<td class="parameter_name"><p>cached_iter</p></td>
|
460
|
+
<td class="parameter_description"><p> Cached attribute iterator, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
461
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
323
462
|
</tr>
|
324
463
|
</tbody>
|
325
464
|
</table></div>
|
326
465
|
</div>
|
466
|
+
<div class="refsect3">
|
467
|
+
<a name="id-1.2.2.9.4.7"></a><h4>Returns</h4>
|
468
|
+
<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>
|
469
|
+
structures. The items should be freed using <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>
|
470
|
+
probably in combination with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself
|
471
|
+
using <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. </p>
|
472
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
|
473
|
+
</div>
|
474
|
+
</div>
|
327
475
|
<hr>
|
328
476
|
<div class="refsect2">
|
329
|
-
<a name="pango-itemize-with-base-dir"></a><h3>pango_itemize_with_base_dir
|
330
|
-
<pre class="programlisting"><a href="
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
<
|
338
|
-
Like <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize
|
339
|
-
computing bidirectional levels (see <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir
|
477
|
+
<a name="pango-itemize-with-base-dir"></a><h3>pango_itemize_with_base_dir ()</h3>
|
478
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
479
|
+
pango_itemize_with_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
480
|
+
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> base_dir</code></em>,
|
481
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
482
|
+
<em class="parameter"><code><span class="type">int</span> start_index</code></em>,
|
483
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
484
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>,
|
485
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *cached_iter</code></em>);</pre>
|
486
|
+
<p>Like <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, but the base direction to use when
|
487
|
+
computing bidirectional levels (see <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>),
|
340
488
|
is specified explicitly rather than gotten from the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
341
|
-
<div class="
|
489
|
+
<div class="refsect3">
|
490
|
+
<a name="id-1.2.2.9.5.5"></a><h4>Parameters</h4>
|
491
|
+
<div class="informaltable"><table width="100%" border="0">
|
342
492
|
<colgroup>
|
343
|
-
<col
|
344
|
-
<col>
|
493
|
+
<col width="150px" class="parameters_name">
|
494
|
+
<col class="parameters_description">
|
495
|
+
<col width="200px" class="parameters_annotations">
|
345
496
|
</colgroup>
|
346
497
|
<tbody>
|
347
498
|
<tr>
|
348
|
-
<td
|
349
|
-
<td>a structure holding information that affects
|
350
|
-
the itemization process.</td>
|
351
|
-
</
|
352
|
-
<tr>
|
353
|
-
<td><p><span class="term"><em class="parameter"><code>base_dir</code></em> :</span></p></td>
|
354
|
-
<td>base direction to use for bidirectional processing</td>
|
499
|
+
<td class="parameter_name"><p>context</p></td>
|
500
|
+
<td class="parameter_description"><p>a structure holding information that affects
|
501
|
+
the itemization process.</p></td>
|
502
|
+
<td class="parameter_annotations"> </td>
|
355
503
|
</tr>
|
356
504
|
<tr>
|
357
|
-
<td
|
358
|
-
<td>
|
505
|
+
<td class="parameter_name"><p>base_dir</p></td>
|
506
|
+
<td class="parameter_description"><p>base direction to use for bidirectional processing</p></td>
|
507
|
+
<td class="parameter_annotations"> </td>
|
359
508
|
</tr>
|
360
509
|
<tr>
|
361
|
-
<td
|
362
|
-
<td
|
510
|
+
<td class="parameter_name"><p>text</p></td>
|
511
|
+
<td class="parameter_description"><p>the text to itemize.</p></td>
|
512
|
+
<td class="parameter_annotations"> </td>
|
363
513
|
</tr>
|
364
514
|
<tr>
|
365
|
-
<td
|
366
|
-
<td>
|
367
|
-
|
515
|
+
<td class="parameter_name"><p>start_index</p></td>
|
516
|
+
<td class="parameter_description"><p>first byte in <em class="parameter"><code>text</code></em>
|
517
|
+
to process</p></td>
|
518
|
+
<td class="parameter_annotations"> </td>
|
368
519
|
</tr>
|
369
520
|
<tr>
|
370
|
-
<td
|
371
|
-
<td>the
|
521
|
+
<td class="parameter_name"><p>length</p></td>
|
522
|
+
<td class="parameter_description"><p>the number of bytes (not characters) to process
|
523
|
+
after <em class="parameter"><code>start_index</code></em>
|
524
|
+
. This must be >= 0.</p></td>
|
525
|
+
<td class="parameter_annotations"> </td>
|
372
526
|
</tr>
|
373
527
|
<tr>
|
374
|
-
<td
|
375
|
-
<td
|
376
|
-
|
528
|
+
<td class="parameter_name"><p>attrs</p></td>
|
529
|
+
<td class="parameter_description"><p>the set of attributes that apply to <em class="parameter"><code>text</code></em>
|
530
|
+
.</p></td>
|
531
|
+
<td class="parameter_annotations"> </td>
|
377
532
|
</tr>
|
378
533
|
<tr>
|
379
|
-
<td
|
380
|
-
<td>
|
381
|
-
<
|
382
|
-
<a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a> probably in combination with
|
383
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span>
|
384
|
-
</td>
|
534
|
+
<td class="parameter_name"><p>cached_iter</p></td>
|
535
|
+
<td class="parameter_description"><p> Cached attribute iterator, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
536
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
385
537
|
</tr>
|
386
538
|
</tbody>
|
387
539
|
</table></div>
|
540
|
+
</div>
|
541
|
+
<div class="refsect3">
|
542
|
+
<a name="id-1.2.2.9.5.6"></a><h4>Returns</h4>
|
543
|
+
<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
|
544
|
+
<a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures. The items should be freed using
|
545
|
+
<a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a> probably in combination with
|
546
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach"><code class="function">g_list_foreach()</code></a>, and the list itself using <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>. </p>
|
547
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
|
548
|
+
</div>
|
388
549
|
<p class="since">Since 1.4</p>
|
389
550
|
</div>
|
390
551
|
<hr>
|
391
552
|
<div class="refsect2">
|
392
|
-
<a name="pango-item-free"></a><h3>pango_item_free
|
393
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
394
|
-
<
|
395
|
-
Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and all associated memory.</p>
|
396
|
-
<div class="
|
553
|
+
<a name="pango-item-free"></a><h3>pango_item_free ()</h3>
|
554
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
555
|
+
pango_item_free (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
556
|
+
<p>Free a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> and all associated memory.</p>
|
557
|
+
<div class="refsect3">
|
558
|
+
<a name="id-1.2.2.9.6.5"></a><h4>Parameters</h4>
|
559
|
+
<div class="informaltable"><table width="100%" border="0">
|
397
560
|
<colgroup>
|
398
|
-
<col
|
399
|
-
<col>
|
561
|
+
<col width="150px" class="parameters_name">
|
562
|
+
<col class="parameters_description">
|
563
|
+
<col width="200px" class="parameters_annotations">
|
400
564
|
</colgroup>
|
401
565
|
<tbody><tr>
|
402
|
-
<td
|
403
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="
|
404
|
-
</td>
|
566
|
+
<td class="parameter_name"><p>item</p></td>
|
567
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
568
|
+
<td class="parameter_annotations"> </td>
|
405
569
|
</tr></tbody>
|
406
570
|
</table></div>
|
407
571
|
</div>
|
408
|
-
<hr>
|
409
|
-
<div class="refsect2">
|
410
|
-
<a name="pango-item-copy"></a><h3>pango_item_copy ()</h3>
|
411
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> * pango_item_copy (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
412
|
-
<p>
|
413
|
-
Copy an existing <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure.</p>
|
414
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
415
|
-
<colgroup>
|
416
|
-
<col align="left" valign="top">
|
417
|
-
<col>
|
418
|
-
</colgroup>
|
419
|
-
<tbody>
|
420
|
-
<tr>
|
421
|
-
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
422
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
423
|
-
</td>
|
424
|
-
</tr>
|
425
|
-
<tr>
|
426
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
427
|
-
<td>the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which should
|
428
|
-
be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
429
|
-
<em class="parameter"><code>item</code></em> was NULL.</td>
|
430
|
-
</tr>
|
431
|
-
</tbody>
|
432
|
-
</table></div>
|
433
572
|
</div>
|
434
573
|
<hr>
|
435
574
|
<div class="refsect2">
|
436
|
-
<a name="pango-item-
|
437
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a>
|
438
|
-
<
|
439
|
-
|
440
|
-
<div class="
|
575
|
+
<a name="pango-item-copy"></a><h3>pango_item_copy ()</h3>
|
576
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
|
577
|
+
pango_item_copy (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *item</code></em>);</pre>
|
578
|
+
<p>Copy an existing <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure.</p>
|
579
|
+
<div class="refsect3">
|
580
|
+
<a name="id-1.2.2.9.7.5"></a><h4>Parameters</h4>
|
581
|
+
<div class="informaltable"><table width="100%" border="0">
|
441
582
|
<colgroup>
|
442
|
-
<col
|
443
|
-
<col>
|
583
|
+
<col width="150px" class="parameters_name">
|
584
|
+
<col class="parameters_description">
|
585
|
+
<col width="200px" class="parameters_annotations">
|
444
586
|
</colgroup>
|
445
587
|
<tbody><tr>
|
446
|
-
<td
|
447
|
-
<td>
|
448
|
-
|
588
|
+
<td class="parameter_name"><p>item</p></td>
|
589
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
590
|
+
<td class="parameter_annotations"> </td>
|
449
591
|
</tr></tbody>
|
450
592
|
</table></div>
|
451
593
|
</div>
|
594
|
+
<div class="refsect3">
|
595
|
+
<a name="id-1.2.2.9.7.6"></a><h4>Returns</h4>
|
596
|
+
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which should
|
597
|
+
be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
598
|
+
<em class="parameter"><code>item</code></em>
|
599
|
+
was NULL.</p>
|
600
|
+
<p></p>
|
601
|
+
</div>
|
602
|
+
</div>
|
603
|
+
<hr>
|
604
|
+
<div class="refsect2">
|
605
|
+
<a name="pango-item-new"></a><h3>pango_item_new ()</h3>
|
606
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
|
607
|
+
pango_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
608
|
+
<p>Creates a new <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure initialized to default values.</p>
|
609
|
+
<div class="refsect3">
|
610
|
+
<a name="id-1.2.2.9.8.5"></a><h4>Returns</h4>
|
611
|
+
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>, which should
|
612
|
+
be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>.</p>
|
613
|
+
<p></p>
|
614
|
+
</div>
|
615
|
+
</div>
|
452
616
|
<hr>
|
453
617
|
<div class="refsect2">
|
454
|
-
<a name="pango-item-split"></a><h3>pango_item_split
|
455
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a>
|
456
|
-
|
457
|
-
|
458
|
-
<
|
459
|
-
Modifies <em class="parameter"><code>orig</code></em>
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
618
|
+
<a name="pango-item-split"></a><h3>pango_item_split ()</h3>
|
619
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="returnvalue">PangoItem</span></a> *
|
620
|
+
pango_item_split (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> *orig</code></em>,
|
621
|
+
<em class="parameter"><code><span class="type">int</span> split_index</code></em>,
|
622
|
+
<em class="parameter"><code><span class="type">int</span> split_offset</code></em>);</pre>
|
623
|
+
<p>Modifies <em class="parameter"><code>orig</code></em>
|
624
|
+
to cover only the text after <em class="parameter"><code>split_index</code></em>
|
625
|
+
, and
|
626
|
+
returns a new item that covers the text before <em class="parameter"><code>split_index</code></em>
|
627
|
+
that
|
628
|
+
used to be in <em class="parameter"><code>orig</code></em>
|
629
|
+
. You can think of <em class="parameter"><code>split_index</code></em>
|
630
|
+
as the length of
|
631
|
+
the returned item. <em class="parameter"><code>split_index</code></em>
|
632
|
+
may not be 0, and it may not be
|
633
|
+
greater than or equal to the length of <em class="parameter"><code>orig</code></em>
|
634
|
+
(that is, there must
|
464
635
|
be at least one byte assigned to each item, you can't create a
|
465
|
-
zero-length item). <em class="parameter"><code>split_offset</code></em>
|
636
|
+
zero-length item). <em class="parameter"><code>split_offset</code></em>
|
637
|
+
is the length of the first item in
|
466
638
|
chars, and must be provided because the text used to generate the
|
467
|
-
item isn't available, so <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split
|
639
|
+
item isn't available, so <a class="link" href="pango-Text-Processing.html#pango-item-split" title="pango_item_split ()"><code class="function">pango_item_split()</code></a> can't count the char
|
468
640
|
length of the split items itself.</p>
|
469
|
-
<div class="
|
641
|
+
<div class="refsect3">
|
642
|
+
<a name="id-1.2.2.9.9.5"></a><h4>Parameters</h4>
|
643
|
+
<div class="informaltable"><table width="100%" border="0">
|
470
644
|
<colgroup>
|
471
|
-
<col
|
472
|
-
<col>
|
645
|
+
<col width="150px" class="parameters_name">
|
646
|
+
<col class="parameters_description">
|
647
|
+
<col width="200px" class="parameters_annotations">
|
473
648
|
</colgroup>
|
474
649
|
<tbody>
|
475
650
|
<tr>
|
476
|
-
<td
|
477
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a>
|
478
|
-
</td>
|
651
|
+
<td class="parameter_name"><p>orig</p></td>
|
652
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a></p></td>
|
653
|
+
<td class="parameter_annotations"> </td>
|
479
654
|
</tr>
|
480
655
|
<tr>
|
481
|
-
<td
|
482
|
-
<td>byte index of position to split item, relative to the start of the item</td>
|
483
|
-
</
|
484
|
-
<tr>
|
485
|
-
<td><p><span class="term"><em class="parameter"><code>split_offset</code></em> :</span></p></td>
|
486
|
-
<td>number of chars between start of <em class="parameter"><code>orig</code></em> and <em class="parameter"><code>split_index</code></em>
|
487
|
-
</td>
|
656
|
+
<td class="parameter_name"><p>split_index</p></td>
|
657
|
+
<td class="parameter_description"><p>byte index of position to split item, relative to the start of the item</p></td>
|
658
|
+
<td class="parameter_annotations"> </td>
|
488
659
|
</tr>
|
489
660
|
<tr>
|
490
|
-
<td
|
491
|
-
<td>
|
492
|
-
|
661
|
+
<td class="parameter_name"><p>split_offset</p></td>
|
662
|
+
<td class="parameter_description"><p>number of chars between start of <em class="parameter"><code>orig</code></em>
|
663
|
+
and <em class="parameter"><code>split_index</code></em>
|
664
|
+
</p></td>
|
665
|
+
<td class="parameter_annotations"> </td>
|
493
666
|
</tr>
|
494
667
|
</tbody>
|
495
668
|
</table></div>
|
496
669
|
</div>
|
670
|
+
<div class="refsect3">
|
671
|
+
<a name="id-1.2.2.9.9.6"></a><h4>Returns</h4>
|
672
|
+
<p> new item representing text before <em class="parameter"><code>split_index</code></em>
|
673
|
+
, which
|
674
|
+
should be freed with <a class="link" href="pango-Text-Processing.html#pango-item-free" title="pango_item_free ()"><code class="function">pango_item_free()</code></a>.</p>
|
675
|
+
<p></p>
|
676
|
+
</div>
|
677
|
+
</div>
|
497
678
|
<hr>
|
498
679
|
<div class="refsect2">
|
499
|
-
<a name="pango-reorder-items"></a><h3>pango_reorder_items
|
500
|
-
<pre class="programlisting"><a href="
|
501
|
-
<
|
502
|
-
From a list of items in logical order and the associated
|
680
|
+
<a name="pango-reorder-items"></a><h3>pango_reorder_items ()</h3>
|
681
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
682
|
+
pango_reorder_items (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *logical_items</code></em>);</pre>
|
683
|
+
<p>From a list of items in logical order and the associated
|
503
684
|
directional levels, produce a list in visual order.
|
504
685
|
The original list is unmodified.</p>
|
505
|
-
<div class="
|
686
|
+
<div class="refsect3">
|
687
|
+
<a name="id-1.2.2.9.10.5"></a><h4>Parameters</h4>
|
688
|
+
<div class="informaltable"><table width="100%" border="0">
|
506
689
|
<colgroup>
|
507
|
-
<col
|
508
|
-
<col>
|
690
|
+
<col width="150px" class="parameters_name">
|
691
|
+
<col class="parameters_description">
|
692
|
+
<col width="200px" class="parameters_annotations">
|
509
693
|
</colgroup>
|
510
|
-
<tbody>
|
511
|
-
<
|
512
|
-
<td><p><span class="
|
513
|
-
<td
|
514
|
-
</
|
515
|
-
</tr>
|
516
|
-
<tr>
|
517
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
518
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
|
519
|
-
of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures in visual order.
|
520
|
-
(Please open a bug if you use this function.
|
521
|
-
It is not a particularly convenient interface, and the code
|
522
|
-
is duplicated elsewhere in Pango for that reason.). <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span>
|
523
|
-
</td>
|
524
|
-
</tr>
|
525
|
-
</tbody>
|
694
|
+
<tbody><tr>
|
695
|
+
<td class="parameter_name"><p>logical_items</p></td>
|
696
|
+
<td class="parameter_description"><p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> in logical order. </p></td>
|
697
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></td>
|
698
|
+
</tr></tbody>
|
526
699
|
</table></div>
|
527
700
|
</div>
|
701
|
+
<div class="refsect3">
|
702
|
+
<a name="id-1.2.2.9.10.6"></a><h4>Returns</h4>
|
703
|
+
<p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
|
704
|
+
of <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structures in visual order.</p>
|
705
|
+
<p>(Please open a bug if you use this function.
|
706
|
+
It is not a particularly convenient interface, and the code
|
707
|
+
is duplicated elsewhere in Pango for that reason.). </p>
|
708
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Item]</span></p>
|
709
|
+
</div>
|
710
|
+
</div>
|
528
711
|
<hr>
|
529
712
|
<div class="refsect2">
|
530
|
-
<a name="pango-context-new"></a><h3>pango_context_new
|
531
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a>
|
532
|
-
<
|
533
|
-
Creates a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> initialized to default values.</p>
|
534
|
-
<p>
|
535
|
-
|
536
|
-
|
537
|
-
function <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> does these two steps
|
713
|
+
<a name="pango-context-new"></a><h3>pango_context_new ()</h3>
|
714
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
715
|
+
pango_context_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
716
|
+
<p>Creates a new <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> initialized to default values.</p>
|
717
|
+
<p>This function is not particularly useful as it should always
|
718
|
+
be followed by a <a class="link" href="pango-Text-Processing.html#pango-context-set-font-map" title="pango_context_set_font_map ()"><code class="function">pango_context_set_font_map()</code></a> call, and the
|
719
|
+
function <a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> does these two steps
|
538
720
|
together and hence users are recommended to use that.</p>
|
539
|
-
<p>
|
540
|
-
If you are using Pango as part of a higher-level system,
|
721
|
+
<p>If you are using Pango as part of a higher-level system,
|
541
722
|
that system may have it's own way of create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
542
723
|
For instance, the GTK+ toolkit has, among others,
|
543
|
-
<a href="http://
|
544
|
-
<a href="http://
|
545
|
-
<div class="
|
546
|
-
<
|
547
|
-
<
|
548
|
-
<
|
549
|
-
|
550
|
-
|
551
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
552
|
-
<td>the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
|
553
|
-
be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
|
554
|
-
</tr></tbody>
|
555
|
-
</table></div>
|
724
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen"><code class="function">gdk_pango_context_get_for_screen()</code></a>, and
|
725
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html#gtk-widget-get-pango-context"><code class="function">gtk_widget_get_pango_context()</code></a>. Use those instead.</p>
|
726
|
+
<div class="refsect3">
|
727
|
+
<a name="id-1.2.2.9.11.7"></a><h4>Returns</h4>
|
728
|
+
<p> the newly allocated <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, which should
|
729
|
+
be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
|
730
|
+
<p></p>
|
731
|
+
</div>
|
556
732
|
</div>
|
557
733
|
<hr>
|
558
734
|
<div class="refsect2">
|
559
|
-
<a name="pango-context-changed"></a><h3>pango_context_changed
|
560
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
561
|
-
<
|
562
|
-
Forces a change in the context, which will cause any <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
735
|
+
<a name="pango-context-changed"></a><h3>pango_context_changed ()</h3>
|
736
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
737
|
+
pango_context_changed (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
738
|
+
<p>Forces a change in the context, which will cause any <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
563
739
|
using this context to re-layout.</p>
|
564
|
-
<p>
|
565
|
-
This function is only useful when implementing a new backend
|
740
|
+
<p>This function is only useful when implementing a new backend
|
566
741
|
for Pango, something applications won't do. Backends should
|
567
742
|
call this function if they have attached extra data to the context
|
568
743
|
and such data is changed.</p>
|
569
|
-
<div class="
|
744
|
+
<div class="refsect3">
|
745
|
+
<a name="id-1.2.2.9.12.6"></a><h4>Parameters</h4>
|
746
|
+
<div class="informaltable"><table width="100%" border="0">
|
570
747
|
<colgroup>
|
571
|
-
<col
|
572
|
-
<col>
|
748
|
+
<col width="150px" class="parameters_name">
|
749
|
+
<col class="parameters_description">
|
750
|
+
<col width="200px" class="parameters_annotations">
|
573
751
|
</colgroup>
|
574
752
|
<tbody><tr>
|
575
|
-
<td
|
576
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
577
|
-
</td>
|
753
|
+
<td class="parameter_name"><p>context</p></td>
|
754
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
755
|
+
<td class="parameter_annotations"> </td>
|
578
756
|
</tr></tbody>
|
579
757
|
</table></div>
|
758
|
+
</div>
|
580
759
|
<p class="since">Since 1.32.4</p>
|
581
760
|
</div>
|
582
761
|
<hr>
|
583
762
|
<div class="refsect2">
|
584
|
-
<a name="pango-context-get-serial"></a><h3>pango_context_get_serial
|
585
|
-
<pre class="programlisting"><a href="
|
586
|
-
<
|
587
|
-
Returns the current serial number of <em class="parameter"><code>context</code></em
|
763
|
+
<a name="pango-context-get-serial"></a><h3>pango_context_get_serial ()</h3>
|
764
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
765
|
+
pango_context_get_serial (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
766
|
+
<p>Returns the current serial number of <em class="parameter"><code>context</code></em>
|
767
|
+
. The serial number is
|
588
768
|
initialized to an small number larger than zero when a new context
|
589
769
|
is created and is increased whenever the context is changed using any
|
590
770
|
of the setter functions, or the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> it uses to find fonts has
|
591
771
|
changed. The serial may wrap, but will never have the value 0. Since it
|
592
772
|
can wrap, never compare it with "less than", always use "not equals".</p>
|
593
|
-
<p>
|
594
|
-
This can be used to automatically detect changes to a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, and
|
773
|
+
<p>This can be used to automatically detect changes to a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, and
|
595
774
|
is only useful when implementing objects that need update when their
|
596
775
|
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> changes, like <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
|
597
|
-
<div class="
|
776
|
+
<div class="refsect3">
|
777
|
+
<a name="id-1.2.2.9.13.6"></a><h4>Parameters</h4>
|
778
|
+
<div class="informaltable"><table width="100%" border="0">
|
598
779
|
<colgroup>
|
599
|
-
<col
|
600
|
-
<col>
|
780
|
+
<col width="150px" class="parameters_name">
|
781
|
+
<col class="parameters_description">
|
782
|
+
<col width="200px" class="parameters_annotations">
|
601
783
|
</colgroup>
|
602
|
-
<tbody>
|
603
|
-
<
|
604
|
-
<td><p
|
605
|
-
<td
|
606
|
-
</
|
607
|
-
</tr>
|
608
|
-
<tr>
|
609
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
610
|
-
<td>The current serial number of <em class="parameter"><code>context</code></em>.</td>
|
611
|
-
</tr>
|
612
|
-
</tbody>
|
784
|
+
<tbody><tr>
|
785
|
+
<td class="parameter_name"><p>context</p></td>
|
786
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
787
|
+
<td class="parameter_annotations"> </td>
|
788
|
+
</tr></tbody>
|
613
789
|
</table></div>
|
790
|
+
</div>
|
791
|
+
<div class="refsect3">
|
792
|
+
<a name="id-1.2.2.9.13.7"></a><h4>Returns</h4>
|
793
|
+
<p> The current serial number of <em class="parameter"><code>context</code></em>
|
794
|
+
.</p>
|
795
|
+
<p></p>
|
796
|
+
</div>
|
614
797
|
<p class="since">Since 1.32.4</p>
|
615
798
|
</div>
|
616
799
|
<hr>
|
617
800
|
<div class="refsect2">
|
618
|
-
<a name="pango-context-set-font-map"></a><h3>pango_context_set_font_map
|
619
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
620
|
-
|
621
|
-
<
|
622
|
-
Sets the font map to be searched when fonts are looked-up in this context.
|
801
|
+
<a name="pango-context-set-font-map"></a><h3>pango_context_set_font_map ()</h3>
|
802
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
803
|
+
pango_context_set_font_map (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
804
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);</pre>
|
805
|
+
<p>Sets the font map to be searched when fonts are looked-up in this context.
|
623
806
|
This is only for internal use by Pango backends, a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> obtained
|
624
807
|
via one of the recommended methods should already have a suitable font map.</p>
|
625
|
-
<div class="
|
808
|
+
<div class="refsect3">
|
809
|
+
<a name="id-1.2.2.9.14.5"></a><h4>Parameters</h4>
|
810
|
+
<div class="informaltable"><table width="100%" border="0">
|
626
811
|
<colgroup>
|
627
|
-
<col
|
628
|
-
<col>
|
812
|
+
<col width="150px" class="parameters_name">
|
813
|
+
<col class="parameters_description">
|
814
|
+
<col width="200px" class="parameters_annotations">
|
629
815
|
</colgroup>
|
630
816
|
<tbody>
|
631
817
|
<tr>
|
632
|
-
<td
|
633
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
634
|
-
</td>
|
818
|
+
<td class="parameter_name"><p>context</p></td>
|
819
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
820
|
+
<td class="parameter_annotations"> </td>
|
635
821
|
</tr>
|
636
822
|
<tr>
|
637
|
-
<td
|
638
|
-
<td>the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> to set.</td>
|
823
|
+
<td class="parameter_name"><p>font_map</p></td>
|
824
|
+
<td class="parameter_description"><p>the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> to set.</p></td>
|
825
|
+
<td class="parameter_annotations"> </td>
|
639
826
|
</tr>
|
640
827
|
</tbody>
|
641
828
|
</table></div>
|
642
829
|
</div>
|
830
|
+
</div>
|
643
831
|
<hr>
|
644
832
|
<div class="refsect2">
|
645
|
-
<a name="pango-context-get-font-map"></a><h3>pango_context_get_font_map
|
646
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a>
|
647
|
-
<
|
648
|
-
Gets the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> used to look up fonts for this context.</p>
|
649
|
-
<div class="
|
833
|
+
<a name="pango-context-get-font-map"></a><h3>pango_context_get_font_map ()</h3>
|
834
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
835
|
+
pango_context_get_font_map (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
836
|
+
<p>Gets the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> used to look up fonts for this context.</p>
|
837
|
+
<div class="refsect3">
|
838
|
+
<a name="id-1.2.2.9.15.5"></a><h4>Parameters</h4>
|
839
|
+
<div class="informaltable"><table width="100%" border="0">
|
650
840
|
<colgroup>
|
651
|
-
<col
|
652
|
-
<col>
|
841
|
+
<col width="150px" class="parameters_name">
|
842
|
+
<col class="parameters_description">
|
843
|
+
<col width="200px" class="parameters_annotations">
|
653
844
|
</colgroup>
|
654
|
-
<tbody>
|
655
|
-
<
|
656
|
-
<td><p
|
657
|
-
<td
|
658
|
-
</
|
659
|
-
</tr>
|
660
|
-
<tr>
|
661
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
662
|
-
<td>the font map for the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
663
|
-
This value is owned by Pango and should not be unreferenced. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
664
|
-
</td>
|
665
|
-
</tr>
|
666
|
-
</tbody>
|
845
|
+
<tbody><tr>
|
846
|
+
<td class="parameter_name"><p>context</p></td>
|
847
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
848
|
+
<td class="parameter_annotations"> </td>
|
849
|
+
</tr></tbody>
|
667
850
|
</table></div>
|
851
|
+
</div>
|
852
|
+
<div class="refsect3">
|
853
|
+
<a name="id-1.2.2.9.15.6"></a><h4>Returns</h4>
|
854
|
+
<p> the font map for the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.
|
855
|
+
This value is owned by Pango and should not be unreferenced. </p>
|
856
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
857
|
+
</div>
|
668
858
|
<p class="since">Since 1.6</p>
|
669
859
|
</div>
|
670
860
|
<hr>
|
671
861
|
<div class="refsect2">
|
672
|
-
<a name="pango-context-get-font-description"></a><h3>pango_context_get_font_description
|
673
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a>
|
674
|
-
|
675
|
-
<p>
|
676
|
-
|
677
|
-
<
|
862
|
+
<a name="pango-context-get-font-description"></a><h3>pango_context_get_font_description ()</h3>
|
863
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
|
864
|
+
pango_context_get_font_description (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
865
|
+
<p>Retrieve the default font description for the context.</p>
|
866
|
+
<div class="refsect3">
|
867
|
+
<a name="id-1.2.2.9.16.5"></a><h4>Parameters</h4>
|
868
|
+
<div class="informaltable"><table width="100%" border="0">
|
678
869
|
<colgroup>
|
679
|
-
<col
|
680
|
-
<col>
|
870
|
+
<col width="150px" class="parameters_name">
|
871
|
+
<col class="parameters_description">
|
872
|
+
<col width="200px" class="parameters_annotations">
|
681
873
|
</colgroup>
|
682
|
-
<tbody>
|
683
|
-
<
|
684
|
-
<td><p
|
685
|
-
<td
|
686
|
-
</
|
687
|
-
</tr>
|
688
|
-
<tr>
|
689
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
690
|
-
<td>a pointer to the context's default font
|
691
|
-
description. This value must not be modified or freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
692
|
-
</td>
|
693
|
-
</tr>
|
694
|
-
</tbody>
|
874
|
+
<tbody><tr>
|
875
|
+
<td class="parameter_name"><p>context</p></td>
|
876
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
877
|
+
<td class="parameter_annotations"> </td>
|
878
|
+
</tr></tbody>
|
695
879
|
</table></div>
|
696
880
|
</div>
|
881
|
+
<div class="refsect3">
|
882
|
+
<a name="id-1.2.2.9.16.6"></a><h4>Returns</h4>
|
883
|
+
<p> a pointer to the context's default font
|
884
|
+
description. This value must not be modified or freed. </p>
|
885
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
886
|
+
</div>
|
887
|
+
</div>
|
697
888
|
<hr>
|
698
889
|
<div class="refsect2">
|
699
|
-
<a name="pango-context-set-font-description"></a><h3>pango_context_set_font_description
|
700
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
701
|
-
|
702
|
-
<
|
703
|
-
Set the default font description for the context</p>
|
704
|
-
<div class="
|
890
|
+
<a name="pango-context-set-font-description"></a><h3>pango_context_set_font_description ()</h3>
|
891
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
892
|
+
pango_context_set_font_description (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
893
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
894
|
+
<p>Set the default font description for the context</p>
|
895
|
+
<div class="refsect3">
|
896
|
+
<a name="id-1.2.2.9.17.5"></a><h4>Parameters</h4>
|
897
|
+
<div class="informaltable"><table width="100%" border="0">
|
705
898
|
<colgroup>
|
706
|
-
<col
|
707
|
-
<col>
|
899
|
+
<col width="150px" class="parameters_name">
|
900
|
+
<col class="parameters_description">
|
901
|
+
<col width="200px" class="parameters_annotations">
|
708
902
|
</colgroup>
|
709
903
|
<tbody>
|
710
904
|
<tr>
|
711
|
-
<td
|
712
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
713
|
-
</td>
|
905
|
+
<td class="parameter_name"><p>context</p></td>
|
906
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
907
|
+
<td class="parameter_annotations"> </td>
|
714
908
|
</tr>
|
715
909
|
<tr>
|
716
|
-
<td
|
717
|
-
<td>the new pango font description</td>
|
910
|
+
<td class="parameter_name"><p>desc</p></td>
|
911
|
+
<td class="parameter_description"><p>the new pango font description</p></td>
|
912
|
+
<td class="parameter_annotations"> </td>
|
718
913
|
</tr>
|
719
914
|
</tbody>
|
720
915
|
</table></div>
|
721
916
|
</div>
|
917
|
+
</div>
|
722
918
|
<hr>
|
723
919
|
<div class="refsect2">
|
724
|
-
<a name="pango-context-get-language"></a><h3>pango_context_get_language
|
725
|
-
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a>
|
726
|
-
<
|
727
|
-
Retrieves the global language tag for the context.</p>
|
728
|
-
<div class="
|
920
|
+
<a name="pango-context-get-language"></a><h3>pango_context_get_language ()</h3>
|
921
|
+
<pre class="programlisting"><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> *
|
922
|
+
pango_context_get_language (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
923
|
+
<p>Retrieves the global language tag for the context.</p>
|
924
|
+
<div class="refsect3">
|
925
|
+
<a name="id-1.2.2.9.18.5"></a><h4>Parameters</h4>
|
926
|
+
<div class="informaltable"><table width="100%" border="0">
|
729
927
|
<colgroup>
|
730
|
-
<col
|
731
|
-
<col>
|
928
|
+
<col width="150px" class="parameters_name">
|
929
|
+
<col class="parameters_description">
|
930
|
+
<col width="200px" class="parameters_annotations">
|
732
931
|
</colgroup>
|
733
|
-
<tbody>
|
734
|
-
<
|
735
|
-
<td><p
|
736
|
-
<td
|
737
|
-
</
|
738
|
-
</tr>
|
739
|
-
<tr>
|
740
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
741
|
-
<td>the global language tag.</td>
|
742
|
-
</tr>
|
743
|
-
</tbody>
|
932
|
+
<tbody><tr>
|
933
|
+
<td class="parameter_name"><p>context</p></td>
|
934
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
935
|
+
<td class="parameter_annotations"> </td>
|
936
|
+
</tr></tbody>
|
744
937
|
</table></div>
|
745
938
|
</div>
|
939
|
+
<div class="refsect3">
|
940
|
+
<a name="id-1.2.2.9.18.6"></a><h4>Returns</h4>
|
941
|
+
<p> the global language tag.</p>
|
942
|
+
<p></p>
|
943
|
+
</div>
|
944
|
+
</div>
|
746
945
|
<hr>
|
747
946
|
<div class="refsect2">
|
748
|
-
<a name="pango-context-set-language"></a><h3>pango_context_set_language
|
749
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
750
|
-
|
751
|
-
<
|
752
|
-
Sets the global language tag for the context. The default language
|
947
|
+
<a name="pango-context-set-language"></a><h3>pango_context_set_language ()</h3>
|
948
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
949
|
+
pango_context_set_language (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
950
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
951
|
+
<p>Sets the global language tag for the context. The default language
|
753
952
|
for the locale of the running process can be found using
|
754
|
-
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default
|
755
|
-
<div class="
|
953
|
+
<a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>.</p>
|
954
|
+
<div class="refsect3">
|
955
|
+
<a name="id-1.2.2.9.19.5"></a><h4>Parameters</h4>
|
956
|
+
<div class="informaltable"><table width="100%" border="0">
|
756
957
|
<colgroup>
|
757
|
-
<col
|
758
|
-
<col>
|
958
|
+
<col width="150px" class="parameters_name">
|
959
|
+
<col class="parameters_description">
|
960
|
+
<col width="200px" class="parameters_annotations">
|
759
961
|
</colgroup>
|
760
962
|
<tbody>
|
761
963
|
<tr>
|
762
|
-
<td
|
763
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
764
|
-
</td>
|
964
|
+
<td class="parameter_name"><p>context</p></td>
|
965
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
966
|
+
<td class="parameter_annotations"> </td>
|
765
967
|
</tr>
|
766
968
|
<tr>
|
767
|
-
<td
|
768
|
-
<td>the new language tag.</td>
|
969
|
+
<td class="parameter_name"><p>language</p></td>
|
970
|
+
<td class="parameter_description"><p>the new language tag.</p></td>
|
971
|
+
<td class="parameter_annotations"> </td>
|
769
972
|
</tr>
|
770
973
|
</tbody>
|
771
974
|
</table></div>
|
772
975
|
</div>
|
976
|
+
</div>
|
773
977
|
<hr>
|
774
978
|
<div class="refsect2">
|
775
|
-
<a name="pango-context-get-base-dir"></a><h3>pango_context_get_base_dir
|
776
|
-
<pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"
|
777
|
-
<
|
778
|
-
Retrieves the base direction for the context. See
|
779
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir
|
780
|
-
<div class="
|
979
|
+
<a name="pango-context-get-base-dir"></a><h3>pango_context_get_base_dir ()</h3>
|
980
|
+
<pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a>
|
981
|
+
pango_context_get_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
982
|
+
<p>Retrieves the base direction for the context. See
|
983
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>.</p>
|
984
|
+
<div class="refsect3">
|
985
|
+
<a name="id-1.2.2.9.20.5"></a><h4>Parameters</h4>
|
986
|
+
<div class="informaltable"><table width="100%" border="0">
|
781
987
|
<colgroup>
|
782
|
-
<col
|
783
|
-
<col>
|
988
|
+
<col width="150px" class="parameters_name">
|
989
|
+
<col class="parameters_description">
|
990
|
+
<col width="200px" class="parameters_annotations">
|
784
991
|
</colgroup>
|
785
|
-
<tbody>
|
786
|
-
<
|
787
|
-
<td><p
|
788
|
-
<td
|
789
|
-
</
|
790
|
-
</tr>
|
791
|
-
<tr>
|
792
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
793
|
-
<td>the base direction for the context.</td>
|
794
|
-
</tr>
|
795
|
-
</tbody>
|
992
|
+
<tbody><tr>
|
993
|
+
<td class="parameter_name"><p>context</p></td>
|
994
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
995
|
+
<td class="parameter_annotations"> </td>
|
996
|
+
</tr></tbody>
|
796
997
|
</table></div>
|
797
998
|
</div>
|
999
|
+
<div class="refsect3">
|
1000
|
+
<a name="id-1.2.2.9.20.6"></a><h4>Returns</h4>
|
1001
|
+
<p> the base direction for the context.</p>
|
1002
|
+
<p></p>
|
1003
|
+
</div>
|
1004
|
+
</div>
|
798
1005
|
<hr>
|
799
1006
|
<div class="refsect2">
|
800
|
-
<a name="pango-context-set-base-dir"></a><h3>pango_context_set_base_dir
|
801
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
802
|
-
|
803
|
-
<
|
804
|
-
Sets the base direction for the context.</p>
|
805
|
-
<p>
|
806
|
-
|
807
|
-
|
1007
|
+
<a name="pango-context-set-base-dir"></a><h3>pango_context_set_base_dir ()</h3>
|
1008
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1009
|
+
pango_context_set_base_dir (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1010
|
+
<em class="parameter"><code><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> direction</code></em>);</pre>
|
1011
|
+
<p>Sets the base direction for the context.</p>
|
1012
|
+
<p>The base direction is used in applying the Unicode bidirectional
|
1013
|
+
algorithm; if the <em class="parameter"><code>direction</code></em>
|
1014
|
+
is <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-LTR:CAPS"><code class="literal">PANGO_DIRECTION_LTR</code></a> or
|
808
1015
|
<a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-RTL:CAPS"><code class="literal">PANGO_DIRECTION_RTL</code></a>, then the value will be used as the paragraph
|
809
1016
|
direction in the Unicode bidirectional algorithm. A value of
|
810
1017
|
<a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-LTR:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_LTR</code></a> or <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-RTL:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_RTL</code></a> is used only
|
811
1018
|
for paragraphs that do not contain any strong characters themselves.</p>
|
812
|
-
<div class="
|
1019
|
+
<div class="refsect3">
|
1020
|
+
<a name="id-1.2.2.9.21.6"></a><h4>Parameters</h4>
|
1021
|
+
<div class="informaltable"><table width="100%" border="0">
|
813
1022
|
<colgroup>
|
814
|
-
<col
|
815
|
-
<col>
|
1023
|
+
<col width="150px" class="parameters_name">
|
1024
|
+
<col class="parameters_description">
|
1025
|
+
<col width="200px" class="parameters_annotations">
|
816
1026
|
</colgroup>
|
817
1027
|
<tbody>
|
818
1028
|
<tr>
|
819
|
-
<td
|
820
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
821
|
-
</td>
|
1029
|
+
<td class="parameter_name"><p>context</p></td>
|
1030
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1031
|
+
<td class="parameter_annotations"> </td>
|
822
1032
|
</tr>
|
823
1033
|
<tr>
|
824
|
-
<td
|
825
|
-
<td>the new base direction</td>
|
1034
|
+
<td class="parameter_name"><p>direction</p></td>
|
1035
|
+
<td class="parameter_description"><p>the new base direction</p></td>
|
1036
|
+
<td class="parameter_annotations"> </td>
|
826
1037
|
</tr>
|
827
1038
|
</tbody>
|
828
1039
|
</table></div>
|
829
1040
|
</div>
|
1041
|
+
</div>
|
830
1042
|
<hr>
|
831
1043
|
<div class="refsect2">
|
832
|
-
<a name="pango-context-get-base-gravity"></a><h3>pango_context_get_base_gravity
|
833
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
834
|
-
<
|
835
|
-
Retrieves the base gravity for the context. See
|
836
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity
|
837
|
-
<div class="
|
1044
|
+
<a name="pango-context-get-base-gravity"></a><h3>pango_context_get_base_gravity ()</h3>
|
1045
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
|
1046
|
+
pango_context_get_base_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
1047
|
+
<p>Retrieves the base gravity for the context. See
|
1048
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-base-gravity" title="pango_context_set_base_gravity ()"><code class="function">pango_context_set_base_gravity()</code></a>.</p>
|
1049
|
+
<div class="refsect3">
|
1050
|
+
<a name="id-1.2.2.9.22.5"></a><h4>Parameters</h4>
|
1051
|
+
<div class="informaltable"><table width="100%" border="0">
|
838
1052
|
<colgroup>
|
839
|
-
<col
|
840
|
-
<col>
|
1053
|
+
<col width="150px" class="parameters_name">
|
1054
|
+
<col class="parameters_description">
|
1055
|
+
<col width="200px" class="parameters_annotations">
|
841
1056
|
</colgroup>
|
842
|
-
<tbody>
|
843
|
-
<
|
844
|
-
<td><p
|
845
|
-
<td
|
846
|
-
</
|
847
|
-
</tr>
|
848
|
-
<tr>
|
849
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
850
|
-
<td>the base gravity for the context.</td>
|
851
|
-
</tr>
|
852
|
-
</tbody>
|
1057
|
+
<tbody><tr>
|
1058
|
+
<td class="parameter_name"><p>context</p></td>
|
1059
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1060
|
+
<td class="parameter_annotations"> </td>
|
1061
|
+
</tr></tbody>
|
853
1062
|
</table></div>
|
1063
|
+
</div>
|
1064
|
+
<div class="refsect3">
|
1065
|
+
<a name="id-1.2.2.9.22.6"></a><h4>Returns</h4>
|
1066
|
+
<p> the base gravity for the context.</p>
|
1067
|
+
<p></p>
|
1068
|
+
</div>
|
854
1069
|
<p class="since">Since 1.16</p>
|
855
1070
|
</div>
|
856
1071
|
<hr>
|
857
1072
|
<div class="refsect2">
|
858
|
-
<a name="pango-context-set-base-gravity"></a><h3>pango_context_set_base_gravity
|
859
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
860
|
-
|
861
|
-
<
|
862
|
-
Sets the base gravity for the context.</p>
|
863
|
-
<p>
|
864
|
-
|
865
|
-
<
|
1073
|
+
<a name="pango-context-set-base-gravity"></a><h3>pango_context_set_base_gravity ()</h3>
|
1074
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1075
|
+
pango_context_set_base_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1076
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1077
|
+
<p>Sets the base gravity for the context.</p>
|
1078
|
+
<p>The base gravity is used in laying vertical text out.</p>
|
1079
|
+
<div class="refsect3">
|
1080
|
+
<a name="id-1.2.2.9.23.6"></a><h4>Parameters</h4>
|
1081
|
+
<div class="informaltable"><table width="100%" border="0">
|
866
1082
|
<colgroup>
|
867
|
-
<col
|
868
|
-
<col>
|
1083
|
+
<col width="150px" class="parameters_name">
|
1084
|
+
<col class="parameters_description">
|
1085
|
+
<col width="200px" class="parameters_annotations">
|
869
1086
|
</colgroup>
|
870
1087
|
<tbody>
|
871
1088
|
<tr>
|
872
|
-
<td
|
873
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
874
|
-
</td>
|
1089
|
+
<td class="parameter_name"><p>context</p></td>
|
1090
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1091
|
+
<td class="parameter_annotations"> </td>
|
875
1092
|
</tr>
|
876
1093
|
<tr>
|
877
|
-
<td
|
878
|
-
<td>the new base gravity</td>
|
1094
|
+
<td class="parameter_name"><p>gravity</p></td>
|
1095
|
+
<td class="parameter_description"><p>the new base gravity</p></td>
|
1096
|
+
<td class="parameter_annotations"> </td>
|
879
1097
|
</tr>
|
880
1098
|
</tbody>
|
881
1099
|
</table></div>
|
1100
|
+
</div>
|
882
1101
|
<p class="since">Since 1.16</p>
|
883
1102
|
</div>
|
884
1103
|
<hr>
|
885
1104
|
<div class="refsect2">
|
886
|
-
<a name="pango-context-get-gravity"></a><h3>pango_context_get_gravity
|
887
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity"
|
888
|
-
<
|
889
|
-
Retrieves the gravity for the context. This is similar to
|
890
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity
|
891
|
-
is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> for which <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix
|
1105
|
+
<a name="pango-context-get-gravity"></a><h3>pango_context_get_gravity ()</h3>
|
1106
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a>
|
1107
|
+
pango_context_get_gravity (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
1108
|
+
<p>Retrieves the gravity for the context. This is similar to
|
1109
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a>, except for when the base gravity
|
1110
|
+
is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> for which <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()"><code class="function">pango_gravity_get_for_matrix()</code></a> is used
|
892
1111
|
to return the gravity from the current context matrix.</p>
|
893
|
-
<div class="
|
1112
|
+
<div class="refsect3">
|
1113
|
+
<a name="id-1.2.2.9.24.5"></a><h4>Parameters</h4>
|
1114
|
+
<div class="informaltable"><table width="100%" border="0">
|
894
1115
|
<colgroup>
|
895
|
-
<col
|
896
|
-
<col>
|
1116
|
+
<col width="150px" class="parameters_name">
|
1117
|
+
<col class="parameters_description">
|
1118
|
+
<col width="200px" class="parameters_annotations">
|
897
1119
|
</colgroup>
|
898
|
-
<tbody>
|
899
|
-
<
|
900
|
-
<td><p
|
901
|
-
<td
|
902
|
-
</
|
903
|
-
</tr>
|
904
|
-
<tr>
|
905
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
906
|
-
<td>the resolved gravity for the context.</td>
|
907
|
-
</tr>
|
908
|
-
</tbody>
|
1120
|
+
<tbody><tr>
|
1121
|
+
<td class="parameter_name"><p>context</p></td>
|
1122
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1123
|
+
<td class="parameter_annotations"> </td>
|
1124
|
+
</tr></tbody>
|
909
1125
|
</table></div>
|
1126
|
+
</div>
|
1127
|
+
<div class="refsect3">
|
1128
|
+
<a name="id-1.2.2.9.24.6"></a><h4>Returns</h4>
|
1129
|
+
<p> the resolved gravity for the context.</p>
|
1130
|
+
<p></p>
|
1131
|
+
</div>
|
910
1132
|
<p class="since">Since 1.16</p>
|
911
1133
|
</div>
|
912
1134
|
<hr>
|
913
1135
|
<div class="refsect2">
|
914
|
-
<a name="pango-context-get-gravity-hint"></a><h3>pango_context_get_gravity_hint
|
915
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravityHint"
|
916
|
-
<
|
917
|
-
Retrieves the gravity hint for the context. See
|
918
|
-
<a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint
|
919
|
-
<div class="
|
1136
|
+
<a name="pango-context-get-gravity-hint"></a><h3>pango_context_get_gravity_hint ()</h3>
|
1137
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="returnvalue">PangoGravityHint</span></a>
|
1138
|
+
pango_context_get_gravity_hint (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
1139
|
+
<p>Retrieves the gravity hint for the context. See
|
1140
|
+
<a class="link" href="pango-Text-Processing.html#pango-context-set-gravity-hint" title="pango_context_set_gravity_hint ()"><code class="function">pango_context_set_gravity_hint()</code></a> for details.</p>
|
1141
|
+
<div class="refsect3">
|
1142
|
+
<a name="id-1.2.2.9.25.5"></a><h4>Parameters</h4>
|
1143
|
+
<div class="informaltable"><table width="100%" border="0">
|
920
1144
|
<colgroup>
|
921
|
-
<col
|
922
|
-
<col>
|
1145
|
+
<col width="150px" class="parameters_name">
|
1146
|
+
<col class="parameters_description">
|
1147
|
+
<col width="200px" class="parameters_annotations">
|
923
1148
|
</colgroup>
|
924
|
-
<tbody>
|
925
|
-
<
|
926
|
-
<td><p
|
927
|
-
<td
|
928
|
-
</
|
929
|
-
</tr>
|
930
|
-
<tr>
|
931
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
932
|
-
<td>the gravity hint for the context.</td>
|
933
|
-
</tr>
|
934
|
-
</tbody>
|
1149
|
+
<tbody><tr>
|
1150
|
+
<td class="parameter_name"><p>context</p></td>
|
1151
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1152
|
+
<td class="parameter_annotations"> </td>
|
1153
|
+
</tr></tbody>
|
935
1154
|
</table></div>
|
1155
|
+
</div>
|
1156
|
+
<div class="refsect3">
|
1157
|
+
<a name="id-1.2.2.9.25.6"></a><h4>Returns</h4>
|
1158
|
+
<p> the gravity hint for the context.</p>
|
1159
|
+
<p></p>
|
1160
|
+
</div>
|
936
1161
|
<p class="since">Since 1.16</p>
|
937
1162
|
</div>
|
938
1163
|
<hr>
|
939
1164
|
<div class="refsect2">
|
940
|
-
<a name="pango-context-set-gravity-hint"></a><h3>pango_context_set_gravity_hint
|
941
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
942
|
-
|
943
|
-
<
|
944
|
-
Sets the gravity hint for the context.</p>
|
945
|
-
<p>
|
946
|
-
|
947
|
-
if gravity of the context as returned by <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()"><code class="function">pango_context_get_gravity()</code></a>
|
1165
|
+
<a name="pango-context-set-gravity-hint"></a><h3>pango_context_set_gravity_hint ()</h3>
|
1166
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1167
|
+
pango_context_set_gravity_hint (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1168
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
1169
|
+
<p>Sets the gravity hint for the context.</p>
|
1170
|
+
<p>The gravity hint is used in laying vertical text out, and is only relevant
|
1171
|
+
if gravity of the context as returned by <a class="link" href="pango-Text-Processing.html#pango-context-get-gravity" title="pango_context_get_gravity ()"><code class="function">pango_context_get_gravity()</code></a>
|
948
1172
|
is set <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><code class="literal">PANGO_GRAVITY_EAST</code></a> or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-WEST:CAPS"><code class="literal">PANGO_GRAVITY_WEST</code></a>.</p>
|
949
|
-
<div class="
|
1173
|
+
<div class="refsect3">
|
1174
|
+
<a name="id-1.2.2.9.26.6"></a><h4>Parameters</h4>
|
1175
|
+
<div class="informaltable"><table width="100%" border="0">
|
950
1176
|
<colgroup>
|
951
|
-
<col
|
952
|
-
<col>
|
1177
|
+
<col width="150px" class="parameters_name">
|
1178
|
+
<col class="parameters_description">
|
1179
|
+
<col width="200px" class="parameters_annotations">
|
953
1180
|
</colgroup>
|
954
1181
|
<tbody>
|
955
1182
|
<tr>
|
956
|
-
<td
|
957
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
958
|
-
</td>
|
1183
|
+
<td class="parameter_name"><p>context</p></td>
|
1184
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1185
|
+
<td class="parameter_annotations"> </td>
|
959
1186
|
</tr>
|
960
1187
|
<tr>
|
961
|
-
<td
|
962
|
-
<td>the new gravity hint</td>
|
1188
|
+
<td class="parameter_name"><p>hint</p></td>
|
1189
|
+
<td class="parameter_description"><p>the new gravity hint</p></td>
|
1190
|
+
<td class="parameter_annotations"> </td>
|
963
1191
|
</tr>
|
964
1192
|
</tbody>
|
965
1193
|
</table></div>
|
1194
|
+
</div>
|
966
1195
|
<p class="since">Since 1.16</p>
|
967
1196
|
</div>
|
968
1197
|
<hr>
|
969
1198
|
<div class="refsect2">
|
970
|
-
<a name="pango-context-get-matrix"></a><h3>pango_context_get_matrix
|
971
|
-
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a>
|
972
|
-
<
|
973
|
-
Gets the transformation matrix that will be applied when
|
974
|
-
rendering with this context. See <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix
|
975
|
-
<div class="
|
1199
|
+
<a name="pango-context-get-matrix"></a><h3>pango_context_get_matrix ()</h3>
|
1200
|
+
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
|
1201
|
+
pango_context_get_matrix (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
1202
|
+
<p>Gets the transformation matrix that will be applied when
|
1203
|
+
rendering with this context. See <a class="link" href="pango-Text-Processing.html#pango-context-set-matrix" title="pango_context_set_matrix ()"><code class="function">pango_context_set_matrix()</code></a>.</p>
|
1204
|
+
<div class="refsect3">
|
1205
|
+
<a name="id-1.2.2.9.27.5"></a><h4>Parameters</h4>
|
1206
|
+
<div class="informaltable"><table width="100%" border="0">
|
976
1207
|
<colgroup>
|
977
|
-
<col
|
978
|
-
<col>
|
1208
|
+
<col width="150px" class="parameters_name">
|
1209
|
+
<col class="parameters_description">
|
1210
|
+
<col width="200px" class="parameters_annotations">
|
979
1211
|
</colgroup>
|
980
|
-
<tbody>
|
981
|
-
<
|
982
|
-
<td><p
|
983
|
-
<td
|
984
|
-
</
|
985
|
-
</
|
986
|
-
|
987
|
-
<
|
988
|
-
<
|
1212
|
+
<tbody><tr>
|
1213
|
+
<td class="parameter_name"><p>context</p></td>
|
1214
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1215
|
+
<td class="parameter_annotations"> </td>
|
1216
|
+
</tr></tbody>
|
1217
|
+
</table></div>
|
1218
|
+
</div>
|
1219
|
+
<div class="refsect3">
|
1220
|
+
<a name="id-1.2.2.9.27.6"></a><h4>Returns</h4>
|
1221
|
+
<p> the matrix, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matrix has been set
|
989
1222
|
(which is the same as the identity matrix). The returned
|
990
1223
|
matrix is owned by Pango and must not be modified or
|
991
|
-
freed.</
|
992
|
-
|
993
|
-
</
|
994
|
-
</table></div>
|
1224
|
+
freed.</p>
|
1225
|
+
<p></p>
|
1226
|
+
</div>
|
995
1227
|
<p class="since">Since 1.6</p>
|
996
1228
|
</div>
|
997
1229
|
<hr>
|
998
1230
|
<div class="refsect2">
|
999
|
-
<a name="pango-context-set-matrix"></a><h3>pango_context_set_matrix
|
1000
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1001
|
-
|
1002
|
-
<
|
1003
|
-
Sets the transformation matrix that will be applied when rendering
|
1231
|
+
<a name="pango-context-set-matrix"></a><h3>pango_context_set_matrix ()</h3>
|
1232
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1233
|
+
pango_context_set_matrix (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1234
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
1235
|
+
<p>Sets the transformation matrix that will be applied when rendering
|
1004
1236
|
with this context. Note that reported metrics are in the user space
|
1005
1237
|
coordinates before the application of the matrix, not device-space
|
1006
1238
|
coordinates after the application of the matrix. So, they don't scale
|
1007
1239
|
with the matrix, though they may change slightly for different
|
1008
1240
|
matrices, depending on how the text is fit to the pixel grid.</p>
|
1009
|
-
<div class="
|
1241
|
+
<div class="refsect3">
|
1242
|
+
<a name="id-1.2.2.9.28.5"></a><h4>Parameters</h4>
|
1243
|
+
<div class="informaltable"><table width="100%" border="0">
|
1010
1244
|
<colgroup>
|
1011
|
-
<col
|
1012
|
-
<col>
|
1245
|
+
<col width="150px" class="parameters_name">
|
1246
|
+
<col class="parameters_description">
|
1247
|
+
<col width="200px" class="parameters_annotations">
|
1013
1248
|
</colgroup>
|
1014
1249
|
<tbody>
|
1015
1250
|
<tr>
|
1016
|
-
<td
|
1017
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
1018
|
-
</td>
|
1251
|
+
<td class="parameter_name"><p>context</p></td>
|
1252
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1253
|
+
<td class="parameter_annotations"> </td>
|
1019
1254
|
</tr>
|
1020
1255
|
<tr>
|
1021
|
-
<td
|
1022
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="
|
1023
|
-
matrix. (No matrix set is the same as setting the identity matrix.).
|
1024
|
-
</td>
|
1256
|
+
<td class="parameter_name"><p>matrix</p></td>
|
1257
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any existing
|
1258
|
+
matrix. (No matrix set is the same as setting the identity matrix.). </p></td>
|
1259
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1025
1260
|
</tr>
|
1026
1261
|
</tbody>
|
1027
1262
|
</table></div>
|
1263
|
+
</div>
|
1028
1264
|
<p class="since">Since 1.6</p>
|
1029
1265
|
</div>
|
1030
1266
|
<hr>
|
1031
1267
|
<div class="refsect2">
|
1032
|
-
<a name="pango-context-load-font"></a><h3>pango_context_load_font
|
1033
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a>
|
1034
|
-
|
1035
|
-
<
|
1036
|
-
Loads the font in one of the fontmaps in the context
|
1037
|
-
that is the closest match for <em class="parameter"><code>desc</code></em
|
1038
|
-
|
1268
|
+
<a name="pango-context-load-font"></a><h3>pango_context_load_font ()</h3>
|
1269
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFont"><span class="returnvalue">PangoFont</span></a> *
|
1270
|
+
pango_context_load_font (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1271
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
|
1272
|
+
<p>Loads the font in one of the fontmaps in the context
|
1273
|
+
that is the closest match for <em class="parameter"><code>desc</code></em>
|
1274
|
+
.</p>
|
1275
|
+
<div class="refsect3">
|
1276
|
+
<a name="id-1.2.2.9.29.5"></a><h4>Parameters</h4>
|
1277
|
+
<div class="informaltable"><table width="100%" border="0">
|
1039
1278
|
<colgroup>
|
1040
|
-
<col
|
1041
|
-
<col>
|
1279
|
+
<col width="150px" class="parameters_name">
|
1280
|
+
<col class="parameters_description">
|
1281
|
+
<col width="200px" class="parameters_annotations">
|
1042
1282
|
</colgroup>
|
1043
1283
|
<tbody>
|
1044
1284
|
<tr>
|
1045
|
-
<td
|
1046
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
1047
|
-
</td>
|
1048
|
-
</tr>
|
1049
|
-
<tr>
|
1050
|
-
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1051
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</td>
|
1285
|
+
<td class="parameter_name"><p>context</p></td>
|
1286
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1287
|
+
<td class="parameter_annotations"> </td>
|
1052
1288
|
</tr>
|
1053
1289
|
<tr>
|
1054
|
-
<td
|
1055
|
-
<td>
|
1056
|
-
|
1057
|
-
</td>
|
1290
|
+
<td class="parameter_name"><p>desc</p></td>
|
1291
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the font to load</p></td>
|
1292
|
+
<td class="parameter_annotations"> </td>
|
1058
1293
|
</tr>
|
1059
1294
|
</tbody>
|
1060
1295
|
</table></div>
|
1061
1296
|
</div>
|
1297
|
+
<div class="refsect3">
|
1298
|
+
<a name="id-1.2.2.9.29.6"></a><h4>Returns</h4>
|
1299
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> that
|
1300
|
+
was loaded, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
1301
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1302
|
+
</div>
|
1303
|
+
</div>
|
1062
1304
|
<hr>
|
1063
1305
|
<div class="refsect2">
|
1064
|
-
<a name="pango-context-load-fontset"></a><h3>pango_context_load_fontset
|
1065
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a>
|
1066
|
-
|
1067
|
-
|
1068
|
-
<
|
1069
|
-
Load a set of fonts in the context that can be used to render
|
1070
|
-
a font matching <em class="parameter"><code>desc</code></em
|
1071
|
-
|
1306
|
+
<a name="pango-context-load-fontset"></a><h3>pango_context_load_fontset ()</h3>
|
1307
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontset"><span class="returnvalue">PangoFontset</span></a> *
|
1308
|
+
pango_context_load_fontset (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1309
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1310
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1311
|
+
<p>Load a set of fonts in the context that can be used to render
|
1312
|
+
a font matching <em class="parameter"><code>desc</code></em>
|
1313
|
+
.</p>
|
1314
|
+
<div class="refsect3">
|
1315
|
+
<a name="id-1.2.2.9.30.5"></a><h4>Parameters</h4>
|
1316
|
+
<div class="informaltable"><table width="100%" border="0">
|
1072
1317
|
<colgroup>
|
1073
|
-
<col
|
1074
|
-
<col>
|
1318
|
+
<col width="150px" class="parameters_name">
|
1319
|
+
<col class="parameters_description">
|
1320
|
+
<col width="200px" class="parameters_annotations">
|
1075
1321
|
</colgroup>
|
1076
1322
|
<tbody>
|
1077
1323
|
<tr>
|
1078
|
-
<td
|
1079
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
1080
|
-
</td>
|
1081
|
-
</tr>
|
1082
|
-
<tr>
|
1083
|
-
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
|
1084
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the fonts to load</td>
|
1324
|
+
<td class="parameter_name"><p>context</p></td>
|
1325
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1326
|
+
<td class="parameter_annotations"> </td>
|
1085
1327
|
</tr>
|
1086
1328
|
<tr>
|
1087
|
-
<td
|
1088
|
-
<td>a <a class="link" href="pango-
|
1329
|
+
<td class="parameter_name"><p>desc</p></td>
|
1330
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> describing the fonts to load</p></td>
|
1331
|
+
<td class="parameter_annotations"> </td>
|
1089
1332
|
</tr>
|
1090
1333
|
<tr>
|
1091
|
-
<td
|
1092
|
-
<td>
|
1093
|
-
|
1094
|
-
</td>
|
1334
|
+
<td class="parameter_name"><p>language</p></td>
|
1335
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> the fonts will be used for</p></td>
|
1336
|
+
<td class="parameter_annotations"> </td>
|
1095
1337
|
</tr>
|
1096
1338
|
</tbody>
|
1097
1339
|
</table></div>
|
1098
1340
|
</div>
|
1341
|
+
<div class="refsect3">
|
1342
|
+
<a name="id-1.2.2.9.30.6"></a><h4>Returns</h4>
|
1343
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontset"><span class="type">PangoFontset</span></a> loaded,
|
1344
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no font matched. </p>
|
1345
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1346
|
+
</div>
|
1347
|
+
</div>
|
1099
1348
|
<hr>
|
1100
1349
|
<div class="refsect2">
|
1101
|
-
<a name="pango-context-get-metrics"></a><h3>pango_context_get_metrics
|
1102
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a>
|
1103
|
-
|
1104
|
-
|
1105
|
-
<
|
1106
|
-
Get overall metric information for a particular font
|
1350
|
+
<a name="pango-context-get-metrics"></a><h3>pango_context_get_metrics ()</h3>
|
1351
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="returnvalue">PangoFontMetrics</span></a> *
|
1352
|
+
pango_context_get_metrics (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1353
|
+
<em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
1354
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1355
|
+
<p>Get overall metric information for a particular font
|
1107
1356
|
description. Since the metrics may be substantially different for
|
1108
1357
|
different scripts, a language tag can be provided to indicate that
|
1109
1358
|
the metrics should be retrieved that correspond to the script(s)
|
1110
1359
|
used by that language.</p>
|
1111
|
-
<p>
|
1112
|
-
|
1113
|
-
by <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, and the family name may be a comma separated
|
1360
|
+
<p>The <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> is interpreted in the same way as
|
1361
|
+
by <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>, and the family name may be a comma separated
|
1114
1362
|
list of figures. If characters from multiple of these families
|
1115
1363
|
would be used to render the string, then the returned fonts would
|
1116
1364
|
be a composite of the metrics for the fonts loaded for the
|
1117
1365
|
individual families.</p>
|
1118
|
-
<div class="
|
1366
|
+
<div class="refsect3">
|
1367
|
+
<a name="id-1.2.2.9.31.6"></a><h4>Parameters</h4>
|
1368
|
+
<div class="informaltable"><table width="100%" border="0">
|
1119
1369
|
<colgroup>
|
1120
|
-
<col
|
1121
|
-
<col>
|
1370
|
+
<col width="150px" class="parameters_name">
|
1371
|
+
<col class="parameters_description">
|
1372
|
+
<col width="200px" class="parameters_annotations">
|
1122
1373
|
</colgroup>
|
1123
1374
|
<tbody>
|
1124
1375
|
<tr>
|
1125
|
-
<td
|
1126
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
1127
|
-
</td>
|
1376
|
+
<td class="parameter_name"><p>context</p></td>
|
1377
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1378
|
+
<td class="parameter_annotations"> </td>
|
1128
1379
|
</tr>
|
1129
1380
|
<tr>
|
1130
|
-
<td
|
1131
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure. <a href="
|
1132
|
-
font description from the context will be used.
|
1133
|
-
</td>
|
1381
|
+
<td class="parameter_name"><p>desc</p></td>
|
1382
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> structure. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the
|
1383
|
+
font description from the context will be used. </p></td>
|
1384
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1134
1385
|
</tr>
|
1135
1386
|
<tr>
|
1136
|
-
<td
|
1137
|
-
<td>language tag used to determine which script to get
|
1138
|
-
the metrics for. <a href="
|
1387
|
+
<td class="parameter_name"><p>language</p></td>
|
1388
|
+
<td class="parameter_description"><p> language tag used to determine which script to get
|
1389
|
+
the metrics for. <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> means that the language tag from the context
|
1139
1390
|
will be used. If no language tag is set on the context, metrics
|
1140
|
-
for the default language (as determined by <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default
|
1141
|
-
will be returned.
|
1142
|
-
</td>
|
1143
|
-
</tr>
|
1144
|
-
<tr>
|
1145
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1146
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
1147
|
-
when finished using the object.</td>
|
1391
|
+
for the default language (as determined by <a class="link" href="pango-Scripts-and-Languages.html#pango-language-get-default" title="pango_language_get_default ()"><code class="function">pango_language_get_default()</code></a>)
|
1392
|
+
will be returned. </p></td>
|
1393
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1148
1394
|
</tr>
|
1149
1395
|
</tbody>
|
1150
1396
|
</table></div>
|
1151
1397
|
</div>
|
1398
|
+
<div class="refsect3">
|
1399
|
+
<a name="id-1.2.2.9.31.7"></a><h4>Returns</h4>
|
1400
|
+
<p> a <a class="link" href="pango-Fonts.html#PangoFontMetrics"><span class="type">PangoFontMetrics</span></a> object. The caller must call <a class="link" href="pango-Fonts.html#pango-font-metrics-unref" title="pango_font_metrics_unref ()"><code class="function">pango_font_metrics_unref()</code></a>
|
1401
|
+
when finished using the object.</p>
|
1402
|
+
<p></p>
|
1403
|
+
</div>
|
1404
|
+
</div>
|
1152
1405
|
<hr>
|
1153
1406
|
<div class="refsect2">
|
1154
|
-
<a name="pango-context-list-families"></a><h3>pango_context_list_families
|
1155
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1156
|
-
|
1157
|
-
|
1158
|
-
<
|
1159
|
-
List all families for a context.</p>
|
1160
|
-
<div class="
|
1407
|
+
<a name="pango-context-list-families"></a><h3>pango_context_list_families ()</h3>
|
1408
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1409
|
+
pango_context_list_families (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1410
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> ***families</code></em>,
|
1411
|
+
<em class="parameter"><code><span class="type">int</span> *n_families</code></em>);</pre>
|
1412
|
+
<p>List all families for a context.</p>
|
1413
|
+
<div class="refsect3">
|
1414
|
+
<a name="id-1.2.2.9.32.5"></a><h4>Parameters</h4>
|
1415
|
+
<div class="informaltable"><table width="100%" border="0">
|
1161
1416
|
<colgroup>
|
1162
|
-
<col
|
1163
|
-
<col>
|
1417
|
+
<col width="150px" class="parameters_name">
|
1418
|
+
<col class="parameters_description">
|
1419
|
+
<col width="200px" class="parameters_annotations">
|
1164
1420
|
</colgroup>
|
1165
1421
|
<tbody>
|
1166
1422
|
<tr>
|
1167
|
-
<td
|
1168
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
1169
|
-
</td>
|
1423
|
+
<td class="parameter_name"><p>context</p></td>
|
1424
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
|
1425
|
+
<td class="parameter_annotations"> </td>
|
1170
1426
|
</tr>
|
1171
1427
|
<tr>
|
1172
|
-
<td
|
1173
|
-
<td>location to store a pointer to
|
1428
|
+
<td class="parameter_name"><p>families</p></td>
|
1429
|
+
<td class="parameter_description"><p> location to store a pointer to
|
1174
1430
|
an array of <a class="link" href="pango-Fonts.html#PangoFontFamily"><span class="type">PangoFontFamily</span></a> *. This array should be freed
|
1175
|
-
with <a href="
|
1176
|
-
</td>
|
1431
|
+
with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
1432
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_families][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
1177
1433
|
</tr>
|
1178
1434
|
<tr>
|
1179
|
-
<td
|
1180
|
-
<td>location to store the number of elements in <em class="parameter"><code>descs</code></em
|
1181
|
-
</td>
|
1435
|
+
<td class="parameter_name"><p>n_families</p></td>
|
1436
|
+
<td class="parameter_description"><p> location to store the number of elements in <em class="parameter"><code>descs</code></em>
|
1437
|
+
. </p></td>
|
1438
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1182
1439
|
</tr>
|
1183
1440
|
</tbody>
|
1184
1441
|
</table></div>
|
1185
1442
|
</div>
|
1443
|
+
</div>
|
1186
1444
|
<hr>
|
1187
1445
|
<div class="refsect2">
|
1188
|
-
<a name="pango-break"></a><h3>pango_break
|
1189
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
<
|
1195
|
-
Determines possible line, word, and character breaks
|
1446
|
+
<a name="pango-break"></a><h3>pango_break ()</h3>
|
1447
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1448
|
+
pango_break (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1449
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1450
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1451
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
|
1452
|
+
<em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);</pre>
|
1453
|
+
<p>Determines possible line, word, and character breaks
|
1196
1454
|
for a string of Unicode text with a single analysis. For most
|
1197
|
-
purposes you may want to use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs
|
1198
|
-
<div class="
|
1455
|
+
purposes you may want to use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
|
1456
|
+
<div class="refsect3">
|
1457
|
+
<a name="id-1.2.2.9.33.5"></a><h4>Parameters</h4>
|
1458
|
+
<div class="informaltable"><table width="100%" border="0">
|
1199
1459
|
<colgroup>
|
1200
|
-
<col
|
1201
|
-
<col>
|
1460
|
+
<col width="150px" class="parameters_name">
|
1461
|
+
<col class="parameters_description">
|
1462
|
+
<col width="200px" class="parameters_annotations">
|
1202
1463
|
</colgroup>
|
1203
1464
|
<tbody>
|
1204
1465
|
<tr>
|
1205
|
-
<td
|
1206
|
-
<td>the text to process</td>
|
1466
|
+
<td class="parameter_name"><p>text</p></td>
|
1467
|
+
<td class="parameter_description"><p>the text to process</p></td>
|
1468
|
+
<td class="parameter_annotations"> </td>
|
1207
1469
|
</tr>
|
1208
1470
|
<tr>
|
1209
|
-
<td
|
1210
|
-
<td
|
1471
|
+
<td class="parameter_name"><p>length</p></td>
|
1472
|
+
<td class="parameter_description"><p>length of <em class="parameter"><code>text</code></em>
|
1473
|
+
in bytes (may be -1 if <em class="parameter"><code>text</code></em>
|
1474
|
+
is nul-terminated)</p></td>
|
1475
|
+
<td class="parameter_annotations"> </td>
|
1211
1476
|
</tr>
|
1212
1477
|
<tr>
|
1213
|
-
<td
|
1214
|
-
<td>
|
1215
|
-
<
|
1216
|
-
</td>
|
1478
|
+
<td class="parameter_name"><p>analysis</p></td>
|
1479
|
+
<td class="parameter_description"><p><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a></p></td>
|
1480
|
+
<td class="parameter_annotations"> </td>
|
1217
1481
|
</tr>
|
1218
1482
|
<tr>
|
1219
|
-
<td
|
1220
|
-
<td>an array to store character
|
1221
|
-
information in.
|
1222
|
-
</td>
|
1483
|
+
<td class="parameter_name"><p>attrs</p></td>
|
1484
|
+
<td class="parameter_description"><p> an array to store character
|
1485
|
+
information in. </p></td>
|
1486
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=attrs_len]</span></td>
|
1223
1487
|
</tr>
|
1224
1488
|
<tr>
|
1225
|
-
<td
|
1226
|
-
<td>size of the array passed as <em class="parameter"><code>attrs</code></em>
|
1227
|
-
</td>
|
1489
|
+
<td class="parameter_name"><p>attrs_len</p></td>
|
1490
|
+
<td class="parameter_description"><p>size of the array passed as <em class="parameter"><code>attrs</code></em>
|
1491
|
+
</p></td>
|
1492
|
+
<td class="parameter_annotations"> </td>
|
1228
1493
|
</tr>
|
1229
1494
|
</tbody>
|
1230
1495
|
</table></div>
|
1231
1496
|
</div>
|
1497
|
+
</div>
|
1232
1498
|
<hr>
|
1233
1499
|
<div class="refsect2">
|
1234
|
-
<a name="pango-get-log-attrs"></a><h3>pango_get_log_attrs
|
1235
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
<
|
1242
|
-
Computes a <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> for each character in <em class="parameter"><code>text</code></em
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1500
|
+
<a name="pango-get-log-attrs"></a><h3>pango_get_log_attrs ()</h3>
|
1501
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1502
|
+
pango_get_log_attrs (<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1503
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1504
|
+
<em class="parameter"><code><span class="type">int</span> level</code></em>,
|
1505
|
+
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>,
|
1506
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *log_attrs</code></em>,
|
1507
|
+
<em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);</pre>
|
1508
|
+
<p>Computes a <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> for each character in <em class="parameter"><code>text</code></em>
|
1509
|
+
. The <em class="parameter"><code>log_attrs</code></em>
|
1510
|
+
|
1511
|
+
array must have one <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> for each position in <em class="parameter"><code>text</code></em>
|
1512
|
+
; if
|
1513
|
+
<em class="parameter"><code>text</code></em>
|
1514
|
+
contains N characters, it has N+1 positions, including the
|
1515
|
+
last position at the end of the text. <em class="parameter"><code>text</code></em>
|
1516
|
+
should be an entire
|
1246
1517
|
paragraph; logical attributes can't be computed without context
|
1247
1518
|
(for example you need to see spaces on either side of a word to know
|
1248
1519
|
the word is a word).</p>
|
1249
|
-
<div class="
|
1520
|
+
<div class="refsect3">
|
1521
|
+
<a name="id-1.2.2.9.34.5"></a><h4>Parameters</h4>
|
1522
|
+
<div class="informaltable"><table width="100%" border="0">
|
1250
1523
|
<colgroup>
|
1251
|
-
<col
|
1252
|
-
<col>
|
1524
|
+
<col width="150px" class="parameters_name">
|
1525
|
+
<col class="parameters_description">
|
1526
|
+
<col width="200px" class="parameters_annotations">
|
1253
1527
|
</colgroup>
|
1254
1528
|
<tbody>
|
1255
1529
|
<tr>
|
1256
|
-
<td
|
1257
|
-
<td>text to process</td>
|
1530
|
+
<td class="parameter_name"><p>text</p></td>
|
1531
|
+
<td class="parameter_description"><p>text to process</p></td>
|
1532
|
+
<td class="parameter_annotations"> </td>
|
1258
1533
|
</tr>
|
1259
1534
|
<tr>
|
1260
|
-
<td
|
1261
|
-
<td>length in bytes of <em class="parameter"><code>text</code></em>
|
1262
|
-
</td>
|
1535
|
+
<td class="parameter_name"><p>length</p></td>
|
1536
|
+
<td class="parameter_description"><p>length in bytes of <em class="parameter"><code>text</code></em>
|
1537
|
+
</p></td>
|
1538
|
+
<td class="parameter_annotations"> </td>
|
1263
1539
|
</tr>
|
1264
1540
|
<tr>
|
1265
|
-
<td
|
1266
|
-
<td>embedding level, or -1 if unknown</td>
|
1541
|
+
<td class="parameter_name"><p>level</p></td>
|
1542
|
+
<td class="parameter_description"><p>embedding level, or -1 if unknown</p></td>
|
1543
|
+
<td class="parameter_annotations"> </td>
|
1267
1544
|
</tr>
|
1268
1545
|
<tr>
|
1269
|
-
<td
|
1270
|
-
<td>language tag</td>
|
1546
|
+
<td class="parameter_name"><p>language</p></td>
|
1547
|
+
<td class="parameter_description"><p>language tag</p></td>
|
1548
|
+
<td class="parameter_annotations"> </td>
|
1271
1549
|
</tr>
|
1272
1550
|
<tr>
|
1273
|
-
<td
|
1274
|
-
<td>array with one <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a>
|
1275
|
-
per character in <em class="parameter"><code>text</code></em
|
1276
|
-
</td>
|
1551
|
+
<td class="parameter_name"><p>log_attrs</p></td>
|
1552
|
+
<td class="parameter_description"><p> array with one <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a>
|
1553
|
+
per character in <em class="parameter"><code>text</code></em>
|
1554
|
+
, plus one extra, to be filled in. </p></td>
|
1555
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=attrs_len]</span></td>
|
1277
1556
|
</tr>
|
1278
1557
|
<tr>
|
1279
|
-
<td
|
1280
|
-
<td>length of <em class="parameter"><code>log_attrs</code></em>
|
1558
|
+
<td class="parameter_name"><p>attrs_len</p></td>
|
1559
|
+
<td class="parameter_description"><p>length of <em class="parameter"><code>log_attrs</code></em>
|
1560
|
+
array</p></td>
|
1561
|
+
<td class="parameter_annotations"> </td>
|
1281
1562
|
</tr>
|
1282
1563
|
</tbody>
|
1283
1564
|
</table></div>
|
1284
1565
|
</div>
|
1566
|
+
</div>
|
1285
1567
|
<hr>
|
1286
1568
|
<div class="refsect2">
|
1287
|
-
<a name="pango-find-paragraph-boundary"></a><h3>pango_find_paragraph_boundary
|
1288
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
<
|
1293
|
-
Locates a paragraph boundary in <em class="parameter"><code>text</code></em
|
1569
|
+
<a name="pango-find-paragraph-boundary"></a><h3>pango_find_paragraph_boundary ()</h3>
|
1570
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1571
|
+
pango_find_paragraph_boundary (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1572
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
1573
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *paragraph_delimiter_index</code></em>,
|
1574
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *next_paragraph_start</code></em>);</pre>
|
1575
|
+
<p>Locates a paragraph boundary in <em class="parameter"><code>text</code></em>
|
1576
|
+
. A boundary is caused by
|
1294
1577
|
delimiter characters, such as a newline, carriage return, carriage
|
1295
1578
|
return-newline pair, or Unicode paragraph separator character. The
|
1296
1579
|
index of the run of delimiters is returned in
|
1297
|
-
<em class="parameter"><code>paragraph_delimiter_index</code></em
|
1298
|
-
|
1299
|
-
<
|
1300
|
-
|
1301
|
-
<
|
1580
|
+
<em class="parameter"><code>paragraph_delimiter_index</code></em>
|
1581
|
+
. The index of the start of the paragraph
|
1582
|
+
(index after all delimiters) is stored in <em class="parameter"><code>next_paragraph_start</code></em>
|
1583
|
+
.</p>
|
1584
|
+
<p>If no delimiters are found, both <em class="parameter"><code>paragraph_delimiter_index</code></em>
|
1585
|
+
and
|
1586
|
+
<em class="parameter"><code>next_paragraph_start</code></em>
|
1587
|
+
are filled with the length of <em class="parameter"><code>text</code></em>
|
1588
|
+
(an index one
|
1302
1589
|
off the end).</p>
|
1303
|
-
<div class="
|
1590
|
+
<div class="refsect3">
|
1591
|
+
<a name="id-1.2.2.9.35.6"></a><h4>Parameters</h4>
|
1592
|
+
<div class="informaltable"><table width="100%" border="0">
|
1304
1593
|
<colgroup>
|
1305
|
-
<col
|
1306
|
-
<col>
|
1594
|
+
<col width="150px" class="parameters_name">
|
1595
|
+
<col class="parameters_description">
|
1596
|
+
<col width="200px" class="parameters_annotations">
|
1307
1597
|
</colgroup>
|
1308
1598
|
<tbody>
|
1309
1599
|
<tr>
|
1310
|
-
<td
|
1311
|
-
<td>UTF-8 text</td>
|
1600
|
+
<td class="parameter_name"><p>text</p></td>
|
1601
|
+
<td class="parameter_description"><p>UTF-8 text</p></td>
|
1602
|
+
<td class="parameter_annotations"> </td>
|
1312
1603
|
</tr>
|
1313
1604
|
<tr>
|
1314
|
-
<td
|
1315
|
-
<td>length of <em class="parameter"><code>text</code></em>
|
1605
|
+
<td class="parameter_name"><p>length</p></td>
|
1606
|
+
<td class="parameter_description"><p>length of <em class="parameter"><code>text</code></em>
|
1607
|
+
in bytes, or -1 if nul-terminated</p></td>
|
1608
|
+
<td class="parameter_annotations"> </td>
|
1316
1609
|
</tr>
|
1317
1610
|
<tr>
|
1318
|
-
<td
|
1319
|
-
<td>return location for index of
|
1320
|
-
delimiter.
|
1321
|
-
</td>
|
1611
|
+
<td class="parameter_name"><p>paragraph_delimiter_index</p></td>
|
1612
|
+
<td class="parameter_description"><p> return location for index of
|
1613
|
+
delimiter. </p></td>
|
1614
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1322
1615
|
</tr>
|
1323
1616
|
<tr>
|
1324
|
-
<td
|
1325
|
-
<td>return location for start of next
|
1326
|
-
paragraph.
|
1327
|
-
</td>
|
1617
|
+
<td class="parameter_name"><p>next_paragraph_start</p></td>
|
1618
|
+
<td class="parameter_description"><p> return location for start of next
|
1619
|
+
paragraph. </p></td>
|
1620
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
1328
1621
|
</tr>
|
1329
1622
|
</tbody>
|
1330
1623
|
</table></div>
|
1331
1624
|
</div>
|
1625
|
+
</div>
|
1332
1626
|
<hr>
|
1333
1627
|
<div class="refsect2">
|
1334
|
-
<a name="pango-default-break"></a><h3>pango_default_break
|
1335
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
<
|
1341
|
-
This is the default break algorithm, used if no language
|
1342
|
-
engine overrides it. Normally you should use <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break
|
1343
|
-
instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break
|
1344
|
-
<em class="parameter"><code>analysis</code></em>
|
1345
|
-
|
1346
|
-
you need to <a class="link" href="pango-Text-Processing.html#pango-
|
1347
|
-
|
1348
|
-
<
|
1628
|
+
<a name="pango-default-break"></a><h3>pango_default_break ()</h3>
|
1629
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1630
|
+
pango_default_break (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1631
|
+
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
1632
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1633
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> *attrs</code></em>,
|
1634
|
+
<em class="parameter"><code><span class="type">int</span> attrs_len</code></em>);</pre>
|
1635
|
+
<p>This is the default break algorithm, used if no language
|
1636
|
+
engine overrides it. Normally you should use <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>
|
1637
|
+
instead. Unlike <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
|
1638
|
+
<em class="parameter"><code>analysis</code></em>
|
1639
|
+
can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, but only do that if you know what
|
1640
|
+
you're doing. If you need an analysis to pass to <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>,
|
1641
|
+
you need to <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>. In most cases however you should
|
1642
|
+
simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs" title="pango_get_log_attrs ()"><code class="function">pango_get_log_attrs()</code></a>.</p>
|
1643
|
+
<div class="refsect3">
|
1644
|
+
<a name="id-1.2.2.9.36.5"></a><h4>Parameters</h4>
|
1645
|
+
<div class="informaltable"><table width="100%" border="0">
|
1349
1646
|
<colgroup>
|
1350
|
-
<col
|
1351
|
-
<col>
|
1647
|
+
<col width="150px" class="parameters_name">
|
1648
|
+
<col class="parameters_description">
|
1649
|
+
<col width="200px" class="parameters_annotations">
|
1352
1650
|
</colgroup>
|
1353
1651
|
<tbody>
|
1354
1652
|
<tr>
|
1355
|
-
<td
|
1356
|
-
<td>text to break</td>
|
1653
|
+
<td class="parameter_name"><p>text</p></td>
|
1654
|
+
<td class="parameter_description"><p>text to break</p></td>
|
1655
|
+
<td class="parameter_annotations"> </td>
|
1357
1656
|
</tr>
|
1358
1657
|
<tr>
|
1359
|
-
<td
|
1360
|
-
<td>length of text in bytes (may be -1 if <em class="parameter"><code>text</code></em>
|
1658
|
+
<td class="parameter_name"><p>length</p></td>
|
1659
|
+
<td class="parameter_description"><p>length of text in bytes (may be -1 if <em class="parameter"><code>text</code></em>
|
1660
|
+
is nul-terminated)</p></td>
|
1661
|
+
<td class="parameter_annotations"> </td>
|
1361
1662
|
</tr>
|
1362
1663
|
<tr>
|
1363
|
-
<td
|
1364
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> for the <em class="parameter"><code>text</code></em>
|
1365
|
-
</td>
|
1664
|
+
<td class="parameter_name"><p>analysis</p></td>
|
1665
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> for the <em class="parameter"><code>text</code></em>
|
1666
|
+
</p></td>
|
1667
|
+
<td class="parameter_annotations"> </td>
|
1366
1668
|
</tr>
|
1367
1669
|
<tr>
|
1368
|
-
<td
|
1369
|
-
<td>logical attributes to fill in</td>
|
1670
|
+
<td class="parameter_name"><p>attrs</p></td>
|
1671
|
+
<td class="parameter_description"><p>logical attributes to fill in</p></td>
|
1672
|
+
<td class="parameter_annotations"> </td>
|
1370
1673
|
</tr>
|
1371
1674
|
<tr>
|
1372
|
-
<td
|
1373
|
-
<td>size of the array passed as <em class="parameter"><code>attrs</code></em>
|
1374
|
-
</td>
|
1675
|
+
<td class="parameter_name"><p>attrs_len</p></td>
|
1676
|
+
<td class="parameter_description"><p>size of the array passed as <em class="parameter"><code>attrs</code></em>
|
1677
|
+
</p></td>
|
1678
|
+
<td class="parameter_annotations"> </td>
|
1679
|
+
</tr>
|
1680
|
+
</tbody>
|
1681
|
+
</table></div>
|
1682
|
+
</div>
|
1683
|
+
</div>
|
1684
|
+
<hr>
|
1685
|
+
<div class="refsect2">
|
1686
|
+
<a name="pango-shape"></a><h3>pango_shape ()</h3>
|
1687
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1688
|
+
pango_shape (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1689
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
1690
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1691
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1692
|
+
<p>Given a segment of text and the corresponding
|
1693
|
+
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
|
1694
|
+
convert the characters into glyphs. You may also pass
|
1695
|
+
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
|
1696
|
+
<p>It is recommended that you use <a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()"><code class="function">pango_shape_full()</code></a> instead, since
|
1697
|
+
that API allows for shaping interaction happening across text item
|
1698
|
+
boundaries.</p>
|
1699
|
+
<div class="refsect3">
|
1700
|
+
<a name="id-1.2.2.9.37.6"></a><h4>Parameters</h4>
|
1701
|
+
<div class="informaltable"><table width="100%" border="0">
|
1702
|
+
<colgroup>
|
1703
|
+
<col width="150px" class="parameters_name">
|
1704
|
+
<col class="parameters_description">
|
1705
|
+
<col width="200px" class="parameters_annotations">
|
1706
|
+
</colgroup>
|
1707
|
+
<tbody>
|
1708
|
+
<tr>
|
1709
|
+
<td class="parameter_name"><p>text</p></td>
|
1710
|
+
<td class="parameter_description"><p>the text to process</p></td>
|
1711
|
+
<td class="parameter_annotations"> </td>
|
1712
|
+
</tr>
|
1713
|
+
<tr>
|
1714
|
+
<td class="parameter_name"><p>length</p></td>
|
1715
|
+
<td class="parameter_description"><p>the length (in bytes) of <em class="parameter"><code>text</code></em>
|
1716
|
+
</p></td>
|
1717
|
+
<td class="parameter_annotations"> </td>
|
1718
|
+
</tr>
|
1719
|
+
<tr>
|
1720
|
+
<td class="parameter_name"><p>analysis</p></td>
|
1721
|
+
<td class="parameter_description"><p><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a></p></td>
|
1722
|
+
<td class="parameter_annotations"> </td>
|
1723
|
+
</tr>
|
1724
|
+
<tr>
|
1725
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
1726
|
+
<td class="parameter_description"><p>glyph string in which to store results</p></td>
|
1727
|
+
<td class="parameter_annotations"> </td>
|
1728
|
+
</tr>
|
1729
|
+
</tbody>
|
1730
|
+
</table></div>
|
1731
|
+
</div>
|
1732
|
+
</div>
|
1733
|
+
<hr>
|
1734
|
+
<div class="refsect2">
|
1735
|
+
<a name="pango-shape-full"></a><h3>pango_shape_full ()</h3>
|
1736
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1737
|
+
pango_shape_full (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item_text</code></em>,
|
1738
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_length</code></em>,
|
1739
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *paragraph_text</code></em>,
|
1740
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> paragraph_length</code></em>,
|
1741
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1742
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1743
|
+
<p>Given a segment of text and the corresponding
|
1744
|
+
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
|
1745
|
+
convert the characters into glyphs. You may also pass
|
1746
|
+
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
|
1747
|
+
<p>This is similar to <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a>, except it also can optionally take
|
1748
|
+
the full paragraph text as input, which will then be used to perform
|
1749
|
+
certain cross-item shaping interactions. If you have access to the broader
|
1750
|
+
text of which <em class="parameter"><code>item_text</code></em>
|
1751
|
+
is part of, provide the broader text as
|
1752
|
+
<em class="parameter"><code>paragraph_text</code></em>
|
1753
|
+
. If <em class="parameter"><code>paragraph_text</code></em>
|
1754
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, item text is used instead.</p>
|
1755
|
+
<div class="refsect3">
|
1756
|
+
<a name="id-1.2.2.9.38.6"></a><h4>Parameters</h4>
|
1757
|
+
<div class="informaltable"><table width="100%" border="0">
|
1758
|
+
<colgroup>
|
1759
|
+
<col width="150px" class="parameters_name">
|
1760
|
+
<col class="parameters_description">
|
1761
|
+
<col width="200px" class="parameters_annotations">
|
1762
|
+
</colgroup>
|
1763
|
+
<tbody>
|
1764
|
+
<tr>
|
1765
|
+
<td class="parameter_name"><p>item_text</p></td>
|
1766
|
+
<td class="parameter_description"><p>valid UTF-8 text to shape.</p></td>
|
1767
|
+
<td class="parameter_annotations"> </td>
|
1768
|
+
</tr>
|
1769
|
+
<tr>
|
1770
|
+
<td class="parameter_name"><p>item_length</p></td>
|
1771
|
+
<td class="parameter_description"><p>the length (in bytes) of <em class="parameter"><code>item_text</code></em>
|
1772
|
+
. -1 means nul-terminated text.</p></td>
|
1773
|
+
<td class="parameter_annotations"> </td>
|
1774
|
+
</tr>
|
1775
|
+
<tr>
|
1776
|
+
<td class="parameter_name"><p>paragraph_text</p></td>
|
1777
|
+
<td class="parameter_description"><p> text of the paragraph (see details). May be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1778
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1779
|
+
</tr>
|
1780
|
+
<tr>
|
1781
|
+
<td class="parameter_name"><p>paragraph_length</p></td>
|
1782
|
+
<td class="parameter_description"><p>the length (in bytes) of <em class="parameter"><code>paragraph_text</code></em>
|
1783
|
+
. -1 means nul-terminated text.</p></td>
|
1784
|
+
<td class="parameter_annotations"> </td>
|
1785
|
+
</tr>
|
1786
|
+
<tr>
|
1787
|
+
<td class="parameter_name"><p>analysis</p></td>
|
1788
|
+
<td class="parameter_description"><p><a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p></td>
|
1789
|
+
<td class="parameter_annotations"> </td>
|
1790
|
+
</tr>
|
1791
|
+
<tr>
|
1792
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
1793
|
+
<td class="parameter_description"><p>glyph string in which to store results.</p></td>
|
1794
|
+
<td class="parameter_annotations"> </td>
|
1795
|
+
</tr>
|
1796
|
+
</tbody>
|
1797
|
+
</table></div>
|
1798
|
+
</div>
|
1799
|
+
<p class="since">Since 1.32</p>
|
1800
|
+
</div>
|
1801
|
+
</div>
|
1802
|
+
<div class="refsect1">
|
1803
|
+
<a name="pango-Text-Processing.other_details"></a><h2>Types and Values</h2>
|
1804
|
+
<div class="refsect2">
|
1805
|
+
<a name="PangoContext-struct"></a><h3>PangoContext</h3>
|
1806
|
+
<pre class="programlisting">typedef struct _PangoContext PangoContext;</pre>
|
1807
|
+
<p>The <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> structure stores global information
|
1808
|
+
used to control the itemization process.</p>
|
1809
|
+
</div>
|
1810
|
+
<hr>
|
1811
|
+
<div class="refsect2">
|
1812
|
+
<a name="PangoItem-struct"></a><h3>struct PangoItem</h3>
|
1813
|
+
<pre class="programlisting">struct PangoItem {
|
1814
|
+
gint offset;
|
1815
|
+
gint length;
|
1816
|
+
gint num_chars;
|
1817
|
+
PangoAnalysis analysis;
|
1818
|
+
};
|
1819
|
+
</pre>
|
1820
|
+
<p>The <a class="link" href="pango-Text-Processing.html#PangoItem"><span class="type">PangoItem</span></a> structure stores information about a segment of text.</p>
|
1821
|
+
</div>
|
1822
|
+
<hr>
|
1823
|
+
<div class="refsect2">
|
1824
|
+
<a name="PangoAnalysis"></a><h3>struct PangoAnalysis</h3>
|
1825
|
+
<pre class="programlisting">struct PangoAnalysis {
|
1826
|
+
PangoEngineShape *shape_engine;
|
1827
|
+
PangoEngineLang *lang_engine;
|
1828
|
+
PangoFont *font;
|
1829
|
+
|
1830
|
+
guint8 level;
|
1831
|
+
guint8 gravity; /* PangoGravity */
|
1832
|
+
guint8 flags;
|
1833
|
+
|
1834
|
+
guint8 script; /* PangoScript */
|
1835
|
+
PangoLanguage *language;
|
1836
|
+
|
1837
|
+
GSList *extra_attrs;
|
1838
|
+
};
|
1839
|
+
</pre>
|
1840
|
+
<p>The <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure stores information about
|
1841
|
+
the properties of a segment of text.</p>
|
1842
|
+
<div class="refsect3">
|
1843
|
+
<a name="id-1.2.2.10.4.5"></a><h4>Members</h4>
|
1844
|
+
<div class="informaltable"><table width="100%" border="0">
|
1845
|
+
<colgroup>
|
1846
|
+
<col width="300px" class="struct_members_name">
|
1847
|
+
<col class="struct_members_description">
|
1848
|
+
<col width="200px" class="struct_members_annotations">
|
1849
|
+
</colgroup>
|
1850
|
+
<tbody>
|
1851
|
+
<tr>
|
1852
|
+
<td class="struct_member_name"><p><a class="link" href="PangoEngineShape.html" title="PangoEngineShape"><span class="type">PangoEngineShape</span></a> *<em class="structfield"><code><a name="PangoAnalysis.shape-engine"></a>shape_engine</code></em>;</p></td>
|
1853
|
+
<td class="struct_member_description"><p>the engine for doing rendering-system-dependent processing.</p></td>
|
1854
|
+
<td class="struct_member_annotations"> </td>
|
1855
|
+
</tr>
|
1856
|
+
<tr>
|
1857
|
+
<td class="struct_member_name"><p><a class="link" href="PangoEngineLang.html" title="PangoEngineLang"><span class="type">PangoEngineLang</span></a> *<em class="structfield"><code><a name="PangoAnalysis.lang-engine"></a>lang_engine</code></em>;</p></td>
|
1858
|
+
<td class="struct_member_description"><p>the engine for doing rendering-system-independent processing.</p></td>
|
1859
|
+
<td class="struct_member_annotations"> </td>
|
1860
|
+
</tr>
|
1861
|
+
<tr>
|
1862
|
+
<td class="struct_member_name"><p><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *<em class="structfield"><code><a name="PangoAnalysis.font"></a>font</code></em>;</p></td>
|
1863
|
+
<td class="struct_member_description"><p>the font for this segment.</p></td>
|
1864
|
+
<td class="struct_member_annotations"> </td>
|
1865
|
+
</tr>
|
1866
|
+
<tr>
|
1867
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.level"></a>level</code></em>;</p></td>
|
1868
|
+
<td class="struct_member_description"><p>the bidirectional level for this segment.</p></td>
|
1869
|
+
<td class="struct_member_annotations"> </td>
|
1870
|
+
</tr>
|
1871
|
+
<tr>
|
1872
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.gravity"></a>gravity</code></em>;</p></td>
|
1873
|
+
<td class="struct_member_description"><p>the glyph orientation for this segment (A <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a>).</p></td>
|
1874
|
+
<td class="struct_member_annotations"> </td>
|
1875
|
+
</tr>
|
1876
|
+
<tr>
|
1877
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.flags"></a>flags</code></em>;</p></td>
|
1878
|
+
<td class="struct_member_description"><p>boolean flags for this segment (currently only one) (Since: 1.16).</p></td>
|
1879
|
+
<td class="struct_member_annotations"> </td>
|
1880
|
+
</tr>
|
1881
|
+
<tr>
|
1882
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="PangoAnalysis.script"></a>script</code></em>;</p></td>
|
1883
|
+
<td class="struct_member_description"><p>the detected script for this segment (A <a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a>) (Since: 1.18).</p></td>
|
1884
|
+
<td class="struct_member_annotations"> </td>
|
1885
|
+
</tr>
|
1886
|
+
<tr>
|
1887
|
+
<td class="struct_member_name"><p><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *<em class="structfield"><code><a name="PangoAnalysis.language"></a>language</code></em>;</p></td>
|
1888
|
+
<td class="struct_member_description"><p>the detected language for this segment.</p></td>
|
1889
|
+
<td class="struct_member_annotations"> </td>
|
1890
|
+
</tr>
|
1891
|
+
<tr>
|
1892
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="PangoAnalysis.extra-attrs"></a>extra_attrs</code></em>;</p></td>
|
1893
|
+
<td class="struct_member_description"><p>extra attributes for this segment.</p></td>
|
1894
|
+
<td class="struct_member_annotations"> </td>
|
1375
1895
|
</tr>
|
1376
1896
|
</tbody>
|
1377
1897
|
</table></div>
|
1378
1898
|
</div>
|
1899
|
+
</div>
|
1379
1900
|
<hr>
|
1380
1901
|
<div class="refsect2">
|
1381
1902
|
<a name="PangoLogAttr"></a><h3>PangoLogAttr</h3>
|
@@ -1427,207 +1948,132 @@ simply use <a class="link" href="pango-Text-Processing.html#pango-get-log-attrs"
|
|
1427
1948
|
guint is_word_boundary : 1; /* is NOT in the middle of a word */
|
1428
1949
|
} PangoLogAttr;
|
1429
1950
|
</pre>
|
1430
|
-
<p>
|
1431
|
-
The <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> structure stores information
|
1951
|
+
<p>The <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> structure stores information
|
1432
1952
|
about the attributes of a single character.</p>
|
1433
|
-
<div class="
|
1953
|
+
<div class="refsect3">
|
1954
|
+
<a name="id-1.2.2.10.5.5"></a><h4>Members</h4>
|
1955
|
+
<div class="informaltable"><table width="100%" border="0">
|
1434
1956
|
<colgroup>
|
1435
|
-
<col
|
1436
|
-
<col>
|
1957
|
+
<col width="300px" class="struct_members_name">
|
1958
|
+
<col class="struct_members_description">
|
1959
|
+
<col width="200px" class="struct_members_annotations">
|
1437
1960
|
</colgroup>
|
1438
1961
|
<tbody>
|
1439
1962
|
<tr>
|
1440
|
-
<td
|
1441
|
-
<td>if set, can break line in front of character</td>
|
1963
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-line-break"></a>is_line_break</code></em> : 1;</p></td>
|
1964
|
+
<td class="struct_member_description"><p>if set, can break line in front of character</p></td>
|
1965
|
+
<td class="struct_member_annotations"> </td>
|
1442
1966
|
</tr>
|
1443
1967
|
<tr>
|
1444
|
-
<td
|
1445
|
-
<td>if set, must break line in front of character</td>
|
1968
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-mandatory-break"></a>is_mandatory_break</code></em> : 1;</p></td>
|
1969
|
+
<td class="struct_member_description"><p>if set, must break line in front of character</p></td>
|
1970
|
+
<td class="struct_member_annotations"> </td>
|
1446
1971
|
</tr>
|
1447
1972
|
<tr>
|
1448
|
-
<td
|
1449
|
-
<td>if set, can break here when doing character wrapping</td>
|
1973
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-char-break"></a>is_char_break</code></em> : 1;</p></td>
|
1974
|
+
<td class="struct_member_description"><p>if set, can break here when doing character wrapping</p></td>
|
1975
|
+
<td class="struct_member_annotations"> </td>
|
1450
1976
|
</tr>
|
1451
1977
|
<tr>
|
1452
|
-
<td
|
1453
|
-
<td>is whitespace character</td>
|
1978
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-white"></a>is_white</code></em> : 1;</p></td>
|
1979
|
+
<td class="struct_member_description"><p>is whitespace character</p></td>
|
1980
|
+
<td class="struct_member_annotations"> </td>
|
1454
1981
|
</tr>
|
1455
1982
|
<tr>
|
1456
|
-
<td
|
1457
|
-
<td>
|
1983
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-cursor-position"></a>is_cursor_position</code></em> : 1;</p></td>
|
1984
|
+
<td class="struct_member_description">
|
1985
|
+
<p>if set, cursor can appear in front of character.
|
1458
1986
|
i.e. this is a grapheme boundary, or the first character
|
1459
1987
|
in the text.
|
1460
|
-
This flag implements Unicode's
|
1988
|
+
This flag implements Unicode's</p>
|
1461
1989
|
<a class="ulink" href="http://www.unicode.org/reports/tr29/" target="_top">Grapheme
|
1462
1990
|
Cluster Boundaries</a> semantics.</td>
|
1991
|
+
<td class="struct_member_annotations"> </td>
|
1463
1992
|
</tr>
|
1464
1993
|
<tr>
|
1465
|
-
<td
|
1466
|
-
<td>is first character in a word</td>
|
1994
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-word-start"></a>is_word_start</code></em> : 1;</p></td>
|
1995
|
+
<td class="struct_member_description"><p>is first character in a word</p></td>
|
1996
|
+
<td class="struct_member_annotations"> </td>
|
1467
1997
|
</tr>
|
1468
1998
|
<tr>
|
1469
|
-
<td
|
1470
|
-
<td>is first non-word char after a word
|
1999
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-word-end"></a>is_word_end</code></em> : 1;</p></td>
|
2000
|
+
<td class="struct_member_description"><p>is first non-word char after a word
|
1471
2001
|
Note that in degenerate cases, you could have both <em class="parameter"><code>is_word_start</code></em>
|
1472
|
-
and <em class="parameter"><code>is_word_end</code></em>
|
2002
|
+
and <em class="parameter"><code>is_word_end</code></em>
|
2003
|
+
set for some character.</p></td>
|
2004
|
+
<td class="struct_member_annotations"> </td>
|
1473
2005
|
</tr>
|
1474
2006
|
<tr>
|
1475
|
-
<td
|
1476
|
-
<td>is a sentence boundary.
|
2007
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-sentence-boundary"></a>is_sentence_boundary</code></em> : 1;</p></td>
|
2008
|
+
<td class="struct_member_description"><p>is a sentence boundary.
|
1477
2009
|
There are two ways to divide sentences. The first assigns all
|
1478
2010
|
inter-sentence whitespace/control/format chars to some sentence,
|
1479
|
-
so all chars are in some sentence; <em class="parameter"><code>is_sentence_boundary</code></em>
|
2011
|
+
so all chars are in some sentence; <em class="parameter"><code>is_sentence_boundary</code></em>
|
2012
|
+
denotes
|
1480
2013
|
the boundaries there. The second way doesn't assign
|
1481
2014
|
between-sentence spaces, etc. to any sentence, so
|
1482
|
-
<em class="parameter"><code>is_sentence_start</code></em
|
2015
|
+
<em class="parameter"><code>is_sentence_start</code></em>
|
2016
|
+
/<em class="parameter"><code>is_sentence_end</code></em>
|
2017
|
+
mark the boundaries of those sentences.</p></td>
|
2018
|
+
<td class="struct_member_annotations"> </td>
|
1483
2019
|
</tr>
|
1484
2020
|
<tr>
|
1485
|
-
<td
|
1486
|
-
<td>is first character in a sentence</td>
|
2021
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-sentence-start"></a>is_sentence_start</code></em> : 1;</p></td>
|
2022
|
+
<td class="struct_member_description"><p>is first character in a sentence</p></td>
|
2023
|
+
<td class="struct_member_annotations"> </td>
|
1487
2024
|
</tr>
|
1488
2025
|
<tr>
|
1489
|
-
<td
|
1490
|
-
<td>is first char after a sentence.
|
2026
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-sentence-end"></a>is_sentence_end</code></em> : 1;</p></td>
|
2027
|
+
<td class="struct_member_description"><p>is first char after a sentence.
|
1491
2028
|
Note that in degenerate cases, you could have both <em class="parameter"><code>is_sentence_start</code></em>
|
1492
|
-
and <em class="parameter"><code>is_sentence_end</code></em>
|
1493
|
-
|
2029
|
+
and <em class="parameter"><code>is_sentence_end</code></em>
|
2030
|
+
set for some character. (e.g. no space after a
|
2031
|
+
period, so the next sentence starts right away)</p></td>
|
2032
|
+
<td class="struct_member_annotations"> </td>
|
1494
2033
|
</tr>
|
1495
2034
|
<tr>
|
1496
|
-
<td
|
1497
|
-
<td>if set, backspace deletes one character
|
2035
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.backspace-deletes-character"></a>backspace_deletes_character</code></em> : 1;</p></td>
|
2036
|
+
<td class="struct_member_description"><p>if set, backspace deletes one character
|
1498
2037
|
rather than the entire grapheme cluster. This
|
1499
2038
|
field is only meaningful on grapheme
|
1500
|
-
boundaries (where <em class="parameter"><code>is_cursor_position</code></em>
|
2039
|
+
boundaries (where <em class="parameter"><code>is_cursor_position</code></em>
|
2040
|
+
is
|
1501
2041
|
set). In some languages, the full grapheme
|
1502
2042
|
(e.g. letter + diacritics) is considered a
|
1503
2043
|
unit, while in others, each decomposed
|
1504
2044
|
character in the grapheme is a unit. In the
|
1505
|
-
default implementation of <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break
|
2045
|
+
default implementation of <a class="link" href="pango-Text-Processing.html#pango-break" title="pango_break ()"><code class="function">pango_break()</code></a>, this
|
1506
2046
|
bit is set on all grapheme boundaries except
|
1507
|
-
those following Latin, Cyrillic or Greek base characters.</td>
|
2047
|
+
those following Latin, Cyrillic or Greek base characters.</p></td>
|
2048
|
+
<td class="struct_member_annotations"> </td>
|
1508
2049
|
</tr>
|
1509
2050
|
<tr>
|
1510
|
-
<td
|
1511
|
-
<td>is a whitespace character that can possibly be
|
1512
|
-
expanded for justification purposes. (Since: 1.18)</td>
|
2051
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-expandable-space"></a>is_expandable_space</code></em> : 1;</p></td>
|
2052
|
+
<td class="struct_member_description"><p>is a whitespace character that can possibly be
|
2053
|
+
expanded for justification purposes. (Since: 1.18)</p></td>
|
2054
|
+
<td class="struct_member_annotations"> </td>
|
1513
2055
|
</tr>
|
1514
2056
|
<tr>
|
1515
|
-
<td
|
1516
|
-
<td>
|
2057
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLogAttr.is-word-boundary"></a>is_word_boundary</code></em> : 1;</p></td>
|
2058
|
+
<td class="struct_member_description">
|
2059
|
+
<p>is a word boundary.
|
1517
2060
|
More specifically, means that this is not a position in the middle
|
1518
2061
|
of a word. For example, both sides of a punctuation mark are
|
1519
2062
|
considered word boundaries. This flag is particularly useful when
|
1520
2063
|
selecting text word-by-word.
|
1521
|
-
This flag implements Unicode's
|
2064
|
+
This flag implements Unicode's</p>
|
1522
2065
|
<a class="ulink" href="http://www.unicode.org/reports/tr29/" target="_top">Word
|
1523
2066
|
Boundaries</a> semantics. (Since: 1.22)</td>
|
2067
|
+
<td class="struct_member_annotations"> </td>
|
1524
2068
|
</tr>
|
1525
2069
|
</tbody>
|
1526
2070
|
</table></div>
|
1527
2071
|
</div>
|
1528
|
-
<hr>
|
1529
|
-
<div class="refsect2">
|
1530
|
-
<a name="pango-shape"></a><h3>pango_shape ()</h3>
|
1531
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_shape (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
1532
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
1533
|
-
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1534
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1535
|
-
<p>
|
1536
|
-
Given a segment of text and the corresponding
|
1537
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
|
1538
|
-
convert the characters into glyphs. You may also pass
|
1539
|
-
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
|
1540
|
-
<p>
|
1541
|
-
It is recommended that you use <a class="link" href="pango-Text-Processing.html#pango-shape-full" title="pango_shape_full ()"><code class="function">pango_shape_full()</code></a> instead, since
|
1542
|
-
that API allows for shaping interaction happening across text item
|
1543
|
-
boundaries.</p>
|
1544
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1545
|
-
<colgroup>
|
1546
|
-
<col align="left" valign="top">
|
1547
|
-
<col>
|
1548
|
-
</colgroup>
|
1549
|
-
<tbody>
|
1550
|
-
<tr>
|
1551
|
-
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
1552
|
-
<td>the text to process</td>
|
1553
|
-
</tr>
|
1554
|
-
<tr>
|
1555
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1556
|
-
<td>the length (in bytes) of <em class="parameter"><code>text</code></em>
|
1557
|
-
</td>
|
1558
|
-
</tr>
|
1559
|
-
<tr>
|
1560
|
-
<td><p><span class="term"><em class="parameter"><code>analysis</code></em> :</span></p></td>
|
1561
|
-
<td>
|
1562
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>
|
1563
|
-
</td>
|
1564
|
-
</tr>
|
1565
|
-
<tr>
|
1566
|
-
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1567
|
-
<td>glyph string in which to store results</td>
|
1568
|
-
</tr>
|
1569
|
-
</tbody>
|
1570
|
-
</table></div>
|
1571
|
-
</div>
|
1572
|
-
<hr>
|
1573
|
-
<div class="refsect2">
|
1574
|
-
<a name="pango-shape-full"></a><h3>pango_shape_full ()</h3>
|
1575
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_shape_full (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item_text</code></em>,
|
1576
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_length</code></em>,
|
1577
|
-
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *paragraph_text</code></em>,
|
1578
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> paragraph_length</code></em>,
|
1579
|
-
<em class="parameter"><code>const <a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> *analysis</code></em>,
|
1580
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1581
|
-
<p>
|
1582
|
-
Given a segment of text and the corresponding
|
1583
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure returned from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>,
|
1584
|
-
convert the characters into glyphs. You may also pass
|
1585
|
-
in only a substring of the item from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</p>
|
1586
|
-
<p>
|
1587
|
-
This is similar to <a class="link" href="pango-Text-Processing.html#pango-shape" title="pango_shape ()"><code class="function">pango_shape()</code></a>, except it also can optionally take
|
1588
|
-
the full paragraph text as input, which will then be used to perform
|
1589
|
-
certain cross-item shaping interactions. If you have access to the broader
|
1590
|
-
text of which <em class="parameter"><code>item_text</code></em> is part of, provide the broader text as
|
1591
|
-
<em class="parameter"><code>paragraph_text</code></em>. If <em class="parameter"><code>paragraph_text</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, item text is used instead.</p>
|
1592
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
1593
|
-
<colgroup>
|
1594
|
-
<col align="left" valign="top">
|
1595
|
-
<col>
|
1596
|
-
</colgroup>
|
1597
|
-
<tbody>
|
1598
|
-
<tr>
|
1599
|
-
<td><p><span class="term"><em class="parameter"><code>item_text</code></em> :</span></p></td>
|
1600
|
-
<td>valid UTF-8 text to shape.</td>
|
1601
|
-
</tr>
|
1602
|
-
<tr>
|
1603
|
-
<td><p><span class="term"><em class="parameter"><code>item_length</code></em> :</span></p></td>
|
1604
|
-
<td>the length (in bytes) of <em class="parameter"><code>item_text</code></em>. -1 means nul-terminated text.</td>
|
1605
|
-
</tr>
|
1606
|
-
<tr>
|
1607
|
-
<td><p><span class="term"><em class="parameter"><code>paragraph_text</code></em> :</span></p></td>
|
1608
|
-
<td>(allow-none) text of the paragraph (see details). May be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1609
|
-
</tr>
|
1610
|
-
<tr>
|
1611
|
-
<td><p><span class="term"><em class="parameter"><code>paragraph_length</code></em> :</span></p></td>
|
1612
|
-
<td>the length (in bytes) of <em class="parameter"><code>paragraph_text</code></em>. -1 means nul-terminated text.</td>
|
1613
|
-
</tr>
|
1614
|
-
<tr>
|
1615
|
-
<td><p><span class="term"><em class="parameter"><code>analysis</code></em> :</span></p></td>
|
1616
|
-
<td>
|
1617
|
-
<a class="link" href="pango-Text-Processing.html#PangoAnalysis" title="struct PangoAnalysis"><span class="type">PangoAnalysis</span></a> structure from <a class="link" href="pango-Text-Processing.html#pango-itemize" title="pango_itemize ()"><code class="function">pango_itemize()</code></a>.</td>
|
1618
|
-
</tr>
|
1619
|
-
<tr>
|
1620
|
-
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
1621
|
-
<td>glyph string in which to store results.</td>
|
1622
|
-
</tr>
|
1623
|
-
</tbody>
|
1624
|
-
</table></div>
|
1625
|
-
<p class="since">Since 1.32</p>
|
1626
2072
|
</div>
|
1627
2073
|
</div>
|
1628
2074
|
</div>
|
1629
2075
|
<div class="footer">
|
1630
2076
|
<hr>
|
1631
|
-
Generated by GTK-Doc V1.
|
2077
|
+
Generated by GTK-Doc V1.21.1</div>
|
1632
2078
|
</body>
|
1633
2079
|
</html>
|