pango 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="rendering.html" title="Rendering with Pango">
|
9
9
|
<link rel="prev" href="pango-Xft-Fonts-and-Rendering.html" title="Xft Fonts and Rendering">
|
10
10
|
<link rel="next" href="pango-CoreText-Fonts.html" title="CoreText Fonts">
|
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-Cairo-Rendering.
|
20
|
-
|
21
|
-
<a href="#pango-Cairo-Rendering.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#pango-Cairo-Rendering.prerequisites" class="shortcut">Prerequisites</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-Cairo-Rendering.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#pango-Cairo-Rendering.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites"> <span class="dim">|</span>
|
20
|
+
<a href="#pango-Cairo-Rendering.prerequisites" class="shortcut">Prerequisites</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,87 +31,274 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="pango-Cairo-Rendering.top_of_page"></a>Cairo Rendering</span></h2>
|
35
32
|
<p>Cairo Rendering — Rendering with the Cairo backend</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="
|
40
|
-
<a name="pango-Cairo-Rendering.
|
41
|
-
<
|
42
|
-
|
43
|
-
<
|
44
|
-
<
|
45
|
-
|
46
|
-
<
|
47
|
-
|
48
|
-
<
|
49
|
-
<
|
50
|
-
|
51
|
-
<
|
52
|
-
<a class="link" href="pango-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
<
|
57
|
-
<span class="returnvalue">void</span>
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
<
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
<
|
81
|
-
|
82
|
-
|
83
|
-
<
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
<
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="pango-Cairo-Rendering.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default ()">pango_cairo_font_map_get_default</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">void</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-default" title="pango_cairo_font_map_set_default ()">pango_cairo_font_map_set_default</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()">pango_cairo_font_map_new</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new-for-font-type" title="pango_cairo_font_map_new_for_font_type ()">pango_cairo_font_map_new_for_font_type</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">cairo_font_type_t</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-font-type" title="pango_cairo_font_map_get_font_type ()">pango_cairo_font_map_get_font_type</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-resolution" title="pango_cairo_font_map_set_resolution ()">pango_cairo_font_map_set_resolution</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<span class="returnvalue">double</span>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-resolution" title="pango_cairo_font_map_get_resolution ()">pango_cairo_font_map_get_resolution</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-create-context" title="pango_cairo_font_map_create_context ()">pango_cairo_font_map_create_context</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<span class="returnvalue">cairo_scaled_font_t</span> *
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-get-scaled-font" title="pango_cairo_font_get_scaled_font ()">pango_cairo_font_get_scaled_font</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">void</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-resolution" title="pango_cairo_context_set_resolution ()">pango_cairo_context_set_resolution</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">
|
126
|
+
<span class="returnvalue">double</span>
|
127
|
+
</td>
|
128
|
+
<td class="function_name">
|
129
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-resolution" title="pango_cairo_context_get_resolution ()">pango_cairo_context_get_resolution</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<span class="returnvalue">void</span>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
137
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-font-options" title="pango_cairo_context_set_font_options ()">pango_cairo_context_set_font_options</a> <span class="c_punctuation">()</span>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">const <span class="returnvalue">cairo_font_options_t</span> *
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-font-options" title="pango_cairo_context_get_font_options ()">pango_cairo_context_get_font_options</a> <span class="c_punctuation">()</span>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="function_type">
|
149
|
+
<span class="returnvalue">void</span>
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<span class="c_punctuation">(</span><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()">*PangoCairoShapeRendererFunc</a><span class="c_punctuation">)</span> <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-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer ()">pango_cairo_context_set_shape_renderer</a> <span class="c_punctuation">()</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="function_type">
|
165
|
+
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="returnvalue">PangoCairoShapeRendererFunc</span></a>
|
166
|
+
</td>
|
167
|
+
<td class="function_name">
|
168
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-shape-renderer" title="pango_cairo_context_get_shape_renderer ()">pango_cairo_context_get_shape_renderer</a> <span class="c_punctuation">()</span>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="function_type">
|
173
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
174
|
+
</td>
|
175
|
+
<td class="function_name">
|
176
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-context" title="pango_cairo_create_context ()">pango_cairo_create_context</a> <span class="c_punctuation">()</span>
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td class="function_type">
|
181
|
+
<span class="returnvalue">void</span>
|
182
|
+
</td>
|
183
|
+
<td class="function_name">
|
184
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()">pango_cairo_update_context</a> <span class="c_punctuation">()</span>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="function_type">
|
189
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
|
190
|
+
</td>
|
191
|
+
<td class="function_name">
|
192
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()">pango_cairo_create_layout</a> <span class="c_punctuation">()</span>
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td class="function_type">
|
197
|
+
<span class="returnvalue">void</span>
|
198
|
+
</td>
|
199
|
+
<td class="function_name">
|
200
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-layout" title="pango_cairo_update_layout ()">pango_cairo_update_layout</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-Cairo-Rendering.html#pango-cairo-show-glyph-string" title="pango_cairo_show_glyph_string ()">pango_cairo_show_glyph_string</a> <span class="c_punctuation">()</span>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td class="function_type">
|
213
|
+
<span class="returnvalue">void</span>
|
214
|
+
</td>
|
215
|
+
<td class="function_name">
|
216
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-item" title="pango_cairo_show_glyph_item ()">pango_cairo_show_glyph_item</a> <span class="c_punctuation">()</span>
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="function_type">
|
221
|
+
<span class="returnvalue">void</span>
|
222
|
+
</td>
|
223
|
+
<td class="function_name">
|
224
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout-line" title="pango_cairo_show_layout_line ()">pango_cairo_show_layout_line</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-Cairo-Rendering.html#pango-cairo-show-layout" title="pango_cairo_show_layout ()">pango_cairo_show_layout</a> <span class="c_punctuation">()</span>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td class="function_type">
|
237
|
+
<span class="returnvalue">void</span>
|
238
|
+
</td>
|
239
|
+
<td class="function_name">
|
240
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-error-underline" title="pango_cairo_show_error_underline ()">pango_cairo_show_error_underline</a> <span class="c_punctuation">()</span>
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td class="function_type">
|
245
|
+
<span class="returnvalue">void</span>
|
246
|
+
</td>
|
247
|
+
<td class="function_name">
|
248
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-glyph-string-path" title="pango_cairo_glyph_string_path ()">pango_cairo_glyph_string_path</a> <span class="c_punctuation">()</span>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td class="function_type">
|
253
|
+
<span class="returnvalue">void</span>
|
254
|
+
</td>
|
255
|
+
<td class="function_name">
|
256
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-line-path" title="pango_cairo_layout_line_path ()">pango_cairo_layout_line_path</a> <span class="c_punctuation">()</span>
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td class="function_type">
|
261
|
+
<span class="returnvalue">void</span>
|
262
|
+
</td>
|
263
|
+
<td class="function_name">
|
264
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-path" title="pango_cairo_layout_path ()">pango_cairo_layout_path</a> <span class="c_punctuation">()</span>
|
265
|
+
</td>
|
266
|
+
</tr>
|
267
|
+
<tr>
|
268
|
+
<td class="function_type">
|
269
|
+
<span class="returnvalue">void</span>
|
270
|
+
</td>
|
271
|
+
<td class="function_name">
|
272
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-error-underline-path" title="pango_cairo_error_underline_path ()">pango_cairo_error_underline_path</a> <span class="c_punctuation">()</span>
|
273
|
+
</td>
|
274
|
+
</tr>
|
275
|
+
</tbody>
|
276
|
+
</table></div>
|
277
|
+
</div>
|
278
|
+
<a name="PangoCairoFont"></a><a name="PangoCairoFontMap"></a><div class="refsect1">
|
279
|
+
<a name="pango-Cairo-Rendering.other"></a><h2>Types and Values</h2>
|
280
|
+
<div class="informaltable"><table width="100%" border="0">
|
281
|
+
<colgroup>
|
282
|
+
<col width="150px" class="name">
|
283
|
+
<col class="description">
|
284
|
+
</colgroup>
|
285
|
+
<tbody>
|
286
|
+
<tr>
|
287
|
+
<td class="datatype_keyword"> </td>
|
288
|
+
<td class="function_name"><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont-struct" title="PangoCairoFont">PangoCairoFont</a></td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td class="datatype_keyword"> </td>
|
292
|
+
<td class="function_name"><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap-struct" title="PangoCairoFontMap">PangoCairoFontMap</a></td>
|
293
|
+
</tr>
|
294
|
+
</tbody>
|
295
|
+
</table></div>
|
108
296
|
</div>
|
109
297
|
<div class="refsect1">
|
110
298
|
<a name="pango-Cairo-Rendering.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
111
|
-
<pre class="
|
112
|
-
|
113
|
-
|
114
|
-
</pre>
|
115
|
-
<pre class="synopsis">
|
116
|
-
GInterface
|
117
|
-
+----PangoCairoFontMap
|
299
|
+
<pre class="screen"> GInterface
|
300
|
+
<span class="lineart">├──</span> PangoCairoFont
|
301
|
+
<span class="lineart">╰──</span> PangoCairoFontMap
|
118
302
|
</pre>
|
119
303
|
</div>
|
120
304
|
<div class="refsect1">
|
@@ -128,26 +312,23 @@ PangoCairoFontMap requires
|
|
128
312
|
</div>
|
129
313
|
<div class="refsect1">
|
130
314
|
<a name="pango-Cairo-Rendering.description"></a><h2>Description</h2>
|
131
|
-
<p>
|
132
|
-
The <a class="ulink" href="http://cairographics.org" target="_top">Cairo library</a> is a
|
315
|
+
<p>The <a class="ulink" href="http://cairographics.org" target="_top">Cairo library</a> is a
|
133
316
|
vector graphics library with a powerful rendering model. It has such
|
134
317
|
features as anti-aliased primitives, alpha-compositing, and
|
135
318
|
gradients. Multiple backends for Cairo are available, to allow
|
136
319
|
rendering to images, to PDF files, and to the screen on X and on other
|
137
320
|
windowing systems. The functions in this section allow using Pango
|
138
321
|
to render to Cairo surfaces.</p>
|
139
|
-
<p>
|
140
|
-
|
141
|
-
with <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-create-context" title="pango_cairo_font_map_create_context ()"><code class="function">pango_cairo_font_map_create_context()</code></a> can be used on any
|
322
|
+
<p>Using Pango with Cairo is straightforward. A <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> created
|
323
|
+
with <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-create-context" title="pango_cairo_font_map_create_context ()"><code class="function">pango_cairo_font_map_create_context()</code></a> can be used on any
|
142
324
|
Cairo context (cairo_t), but needs to be updated to match the
|
143
325
|
current transformation matrix and target surface of the Cairo context
|
144
|
-
using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context
|
145
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout
|
326
|
+
using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()"><code class="function">pango_cairo_update_context()</code></a>. The convenience functions
|
327
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()"><code class="function">pango_cairo_create_layout()</code></a> and <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-layout" title="pango_cairo_update_layout ()"><code class="function">pango_cairo_update_layout()</code></a> handle
|
146
328
|
the common case where the program doesn't need to manipulate the
|
147
329
|
properties of the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
|
148
|
-
<p>
|
149
|
-
|
150
|
-
functions such as <a class="link" href="pango-Layout-Objects.html#pango-layout-get-extents" title="pango_layout_get_extents ()"><code class="function">pango_layout_get_extents()</code></a>, the reported metrics
|
330
|
+
<p>When you get the metrics of a layout or of a piece of a layout using
|
331
|
+
functions such as <a class="link" href="pango-Layout-Objects.html#pango-layout-get-extents" title="pango_layout_get_extents ()"><code class="function">pango_layout_get_extents()</code></a>, the reported metrics
|
151
332
|
are in user-space coordinates. If a piece of text is 10 units long,
|
152
333
|
and you call cairo_scale (cr, 2.0), it still is more-or-less 10
|
153
334
|
units long. However, the results will be affected by hinting
|
@@ -156,8 +337,6 @@ pixel grid), so you shouldn't assume they are completely independent
|
|
156
337
|
of the current transformation matrix. Note that the basic metrics
|
157
338
|
functions in Pango report results in integer Pango units. To get
|
158
339
|
to the floating point units used in Cairo divide by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>.</p>
|
159
|
-
<p>
|
160
|
-
</p>
|
161
340
|
<div class="example">
|
162
341
|
<a name="rotated-example"></a><p class="title"><b>Example 1. Using Pango with Cairo</b></p>
|
163
342
|
<div class="example-contents">
|
@@ -290,10 +469,10 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
290
469
|
<span class="normal"> </span><span class="function">cairo_save</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
291
470
|
|
292
471
|
<span class="normal"> </span><span class="comment">/* Gradient from red at angle == 60 to blue at angle == 240 */</span>
|
293
|
-
<span class="normal"> red </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="number">1</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="function">cos</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">angle </span><span class="symbol">-</span><span class="normal"> </span><span class="number">60</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> <a href="
|
472
|
+
<span class="normal"> red </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="number">1</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="function">cos</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">angle </span><span class="symbol">-</span><span class="normal"> </span><span class="number">60</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Numerical-Definitions.html#G-PI:CAPS">G_PI</a> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">180</span><span class="symbol">.))</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">;</span>
|
294
473
|
<span class="normal"> </span><span class="function">cairo_set_source_rgb</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> red</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> red</span><span class="symbol">);</span>
|
295
474
|
|
296
|
-
<span class="normal"> </span><span class="function">cairo_rotate</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> angle </span><span class="symbol">*</span><span class="normal"> <a href="
|
475
|
+
<span class="normal"> </span><span class="function">cairo_rotate</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> angle </span><span class="symbol">*</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Numerical-Definitions.html#G-PI:CAPS">G_PI</a> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">180</span><span class="symbol">.);</span>
|
297
476
|
|
298
477
|
<span class="normal"> </span><span class="comment">/* Inform Pango to re-layout the text with the new transformation */</span>
|
299
478
|
<span class="normal"> </span><span class="function"><a href="pango-Cairo-Rendering.html#pango-cairo-update-layout">pango_cairo_update_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
@@ -306,7 +485,7 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
306
485
|
<span class="normal"> </span><span class="cbracket">}</span>
|
307
486
|
|
308
487
|
<span class="normal"> </span><span class="comment">/* free the layout object */</span>
|
309
|
-
<span class="normal"> </span><span class="function"><a href="
|
488
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
310
489
|
<span class="cbracket">}</span>
|
311
490
|
|
312
491
|
<span class="type">int</span><span class="normal"> </span><span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">argv</span><span class="symbol">)</span>
|
@@ -318,7 +497,7 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
318
497
|
|
319
498
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argc </span><span class="symbol">!=</span><span class="normal"> </span><span class="number">2</span><span class="symbol">)</span>
|
320
499
|
<span class="normal"> </span><span class="cbracket">{</span>
|
321
|
-
<span class="normal"> </span><span class="function"><a href="
|
500
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Usage: cairosimple OUTPUT_FILENAME</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
322
501
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
323
502
|
<span class="normal"> </span><span class="cbracket">}</span>
|
324
503
|
|
@@ -338,7 +517,7 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
338
517
|
|
339
518
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">status </span><span class="symbol">!=</span><span class="normal"> CAIRO_STATUS_SUCCESS</span><span class="symbol">)</span>
|
340
519
|
<span class="normal"> </span><span class="cbracket">{</span>
|
341
|
-
<span class="normal"> </span><span class="function"><a href="
|
520
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Could not save png to '%s'</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
|
342
521
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
343
522
|
<span class="normal"> </span><span class="cbracket">}</span>
|
344
523
|
|
@@ -350,968 +529,1104 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
350
529
|
</div>
|
351
530
|
|
352
531
|
</div>
|
353
|
-
<
|
354
|
-
</p>
|
355
|
-
<div class="figure">
|
532
|
+
<br class="example-break"><div class="figure">
|
356
533
|
<a name="rotated-example-output"></a><p class="title"><b>Figure 2. Output of <a class="xref" href="pango-Cairo-Rendering.html#rotated-example" title="Example 1. Using Pango with Cairo">Example 1, “Using Pango with Cairo”</a></b></p>
|
357
534
|
<div class="figure-contents"><div><img src="rotated-text.png" alt="Output of Example 1, “Using Pango with Cairo”"></div></div>
|
358
535
|
</div>
|
359
|
-
<
|
536
|
+
<br class="figure-break">
|
360
537
|
</div>
|
361
538
|
<div class="refsect1">
|
362
|
-
<a name="pango-Cairo-Rendering.
|
363
|
-
<div class="refsect2">
|
364
|
-
<a name="PangoCairoFont-struct"></a><h3>PangoCairoFont</h3>
|
365
|
-
<pre class="programlisting">typedef struct _PangoCairoFont PangoCairoFont;</pre>
|
366
|
-
<p>
|
367
|
-
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> is an interface exported by fonts for
|
368
|
-
use with Cairo. The actual type of the font will depend
|
369
|
-
on the particular font technology Cairo was compiled to use.</p>
|
370
|
-
<p class="since">Since 1.18</p>
|
371
|
-
</div>
|
372
|
-
<hr>
|
539
|
+
<a name="pango-Cairo-Rendering.functions_details"></a><h2>Functions</h2>
|
373
540
|
<div class="refsect2">
|
374
|
-
<a name="
|
375
|
-
<pre class="programlisting"
|
376
|
-
<
|
377
|
-
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a>
|
378
|
-
|
379
|
-
on the particular font technology Cairo was compiled to use.</p>
|
380
|
-
<p class="since">Since 1.10</p>
|
381
|
-
</div>
|
382
|
-
<hr>
|
383
|
-
<div class="refsect2">
|
384
|
-
<a name="pango-cairo-font-map-get-default"></a><h3>pango_cairo_font_map_get_default ()</h3>
|
385
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_cairo_font_map_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
386
|
-
<p>
|
387
|
-
Gets a default <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> to use with Cairo.</p>
|
388
|
-
<p>
|
389
|
-
Note that the type of the returned object will depend
|
541
|
+
<a name="pango-cairo-font-map-get-default"></a><h3>pango_cairo_font_map_get_default ()</h3>
|
542
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
543
|
+
pango_cairo_font_map_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
544
|
+
<p>Gets a default <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> to use with Cairo.</p>
|
545
|
+
<p>Note that the type of the returned object will depend
|
390
546
|
on the particular font backend Cairo was compiled to use;
|
391
547
|
You generally should only use the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> and
|
392
548
|
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> interfaces on the returned object.</p>
|
393
|
-
<p>
|
394
|
-
|
395
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-default" title="pango_cairo_font_map_set_default ()"><code class="function">pango_cairo_font_map_set_default()</code></a>. This can be used to
|
549
|
+
<p>The default Cairo fontmap can be changed by using
|
550
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-default" title="pango_cairo_font_map_set_default ()"><code class="function">pango_cairo_font_map_set_default()</code></a>. This can be used to
|
396
551
|
change the Cairo font backend that the default fontmap
|
397
552
|
uses for example.</p>
|
398
|
-
<p>
|
399
|
-
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
553
|
+
<p>Note that since Pango 1.32.6, the default fontmap is per-thread.
|
400
554
|
Each thread gets its own default fontmap. In this way,
|
401
555
|
PangoCairo can be used safely from multiple threads.</p>
|
402
|
-
<div class="
|
403
|
-
<
|
404
|
-
<
|
405
|
-
|
406
|
-
</
|
407
|
-
|
408
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
409
|
-
<td>the default PangoCairo fontmap
|
410
|
-
for the current thread. This object is owned by Pango and must not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
411
|
-
</td>
|
412
|
-
</tr></tbody>
|
413
|
-
</table></div>
|
556
|
+
<div class="refsect3">
|
557
|
+
<a name="id-1.3.5.10.2.8"></a><h4>Returns</h4>
|
558
|
+
<p> the default PangoCairo fontmap
|
559
|
+
for the current thread. This object is owned by Pango and must not be freed. </p>
|
560
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
561
|
+
</div>
|
414
562
|
<p class="since">Since 1.10</p>
|
415
563
|
</div>
|
416
564
|
<hr>
|
417
565
|
<div class="refsect2">
|
418
|
-
<a name="pango-cairo-font-map-set-default"></a><h3>pango_cairo_font_map_set_default
|
419
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
420
|
-
<
|
421
|
-
Sets a default <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> to use with Cairo.</p>
|
422
|
-
<p>
|
423
|
-
This can be used to change the Cairo font backend that the
|
566
|
+
<a name="pango-cairo-font-map-set-default"></a><h3>pango_cairo_font_map_set_default ()</h3>
|
567
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
568
|
+
pango_cairo_font_map_set_default (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);</pre>
|
569
|
+
<p>Sets a default <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> to use with Cairo.</p>
|
570
|
+
<p>This can be used to change the Cairo font backend that the
|
424
571
|
default fontmap uses for example. The old default font map
|
425
572
|
is unreffed and the new font map referenced.</p>
|
426
|
-
<p>
|
427
|
-
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
573
|
+
<p>Note that since Pango 1.32.6, the default fontmap is per-thread.
|
428
574
|
This function only changes the default fontmap for
|
429
575
|
the current thread. Default fontmaps of exisiting threads
|
430
576
|
are not changed. Default fontmaps of any new threads will
|
431
|
-
still be created using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new
|
432
|
-
<p>
|
433
|
-
|
577
|
+
still be created using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()"><code class="function">pango_cairo_font_map_new()</code></a>.</p>
|
578
|
+
<p>A value of <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>fontmap</code></em>
|
579
|
+
will cause the current default
|
434
580
|
font map to be released and a new default font
|
435
|
-
map to be created on demand, using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new
|
436
|
-
<div class="
|
581
|
+
map to be created on demand, using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()"><code class="function">pango_cairo_font_map_new()</code></a>.</p>
|
582
|
+
<div class="refsect3">
|
583
|
+
<a name="id-1.3.5.10.3.8"></a><h4>Parameters</h4>
|
584
|
+
<div class="informaltable"><table width="100%" border="0">
|
437
585
|
<colgroup>
|
438
|
-
<col
|
439
|
-
<col>
|
586
|
+
<col width="150px" class="parameters_name">
|
587
|
+
<col class="parameters_description">
|
588
|
+
<col width="200px" class="parameters_annotations">
|
440
589
|
</colgroup>
|
441
590
|
<tbody><tr>
|
442
|
-
<td
|
443
|
-
<td>The new default font map, or <a href="
|
444
|
-
</td>
|
591
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
592
|
+
<td class="parameter_description"><p>The new default font map, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
593
|
+
<td class="parameter_annotations"> </td>
|
445
594
|
</tr></tbody>
|
446
595
|
</table></div>
|
596
|
+
</div>
|
447
597
|
<p class="since">Since 1.22</p>
|
448
598
|
</div>
|
449
599
|
<hr>
|
450
600
|
<div class="refsect2">
|
451
|
-
<a name="pango-cairo-font-map-new"></a><h3>pango_cairo_font_map_new
|
452
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a>
|
453
|
-
<
|
454
|
-
Creates a new <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> object; a fontmap is used
|
601
|
+
<a name="pango-cairo-font-map-new"></a><h3>pango_cairo_font_map_new ()</h3>
|
602
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
603
|
+
pango_cairo_font_map_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
604
|
+
<p>Creates a new <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> object; a fontmap is used
|
455
605
|
to cache information about available fonts, and holds
|
456
606
|
certain global parameters such as the resolution.
|
457
|
-
In most cases, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default
|
607
|
+
In most cases, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default ()"><code class="function">pango_cairo_font_map_get_default()</code></a>
|
458
608
|
instead.</p>
|
459
|
-
<p>
|
460
|
-
Note that the type of the returned object will depend
|
609
|
+
<p>Note that the type of the returned object will depend
|
461
610
|
on the particular font backend Cairo was compiled to use;
|
462
611
|
You generally should only use the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> and
|
463
612
|
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> interfaces on the returned object.</p>
|
464
|
-
<
|
465
|
-
<
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
<
|
471
|
-
<
|
472
|
-
|
473
|
-
</
|
474
|
-
</
|
475
|
-
</
|
613
|
+
<p>You can override the type of backend returned by using an
|
614
|
+
environment variable <code class="literal">PANGOCAIRO_BACKEND</code>. Supported types,
|
615
|
+
based on your build, are fc (fontconfig), win32, and coretext.
|
616
|
+
If requested type is not available, NULL is returned. Ie.
|
617
|
+
this is only useful for testing, when at least two backends
|
618
|
+
are compiled in.</p>
|
619
|
+
<div class="refsect3">
|
620
|
+
<a name="id-1.3.5.10.4.7"></a><h4>Returns</h4>
|
621
|
+
<p> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>,
|
622
|
+
which should 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>
|
623
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
624
|
+
</div>
|
476
625
|
<p class="since">Since 1.10</p>
|
477
626
|
</div>
|
478
627
|
<hr>
|
479
628
|
<div class="refsect2">
|
480
|
-
<a name="pango-cairo-font-map-new-for-font-type"></a><h3>pango_cairo_font_map_new_for_font_type
|
481
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a>
|
482
|
-
|
483
|
-
<
|
484
|
-
Creates a new <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> object of the type suitable
|
485
|
-
to be used with cairo font backend of type <em class="parameter"><code>fonttype</code></em
|
486
|
-
|
487
|
-
In most cases one should simply use <em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new
|
629
|
+
<a name="pango-cairo-font-map-new-for-font-type"></a><h3>pango_cairo_font_map_new_for_font_type ()</h3>
|
630
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> *
|
631
|
+
pango_cairo_font_map_new_for_font_type
|
632
|
+
(<em class="parameter"><code><span class="type">cairo_font_type_t</span> fonttype</code></em>);</pre>
|
633
|
+
<p>Creates a new <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> object of the type suitable
|
634
|
+
to be used with cairo font backend of type <em class="parameter"><code>fonttype</code></em>
|
635
|
+
.</p>
|
636
|
+
<p>In most cases one should simply use <em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()"><code class="function">pango_cairo_font_map_new()</code></a></code></em>
|
637
|
+
,
|
488
638
|
or in fact in most of those cases, just use
|
489
|
-
<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default
|
490
|
-
|
639
|
+
<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default ()"><code class="function">pango_cairo_font_map_get_default()</code></a></code></em>
|
640
|
+
.</p>
|
641
|
+
<div class="refsect3">
|
642
|
+
<a name="id-1.3.5.10.5.6"></a><h4>Parameters</h4>
|
643
|
+
<div class="informaltable"><table width="100%" border="0">
|
491
644
|
<colgroup>
|
492
|
-
<col
|
493
|
-
<col>
|
645
|
+
<col width="150px" class="parameters_name">
|
646
|
+
<col class="parameters_description">
|
647
|
+
<col width="200px" class="parameters_annotations">
|
494
648
|
</colgroup>
|
495
|
-
<tbody>
|
496
|
-
<
|
497
|
-
<td
|
498
|
-
<td
|
499
|
-
</
|
500
|
-
</tr>
|
501
|
-
<tr>
|
502
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
503
|
-
<td>(transfer full) : the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
504
|
-
of suitable type which should be freed with
|
505
|
-
<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>, 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 the requested cairo
|
506
|
-
font backend is not supported / compiled in.</td>
|
507
|
-
</tr>
|
508
|
-
</tbody>
|
649
|
+
<tbody><tr>
|
650
|
+
<td class="parameter_name"><p>fonttype</p></td>
|
651
|
+
<td class="parameter_description"><p>desired <span class="type">cairo_font_type_t</span></p></td>
|
652
|
+
<td class="parameter_annotations"> </td>
|
653
|
+
</tr></tbody>
|
509
654
|
</table></div>
|
655
|
+
</div>
|
656
|
+
<div class="refsect3">
|
657
|
+
<a name="id-1.3.5.10.5.7"></a><h4>Returns</h4>
|
658
|
+
<p> (transfer full) : the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
659
|
+
of suitable type which should be freed with
|
660
|
+
<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>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the requested cairo
|
661
|
+
font backend is not supported / compiled in.</p>
|
662
|
+
<p></p>
|
663
|
+
</div>
|
510
664
|
<p class="since">Since 1.18</p>
|
511
665
|
</div>
|
512
666
|
<hr>
|
513
667
|
<div class="refsect2">
|
514
|
-
<a name="pango-cairo-font-map-get-font-type"></a><h3>pango_cairo_font_map_get_font_type
|
515
|
-
<pre class="programlisting"><span class="returnvalue">cairo_font_type_t</span>
|
516
|
-
<
|
517
|
-
Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</code></em>
|
518
|
-
|
668
|
+
<a name="pango-cairo-font-map-get-font-type"></a><h3>pango_cairo_font_map_get_font_type ()</h3>
|
669
|
+
<pre class="programlisting"><span class="returnvalue">cairo_font_type_t</span>
|
670
|
+
pango_cairo_font_map_get_font_type (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);</pre>
|
671
|
+
<p>Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</code></em>
|
672
|
+
uses.</p>
|
673
|
+
<div class="refsect3">
|
674
|
+
<a name="id-1.3.5.10.6.5"></a><h4>Parameters</h4>
|
675
|
+
<div class="informaltable"><table width="100%" border="0">
|
519
676
|
<colgroup>
|
520
|
-
<col
|
521
|
-
<col>
|
677
|
+
<col width="150px" class="parameters_name">
|
678
|
+
<col class="parameters_description">
|
679
|
+
<col width="200px" class="parameters_annotations">
|
522
680
|
</colgroup>
|
523
|
-
<tbody>
|
524
|
-
<
|
525
|
-
<td><p
|
526
|
-
<td
|
527
|
-
</
|
528
|
-
</tr>
|
529
|
-
<tr>
|
530
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
531
|
-
<td>the <span class="type">cairo_font_type_t</span> cairo font backend type</td>
|
532
|
-
</tr>
|
533
|
-
</tbody>
|
681
|
+
<tbody><tr>
|
682
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
683
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
684
|
+
<td class="parameter_annotations"> </td>
|
685
|
+
</tr></tbody>
|
534
686
|
</table></div>
|
687
|
+
</div>
|
688
|
+
<div class="refsect3">
|
689
|
+
<a name="id-1.3.5.10.6.6"></a><h4>Returns</h4>
|
690
|
+
<p> the <span class="type">cairo_font_type_t</span> cairo font backend type</p>
|
691
|
+
<p></p>
|
692
|
+
</div>
|
535
693
|
<p class="since">Since 1.18</p>
|
536
694
|
</div>
|
537
695
|
<hr>
|
538
696
|
<div class="refsect2">
|
539
|
-
<a name="pango-cairo-font-map-set-resolution"></a><h3>pango_cairo_font_map_set_resolution
|
540
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
541
|
-
|
542
|
-
<
|
543
|
-
Sets the resolution for the fontmap. This is a scale factor between
|
697
|
+
<a name="pango-cairo-font-map-set-resolution"></a><h3>pango_cairo_font_map_set_resolution ()</h3>
|
698
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
699
|
+
pango_cairo_font_map_set_resolution (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>,
|
700
|
+
<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
|
701
|
+
<p>Sets the resolution for the fontmap. This is a scale factor between
|
544
702
|
points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> and Cairo units. The
|
545
703
|
default value is 96, meaning that a 10 point font will be 13
|
546
704
|
units high. (10 * 96. / 72. = 13.3).</p>
|
547
|
-
<div class="
|
705
|
+
<div class="refsect3">
|
706
|
+
<a name="id-1.3.5.10.7.5"></a><h4>Parameters</h4>
|
707
|
+
<div class="informaltable"><table width="100%" border="0">
|
548
708
|
<colgroup>
|
549
|
-
<col
|
550
|
-
<col>
|
709
|
+
<col width="150px" class="parameters_name">
|
710
|
+
<col class="parameters_description">
|
711
|
+
<col width="200px" class="parameters_annotations">
|
551
712
|
</colgroup>
|
552
713
|
<tbody>
|
553
714
|
<tr>
|
554
|
-
<td
|
555
|
-
<td>a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a>
|
556
|
-
</td>
|
715
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
716
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
717
|
+
<td class="parameter_annotations"> </td>
|
557
718
|
</tr>
|
558
719
|
<tr>
|
559
|
-
<td
|
560
|
-
<td>the resolution in "dots per inch". (Physical inches aren't actually
|
561
|
-
involved; the terminology is conventional.)</td>
|
720
|
+
<td class="parameter_name"><p>dpi</p></td>
|
721
|
+
<td class="parameter_description"><p>the resolution in "dots per inch". (Physical inches aren't actually
|
722
|
+
involved; the terminology is conventional.)</p></td>
|
723
|
+
<td class="parameter_annotations"> </td>
|
562
724
|
</tr>
|
563
725
|
</tbody>
|
564
726
|
</table></div>
|
727
|
+
</div>
|
565
728
|
<p class="since">Since 1.10</p>
|
566
729
|
</div>
|
567
730
|
<hr>
|
568
731
|
<div class="refsect2">
|
569
|
-
<a name="pango-cairo-font-map-get-resolution"></a><h3>pango_cairo_font_map_get_resolution
|
570
|
-
<pre class="programlisting"><span class="returnvalue">double</span>
|
571
|
-
<
|
572
|
-
Gets the resolution for the fontmap. See <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-resolution" title="pango_cairo_font_map_set_resolution
|
573
|
-
<div class="
|
732
|
+
<a name="pango-cairo-font-map-get-resolution"></a><h3>pango_cairo_font_map_get_resolution ()</h3>
|
733
|
+
<pre class="programlisting"><span class="returnvalue">double</span>
|
734
|
+
pango_cairo_font_map_get_resolution (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);</pre>
|
735
|
+
<p>Gets the resolution for the fontmap. See <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-resolution" title="pango_cairo_font_map_set_resolution ()"><code class="function">pango_cairo_font_map_set_resolution()</code></a></p>
|
736
|
+
<div class="refsect3">
|
737
|
+
<a name="id-1.3.5.10.8.5"></a><h4>Parameters</h4>
|
738
|
+
<div class="informaltable"><table width="100%" border="0">
|
574
739
|
<colgroup>
|
575
|
-
<col
|
576
|
-
<col>
|
740
|
+
<col width="150px" class="parameters_name">
|
741
|
+
<col class="parameters_description">
|
742
|
+
<col width="200px" class="parameters_annotations">
|
577
743
|
</colgroup>
|
578
|
-
<tbody>
|
579
|
-
<
|
580
|
-
<td><p
|
581
|
-
<td
|
582
|
-
</
|
583
|
-
</tr>
|
584
|
-
<tr>
|
585
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
586
|
-
<td>the resolution in "dots per inch"</td>
|
587
|
-
</tr>
|
588
|
-
</tbody>
|
744
|
+
<tbody><tr>
|
745
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
746
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
747
|
+
<td class="parameter_annotations"> </td>
|
748
|
+
</tr></tbody>
|
589
749
|
</table></div>
|
750
|
+
</div>
|
751
|
+
<div class="refsect3">
|
752
|
+
<a name="id-1.3.5.10.8.6"></a><h4>Returns</h4>
|
753
|
+
<p> the resolution in "dots per inch"</p>
|
754
|
+
<p></p>
|
755
|
+
</div>
|
590
756
|
<p class="since">Since 1.10</p>
|
591
757
|
</div>
|
592
758
|
<hr>
|
593
759
|
<div class="refsect2">
|
594
|
-
<a name="pango-cairo-font-map-create-context"></a><h3>pango_cairo_font_map_create_context
|
595
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a>
|
760
|
+
<a name="pango-cairo-font-map-create-context"></a><h3>pango_cairo_font_map_create_context ()</h3>
|
761
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
762
|
+
pango_cairo_font_map_create_context (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);</pre>
|
596
763
|
<div class="warning">
|
597
|
-
<
|
598
|
-
<p
|
764
|
+
<p><code class="literal">pango_cairo_font_map_create_context</code> has been deprecated since version 1.22 and should not be used in newly-written code.</p>
|
765
|
+
<p>Use <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> instead.</p>
|
599
766
|
</div>
|
600
|
-
<p>
|
601
|
-
|
602
|
-
<
|
767
|
+
<p>Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the given fontmap.</p>
|
768
|
+
<div class="refsect3">
|
769
|
+
<a name="id-1.3.5.10.9.7"></a><h4>Parameters</h4>
|
770
|
+
<div class="informaltable"><table width="100%" border="0">
|
603
771
|
<colgroup>
|
604
|
-
<col
|
605
|
-
<col>
|
772
|
+
<col width="150px" class="parameters_name">
|
773
|
+
<col class="parameters_description">
|
774
|
+
<col width="200px" class="parameters_annotations">
|
606
775
|
</colgroup>
|
607
|
-
<tbody>
|
608
|
-
<
|
609
|
-
<td><p
|
610
|
-
<td
|
611
|
-
</
|
612
|
-
</tr>
|
613
|
-
<tr>
|
614
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
615
|
-
<td>the newly created context; free 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>
|
616
|
-
</tr>
|
617
|
-
</tbody>
|
776
|
+
<tbody><tr>
|
777
|
+
<td class="parameter_name"><p>fontmap</p></td>
|
778
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
779
|
+
<td class="parameter_annotations"> </td>
|
780
|
+
</tr></tbody>
|
618
781
|
</table></div>
|
782
|
+
</div>
|
783
|
+
<div class="refsect3">
|
784
|
+
<a name="id-1.3.5.10.9.8"></a><h4>Returns</h4>
|
785
|
+
<p> the newly created context; free 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>
|
786
|
+
<p></p>
|
787
|
+
</div>
|
619
788
|
<p class="since">Since 1.10</p>
|
620
789
|
</div>
|
621
790
|
<hr>
|
622
791
|
<div class="refsect2">
|
623
|
-
<a name="pango-cairo-font-get-scaled-font"></a><h3>pango_cairo_font_get_scaled_font
|
624
|
-
<pre class="programlisting"><span class="returnvalue">cairo_scaled_font_t</span>
|
625
|
-
<
|
626
|
-
Gets the <span class="type">cairo_scaled_font_t</span> used by <em class="parameter"><code>font</code></em
|
792
|
+
<a name="pango-cairo-font-get-scaled-font"></a><h3>pango_cairo_font_get_scaled_font ()</h3>
|
793
|
+
<pre class="programlisting"><span class="returnvalue">cairo_scaled_font_t</span> *
|
794
|
+
pango_cairo_font_get_scaled_font (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> *font</code></em>);</pre>
|
795
|
+
<p>Gets the <span class="type">cairo_scaled_font_t</span> used by <em class="parameter"><code>font</code></em>
|
796
|
+
.
|
627
797
|
The scaled font can be referenced and kept using
|
628
798
|
<code class="function">cairo_scaled_font_reference()</code>.</p>
|
629
|
-
<div class="
|
799
|
+
<div class="refsect3">
|
800
|
+
<a name="id-1.3.5.10.10.5"></a><h4>Parameters</h4>
|
801
|
+
<div class="informaltable"><table width="100%" border="0">
|
630
802
|
<colgroup>
|
631
|
-
<col
|
632
|
-
<col>
|
803
|
+
<col width="150px" class="parameters_name">
|
804
|
+
<col class="parameters_description">
|
805
|
+
<col width="200px" class="parameters_annotations">
|
633
806
|
</colgroup>
|
634
|
-
<tbody>
|
635
|
-
<
|
636
|
-
<td><p
|
637
|
-
<td
|
638
|
-
</
|
639
|
-
</tr>
|
640
|
-
<tr>
|
641
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
642
|
-
<td>the <span class="type">cairo_scaled_font_t</span> used by <em class="parameter"><code>font</code></em>,
|
643
|
-
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 <em class="parameter"><code>font</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>.</td>
|
644
|
-
</tr>
|
645
|
-
</tbody>
|
807
|
+
<tbody><tr>
|
808
|
+
<td class="parameter_name"><p>font</p></td>
|
809
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
810
|
+
<td class="parameter_annotations"> </td>
|
811
|
+
</tr></tbody>
|
646
812
|
</table></div>
|
813
|
+
</div>
|
814
|
+
<div class="refsect3">
|
815
|
+
<a name="id-1.3.5.10.10.6"></a><h4>Returns</h4>
|
816
|
+
<p> the <span class="type">cairo_scaled_font_t</span> used by <em class="parameter"><code>font</code></em>
|
817
|
+
,
|
818
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em>
|
819
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
820
|
+
<p></p>
|
821
|
+
</div>
|
647
822
|
<p class="since">Since 1.18</p>
|
648
823
|
</div>
|
649
824
|
<hr>
|
650
825
|
<div class="refsect2">
|
651
|
-
<a name="pango-cairo-context-set-resolution"></a><h3>pango_cairo_context_set_resolution
|
652
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
653
|
-
|
654
|
-
<
|
655
|
-
Sets the resolution for the context. This is a scale factor between
|
826
|
+
<a name="pango-cairo-context-set-resolution"></a><h3>pango_cairo_context_set_resolution ()</h3>
|
827
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
828
|
+
pango_cairo_context_set_resolution (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
829
|
+
<em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
|
830
|
+
<p>Sets the resolution for the context. This is a scale factor between
|
656
831
|
points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> and Cairo units. The
|
657
832
|
default value is 96, meaning that a 10 point font will be 13
|
658
833
|
units high. (10 * 96. / 72. = 13.3).</p>
|
659
|
-
<div class="
|
834
|
+
<div class="refsect3">
|
835
|
+
<a name="id-1.3.5.10.11.5"></a><h4>Parameters</h4>
|
836
|
+
<div class="informaltable"><table width="100%" border="0">
|
660
837
|
<colgroup>
|
661
|
-
<col
|
662
|
-
<col>
|
838
|
+
<col width="150px" class="parameters_name">
|
839
|
+
<col class="parameters_description">
|
840
|
+
<col width="200px" class="parameters_annotations">
|
663
841
|
</colgroup>
|
664
842
|
<tbody>
|
665
843
|
<tr>
|
666
|
-
<td
|
667
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
|
844
|
+
<td class="parameter_name"><p>context</p></td>
|
845
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</p></td>
|
846
|
+
<td class="parameter_annotations"> </td>
|
668
847
|
</tr>
|
669
848
|
<tr>
|
670
|
-
<td
|
671
|
-
<td>the resolution in "dots per inch". (Physical inches aren't actually
|
849
|
+
<td class="parameter_name"><p>dpi</p></td>
|
850
|
+
<td class="parameter_description"><p>the resolution in "dots per inch". (Physical inches aren't actually
|
672
851
|
involved; the terminology is conventional.) A 0 or negative value
|
673
|
-
means to use the resolution from the font map.</td>
|
852
|
+
means to use the resolution from the font map.</p></td>
|
853
|
+
<td class="parameter_annotations"> </td>
|
674
854
|
</tr>
|
675
855
|
</tbody>
|
676
856
|
</table></div>
|
857
|
+
</div>
|
677
858
|
<p class="since">Since 1.10</p>
|
678
859
|
</div>
|
679
860
|
<hr>
|
680
861
|
<div class="refsect2">
|
681
|
-
<a name="pango-cairo-context-get-resolution"></a><h3>pango_cairo_context_get_resolution
|
682
|
-
<pre class="programlisting"><span class="returnvalue">double</span>
|
683
|
-
<
|
684
|
-
Gets the resolution for the context. See <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-resolution" title="pango_cairo_context_set_resolution
|
685
|
-
<div class="
|
862
|
+
<a name="pango-cairo-context-get-resolution"></a><h3>pango_cairo_context_get_resolution ()</h3>
|
863
|
+
<pre class="programlisting"><span class="returnvalue">double</span>
|
864
|
+
pango_cairo_context_get_resolution (<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>Gets the resolution for the context. See <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-resolution" title="pango_cairo_context_set_resolution ()"><code class="function">pango_cairo_context_set_resolution()</code></a></p>
|
866
|
+
<div class="refsect3">
|
867
|
+
<a name="id-1.3.5.10.12.5"></a><h4>Parameters</h4>
|
868
|
+
<div class="informaltable"><table width="100%" border="0">
|
686
869
|
<colgroup>
|
687
|
-
<col
|
688
|
-
<col>
|
870
|
+
<col width="150px" class="parameters_name">
|
871
|
+
<col class="parameters_description">
|
872
|
+
<col width="200px" class="parameters_annotations">
|
689
873
|
</colgroup>
|
690
|
-
<tbody>
|
691
|
-
<
|
692
|
-
<td><p
|
693
|
-
<td
|
694
|
-
</tr>
|
695
|
-
<tr>
|
696
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
697
|
-
<td>the resolution in "dots per inch". A negative value will
|
698
|
-
be returned if no resolution has previously been set.</td>
|
699
|
-
</tr>
|
700
|
-
</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>, from a pangocairo font map</p></td>
|
877
|
+
<td class="parameter_annotations"> </td>
|
878
|
+
</tr></tbody>
|
701
879
|
</table></div>
|
880
|
+
</div>
|
881
|
+
<div class="refsect3">
|
882
|
+
<a name="id-1.3.5.10.12.6"></a><h4>Returns</h4>
|
883
|
+
<p> the resolution in "dots per inch". A negative value will
|
884
|
+
be returned if no resolution has previously been set.</p>
|
885
|
+
<p></p>
|
886
|
+
</div>
|
702
887
|
<p class="since">Since 1.10</p>
|
703
888
|
</div>
|
704
889
|
<hr>
|
705
890
|
<div class="refsect2">
|
706
|
-
<a name="pango-cairo-context-set-font-options"></a><h3>pango_cairo_context_set_font_options
|
707
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
708
|
-
|
709
|
-
|
710
|
-
<p>
|
711
|
-
|
712
|
-
These options override any options that <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()"><code class="function">pango_cairo_update_context()</code></a>
|
891
|
+
<a name="pango-cairo-context-set-font-options"></a><h3>pango_cairo_context_set_font_options ()</h3>
|
892
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
893
|
+
pango_cairo_context_set_font_options (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
894
|
+
<em class="parameter"><code>const <span class="type">cairo_font_options_t</span> *options</code></em>);</pre>
|
895
|
+
<p>Sets the font options used when rendering text with this context.
|
896
|
+
These options override any options that <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()"><code class="function">pango_cairo_update_context()</code></a>
|
713
897
|
derives from the target surface.</p>
|
714
|
-
<div class="
|
898
|
+
<div class="refsect3">
|
899
|
+
<a name="id-1.3.5.10.13.5"></a><h4>Parameters</h4>
|
900
|
+
<div class="informaltable"><table width="100%" border="0">
|
715
901
|
<colgroup>
|
716
|
-
<col
|
717
|
-
<col>
|
902
|
+
<col width="150px" class="parameters_name">
|
903
|
+
<col class="parameters_description">
|
904
|
+
<col width="200px" class="parameters_annotations">
|
718
905
|
</colgroup>
|
719
906
|
<tbody>
|
720
907
|
<tr>
|
721
|
-
<td
|
722
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
|
908
|
+
<td class="parameter_name"><p>context</p></td>
|
909
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</p></td>
|
910
|
+
<td class="parameter_annotations"> </td>
|
723
911
|
</tr>
|
724
912
|
<tr>
|
725
|
-
<td
|
726
|
-
<td>a <span class="type">cairo_font_options_t</span>, or <a href="
|
727
|
-
options. A copy is made.</td>
|
913
|
+
<td class="parameter_name"><p>options</p></td>
|
914
|
+
<td class="parameter_description"><p>a <span class="type">cairo_font_options_t</span>, 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 previously set
|
915
|
+
options. A copy is made.</p></td>
|
916
|
+
<td class="parameter_annotations"> </td>
|
728
917
|
</tr>
|
729
918
|
</tbody>
|
730
919
|
</table></div>
|
920
|
+
</div>
|
731
921
|
<p class="since">Since 1.10</p>
|
732
922
|
</div>
|
733
923
|
<hr>
|
734
924
|
<div class="refsect2">
|
735
|
-
<a name="pango-cairo-context-get-font-options"></a><h3>pango_cairo_context_get_font_options
|
736
|
-
<pre class="programlisting">const <span class="returnvalue">cairo_font_options_t</span>
|
737
|
-
|
738
|
-
<p>
|
739
|
-
|
740
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context
|
741
|
-
|
742
|
-
<
|
925
|
+
<a name="pango-cairo-context-get-font-options"></a><h3>pango_cairo_context_get_font_options ()</h3>
|
926
|
+
<pre class="programlisting">const <span class="returnvalue">cairo_font_options_t</span> *
|
927
|
+
pango_cairo_context_get_font_options (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
928
|
+
<p>Retrieves any font rendering options previously set with
|
929
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-font-options" title="pango_cairo_context_set_font_options ()"><code class="function">pango_cairo_context_set_font_options()</code></a>. This function does not report options
|
930
|
+
that are derived from the target surface by <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()"><code class="function">pango_cairo_update_context()</code></a></p>
|
931
|
+
<div class="refsect3">
|
932
|
+
<a name="id-1.3.5.10.14.5"></a><h4>Parameters</h4>
|
933
|
+
<div class="informaltable"><table width="100%" border="0">
|
743
934
|
<colgroup>
|
744
|
-
<col
|
745
|
-
<col>
|
935
|
+
<col width="150px" class="parameters_name">
|
936
|
+
<col class="parameters_description">
|
937
|
+
<col width="200px" class="parameters_annotations">
|
746
938
|
</colgroup>
|
747
|
-
<tbody>
|
748
|
-
<
|
749
|
-
<td><p
|
750
|
-
<td
|
751
|
-
</tr>
|
752
|
-
<tr>
|
753
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
754
|
-
<td>the font options previously set on the context, 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>
|
755
|
-
if no options have been set. This value is owned by the context
|
756
|
-
and must not be modified or freed.</td>
|
757
|
-
</tr>
|
758
|
-
</tbody>
|
939
|
+
<tbody><tr>
|
940
|
+
<td class="parameter_name"><p>context</p></td>
|
941
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</p></td>
|
942
|
+
<td class="parameter_annotations"> </td>
|
943
|
+
</tr></tbody>
|
759
944
|
</table></div>
|
945
|
+
</div>
|
946
|
+
<div class="refsect3">
|
947
|
+
<a name="id-1.3.5.10.14.6"></a><h4>Returns</h4>
|
948
|
+
<p> the font options previously set on the context, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
949
|
+
if no options have been set. This value is owned by the context
|
950
|
+
and must not be modified or freed.</p>
|
951
|
+
<p></p>
|
952
|
+
</div>
|
760
953
|
<p class="since">Since 1.10</p>
|
761
954
|
</div>
|
762
955
|
<hr>
|
763
956
|
<div class="refsect2">
|
764
|
-
<a name="PangoCairoShapeRendererFunc"></a><h3>PangoCairoShapeRendererFunc
|
765
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
<
|
770
|
-
Function type for rendering attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>
|
957
|
+
<a name="PangoCairoShapeRendererFunc"></a><h3>PangoCairoShapeRendererFunc ()</h3>
|
958
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
959
|
+
<span class="c_punctuation">(</span>*PangoCairoShapeRendererFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
960
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a> *attr</code></em>,
|
961
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_path</code></em>,
|
962
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
963
|
+
<p>Function type for rendering attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>
|
771
964
|
with Pango's Cairo renderer.</p>
|
772
|
-
<div class="
|
965
|
+
<div class="refsect3">
|
966
|
+
<a name="id-1.3.5.10.15.5"></a><h4>Parameters</h4>
|
967
|
+
<div class="informaltable"><table width="100%" border="0">
|
773
968
|
<colgroup>
|
774
|
-
<col
|
775
|
-
<col>
|
969
|
+
<col width="150px" class="parameters_name">
|
970
|
+
<col class="parameters_description">
|
971
|
+
<col width="200px" class="parameters_annotations">
|
776
972
|
</colgroup>
|
777
973
|
<tbody>
|
778
974
|
<tr>
|
779
|
-
<td
|
780
|
-
<td>a Cairo context with current point set to where the shape should
|
781
|
-
be rendered</td>
|
975
|
+
<td class="parameter_name"><p>cr</p></td>
|
976
|
+
<td class="parameter_description"><p>a Cairo context with current point set to where the shape should
|
977
|
+
be rendered</p></td>
|
978
|
+
<td class="parameter_annotations"> </td>
|
782
979
|
</tr>
|
783
980
|
<tr>
|
784
|
-
<td
|
785
|
-
<td>the <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a> to render</td>
|
981
|
+
<td class="parameter_name"><p>attr</p></td>
|
982
|
+
<td class="parameter_description"><p>the <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a> to render</p></td>
|
983
|
+
<td class="parameter_annotations"> </td>
|
786
984
|
</tr>
|
787
985
|
<tr>
|
788
|
-
<td
|
789
|
-
<td>whether only the shape path should be appended to current
|
790
|
-
path of <em class="parameter"><code>cr</code></em>
|
791
|
-
|
792
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-
|
986
|
+
<td class="parameter_name"><p>do_path</p></td>
|
987
|
+
<td class="parameter_description"><p>whether only the shape path should be appended to current
|
988
|
+
path of <em class="parameter"><code>cr</code></em>
|
989
|
+
and no filling/stroking done. This will be set
|
990
|
+
to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when called from <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-path" title="pango_cairo_layout_path ()"><code class="function">pango_cairo_layout_path()</code></a> and
|
991
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-line-path" title="pango_cairo_layout_line_path ()"><code class="function">pango_cairo_layout_line_path()</code></a> rendering functions.</p></td>
|
992
|
+
<td class="parameter_annotations"> </td>
|
793
993
|
</tr>
|
794
994
|
<tr>
|
795
|
-
<td
|
796
|
-
<td>user data passed to <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer
|
797
|
-
</td>
|
995
|
+
<td class="parameter_name"><p>data</p></td>
|
996
|
+
<td class="parameter_description"><p>user data passed to <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer ()"><code class="function">pango_cairo_context_set_shape_renderer()</code></a></p></td>
|
997
|
+
<td class="parameter_annotations"> </td>
|
798
998
|
</tr>
|
799
999
|
</tbody>
|
800
1000
|
</table></div>
|
801
1001
|
</div>
|
1002
|
+
</div>
|
802
1003
|
<hr>
|
803
1004
|
<div class="refsect2">
|
804
|
-
<a name="pango-cairo-context-set-shape-renderer"></a><h3>pango_cairo_context_set_shape_renderer
|
805
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
<
|
811
|
-
Sets callback function for context to use for rendering attributes
|
812
|
-
of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>. See <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc
|
1005
|
+
<a name="pango-cairo-context-set-shape-renderer"></a><h3>pango_cairo_context_set_shape_renderer ()</h3>
|
1006
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1007
|
+
pango_cairo_context_set_shape_renderer
|
1008
|
+
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1009
|
+
<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> func</code></em>,
|
1010
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1011
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);</pre>
|
1012
|
+
<p>Sets callback function for context to use for rendering attributes
|
1013
|
+
of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>. See <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> for
|
813
1014
|
details.</p>
|
814
|
-
<div class="
|
1015
|
+
<div class="refsect3">
|
1016
|
+
<a name="id-1.3.5.10.16.5"></a><h4>Parameters</h4>
|
1017
|
+
<div class="informaltable"><table width="100%" border="0">
|
815
1018
|
<colgroup>
|
816
|
-
<col
|
817
|
-
<col>
|
1019
|
+
<col width="150px" class="parameters_name">
|
1020
|
+
<col class="parameters_description">
|
1021
|
+
<col width="200px" class="parameters_annotations">
|
818
1022
|
</colgroup>
|
819
1023
|
<tbody>
|
820
1024
|
<tr>
|
821
|
-
<td
|
822
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
|
1025
|
+
<td class="parameter_name"><p>context</p></td>
|
1026
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</p></td>
|
1027
|
+
<td class="parameter_annotations"> </td>
|
823
1028
|
</tr>
|
824
1029
|
<tr>
|
825
|
-
<td
|
826
|
-
<td>Callback function for rendering attributes of type
|
827
|
-
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>, or <a href="
|
1030
|
+
<td class="parameter_name"><p>func</p></td>
|
1031
|
+
<td class="parameter_description"><p>Callback function for rendering attributes of type
|
1032
|
+
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to disable shape rendering.</p></td>
|
1033
|
+
<td class="parameter_annotations"> </td>
|
828
1034
|
</tr>
|
829
1035
|
<tr>
|
830
|
-
<td
|
831
|
-
<td>User data that will be passed to <em class="parameter"><code>func</code></em
|
1036
|
+
<td class="parameter_name"><p>data</p></td>
|
1037
|
+
<td class="parameter_description"><p>User data that will be passed to <em class="parameter"><code>func</code></em>
|
1038
|
+
.</p></td>
|
1039
|
+
<td class="parameter_annotations"> </td>
|
832
1040
|
</tr>
|
833
1041
|
<tr>
|
834
|
-
<td
|
835
|
-
<td>Callback that will be called when the
|
836
|
-
context is freed to release <em class="parameter"><code>data</code></em
|
1042
|
+
<td class="parameter_name"><p>dnotify</p></td>
|
1043
|
+
<td class="parameter_description"><p>Callback that will be called when the
|
1044
|
+
context is freed to release <em class="parameter"><code>data</code></em>
|
1045
|
+
, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
1046
|
+
<td class="parameter_annotations"> </td>
|
837
1047
|
</tr>
|
838
1048
|
</tbody>
|
839
1049
|
</table></div>
|
1050
|
+
</div>
|
840
1051
|
<p class="since">Since 1.18</p>
|
841
1052
|
</div>
|
842
1053
|
<hr>
|
843
1054
|
<div class="refsect2">
|
844
|
-
<a name="pango-cairo-context-get-shape-renderer"></a><h3>pango_cairo_context_get_shape_renderer
|
845
|
-
<pre class="programlisting"><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc
|
846
|
-
|
847
|
-
|
848
|
-
<
|
849
|
-
Sets callback function for context to use for rendering attributes
|
850
|
-
of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>. See <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc
|
1055
|
+
<a name="pango-cairo-context-get-shape-renderer"></a><h3>pango_cairo_context_get_shape_renderer ()</h3>
|
1056
|
+
<pre class="programlisting"><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="returnvalue">PangoCairoShapeRendererFunc</span></a>
|
1057
|
+
pango_cairo_context_get_shape_renderer
|
1058
|
+
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
1059
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *data</code></em>);</pre>
|
1060
|
+
<p>Sets callback function for context to use for rendering attributes
|
1061
|
+
of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>. See <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> for
|
851
1062
|
details.</p>
|
852
|
-
<p>
|
853
|
-
Retrieves callback function and associated user data for rendering
|
1063
|
+
<p>Retrieves callback function and associated user data for rendering
|
854
1064
|
attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a> as set by
|
855
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer
|
856
|
-
<div class="
|
1065
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer ()"><code class="function">pango_cairo_context_set_shape_renderer()</code></a>, if any.</p>
|
1066
|
+
<div class="refsect3">
|
1067
|
+
<a name="id-1.3.5.10.17.6"></a><h4>Parameters</h4>
|
1068
|
+
<div class="informaltable"><table width="100%" border="0">
|
857
1069
|
<colgroup>
|
858
|
-
<col
|
859
|
-
<col>
|
1070
|
+
<col width="150px" class="parameters_name">
|
1071
|
+
<col class="parameters_description">
|
1072
|
+
<col width="200px" class="parameters_annotations">
|
860
1073
|
</colgroup>
|
861
1074
|
<tbody>
|
862
1075
|
<tr>
|
863
|
-
<td
|
864
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
|
865
|
-
</
|
866
|
-
<tr>
|
867
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
868
|
-
<td>Pointer to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> to return user data</td>
|
1076
|
+
<td class="parameter_name"><p>context</p></td>
|
1077
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</p></td>
|
1078
|
+
<td class="parameter_annotations"> </td>
|
869
1079
|
</tr>
|
870
1080
|
<tr>
|
871
|
-
<td
|
872
|
-
<td>
|
873
|
-
|
1081
|
+
<td class="parameter_name"><p>data</p></td>
|
1082
|
+
<td class="parameter_description"><p>Pointer to <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> to return user data</p></td>
|
1083
|
+
<td class="parameter_annotations"> </td>
|
874
1084
|
</tr>
|
875
1085
|
</tbody>
|
876
1086
|
</table></div>
|
1087
|
+
</div>
|
1088
|
+
<div class="refsect3">
|
1089
|
+
<a name="id-1.3.5.10.17.7"></a><h4>Returns</h4>
|
1090
|
+
<p> the shape rendering callback previously set on the context, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1091
|
+
if no shape rendering callback have been set.</p>
|
1092
|
+
<p></p>
|
1093
|
+
</div>
|
877
1094
|
<p class="since">Since 1.18</p>
|
878
1095
|
</div>
|
879
1096
|
<hr>
|
880
1097
|
<div class="refsect2">
|
881
|
-
<a name="pango-cairo-create-context"></a><h3>pango_cairo_create_context
|
882
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a>
|
883
|
-
<
|
884
|
-
Creates a context object set up to match the current transformation
|
1098
|
+
<a name="pango-cairo-create-context"></a><h3>pango_cairo_create_context ()</h3>
|
1099
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
|
1100
|
+
pango_cairo_create_context (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
1101
|
+
<p>Creates a context object set up to match the current transformation
|
885
1102
|
and target surface of the Cairo context. This context can then be
|
886
|
-
used to create a layout using <a class="link" href="pango-Layout-Objects.html#pango-layout-new" title="pango_layout_new
|
887
|
-
<p>
|
888
|
-
|
889
|
-
|
890
|
-
create a layout for use with <em class="parameter"><code>cr</code></em>
|
891
|
-
|
892
|
-
<
|
1103
|
+
used to create a layout using <a class="link" href="pango-Layout-Objects.html#pango-layout-new" title="pango_layout_new ()"><code class="function">pango_layout_new()</code></a>.</p>
|
1104
|
+
<p>This function is a convenience function that creates a context using
|
1105
|
+
the default font map, then updates it to <em class="parameter"><code>cr</code></em>
|
1106
|
+
. If you just need to
|
1107
|
+
create a layout for use with <em class="parameter"><code>cr</code></em>
|
1108
|
+
and do not need to access <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
1109
|
+
directly, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()"><code class="function">pango_cairo_create_layout()</code></a> instead.</p>
|
1110
|
+
<div class="refsect3">
|
1111
|
+
<a name="id-1.3.5.10.18.6"></a><h4>Parameters</h4>
|
1112
|
+
<div class="informaltable"><table width="100%" border="0">
|
893
1113
|
<colgroup>
|
894
|
-
<col
|
895
|
-
<col>
|
1114
|
+
<col width="150px" class="parameters_name">
|
1115
|
+
<col class="parameters_description">
|
1116
|
+
<col width="200px" class="parameters_annotations">
|
896
1117
|
</colgroup>
|
897
|
-
<tbody>
|
898
|
-
<
|
899
|
-
<td
|
900
|
-
<td>
|
901
|
-
</tr>
|
902
|
-
<tr>
|
903
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
904
|
-
<td>the newly created <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. Free with
|
905
|
-
<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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
906
|
-
</td>
|
907
|
-
</tr>
|
908
|
-
</tbody>
|
1118
|
+
<tbody><tr>
|
1119
|
+
<td class="parameter_name"><p>cr</p></td>
|
1120
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1121
|
+
<td class="parameter_annotations"> </td>
|
1122
|
+
</tr></tbody>
|
909
1123
|
</table></div>
|
1124
|
+
</div>
|
1125
|
+
<div class="refsect3">
|
1126
|
+
<a name="id-1.3.5.10.18.7"></a><h4>Returns</h4>
|
1127
|
+
<p> the newly created <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. Free with
|
1128
|
+
<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>
|
1129
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1130
|
+
</div>
|
910
1131
|
<p class="since">Since 1.22</p>
|
911
1132
|
</div>
|
912
1133
|
<hr>
|
913
1134
|
<div class="refsect2">
|
914
|
-
<a name="pango-cairo-update-context"></a><h3>pango_cairo_update_context
|
915
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
916
|
-
|
917
|
-
<
|
918
|
-
Updates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> previously created for use with Cairo to
|
1135
|
+
<a name="pango-cairo-update-context"></a><h3>pango_cairo_update_context ()</h3>
|
1136
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1137
|
+
pango_cairo_update_context (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1138
|
+
<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>Updates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> previously created for use with Cairo to
|
919
1140
|
match the current transformation and target surface of a Cairo
|
920
1141
|
context. If any layouts have been created for the context,
|
921
|
-
it's necessary to call <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed
|
1142
|
+
it's necessary to call <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed ()"><code class="function">pango_layout_context_changed()</code></a> on those
|
922
1143
|
layouts.</p>
|
923
|
-
<div class="
|
1144
|
+
<div class="refsect3">
|
1145
|
+
<a name="id-1.3.5.10.19.5"></a><h4>Parameters</h4>
|
1146
|
+
<div class="informaltable"><table width="100%" border="0">
|
924
1147
|
<colgroup>
|
925
|
-
<col
|
926
|
-
<col>
|
1148
|
+
<col width="150px" class="parameters_name">
|
1149
|
+
<col class="parameters_description">
|
1150
|
+
<col width="200px" class="parameters_annotations">
|
927
1151
|
</colgroup>
|
928
1152
|
<tbody>
|
929
1153
|
<tr>
|
930
|
-
<td
|
931
|
-
<td>a Cairo context</td>
|
1154
|
+
<td class="parameter_name"><p>cr</p></td>
|
1155
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1156
|
+
<td class="parameter_annotations"> </td>
|
932
1157
|
</tr>
|
933
1158
|
<tr>
|
934
|
-
<td
|
935
|
-
<td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
|
1159
|
+
<td class="parameter_name"><p>context</p></td>
|
1160
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</p></td>
|
1161
|
+
<td class="parameter_annotations"> </td>
|
936
1162
|
</tr>
|
937
1163
|
</tbody>
|
938
1164
|
</table></div>
|
1165
|
+
</div>
|
939
1166
|
<p class="since">Since 1.10</p>
|
940
1167
|
</div>
|
941
1168
|
<hr>
|
942
1169
|
<div class="refsect2">
|
943
|
-
<a name="pango-cairo-create-layout"></a><h3>pango_cairo_create_layout
|
944
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a>
|
945
|
-
<
|
946
|
-
Creates a layout object set up to match the current transformation
|
1170
|
+
<a name="pango-cairo-create-layout"></a><h3>pango_cairo_create_layout ()</h3>
|
1171
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
|
1172
|
+
pango_cairo_create_layout (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
1173
|
+
<p>Creates a layout object set up to match the current transformation
|
947
1174
|
and target surface of the Cairo context. This layout can then be
|
948
1175
|
used for text measurement with functions like
|
949
|
-
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-size" title="pango_layout_get_size
|
950
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout" title="pango_cairo_show_layout
|
951
|
-
or target surface for <em class="parameter"><code>cr</code></em
|
952
|
-
<p>
|
953
|
-
This function is the most convenient way to use Cairo with Pango,
|
1176
|
+
<a class="link" href="pango-Layout-Objects.html#pango-layout-get-size" title="pango_layout_get_size ()"><code class="function">pango_layout_get_size()</code></a> or drawing with functions like
|
1177
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout" title="pango_cairo_show_layout ()"><code class="function">pango_cairo_show_layout()</code></a>. If you change the transformation
|
1178
|
+
or target surface for <em class="parameter"><code>cr</code></em>
|
1179
|
+
, you need to call <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-layout" title="pango_cairo_update_layout ()"><code class="function">pango_cairo_update_layout()</code></a></p>
|
1180
|
+
<p>This function is the most convenient way to use Cairo with Pango,
|
954
1181
|
however it is slightly inefficient since it creates a separate
|
955
1182
|
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> object for each layout. This might matter in an
|
956
1183
|
application that was laying out large amounts of text.</p>
|
957
|
-
<div class="
|
1184
|
+
<div class="refsect3">
|
1185
|
+
<a name="id-1.3.5.10.20.6"></a><h4>Parameters</h4>
|
1186
|
+
<div class="informaltable"><table width="100%" border="0">
|
958
1187
|
<colgroup>
|
959
|
-
<col
|
960
|
-
<col>
|
1188
|
+
<col width="150px" class="parameters_name">
|
1189
|
+
<col class="parameters_description">
|
1190
|
+
<col width="200px" class="parameters_annotations">
|
961
1191
|
</colgroup>
|
962
|
-
<tbody>
|
963
|
-
<
|
964
|
-
<td
|
965
|
-
<td>
|
966
|
-
</tr>
|
967
|
-
<tr>
|
968
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
969
|
-
<td>the newly created <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. Free with
|
970
|
-
<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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
971
|
-
</td>
|
972
|
-
</tr>
|
973
|
-
</tbody>
|
1192
|
+
<tbody><tr>
|
1193
|
+
<td class="parameter_name"><p>cr</p></td>
|
1194
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1195
|
+
<td class="parameter_annotations"> </td>
|
1196
|
+
</tr></tbody>
|
974
1197
|
</table></div>
|
1198
|
+
</div>
|
1199
|
+
<div class="refsect3">
|
1200
|
+
<a name="id-1.3.5.10.20.7"></a><h4>Returns</h4>
|
1201
|
+
<p> the newly created <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. Free with
|
1202
|
+
<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>
|
1203
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1204
|
+
</div>
|
975
1205
|
<p class="since">Since 1.10</p>
|
976
1206
|
</div>
|
977
1207
|
<hr>
|
978
1208
|
<div class="refsect2">
|
979
|
-
<a name="pango-cairo-update-layout"></a><h3>pango_cairo_update_layout
|
980
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
981
|
-
|
982
|
-
<
|
983
|
-
Updates the private <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> created with
|
984
|
-
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout
|
1209
|
+
<a name="pango-cairo-update-layout"></a><h3>pango_cairo_update_layout ()</h3>
|
1210
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1211
|
+
pango_cairo_update_layout (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1212
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1213
|
+
<p>Updates the private <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> created with
|
1214
|
+
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()"><code class="function">pango_cairo_create_layout()</code></a> to match the current transformation
|
985
1215
|
and target surface of a Cairo context.</p>
|
986
|
-
<div class="
|
1216
|
+
<div class="refsect3">
|
1217
|
+
<a name="id-1.3.5.10.21.5"></a><h4>Parameters</h4>
|
1218
|
+
<div class="informaltable"><table width="100%" border="0">
|
987
1219
|
<colgroup>
|
988
|
-
<col
|
989
|
-
<col>
|
1220
|
+
<col width="150px" class="parameters_name">
|
1221
|
+
<col class="parameters_description">
|
1222
|
+
<col width="200px" class="parameters_annotations">
|
990
1223
|
</colgroup>
|
991
1224
|
<tbody>
|
992
1225
|
<tr>
|
993
|
-
<td
|
994
|
-
<td>a Cairo context</td>
|
1226
|
+
<td class="parameter_name"><p>cr</p></td>
|
1227
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1228
|
+
<td class="parameter_annotations"> </td>
|
995
1229
|
</tr>
|
996
1230
|
<tr>
|
997
|
-
<td
|
998
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, from <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout
|
999
|
-
</td>
|
1231
|
+
<td class="parameter_name"><p>layout</p></td>
|
1232
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, from <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()"><code class="function">pango_cairo_create_layout()</code></a></p></td>
|
1233
|
+
<td class="parameter_annotations"> </td>
|
1000
1234
|
</tr>
|
1001
1235
|
</tbody>
|
1002
1236
|
</table></div>
|
1237
|
+
</div>
|
1003
1238
|
<p class="since">Since 1.10</p>
|
1004
1239
|
</div>
|
1005
1240
|
<hr>
|
1006
1241
|
<div class="refsect2">
|
1007
|
-
<a name="pango-cairo-show-glyph-string"></a><h3>pango_cairo_show_glyph_string
|
1008
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1009
|
-
|
1010
|
-
|
1011
|
-
<
|
1012
|
-
Draws the glyphs in <em class="parameter"><code>glyphs</code></em>
|
1242
|
+
<a name="pango-cairo-show-glyph-string"></a><h3>pango_cairo_show_glyph_string ()</h3>
|
1243
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1244
|
+
pango_cairo_show_glyph_string (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1245
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1246
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1247
|
+
<p>Draws the glyphs in <em class="parameter"><code>glyphs</code></em>
|
1248
|
+
in the specified cairo context.
|
1013
1249
|
The origin of the glyphs (the left edge of the baseline) will
|
1014
1250
|
be drawn at the current point of the cairo context.</p>
|
1015
|
-
<div class="
|
1251
|
+
<div class="refsect3">
|
1252
|
+
<a name="id-1.3.5.10.22.5"></a><h4>Parameters</h4>
|
1253
|
+
<div class="informaltable"><table width="100%" border="0">
|
1016
1254
|
<colgroup>
|
1017
|
-
<col
|
1018
|
-
<col>
|
1255
|
+
<col width="150px" class="parameters_name">
|
1256
|
+
<col class="parameters_description">
|
1257
|
+
<col width="200px" class="parameters_annotations">
|
1019
1258
|
</colgroup>
|
1020
1259
|
<tbody>
|
1021
1260
|
<tr>
|
1022
|
-
<td
|
1023
|
-
<td>a Cairo context</td>
|
1261
|
+
<td class="parameter_name"><p>cr</p></td>
|
1262
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1263
|
+
<td class="parameter_annotations"> </td>
|
1024
1264
|
</tr>
|
1025
1265
|
<tr>
|
1026
|
-
<td
|
1027
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a>
|
1028
|
-
</td>
|
1266
|
+
<td class="parameter_name"><p>font</p></td>
|
1267
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
1268
|
+
<td class="parameter_annotations"> </td>
|
1029
1269
|
</tr>
|
1030
1270
|
<tr>
|
1031
|
-
<td
|
1032
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1033
|
-
</td>
|
1271
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
1272
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a></p></td>
|
1273
|
+
<td class="parameter_annotations"> </td>
|
1034
1274
|
</tr>
|
1035
1275
|
</tbody>
|
1036
1276
|
</table></div>
|
1277
|
+
</div>
|
1037
1278
|
<p class="since">Since 1.10</p>
|
1038
1279
|
</div>
|
1039
1280
|
<hr>
|
1040
1281
|
<div class="refsect2">
|
1041
|
-
<a name="pango-cairo-show-glyph-item"></a><h3>pango_cairo_show_glyph_item
|
1042
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1043
|
-
|
1044
|
-
|
1045
|
-
<
|
1046
|
-
Draws the glyphs in <em class="parameter"><code>glyph_item</code></em>
|
1282
|
+
<a name="pango-cairo-show-glyph-item"></a><h3>pango_cairo_show_glyph_item ()</h3>
|
1283
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1284
|
+
pango_cairo_show_glyph_item (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1285
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
1286
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
|
1287
|
+
<p>Draws the glyphs in <em class="parameter"><code>glyph_item</code></em>
|
1288
|
+
in the specified cairo context,
|
1047
1289
|
embedding the text associated with the glyphs in the output if the
|
1048
1290
|
output format supports it (PDF for example), otherwise it acts
|
1049
|
-
similar to <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-string" title="pango_cairo_show_glyph_string
|
1050
|
-
<p>
|
1051
|
-
The origin of the glyphs (the left edge of the baseline) will
|
1291
|
+
similar to <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-string" title="pango_cairo_show_glyph_string ()"><code class="function">pango_cairo_show_glyph_string()</code></a>.</p>
|
1292
|
+
<p>The origin of the glyphs (the left edge of the baseline) will
|
1052
1293
|
be drawn at the current point of the cairo context.</p>
|
1053
|
-
<p>
|
1054
|
-
|
1055
|
-
indexed by <code class="literal"><em class="parameter"><code>glyph_item->item->offset</code></em
|
1056
|
-
|
1294
|
+
<p>Note that <em class="parameter"><code>text</code></em>
|
1295
|
+
is the start of the text for layout, which is then
|
1296
|
+
indexed by <code class="literal"><em class="parameter"><code>glyph_item->item->offset</code></em>
|
1297
|
+
</code>.</p>
|
1298
|
+
<div class="refsect3">
|
1299
|
+
<a name="id-1.3.5.10.23.7"></a><h4>Parameters</h4>
|
1300
|
+
<div class="informaltable"><table width="100%" border="0">
|
1057
1301
|
<colgroup>
|
1058
|
-
<col
|
1059
|
-
<col>
|
1302
|
+
<col width="150px" class="parameters_name">
|
1303
|
+
<col class="parameters_description">
|
1304
|
+
<col width="200px" class="parameters_annotations">
|
1060
1305
|
</colgroup>
|
1061
1306
|
<tbody>
|
1062
1307
|
<tr>
|
1063
|
-
<td
|
1064
|
-
<td>a Cairo context</td>
|
1308
|
+
<td class="parameter_name"><p>cr</p></td>
|
1309
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1310
|
+
<td class="parameter_annotations"> </td>
|
1065
1311
|
</tr>
|
1066
1312
|
<tr>
|
1067
|
-
<td
|
1068
|
-
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em>
|
1313
|
+
<td class="parameter_name"><p>text</p></td>
|
1314
|
+
<td class="parameter_description"><p>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em>
|
1315
|
+
refers to</p></td>
|
1316
|
+
<td class="parameter_annotations"> </td>
|
1069
1317
|
</tr>
|
1070
1318
|
<tr>
|
1071
|
-
<td
|
1072
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
1073
|
-
</td>
|
1319
|
+
<td class="parameter_name"><p>glyph_item</p></td>
|
1320
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a></p></td>
|
1321
|
+
<td class="parameter_annotations"> </td>
|
1074
1322
|
</tr>
|
1075
1323
|
</tbody>
|
1076
1324
|
</table></div>
|
1325
|
+
</div>
|
1077
1326
|
<p class="since">Since 1.22</p>
|
1078
1327
|
</div>
|
1079
1328
|
<hr>
|
1080
1329
|
<div class="refsect2">
|
1081
|
-
<a name="pango-cairo-show-layout-line"></a><h3>pango_cairo_show_layout_line
|
1082
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1083
|
-
|
1084
|
-
<
|
1085
|
-
Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> in the specified cairo context.
|
1330
|
+
<a name="pango-cairo-show-layout-line"></a><h3>pango_cairo_show_layout_line ()</h3>
|
1331
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1332
|
+
pango_cairo_show_layout_line (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1333
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
1334
|
+
<p>Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> in the specified cairo context.
|
1086
1335
|
The origin of the glyphs (the left edge of the line) will
|
1087
1336
|
be drawn at the current point of the cairo context.</p>
|
1088
|
-
<div class="
|
1337
|
+
<div class="refsect3">
|
1338
|
+
<a name="id-1.3.5.10.24.5"></a><h4>Parameters</h4>
|
1339
|
+
<div class="informaltable"><table width="100%" border="0">
|
1089
1340
|
<colgroup>
|
1090
|
-
<col
|
1091
|
-
<col>
|
1341
|
+
<col width="150px" class="parameters_name">
|
1342
|
+
<col class="parameters_description">
|
1343
|
+
<col width="200px" class="parameters_annotations">
|
1092
1344
|
</colgroup>
|
1093
1345
|
<tbody>
|
1094
1346
|
<tr>
|
1095
|
-
<td
|
1096
|
-
<td>a Cairo context</td>
|
1347
|
+
<td class="parameter_name"><p>cr</p></td>
|
1348
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1349
|
+
<td class="parameter_annotations"> </td>
|
1097
1350
|
</tr>
|
1098
1351
|
<tr>
|
1099
|
-
<td
|
1100
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
1101
|
-
</td>
|
1352
|
+
<td class="parameter_name"><p>line</p></td>
|
1353
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
|
1354
|
+
<td class="parameter_annotations"> </td>
|
1102
1355
|
</tr>
|
1103
1356
|
</tbody>
|
1104
1357
|
</table></div>
|
1358
|
+
</div>
|
1105
1359
|
<p class="since">Since 1.10</p>
|
1106
1360
|
</div>
|
1107
1361
|
<hr>
|
1108
1362
|
<div class="refsect2">
|
1109
|
-
<a name="pango-cairo-show-layout"></a><h3>pango_cairo_show_layout
|
1110
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1111
|
-
|
1112
|
-
<
|
1113
|
-
Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> in the specified cairo context.
|
1363
|
+
<a name="pango-cairo-show-layout"></a><h3>pango_cairo_show_layout ()</h3>
|
1364
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1365
|
+
pango_cairo_show_layout (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1366
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1367
|
+
<p>Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> in the specified cairo context.
|
1114
1368
|
The top-left corner of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> will be drawn
|
1115
1369
|
at the current point of the cairo context.</p>
|
1116
|
-
<div class="
|
1370
|
+
<div class="refsect3">
|
1371
|
+
<a name="id-1.3.5.10.25.5"></a><h4>Parameters</h4>
|
1372
|
+
<div class="informaltable"><table width="100%" border="0">
|
1117
1373
|
<colgroup>
|
1118
|
-
<col
|
1119
|
-
<col>
|
1374
|
+
<col width="150px" class="parameters_name">
|
1375
|
+
<col class="parameters_description">
|
1376
|
+
<col width="200px" class="parameters_annotations">
|
1120
1377
|
</colgroup>
|
1121
1378
|
<tbody>
|
1122
1379
|
<tr>
|
1123
|
-
<td
|
1124
|
-
<td>a Cairo context</td>
|
1380
|
+
<td class="parameter_name"><p>cr</p></td>
|
1381
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1382
|
+
<td class="parameter_annotations"> </td>
|
1125
1383
|
</tr>
|
1126
1384
|
<tr>
|
1127
|
-
<td
|
1128
|
-
<td>a Pango layout</td>
|
1385
|
+
<td class="parameter_name"><p>layout</p></td>
|
1386
|
+
<td class="parameter_description"><p>a Pango layout</p></td>
|
1387
|
+
<td class="parameter_annotations"> </td>
|
1129
1388
|
</tr>
|
1130
1389
|
</tbody>
|
1131
1390
|
</table></div>
|
1391
|
+
</div>
|
1132
1392
|
<p class="since">Since 1.10</p>
|
1133
1393
|
</div>
|
1134
1394
|
<hr>
|
1135
1395
|
<div class="refsect2">
|
1136
|
-
<a name="pango-cairo-show-error-underline"></a><h3>pango_cairo_show_error_underline
|
1137
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
<
|
1143
|
-
Draw a squiggly line in the specified cairo context that approximately
|
1396
|
+
<a name="pango-cairo-show-error-underline"></a><h3>pango_cairo_show_error_underline ()</h3>
|
1397
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1398
|
+
pango_cairo_show_error_underline (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1399
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1400
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>,
|
1401
|
+
<em class="parameter"><code><span class="type">double</span> width</code></em>,
|
1402
|
+
<em class="parameter"><code><span class="type">double</span> height</code></em>);</pre>
|
1403
|
+
<p>Draw a squiggly line in the specified cairo context that approximately
|
1144
1404
|
covers the given rectangle in the style of an underline used to indicate a
|
1145
1405
|
spelling error. (The width of the underline is rounded to an integer
|
1146
1406
|
number of up/down segments and the resulting rectangle is centered in the
|
1147
1407
|
original rectangle)</p>
|
1148
|
-
<div class="
|
1408
|
+
<div class="refsect3">
|
1409
|
+
<a name="id-1.3.5.10.26.5"></a><h4>Parameters</h4>
|
1410
|
+
<div class="informaltable"><table width="100%" border="0">
|
1149
1411
|
<colgroup>
|
1150
|
-
<col
|
1151
|
-
<col>
|
1412
|
+
<col width="150px" class="parameters_name">
|
1413
|
+
<col class="parameters_description">
|
1414
|
+
<col width="200px" class="parameters_annotations">
|
1152
1415
|
</colgroup>
|
1153
1416
|
<tbody>
|
1154
1417
|
<tr>
|
1155
|
-
<td
|
1156
|
-
<td>a Cairo context</td>
|
1418
|
+
<td class="parameter_name"><p>cr</p></td>
|
1419
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1420
|
+
<td class="parameter_annotations"> </td>
|
1157
1421
|
</tr>
|
1158
1422
|
<tr>
|
1159
|
-
<td
|
1160
|
-
<td>The X coordinate of one corner of the rectangle</td>
|
1423
|
+
<td class="parameter_name"><p>x</p></td>
|
1424
|
+
<td class="parameter_description"><p>The X coordinate of one corner of the rectangle</p></td>
|
1425
|
+
<td class="parameter_annotations"> </td>
|
1161
1426
|
</tr>
|
1162
1427
|
<tr>
|
1163
|
-
<td
|
1164
|
-
<td>The Y coordinate of one corner of the rectangle</td>
|
1428
|
+
<td class="parameter_name"><p>y</p></td>
|
1429
|
+
<td class="parameter_description"><p>The Y coordinate of one corner of the rectangle</p></td>
|
1430
|
+
<td class="parameter_annotations"> </td>
|
1165
1431
|
</tr>
|
1166
1432
|
<tr>
|
1167
|
-
<td
|
1168
|
-
<td>Non-negative width of the rectangle</td>
|
1433
|
+
<td class="parameter_name"><p>width</p></td>
|
1434
|
+
<td class="parameter_description"><p>Non-negative width of the rectangle</p></td>
|
1435
|
+
<td class="parameter_annotations"> </td>
|
1169
1436
|
</tr>
|
1170
1437
|
<tr>
|
1171
|
-
<td
|
1172
|
-
<td>Non-negative height of the rectangle</td>
|
1438
|
+
<td class="parameter_name"><p>height</p></td>
|
1439
|
+
<td class="parameter_description"><p>Non-negative height of the rectangle</p></td>
|
1440
|
+
<td class="parameter_annotations"> </td>
|
1173
1441
|
</tr>
|
1174
1442
|
</tbody>
|
1175
1443
|
</table></div>
|
1444
|
+
</div>
|
1176
1445
|
<p class="since">Since 1.14</p>
|
1177
1446
|
</div>
|
1178
1447
|
<hr>
|
1179
1448
|
<div class="refsect2">
|
1180
|
-
<a name="pango-cairo-glyph-string-path"></a><h3>pango_cairo_glyph_string_path
|
1181
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1182
|
-
|
1183
|
-
|
1184
|
-
<
|
1185
|
-
Adds the glyphs in <em class="parameter"><code>glyphs</code></em>
|
1449
|
+
<a name="pango-cairo-glyph-string-path"></a><h3>pango_cairo_glyph_string_path ()</h3>
|
1450
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1451
|
+
pango_cairo_glyph_string_path (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1452
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1453
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1454
|
+
<p>Adds the glyphs in <em class="parameter"><code>glyphs</code></em>
|
1455
|
+
to the current path in the specified
|
1186
1456
|
cairo context. The origin of the glyphs (the left edge of the baseline)
|
1187
1457
|
will be at the current point of the cairo context.</p>
|
1188
|
-
<div class="
|
1458
|
+
<div class="refsect3">
|
1459
|
+
<a name="id-1.3.5.10.27.5"></a><h4>Parameters</h4>
|
1460
|
+
<div class="informaltable"><table width="100%" border="0">
|
1189
1461
|
<colgroup>
|
1190
|
-
<col
|
1191
|
-
<col>
|
1462
|
+
<col width="150px" class="parameters_name">
|
1463
|
+
<col class="parameters_description">
|
1464
|
+
<col width="200px" class="parameters_annotations">
|
1192
1465
|
</colgroup>
|
1193
1466
|
<tbody>
|
1194
1467
|
<tr>
|
1195
|
-
<td
|
1196
|
-
<td>a Cairo context</td>
|
1468
|
+
<td class="parameter_name"><p>cr</p></td>
|
1469
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1470
|
+
<td class="parameter_annotations"> </td>
|
1197
1471
|
</tr>
|
1198
1472
|
<tr>
|
1199
|
-
<td
|
1200
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a>
|
1201
|
-
</td>
|
1473
|
+
<td class="parameter_name"><p>font</p></td>
|
1474
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from a <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a></p></td>
|
1475
|
+
<td class="parameter_annotations"> </td>
|
1202
1476
|
</tr>
|
1203
1477
|
<tr>
|
1204
|
-
<td
|
1205
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
1206
|
-
</td>
|
1478
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
1479
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a></p></td>
|
1480
|
+
<td class="parameter_annotations"> </td>
|
1207
1481
|
</tr>
|
1208
1482
|
</tbody>
|
1209
1483
|
</table></div>
|
1484
|
+
</div>
|
1210
1485
|
<p class="since">Since 1.10</p>
|
1211
1486
|
</div>
|
1212
1487
|
<hr>
|
1213
1488
|
<div class="refsect2">
|
1214
|
-
<a name="pango-cairo-layout-line-path"></a><h3>pango_cairo_layout_line_path
|
1215
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1216
|
-
|
1217
|
-
<
|
1218
|
-
Adds the text in <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> to the current path in the
|
1489
|
+
<a name="pango-cairo-layout-line-path"></a><h3>pango_cairo_layout_line_path ()</h3>
|
1490
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1491
|
+
pango_cairo_layout_line_path (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1492
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
1493
|
+
<p>Adds the text in <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> to the current path in the
|
1219
1494
|
specified cairo context. The origin of the glyphs (the left edge
|
1220
1495
|
of the line) will be at the current point of the cairo context.</p>
|
1221
|
-
<div class="
|
1496
|
+
<div class="refsect3">
|
1497
|
+
<a name="id-1.3.5.10.28.5"></a><h4>Parameters</h4>
|
1498
|
+
<div class="informaltable"><table width="100%" border="0">
|
1222
1499
|
<colgroup>
|
1223
|
-
<col
|
1224
|
-
<col>
|
1500
|
+
<col width="150px" class="parameters_name">
|
1501
|
+
<col class="parameters_description">
|
1502
|
+
<col width="200px" class="parameters_annotations">
|
1225
1503
|
</colgroup>
|
1226
1504
|
<tbody>
|
1227
1505
|
<tr>
|
1228
|
-
<td
|
1229
|
-
<td>a Cairo context</td>
|
1506
|
+
<td class="parameter_name"><p>cr</p></td>
|
1507
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1508
|
+
<td class="parameter_annotations"> </td>
|
1230
1509
|
</tr>
|
1231
1510
|
<tr>
|
1232
|
-
<td
|
1233
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
1234
|
-
</td>
|
1511
|
+
<td class="parameter_name"><p>line</p></td>
|
1512
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
|
1513
|
+
<td class="parameter_annotations"> </td>
|
1235
1514
|
</tr>
|
1236
1515
|
</tbody>
|
1237
1516
|
</table></div>
|
1517
|
+
</div>
|
1238
1518
|
<p class="since">Since 1.10</p>
|
1239
1519
|
</div>
|
1240
1520
|
<hr>
|
1241
1521
|
<div class="refsect2">
|
1242
|
-
<a name="pango-cairo-layout-path"></a><h3>pango_cairo_layout_path
|
1243
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1244
|
-
|
1245
|
-
<
|
1246
|
-
Adds the text in a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> to the current path in the
|
1522
|
+
<a name="pango-cairo-layout-path"></a><h3>pango_cairo_layout_path ()</h3>
|
1523
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1524
|
+
pango_cairo_layout_path (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1525
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1526
|
+
<p>Adds the text in a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> to the current path in the
|
1247
1527
|
specified cairo context. The top-left corner of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
1248
1528
|
will be at the current point of the cairo context.</p>
|
1249
|
-
<div class="
|
1529
|
+
<div class="refsect3">
|
1530
|
+
<a name="id-1.3.5.10.29.5"></a><h4>Parameters</h4>
|
1531
|
+
<div class="informaltable"><table width="100%" border="0">
|
1250
1532
|
<colgroup>
|
1251
|
-
<col
|
1252
|
-
<col>
|
1533
|
+
<col width="150px" class="parameters_name">
|
1534
|
+
<col class="parameters_description">
|
1535
|
+
<col width="200px" class="parameters_annotations">
|
1253
1536
|
</colgroup>
|
1254
1537
|
<tbody>
|
1255
1538
|
<tr>
|
1256
|
-
<td
|
1257
|
-
<td>a Cairo context</td>
|
1539
|
+
<td class="parameter_name"><p>cr</p></td>
|
1540
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1541
|
+
<td class="parameter_annotations"> </td>
|
1258
1542
|
</tr>
|
1259
1543
|
<tr>
|
1260
|
-
<td
|
1261
|
-
<td>a Pango layout</td>
|
1544
|
+
<td class="parameter_name"><p>layout</p></td>
|
1545
|
+
<td class="parameter_description"><p>a Pango layout</p></td>
|
1546
|
+
<td class="parameter_annotations"> </td>
|
1262
1547
|
</tr>
|
1263
1548
|
</tbody>
|
1264
1549
|
</table></div>
|
1550
|
+
</div>
|
1265
1551
|
<p class="since">Since 1.10</p>
|
1266
1552
|
</div>
|
1267
1553
|
<hr>
|
1268
1554
|
<div class="refsect2">
|
1269
|
-
<a name="pango-cairo-error-underline-path"></a><h3>pango_cairo_error_underline_path
|
1270
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
<
|
1276
|
-
Add a squiggly line to the current path in the specified cairo context that
|
1555
|
+
<a name="pango-cairo-error-underline-path"></a><h3>pango_cairo_error_underline_path ()</h3>
|
1556
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1557
|
+
pango_cairo_error_underline_path (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
1558
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1559
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>,
|
1560
|
+
<em class="parameter"><code><span class="type">double</span> width</code></em>,
|
1561
|
+
<em class="parameter"><code><span class="type">double</span> height</code></em>);</pre>
|
1562
|
+
<p>Add a squiggly line to the current path in the specified cairo context that
|
1277
1563
|
approximately covers the given rectangle in the style of an underline used
|
1278
1564
|
to indicate a spelling error. (The width of the underline is rounded to an
|
1279
1565
|
integer number of up/down segments and the resulting rectangle is centered
|
1280
1566
|
in the original rectangle)</p>
|
1281
|
-
<div class="
|
1567
|
+
<div class="refsect3">
|
1568
|
+
<a name="id-1.3.5.10.30.5"></a><h4>Parameters</h4>
|
1569
|
+
<div class="informaltable"><table width="100%" border="0">
|
1282
1570
|
<colgroup>
|
1283
|
-
<col
|
1284
|
-
<col>
|
1571
|
+
<col width="150px" class="parameters_name">
|
1572
|
+
<col class="parameters_description">
|
1573
|
+
<col width="200px" class="parameters_annotations">
|
1285
1574
|
</colgroup>
|
1286
1575
|
<tbody>
|
1287
1576
|
<tr>
|
1288
|
-
<td
|
1289
|
-
<td>a Cairo context</td>
|
1577
|
+
<td class="parameter_name"><p>cr</p></td>
|
1578
|
+
<td class="parameter_description"><p>a Cairo context</p></td>
|
1579
|
+
<td class="parameter_annotations"> </td>
|
1290
1580
|
</tr>
|
1291
1581
|
<tr>
|
1292
|
-
<td
|
1293
|
-
<td>The X coordinate of one corner of the rectangle</td>
|
1582
|
+
<td class="parameter_name"><p>x</p></td>
|
1583
|
+
<td class="parameter_description"><p>The X coordinate of one corner of the rectangle</p></td>
|
1584
|
+
<td class="parameter_annotations"> </td>
|
1294
1585
|
</tr>
|
1295
1586
|
<tr>
|
1296
|
-
<td
|
1297
|
-
<td>The Y coordinate of one corner of the rectangle</td>
|
1587
|
+
<td class="parameter_name"><p>y</p></td>
|
1588
|
+
<td class="parameter_description"><p>The Y coordinate of one corner of the rectangle</p></td>
|
1589
|
+
<td class="parameter_annotations"> </td>
|
1298
1590
|
</tr>
|
1299
1591
|
<tr>
|
1300
|
-
<td
|
1301
|
-
<td>Non-negative width of the rectangle</td>
|
1592
|
+
<td class="parameter_name"><p>width</p></td>
|
1593
|
+
<td class="parameter_description"><p>Non-negative width of the rectangle</p></td>
|
1594
|
+
<td class="parameter_annotations"> </td>
|
1302
1595
|
</tr>
|
1303
1596
|
<tr>
|
1304
|
-
<td
|
1305
|
-
<td>Non-negative height of the rectangle</td>
|
1597
|
+
<td class="parameter_name"><p>height</p></td>
|
1598
|
+
<td class="parameter_description"><p>Non-negative height of the rectangle</p></td>
|
1599
|
+
<td class="parameter_annotations"> </td>
|
1306
1600
|
</tr>
|
1307
1601
|
</tbody>
|
1308
1602
|
</table></div>
|
1603
|
+
</div>
|
1309
1604
|
<p class="since">Since 1.14</p>
|
1310
1605
|
</div>
|
1311
1606
|
</div>
|
1607
|
+
<div class="refsect1">
|
1608
|
+
<a name="pango-Cairo-Rendering.other_details"></a><h2>Types and Values</h2>
|
1609
|
+
<div class="refsect2">
|
1610
|
+
<a name="PangoCairoFont-struct"></a><h3>PangoCairoFont</h3>
|
1611
|
+
<pre class="programlisting">typedef struct _PangoCairoFont PangoCairoFont;</pre>
|
1612
|
+
<p><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> is an interface exported by fonts for
|
1613
|
+
use with Cairo. The actual type of the font will depend
|
1614
|
+
on the particular font technology Cairo was compiled to use.</p>
|
1615
|
+
<p class="since">Since 1.18</p>
|
1616
|
+
</div>
|
1617
|
+
<hr>
|
1618
|
+
<div class="refsect2">
|
1619
|
+
<a name="PangoCairoFontMap-struct"></a><h3>PangoCairoFontMap</h3>
|
1620
|
+
<pre class="programlisting">typedef struct _PangoCairoFontMap PangoCairoFontMap;</pre>
|
1621
|
+
<p><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> is an interface exported by font maps for
|
1622
|
+
use with Cairo. The actual type of the font map will depend
|
1623
|
+
on the particular font technology Cairo was compiled to use.</p>
|
1624
|
+
<p class="since">Since 1.10</p>
|
1625
|
+
</div>
|
1626
|
+
</div>
|
1312
1627
|
</div>
|
1313
1628
|
<div class="footer">
|
1314
1629
|
<hr>
|
1315
|
-
Generated by GTK-Doc V1.
|
1630
|
+
Generated by GTK-Doc V1.21.1</div>
|
1316
1631
|
</body>
|
1317
1632
|
</html>
|