pango 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +21 -2
- data/lib/2.0/pango.so +0 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/genbrk.exe +0 -0
- data/vendor/local/bin/genccode.exe +0 -0
- data/vendor/local/bin/gencfu.exe +0 -0
- data/vendor/local/bin/gencmn.exe +0 -0
- data/vendor/local/bin/gencnval.exe +0 -0
- data/vendor/local/bin/gendict.exe +0 -0
- data/vendor/local/bin/gennorm2.exe +0 -0
- data/vendor/local/bin/genrb.exe +0 -0
- data/vendor/local/bin/gensprep.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/icu-config +820 -0
- data/vendor/local/bin/icuinfo.exe +0 -0
- data/vendor/local/bin/icupkg.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/makeconv.exe +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/bin/pkgdata.exe +0 -0
- data/vendor/local/bin/uconv.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +3 -3
- data/vendor/local/include/harfbuzz/hb-blob.h +3 -4
- data/vendor/local/include/harfbuzz/hb-buffer.h +22 -1
- data/vendor/local/include/harfbuzz/hb-common.h +23 -18
- data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
- data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
- data/vendor/local/include/harfbuzz/hb-ot-layout.h +11 -3
- data/vendor/local/include/harfbuzz/hb-ot-shape.h +10 -11
- data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
- data/vendor/local/include/harfbuzz/hb-version.h +7 -7
- data/vendor/local/include/layout/LEFontInstance.h +550 -0
- data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
- data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
- data/vendor/local/include/layout/LEInsertionList.h +177 -0
- data/vendor/local/include/layout/LELanguages.h +112 -0
- data/vendor/local/include/layout/LEScripts.h +263 -0
- data/vendor/local/include/layout/LESwaps.h +100 -0
- data/vendor/local/include/layout/LETableReference.h +418 -0
- data/vendor/local/include/layout/LETypes.h +728 -0
- data/vendor/local/include/layout/LayoutEngine.h +518 -0
- data/vendor/local/include/layout/ParagraphLayout.h +747 -0
- data/vendor/local/include/layout/RunArrays.h +676 -0
- data/vendor/local/include/layout/loengine.h +225 -0
- data/vendor/local/include/layout/playout.h +466 -0
- data/vendor/local/include/layout/plruns.h +441 -0
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -1
- data/vendor/local/include/pango-1.0/pango/pango-item.h +11 -2
- data/vendor/local/include/unicode/alphaindex.h +752 -0
- data/vendor/local/include/unicode/appendable.h +232 -0
- data/vendor/local/include/unicode/basictz.h +214 -0
- data/vendor/local/include/unicode/brkiter.h +655 -0
- data/vendor/local/include/unicode/bytestream.h +257 -0
- data/vendor/local/include/unicode/bytestrie.h +519 -0
- data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
- data/vendor/local/include/unicode/calendar.h +2519 -0
- data/vendor/local/include/unicode/caniter.h +208 -0
- data/vendor/local/include/unicode/chariter.h +722 -0
- data/vendor/local/include/unicode/choicfmt.h +594 -0
- data/vendor/local/include/unicode/coleitr.h +404 -0
- data/vendor/local/include/unicode/coll.h +1267 -0
- data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
- data/vendor/local/include/unicode/curramt.h +130 -0
- data/vendor/local/include/unicode/currpinf.h +258 -0
- data/vendor/local/include/unicode/currunit.h +110 -0
- data/vendor/local/include/unicode/datefmt.h +883 -0
- data/vendor/local/include/unicode/dbbi.h +40 -0
- data/vendor/local/include/unicode/dcfmtsym.h +482 -0
- data/vendor/local/include/unicode/decimfmt.h +2479 -0
- data/vendor/local/include/unicode/docmain.h +215 -0
- data/vendor/local/include/unicode/dtfmtsym.h +912 -0
- data/vendor/local/include/unicode/dtintrv.h +158 -0
- data/vendor/local/include/unicode/dtitvfmt.h +985 -0
- data/vendor/local/include/unicode/dtitvinf.h +514 -0
- data/vendor/local/include/unicode/dtptngen.h +498 -0
- data/vendor/local/include/unicode/dtrule.h +250 -0
- data/vendor/local/include/unicode/enumset.h +64 -0
- data/vendor/local/include/unicode/errorcode.h +137 -0
- data/vendor/local/include/unicode/fieldpos.h +291 -0
- data/vendor/local/include/unicode/filteredbrk.h +131 -0
- data/vendor/local/include/unicode/fmtable.h +760 -0
- data/vendor/local/include/unicode/format.h +305 -0
- data/vendor/local/include/unicode/fpositer.h +117 -0
- data/vendor/local/include/unicode/gender.h +111 -0
- data/vendor/local/include/unicode/gregocal.h +777 -0
- data/vendor/local/include/unicode/icudataver.h +41 -0
- data/vendor/local/include/unicode/icuplug.h +371 -0
- data/vendor/local/include/unicode/idna.h +323 -0
- data/vendor/local/include/unicode/listformatter.h +167 -0
- data/vendor/local/include/unicode/localpointer.h +304 -0
- data/vendor/local/include/unicode/locdspnm.h +204 -0
- data/vendor/local/include/unicode/locid.h +815 -0
- data/vendor/local/include/unicode/measfmt.h +389 -0
- data/vendor/local/include/unicode/measunit.h +1443 -0
- data/vendor/local/include/unicode/measure.h +159 -0
- data/vendor/local/include/unicode/messagepattern.h +943 -0
- data/vendor/local/include/unicode/msgfmt.h +1093 -0
- data/vendor/local/include/unicode/normalizer2.h +658 -0
- data/vendor/local/include/unicode/normlzr.h +797 -0
- data/vendor/local/include/unicode/numfmt.h +1187 -0
- data/vendor/local/include/unicode/numsys.h +208 -0
- data/vendor/local/include/unicode/parseerr.h +92 -0
- data/vendor/local/include/unicode/parsepos.h +230 -0
- data/vendor/local/include/unicode/platform.h +751 -0
- data/vendor/local/include/unicode/plurfmt.h +615 -0
- data/vendor/local/include/unicode/plurrule.h +501 -0
- data/vendor/local/include/unicode/ptypes.h +126 -0
- data/vendor/local/include/unicode/putil.h +181 -0
- data/vendor/local/include/unicode/rbbi.h +782 -0
- data/vendor/local/include/unicode/rbnf.h +1032 -0
- data/vendor/local/include/unicode/rbtz.h +362 -0
- data/vendor/local/include/unicode/regex.h +1857 -0
- data/vendor/local/include/unicode/region.h +228 -0
- data/vendor/local/include/unicode/reldatefmt.h +498 -0
- data/vendor/local/include/unicode/rep.h +261 -0
- data/vendor/local/include/unicode/resbund.h +490 -0
- data/vendor/local/include/unicode/schriter.h +187 -0
- data/vendor/local/include/unicode/scientificformathelper.h +139 -0
- data/vendor/local/include/unicode/search.h +575 -0
- data/vendor/local/include/unicode/selfmt.h +367 -0
- data/vendor/local/include/unicode/simpletz.h +928 -0
- data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
- data/vendor/local/include/unicode/sortkey.h +338 -0
- data/vendor/local/include/unicode/std_string.h +37 -0
- data/vendor/local/include/unicode/strenum.h +276 -0
- data/vendor/local/include/unicode/stringpiece.h +224 -0
- data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
- data/vendor/local/include/unicode/stsearch.h +504 -0
- data/vendor/local/include/unicode/symtable.h +112 -0
- data/vendor/local/include/unicode/tblcoll.h +873 -0
- data/vendor/local/include/unicode/timezone.h +948 -0
- data/vendor/local/include/unicode/tmunit.h +129 -0
- data/vendor/local/include/unicode/tmutamt.h +168 -0
- data/vendor/local/include/unicode/tmutfmt.h +243 -0
- data/vendor/local/include/unicode/translit.h +1342 -0
- data/vendor/local/include/unicode/tzfmt.h +1098 -0
- data/vendor/local/include/unicode/tznames.h +404 -0
- data/vendor/local/include/unicode/tzrule.h +828 -0
- data/vendor/local/include/unicode/tztrans.h +195 -0
- data/vendor/local/include/unicode/ubidi.h +2186 -0
- data/vendor/local/include/unicode/ubrk.h +540 -0
- data/vendor/local/include/unicode/ucal.h +1560 -0
- data/vendor/local/include/unicode/ucasemap.h +423 -0
- data/vendor/local/include/unicode/ucat.h +158 -0
- data/vendor/local/include/unicode/uchar.h +3426 -0
- data/vendor/local/include/unicode/ucharstrie.h +576 -0
- data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
- data/vendor/local/include/unicode/uchriter.h +381 -0
- data/vendor/local/include/unicode/uclean.h +258 -0
- data/vendor/local/include/unicode/ucnv.h +2036 -0
- data/vendor/local/include/unicode/ucnv_cb.h +162 -0
- data/vendor/local/include/unicode/ucnv_err.h +463 -0
- data/vendor/local/include/unicode/ucnvsel.h +187 -0
- data/vendor/local/include/unicode/ucol.h +1474 -0
- data/vendor/local/include/unicode/ucoleitr.h +266 -0
- data/vendor/local/include/unicode/uconfig.h +430 -0
- data/vendor/local/include/unicode/ucsdet.h +413 -0
- data/vendor/local/include/unicode/ucurr.h +424 -0
- data/vendor/local/include/unicode/udat.h +1536 -0
- data/vendor/local/include/unicode/udata.h +430 -0
- data/vendor/local/include/unicode/udateintervalformat.h +181 -0
- data/vendor/local/include/unicode/udatpg.h +588 -0
- data/vendor/local/include/unicode/udisplaycontext.h +150 -0
- data/vendor/local/include/unicode/uenum.h +206 -0
- data/vendor/local/include/unicode/uformattable.h +280 -0
- data/vendor/local/include/unicode/ugender.h +82 -0
- data/vendor/local/include/unicode/uidna.h +762 -0
- data/vendor/local/include/unicode/uiter.h +707 -0
- data/vendor/local/include/unicode/uldnames.h +302 -0
- data/vendor/local/include/unicode/uloc.h +1256 -0
- data/vendor/local/include/unicode/ulocdata.h +277 -0
- data/vendor/local/include/unicode/umachine.h +356 -0
- data/vendor/local/include/unicode/umisc.h +60 -0
- data/vendor/local/include/unicode/umsg.h +623 -0
- data/vendor/local/include/unicode/unifilt.h +120 -0
- data/vendor/local/include/unicode/unifunct.h +125 -0
- data/vendor/local/include/unicode/unimatch.h +163 -0
- data/vendor/local/include/unicode/unirepl.h +97 -0
- data/vendor/local/include/unicode/uniset.h +1691 -0
- data/vendor/local/include/unicode/unistr.h +4470 -0
- data/vendor/local/include/unicode/unorm.h +561 -0
- data/vendor/local/include/unicode/unorm2.h +528 -0
- data/vendor/local/include/unicode/unum.h +1328 -0
- data/vendor/local/include/unicode/unumsys.h +170 -0
- data/vendor/local/include/unicode/uobject.h +320 -0
- data/vendor/local/include/unicode/upluralrules.h +145 -0
- data/vendor/local/include/unicode/uregex.h +1591 -0
- data/vendor/local/include/unicode/uregion.h +248 -0
- data/vendor/local/include/unicode/urename.h +1784 -0
- data/vendor/local/include/unicode/urep.h +155 -0
- data/vendor/local/include/unicode/ures.h +887 -0
- data/vendor/local/include/unicode/uscript.h +642 -0
- data/vendor/local/include/unicode/usearch.h +885 -0
- data/vendor/local/include/unicode/uset.h +1126 -0
- data/vendor/local/include/unicode/usetiter.h +318 -0
- data/vendor/local/include/unicode/ushape.h +474 -0
- data/vendor/local/include/unicode/uspoof.h +1064 -0
- data/vendor/local/include/unicode/usprep.h +269 -0
- data/vendor/local/include/unicode/ustdio.h +1018 -0
- data/vendor/local/include/unicode/ustream.h +68 -0
- data/vendor/local/include/unicode/ustring.h +1700 -0
- data/vendor/local/include/unicode/ustringtrie.h +95 -0
- data/vendor/local/include/unicode/utext.h +1600 -0
- data/vendor/local/include/unicode/utf.h +223 -0
- data/vendor/local/include/unicode/utf16.h +623 -0
- data/vendor/local/include/unicode/utf32.h +23 -0
- data/vendor/local/include/unicode/utf8.h +824 -0
- data/vendor/local/include/unicode/utf_old.h +1169 -0
- data/vendor/local/include/unicode/utmscale.h +481 -0
- data/vendor/local/include/unicode/utrace.h +359 -0
- data/vendor/local/include/unicode/utrans.h +658 -0
- data/vendor/local/include/unicode/utypes.h +723 -0
- data/vendor/local/include/unicode/uvernum.h +170 -0
- data/vendor/local/include/unicode/uversion.h +193 -0
- data/vendor/local/include/unicode/vtzone.h +455 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
- data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
- data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
- data/vendor/local/lib/icu/Makefile.inc +293 -0
- data/vendor/local/lib/icu/pkgdata.inc +17 -0
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt54.dll +0 -0
- data/vendor/local/lib/icuin.dll +0 -0
- data/vendor/local/lib/icuin54.dll +0 -0
- data/vendor/local/lib/icuio.dll +0 -0
- data/vendor/local/lib/icuio54.dll +0 -0
- data/vendor/local/lib/icule.dll +0 -0
- data/vendor/local/lib/icule54.dll +0 -0
- data/vendor/local/lib/iculx.dll +0 -0
- data/vendor/local/lib/iculx54.dll +0 -0
- data/vendor/local/lib/icutest.dll +0 -0
- data/vendor/local/lib/icutest54.dll +0 -0
- data/vendor/local/lib/icutu.dll +0 -0
- data/vendor/local/lib/icutu54.dll +0 -0
- data/vendor/local/lib/icuuc.dll +0 -0
- data/vendor/local/lib/icuuc54.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +41 -0
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +2 -2
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +2 -2
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +2 -2
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +2 -2
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +1 -1
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
- data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +3009 -462
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +64 -22
- data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +4 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +343 -313
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +6 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +442 -247
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1389 -654
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +954 -698
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +95 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +477 -191
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1951 -1039
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +123 -65
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +67 -23
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +66 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +574 -347
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +104 -37
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +10 -27
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +744 -318
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +294 -153
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +196 -104
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1100 -757
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +51 -18
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +110 -84
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +11 -13
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +289 -503
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +161 -316
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +31 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +143 -105
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +150 -108
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +163 -112
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +348 -229
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +746 -514
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +853 -623
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +31 -33
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +10 -12
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +12 -14
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +53 -55
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +29 -31
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +28 -30
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +17 -19
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +9 -11
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +11 -13
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +7 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +49 -51
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +36 -38
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +37 -39
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +68 -70
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +568 -570
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +229 -399
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +345 -259
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +979 -664
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +70 -43
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +349 -229
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +236 -153
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +3100 -2159
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +659 -472
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +1952 -1384
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +3050 -2135
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +676 -463
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +223 -146
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1589 -1199
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1072 -842
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +406 -276
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +2541 -1792
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +1479 -1033
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +214 -154
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +374 -291
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +733 -498
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +893 -617
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +59 -59
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +578 -782
- data/vendor/local/share/gtk-doc/html/pango/pango.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +4 -4
- data/vendor/local/share/gtk-doc/html/pango/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/pango/tools.html +4 -4
- data/vendor/local/share/icu/54.1/config/mh-mingw +158 -0
- data/vendor/local/share/icu/54.1/install-sh +251 -0
- data/vendor/local/share/icu/54.1/license.html +385 -0
- data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
- data/vendor/local/share/license/harfbuzz/AUTHORS +1 -0
- data/vendor/local/share/man/man1/derb.1 +196 -0
- data/vendor/local/share/man/man1/genbrk.1 +112 -0
- data/vendor/local/share/man/man1/gencfu.1 +91 -0
- data/vendor/local/share/man/man1/gencnval.1 +91 -0
- data/vendor/local/share/man/man1/gendict.1 +131 -0
- data/vendor/local/share/man/man1/genrb.1 +146 -0
- data/vendor/local/share/man/man1/icu-config.1 +288 -0
- data/vendor/local/share/man/man1/makeconv.1 +112 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -118
- data/vendor/local/share/man/man1/pkgdata.1 +258 -0
- data/vendor/local/share/man/man1/uconv.1 +443 -0
- data/vendor/local/share/man/man8/genccode.8 +106 -0
- data/vendor/local/share/man/man8/gencmn.8 +129 -0
- data/vendor/local/share/man/man8/gensprep.8 +102 -0
- data/vendor/local/share/man/man8/icupkg.8 +204 -0
- metadata +266 -14
- data/lib/1.9/pango.so +0 -0
- data/lib/2.1/pango.so +0 -0
@@ -8,12 +8,12 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Tab-Stops.html" title="Tab Stops">
|
10
10
|
<link rel="next" href="pango-Layout-Objects.html" title="Layout Objects">
|
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"></td>
|
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"></td>
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
18
|
<td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="p" href="pango-Tab-Stops.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<p>Text Attribute Markup — Simple
|
28
28
|
markup language to encode text with attributes</p>
|
29
29
|
</td>
|
30
|
-
<td valign="top" align="right"></td>
|
30
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
31
31
|
</tr></table></div>
|
32
32
|
<div class="refsect1">
|
33
33
|
<a name="PangoMarkupFormatLanguage"></a><h2>Pango Text Attribute Markup Language</h2>
|
@@ -47,8 +47,8 @@ The solution is to include the text attributes in the string to be
|
|
47
47
|
translated. Pango provides this feature with a small markup language.
|
48
48
|
You can parse a marked-up string into the string text plus a
|
49
49
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> using either of
|
50
|
-
<a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup
|
51
|
-
<a class="link" href="pango-Text-Attributes.html#pango-markup-parser-new" title="pango_markup_parser_new
|
50
|
+
<a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup()</a> or
|
51
|
+
<a class="link" href="pango-Text-Attributes.html#pango-markup-parser-new" title="pango_markup_parser_new ()">pango_markup_parser_new()</a>.
|
52
52
|
</p>
|
53
53
|
<p>
|
54
54
|
A simple example of a marked-up string might be:
|
@@ -60,7 +60,7 @@ such as numeric character entities such as &#169; for © can
|
|
60
60
|
be used too.
|
61
61
|
</p>
|
62
62
|
<p>
|
63
|
-
The root tag of a marked-up document is <markup>, but <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup
|
63
|
+
The root tag of a marked-up document is <markup>, but <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup()</a> allows you to
|
64
64
|
omit this tag, so you will most likely never need to use it. The most
|
65
65
|
general markup tag is <span>, then there are some convenience
|
66
66
|
tags. <span> has the following attributes:
|
@@ -77,7 +77,7 @@ tags. <span> has the following attributes:
|
|
77
77
|
<td><p><span class="term">font<a href="#ftn.since_1_21" class="footnote" name="since_1_21"><sup class="footnote">[1]</sup></a>, </span><span class="term">font_desc</span></p></td>
|
78
78
|
<td><p>
|
79
79
|
A font description string, such as "Sans Italic 12". See
|
80
|
-
<a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string
|
80
|
+
<a class="link" href="pango-Fonts.html#pango-font-description-from-string" title="pango_font_description_from_string ()">pango_font_description_from_string()</a>
|
81
81
|
for a description of the format of the string representation . Note that any
|
82
82
|
other span attributes will override this description. So if you have
|
83
83
|
"Sans Italic" and also a style="normal" attribute, you will get Sans normal,
|
@@ -296,6 +296,6 @@ Underline
|
|
296
296
|
</div>
|
297
297
|
<div class="footer">
|
298
298
|
<hr>
|
299
|
-
Generated by GTK-Doc V1.
|
299
|
+
Generated by GTK-Doc V1.21.1</div>
|
300
300
|
</body>
|
301
301
|
</html>
|
@@ -8,17 +8,15 @@
|
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="lowlevel.html" title="Low Level Functionality">
|
10
10
|
<link rel="next" href="PangoFcFontMap.html" title="PangoFcFontMap">
|
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="#PangoRenderer.
|
20
|
-
|
|
21
|
-
<a href="#PangoRenderer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#PangoRenderer.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#PangoRenderer.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
22
20
|
</td>
|
23
21
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
22
|
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -32,958 +30,1190 @@
|
|
32
30
|
<h2><span class="refentrytitle"><a name="PangoRenderer.top_of_page"></a>PangoRenderer</span></h2>
|
33
31
|
<p>PangoRenderer — Rendering driver base class</p>
|
34
32
|
</td>
|
35
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
36
34
|
</tr></table></div>
|
37
|
-
<div class="refsynopsisdiv">
|
38
|
-
<a name="PangoRenderer.synopsis"></a><h2>Synopsis</h2>
|
39
|
-
<a name="PangoRenderPart"></a><pre class="synopsis">struct <a class="link" href="PangoRenderer.html#PangoRenderer-struct" title="struct PangoRenderer">PangoRenderer</a>;
|
40
|
-
enum <a class="link" href="PangoRenderer.html#PangoRenderPart-enum" title="enum PangoRenderPart">PangoRenderPart</a>;
|
41
|
-
#define <a class="link" href="PangoRenderer.html#PANGO-TYPE-RENDER-PART:CAPS" title="PANGO_TYPE_RENDER_PART">PANGO_TYPE_RENDER_PART</a>
|
42
|
-
struct <a class="link" href="PangoRenderer.html#PangoRendererClass" title="struct PangoRendererClass">PangoRendererClass</a>;
|
43
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-layout" title="pango_renderer_draw_layout ()">pango_renderer_draw_layout</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
44
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
46
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
47
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-layout-line" title="pango_renderer_draw_layout_line ()">pango_renderer_draw_layout_line</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
48
|
-
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
49
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
50
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
51
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()">pango_renderer_draw_glyphs</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
52
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
53
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
56
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-glyph-item" title="pango_renderer_draw_glyph_item ()">pango_renderer_draw_glyph_item</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
57
|
-
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
58
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
59
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
60
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
61
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-rectangle" title="pango_renderer_draw_rectangle ()">pango_renderer_draw_rectangle</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
62
|
-
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
65
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
67
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-error-underline" title="pango_renderer_draw_error_underline ()">pango_renderer_draw_error_underline</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
68
|
-
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
70
|
-
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
71
|
-
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-trapezoid" title="pango_renderer_draw_trapezoid ()">pango_renderer_draw_trapezoid</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
73
|
-
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">double</span> y1_</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">double</span> x11</code></em>,
|
76
|
-
<em class="parameter"><code><span class="type">double</span> x21</code></em>,
|
77
|
-
<em class="parameter"><code><span class="type">double</span> y2</code></em>,
|
78
|
-
<em class="parameter"><code><span class="type">double</span> x12</code></em>,
|
79
|
-
<em class="parameter"><code><span class="type">double</span> x22</code></em>);
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-draw-glyph" title="pango_renderer_draw_glyph ()">pango_renderer_draw_glyph</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
82
|
-
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
83
|
-
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
84
|
-
<em class="parameter"><code><span class="type">double</span> y</code></em>);
|
85
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate ()">pango_renderer_activate</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
86
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()">pango_renderer_deactivate</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-part-changed" title="pango_renderer_part_changed ()">pango_renderer_part_changed</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
88
|
-
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);
|
89
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-set-color" title="pango_renderer_set_color ()">pango_renderer_set_color</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
90
|
-
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
91
|
-
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
92
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> * <a class="link" href="PangoRenderer.html#pango-renderer-get-color" title="pango_renderer_get_color ()">pango_renderer_get_color</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
93
|
-
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);
|
94
|
-
<span class="returnvalue">void</span> <a class="link" href="PangoRenderer.html#pango-renderer-set-matrix" title="pango_renderer_set_matrix ()">pango_renderer_set_matrix</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
95
|
-
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
96
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="PangoRenderer.html#pango-renderer-get-matrix" title="pango_renderer_get_matrix ()">pango_renderer_get_matrix</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
97
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * <a class="link" href="PangoRenderer.html#pango-renderer-get-layout" title="pango_renderer_get_layout ()">pango_renderer_get_layout</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
98
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * <a class="link" href="PangoRenderer.html#pango-renderer-get-layout-line" title="pango_renderer_get_layout_line ()">pango_renderer_get_layout_line</a> (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
99
|
-
</pre>
|
100
|
-
</div>
|
101
|
-
<div class="refsect1">
|
102
|
-
<a name="PangoRenderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
103
|
-
<pre class="synopsis">
|
104
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
105
|
-
+----PangoRenderer
|
106
|
-
+----<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer">PangoXftRenderer</a>
|
107
|
-
</pre>
|
108
|
-
<pre class="synopsis">
|
109
|
-
GEnum
|
110
|
-
+----PangoRenderPart
|
111
|
-
</pre>
|
112
|
-
</div>
|
113
|
-
<div class="refsect1">
|
114
|
-
<a name="PangoRenderer.description"></a><h2>Description</h2>
|
115
|
-
<p>
|
116
|
-
<a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> is a base class that contains the necessary logic for
|
117
|
-
rendering a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> or <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>. By subclassing
|
118
|
-
<a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> and overriding operations such as <em class="parameter"><code>draw_glyphs</code></em> and
|
119
|
-
<em class="parameter"><code>draw_rectangle</code></em>, renderers for particular font backends and
|
120
|
-
destinations can be created.</p>
|
121
|
-
</div>
|
122
35
|
<div class="refsect1">
|
123
|
-
<a name="PangoRenderer.
|
124
|
-
<div class="
|
125
|
-
<a name="PangoRenderer-struct"></a><h3>struct PangoRenderer</h3>
|
126
|
-
<pre class="programlisting">struct PangoRenderer {
|
127
|
-
PangoMatrix *matrix; /* May be NULL */
|
128
|
-
};
|
129
|
-
</pre>
|
130
|
-
<p>
|
131
|
-
<a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> is a base class for objects that are used to
|
132
|
-
render Pango objects such as <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> and
|
133
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
|
134
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
135
|
-
<colgroup>
|
136
|
-
<col align="left" valign="top">
|
137
|
-
<col>
|
138
|
-
</colgroup>
|
139
|
-
<tbody><tr>
|
140
|
-
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *<em class="structfield"><code><a name="PangoRenderer-struct.matrix"></a>matrix</code></em>;</span></p></td>
|
141
|
-
<td>the current transformation matrix for the Renderer; may
|
142
|
-
be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, which should be treated the same as the identity matrix.</td>
|
143
|
-
</tr></tbody>
|
144
|
-
</table></div>
|
145
|
-
<p class="since">Since 1.8</p>
|
146
|
-
</div>
|
147
|
-
<hr>
|
148
|
-
<div class="refsect2">
|
149
|
-
<a name="PangoRenderPart-enum"></a><h3>enum PangoRenderPart</h3>
|
150
|
-
<pre class="programlisting">typedef enum {
|
151
|
-
PANGO_RENDER_PART_FOREGROUND,
|
152
|
-
PANGO_RENDER_PART_BACKGROUND,
|
153
|
-
PANGO_RENDER_PART_UNDERLINE,
|
154
|
-
PANGO_RENDER_PART_STRIKETHROUGH
|
155
|
-
} PangoRenderPart;
|
156
|
-
</pre>
|
157
|
-
<p>
|
158
|
-
<a class="link" href="PangoRenderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> defines different items to render for such
|
159
|
-
purposes as setting colors.</p>
|
160
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
36
|
+
<a name="PangoRenderer.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
161
38
|
<colgroup>
|
162
|
-
<col
|
163
|
-
<col>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
164
41
|
</colgroup>
|
165
42
|
<tbody>
|
166
43
|
<tr>
|
167
|
-
<td
|
168
|
-
<td
|
44
|
+
<td class="define_keyword">#define</td>
|
45
|
+
<td class="function_name"><a class="link" href="PangoRenderer.html#PANGO-TYPE-RENDER-PART:CAPS" title="PANGO_TYPE_RENDER_PART">PANGO_TYPE_RENDER_PART</a></td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td class="function_type">
|
49
|
+
<span class="returnvalue">void</span>
|
50
|
+
</td>
|
51
|
+
<td class="function_name">
|
52
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-layout" title="pango_renderer_draw_layout ()">pango_renderer_draw_layout</a> <span class="c_punctuation">()</span>
|
169
53
|
</td>
|
170
54
|
</tr>
|
171
55
|
<tr>
|
172
|
-
<td
|
173
|
-
<
|
56
|
+
<td class="function_type">
|
57
|
+
<span class="returnvalue">void</span>
|
58
|
+
</td>
|
59
|
+
<td class="function_name">
|
60
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-layout-line" title="pango_renderer_draw_layout_line ()">pango_renderer_draw_layout_line</a> <span class="c_punctuation">()</span>
|
174
61
|
</td>
|
175
62
|
</tr>
|
176
63
|
<tr>
|
177
|
-
<td
|
178
|
-
<
|
64
|
+
<td class="function_type">
|
65
|
+
<span class="returnvalue">void</span>
|
66
|
+
</td>
|
67
|
+
<td class="function_name">
|
68
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()">pango_renderer_draw_glyphs</a> <span class="c_punctuation">()</span>
|
179
69
|
</td>
|
180
70
|
</tr>
|
181
71
|
<tr>
|
182
|
-
<td
|
183
|
-
<
|
72
|
+
<td class="function_type">
|
73
|
+
<span class="returnvalue">void</span>
|
74
|
+
</td>
|
75
|
+
<td class="function_name">
|
76
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-glyph-item" title="pango_renderer_draw_glyph_item ()">pango_renderer_draw_glyph_item</a> <span class="c_punctuation">()</span>
|
184
77
|
</td>
|
185
78
|
</tr>
|
186
|
-
</tbody>
|
187
|
-
</table></div>
|
188
|
-
<p class="since">Since 1.8</p>
|
189
|
-
</div>
|
190
|
-
<hr>
|
191
|
-
<div class="refsect2">
|
192
|
-
<a name="PANGO-TYPE-RENDER-PART:CAPS"></a><h3>PANGO_TYPE_RENDER_PART</h3>
|
193
|
-
<pre class="programlisting">#define PANGO_TYPE_RENDER_PART (pango_render_part_get_type ())
|
194
|
-
</pre>
|
195
|
-
</div>
|
196
|
-
<hr>
|
197
|
-
<div class="refsect2">
|
198
|
-
<a name="PangoRendererClass"></a><h3>struct PangoRendererClass</h3>
|
199
|
-
<pre class="programlisting">struct PangoRendererClass {
|
200
|
-
/* All of the following have default implementations
|
201
|
-
* and take as coordinates user coordinates in Pango units
|
202
|
-
*/
|
203
|
-
void (*draw_glyphs) (PangoRenderer *renderer,
|
204
|
-
PangoFont *font,
|
205
|
-
PangoGlyphString *glyphs,
|
206
|
-
int x,
|
207
|
-
int y);
|
208
|
-
void (*draw_rectangle) (PangoRenderer *renderer,
|
209
|
-
PangoRenderPart part,
|
210
|
-
int x,
|
211
|
-
int y,
|
212
|
-
int width,
|
213
|
-
int height);
|
214
|
-
void (*draw_error_underline) (PangoRenderer *renderer,
|
215
|
-
int x,
|
216
|
-
int y,
|
217
|
-
int width,
|
218
|
-
int height);
|
219
|
-
|
220
|
-
/* Nothing is drawn for shaped glyphs unless this is implemented */
|
221
|
-
void (*draw_shape) (PangoRenderer *renderer,
|
222
|
-
PangoAttrShape *attr,
|
223
|
-
int x,
|
224
|
-
int y);
|
225
|
-
|
226
|
-
/* These two must be implemented and take coordinates in
|
227
|
-
* device space as doubles.
|
228
|
-
*/
|
229
|
-
void (*draw_trapezoid) (PangoRenderer *renderer,
|
230
|
-
PangoRenderPart part,
|
231
|
-
double y1_,
|
232
|
-
double x11,
|
233
|
-
double x21,
|
234
|
-
double y2,
|
235
|
-
double x12,
|
236
|
-
double x22);
|
237
|
-
void (*draw_glyph) (PangoRenderer *renderer,
|
238
|
-
PangoFont *font,
|
239
|
-
PangoGlyph glyph,
|
240
|
-
double x,
|
241
|
-
double y);
|
242
|
-
|
243
|
-
/* Notification of change in rendering attributes
|
244
|
-
*/
|
245
|
-
void (*part_changed) (PangoRenderer *renderer,
|
246
|
-
PangoRenderPart part);
|
247
|
-
|
248
|
-
/* Paired around drawing operations
|
249
|
-
*/
|
250
|
-
void (*begin) (PangoRenderer *renderer);
|
251
|
-
void (*end) (PangoRenderer *renderer);
|
252
|
-
|
253
|
-
/* Hooks into the details of layout rendering
|
254
|
-
*/
|
255
|
-
void (*prepare_run) (PangoRenderer *renderer,
|
256
|
-
PangoLayoutRun *run);
|
257
|
-
|
258
|
-
/* All of the following have default implementations
|
259
|
-
* and take as coordinates user coordinates in Pango units
|
260
|
-
*/
|
261
|
-
void (*draw_glyph_item) (PangoRenderer *renderer,
|
262
|
-
const char *text,
|
263
|
-
PangoGlyphItem *glyph_item,
|
264
|
-
int x,
|
265
|
-
int y);
|
266
|
-
};
|
267
|
-
</pre>
|
268
|
-
<p>
|
269
|
-
Class structure for <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>.</p>
|
270
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
271
|
-
<colgroup>
|
272
|
-
<col align="left" valign="top">
|
273
|
-
<col>
|
274
|
-
</colgroup>
|
275
|
-
<tbody>
|
276
79
|
<tr>
|
277
|
-
<td
|
278
|
-
<
|
80
|
+
<td class="function_type">
|
81
|
+
<span class="returnvalue">void</span>
|
82
|
+
</td>
|
83
|
+
<td class="function_name">
|
84
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-rectangle" title="pango_renderer_draw_rectangle ()">pango_renderer_draw_rectangle</a> <span class="c_punctuation">()</span>
|
279
85
|
</td>
|
280
86
|
</tr>
|
281
87
|
<tr>
|
282
|
-
<td
|
283
|
-
<
|
88
|
+
<td class="function_type">
|
89
|
+
<span class="returnvalue">void</span>
|
90
|
+
</td>
|
91
|
+
<td class="function_name">
|
92
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-error-underline" title="pango_renderer_draw_error_underline ()">pango_renderer_draw_error_underline</a> <span class="c_punctuation">()</span>
|
93
|
+
</td>
|
284
94
|
</tr>
|
285
95
|
<tr>
|
286
|
-
<td
|
287
|
-
<
|
288
|
-
|
289
|
-
|
96
|
+
<td class="function_type">
|
97
|
+
<span class="returnvalue">void</span>
|
98
|
+
</td>
|
99
|
+
<td class="function_name">
|
100
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-trapezoid" title="pango_renderer_draw_trapezoid ()">pango_renderer_draw_trapezoid</a> <span class="c_punctuation">()</span>
|
101
|
+
</td>
|
102
|
+
</tr>
|
103
|
+
<tr>
|
104
|
+
<td class="function_type">
|
105
|
+
<span class="returnvalue">void</span>
|
106
|
+
</td>
|
107
|
+
<td class="function_name">
|
108
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-glyph" title="pango_renderer_draw_glyph ()">pango_renderer_draw_glyph</a> <span class="c_punctuation">()</span>
|
109
|
+
</td>
|
290
110
|
</tr>
|
291
111
|
<tr>
|
292
|
-
<td
|
293
|
-
<
|
294
|
-
|
295
|
-
|
112
|
+
<td class="function_type">
|
113
|
+
<span class="returnvalue">void</span>
|
114
|
+
</td>
|
115
|
+
<td class="function_name">
|
116
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate ()">pango_renderer_activate</a> <span class="c_punctuation">()</span>
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
<tr>
|
120
|
+
<td class="function_type">
|
121
|
+
<span class="returnvalue">void</span>
|
122
|
+
</td>
|
123
|
+
<td class="function_name">
|
124
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()">pango_renderer_deactivate</a> <span class="c_punctuation">()</span>
|
125
|
+
</td>
|
296
126
|
</tr>
|
297
127
|
<tr>
|
298
|
-
<td
|
299
|
-
<
|
128
|
+
<td class="function_type">
|
129
|
+
<span class="returnvalue">void</span>
|
130
|
+
</td>
|
131
|
+
<td class="function_name">
|
132
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-part-changed" title="pango_renderer_part_changed ()">pango_renderer_part_changed</a> <span class="c_punctuation">()</span>
|
133
|
+
</td>
|
300
134
|
</tr>
|
301
135
|
<tr>
|
302
|
-
<td
|
303
|
-
<
|
136
|
+
<td class="function_type">
|
137
|
+
<span class="returnvalue">void</span>
|
138
|
+
</td>
|
139
|
+
<td class="function_name">
|
140
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-set-color" title="pango_renderer_set_color ()">pango_renderer_set_color</a> <span class="c_punctuation">()</span>
|
141
|
+
</td>
|
304
142
|
</tr>
|
305
143
|
<tr>
|
306
|
-
<td
|
307
|
-
<
|
308
|
-
|
144
|
+
<td class="function_type">
|
145
|
+
<a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> *
|
146
|
+
</td>
|
147
|
+
<td class="function_name">
|
148
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-get-color" title="pango_renderer_get_color ()">pango_renderer_get_color</a> <span class="c_punctuation">()</span>
|
149
|
+
</td>
|
309
150
|
</tr>
|
310
151
|
<tr>
|
311
|
-
<td
|
312
|
-
<
|
152
|
+
<td class="function_type">
|
153
|
+
<span class="returnvalue">void</span>
|
154
|
+
</td>
|
155
|
+
<td class="function_name">
|
156
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-set-matrix" title="pango_renderer_set_matrix ()">pango_renderer_set_matrix</a> <span class="c_punctuation">()</span>
|
157
|
+
</td>
|
313
158
|
</tr>
|
314
159
|
<tr>
|
315
|
-
<td
|
316
|
-
|
160
|
+
<td class="function_type">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
|
161
|
+
</td>
|
162
|
+
<td class="function_name">
|
163
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-get-matrix" title="pango_renderer_get_matrix ()">pango_renderer_get_matrix</a> <span class="c_punctuation">()</span>
|
164
|
+
</td>
|
317
165
|
</tr>
|
318
166
|
<tr>
|
319
|
-
<td
|
320
|
-
<
|
167
|
+
<td class="function_type">
|
168
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
|
169
|
+
</td>
|
170
|
+
<td class="function_name">
|
171
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-get-layout" title="pango_renderer_get_layout ()">pango_renderer_get_layout</a> <span class="c_punctuation">()</span>
|
172
|
+
</td>
|
321
173
|
</tr>
|
322
174
|
<tr>
|
323
|
-
<td
|
324
|
-
<
|
175
|
+
<td class="function_type">
|
176
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-get-layout-line" title="pango_renderer_get_layout_line ()">pango_renderer_get_layout_line</a> <span class="c_punctuation">()</span>
|
325
180
|
</td>
|
326
181
|
</tr>
|
327
182
|
</tbody>
|
328
183
|
</table></div>
|
329
|
-
|
184
|
+
</div>
|
185
|
+
<div class="refsect1">
|
186
|
+
<a name="PangoRenderer.other"></a><h2>Types and Values</h2>
|
187
|
+
<div class="informaltable"><table width="100%" border="0">
|
188
|
+
<colgroup>
|
189
|
+
<col width="150px" class="name">
|
190
|
+
<col class="description">
|
191
|
+
</colgroup>
|
192
|
+
<tbody>
|
193
|
+
<tr>
|
194
|
+
<td class="datatype_keyword">struct</td>
|
195
|
+
<td class="function_name"><a class="link" href="PangoRenderer.html#PangoRenderer-struct" title="struct PangoRenderer">PangoRenderer</a></td>
|
196
|
+
</tr>
|
197
|
+
<tr>
|
198
|
+
<td class="datatype_keyword">enum</td>
|
199
|
+
<td class="function_name"><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart">PangoRenderPart</a></td>
|
200
|
+
</tr>
|
201
|
+
<tr>
|
202
|
+
<td class="datatype_keyword">struct</td>
|
203
|
+
<td class="function_name"><a class="link" href="PangoRenderer.html#PangoRendererClass" title="struct PangoRendererClass">PangoRendererClass</a></td>
|
204
|
+
</tr>
|
205
|
+
</tbody>
|
206
|
+
</table></div>
|
207
|
+
</div>
|
208
|
+
<div class="refsect1">
|
209
|
+
<a name="PangoRenderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
210
|
+
<pre class="screen"> GEnum
|
211
|
+
<span class="lineart">╰──</span> PangoRenderPart
|
212
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
213
|
+
<span class="lineart">╰──</span> PangoRenderer
|
214
|
+
<span class="lineart">╰──</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer">PangoXftRenderer</a>
|
215
|
+
</pre>
|
216
|
+
</div>
|
217
|
+
<div class="refsect1">
|
218
|
+
<a name="PangoRenderer.description"></a><h2>Description</h2>
|
219
|
+
<p><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> is a base class that contains the necessary logic for
|
220
|
+
rendering a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> or <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>. By subclassing
|
221
|
+
<a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> and overriding operations such as <em class="parameter"><code>draw_glyphs</code></em>
|
222
|
+
and
|
223
|
+
<em class="parameter"><code>draw_rectangle</code></em>
|
224
|
+
, renderers for particular font backends and
|
225
|
+
destinations can be created.</p>
|
226
|
+
</div>
|
227
|
+
<div class="refsect1">
|
228
|
+
<a name="PangoRenderer.functions_details"></a><h2>Functions</h2>
|
229
|
+
<div class="refsect2">
|
230
|
+
<a name="PANGO-TYPE-RENDER-PART:CAPS"></a><h3>PANGO_TYPE_RENDER_PART</h3>
|
231
|
+
<pre class="programlisting">#define PANGO_TYPE_RENDER_PART (pango_render_part_get_type ())
|
232
|
+
</pre>
|
330
233
|
</div>
|
331
234
|
<hr>
|
332
235
|
<div class="refsect2">
|
333
|
-
<a name="pango-renderer-draw-layout"></a><h3>pango_renderer_draw_layout
|
334
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
<
|
339
|
-
Draws <em class="parameter"><code>layout</code></em>
|
340
|
-
<
|
236
|
+
<a name="pango-renderer-draw-layout"></a><h3>pango_renderer_draw_layout ()</h3>
|
237
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
238
|
+
pango_renderer_draw_layout (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
239
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
240
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
241
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
242
|
+
<p>Draws <em class="parameter"><code>layout</code></em>
|
243
|
+
with the specified <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>.</p>
|
244
|
+
<div class="refsect3">
|
245
|
+
<a name="id-1.4.2.7.3.5"></a><h4>Parameters</h4>
|
246
|
+
<div class="informaltable"><table width="100%" border="0">
|
341
247
|
<colgroup>
|
342
|
-
<col
|
343
|
-
<col>
|
248
|
+
<col width="150px" class="parameters_name">
|
249
|
+
<col class="parameters_description">
|
250
|
+
<col width="200px" class="parameters_annotations">
|
344
251
|
</colgroup>
|
345
252
|
<tbody>
|
346
253
|
<tr>
|
347
|
-
<td
|
348
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
349
|
-
</td>
|
254
|
+
<td class="parameter_name"><p>renderer</p></td>
|
255
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
256
|
+
<td class="parameter_annotations"> </td>
|
350
257
|
</tr>
|
351
258
|
<tr>
|
352
|
-
<td
|
353
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
354
|
-
</td>
|
259
|
+
<td class="parameter_name"><p>layout</p></td>
|
260
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
|
261
|
+
<td class="parameter_annotations"> </td>
|
355
262
|
</tr>
|
356
263
|
<tr>
|
357
|
-
<td
|
358
|
-
<td>X position of left edge of baseline, in user space coordinates
|
359
|
-
in Pango units.</td>
|
264
|
+
<td class="parameter_name"><p>x</p></td>
|
265
|
+
<td class="parameter_description"><p>X position of left edge of baseline, in user space coordinates
|
266
|
+
in Pango units.</p></td>
|
267
|
+
<td class="parameter_annotations"> </td>
|
360
268
|
</tr>
|
361
269
|
<tr>
|
362
|
-
<td
|
363
|
-
<td>Y position of left edge of baseline, in user space coordinates
|
364
|
-
in Pango units.</td>
|
270
|
+
<td class="parameter_name"><p>y</p></td>
|
271
|
+
<td class="parameter_description"><p>Y position of left edge of baseline, in user space coordinates
|
272
|
+
in Pango units.</p></td>
|
273
|
+
<td class="parameter_annotations"> </td>
|
365
274
|
</tr>
|
366
275
|
</tbody>
|
367
276
|
</table></div>
|
277
|
+
</div>
|
368
278
|
<p class="since">Since 1.8</p>
|
369
279
|
</div>
|
370
280
|
<hr>
|
371
281
|
<div class="refsect2">
|
372
|
-
<a name="pango-renderer-draw-layout-line"></a><h3>pango_renderer_draw_layout_line
|
373
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
<
|
378
|
-
Draws <em class="parameter"><code>line</code></em>
|
379
|
-
<
|
282
|
+
<a name="pango-renderer-draw-layout-line"></a><h3>pango_renderer_draw_layout_line ()</h3>
|
283
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
284
|
+
pango_renderer_draw_layout_line (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
285
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
286
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
287
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
288
|
+
<p>Draws <em class="parameter"><code>line</code></em>
|
289
|
+
with the specified <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>.</p>
|
290
|
+
<div class="refsect3">
|
291
|
+
<a name="id-1.4.2.7.4.5"></a><h4>Parameters</h4>
|
292
|
+
<div class="informaltable"><table width="100%" border="0">
|
380
293
|
<colgroup>
|
381
|
-
<col
|
382
|
-
<col>
|
294
|
+
<col width="150px" class="parameters_name">
|
295
|
+
<col class="parameters_description">
|
296
|
+
<col width="200px" class="parameters_annotations">
|
383
297
|
</colgroup>
|
384
298
|
<tbody>
|
385
299
|
<tr>
|
386
|
-
<td
|
387
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
388
|
-
</td>
|
300
|
+
<td class="parameter_name"><p>renderer</p></td>
|
301
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
302
|
+
<td class="parameter_annotations"> </td>
|
389
303
|
</tr>
|
390
304
|
<tr>
|
391
|
-
<td
|
392
|
-
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
393
|
-
</td>
|
305
|
+
<td class="parameter_name"><p>line</p></td>
|
306
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
|
307
|
+
<td class="parameter_annotations"> </td>
|
394
308
|
</tr>
|
395
309
|
<tr>
|
396
|
-
<td
|
397
|
-
<td>X position of left edge of baseline, in user space coordinates
|
398
|
-
in Pango units.</td>
|
310
|
+
<td class="parameter_name"><p>x</p></td>
|
311
|
+
<td class="parameter_description"><p>X position of left edge of baseline, in user space coordinates
|
312
|
+
in Pango units.</p></td>
|
313
|
+
<td class="parameter_annotations"> </td>
|
399
314
|
</tr>
|
400
315
|
<tr>
|
401
|
-
<td
|
402
|
-
<td>Y position of left edge of baseline, in user space coordinates
|
403
|
-
in Pango units.</td>
|
316
|
+
<td class="parameter_name"><p>y</p></td>
|
317
|
+
<td class="parameter_description"><p>Y position of left edge of baseline, in user space coordinates
|
318
|
+
in Pango units.</p></td>
|
319
|
+
<td class="parameter_annotations"> </td>
|
404
320
|
</tr>
|
405
321
|
</tbody>
|
406
322
|
</table></div>
|
323
|
+
</div>
|
407
324
|
<p class="since">Since 1.8</p>
|
408
325
|
</div>
|
409
326
|
<hr>
|
410
327
|
<div class="refsect2">
|
411
|
-
<a name="pango-renderer-draw-glyphs"></a><h3>pango_renderer_draw_glyphs
|
412
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
<
|
418
|
-
Draws the glyphs in <em class="parameter"><code>glyphs</code></em>
|
419
|
-
<
|
328
|
+
<a name="pango-renderer-draw-glyphs"></a><h3>pango_renderer_draw_glyphs ()</h3>
|
329
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
330
|
+
pango_renderer_draw_glyphs (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
331
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
332
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
333
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
334
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
335
|
+
<p>Draws the glyphs in <em class="parameter"><code>glyphs</code></em>
|
336
|
+
with the specified <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>.</p>
|
337
|
+
<div class="refsect3">
|
338
|
+
<a name="id-1.4.2.7.5.5"></a><h4>Parameters</h4>
|
339
|
+
<div class="informaltable"><table width="100%" border="0">
|
420
340
|
<colgroup>
|
421
|
-
<col
|
422
|
-
<col>
|
341
|
+
<col width="150px" class="parameters_name">
|
342
|
+
<col class="parameters_description">
|
343
|
+
<col width="200px" class="parameters_annotations">
|
423
344
|
</colgroup>
|
424
345
|
<tbody>
|
425
346
|
<tr>
|
426
|
-
<td
|
427
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
428
|
-
</td>
|
347
|
+
<td class="parameter_name"><p>renderer</p></td>
|
348
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
349
|
+
<td class="parameter_annotations"> </td>
|
429
350
|
</tr>
|
430
351
|
<tr>
|
431
|
-
<td
|
432
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
433
|
-
</td>
|
352
|
+
<td class="parameter_name"><p>font</p></td>
|
353
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
354
|
+
<td class="parameter_annotations"> </td>
|
434
355
|
</tr>
|
435
356
|
<tr>
|
436
|
-
<td
|
437
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
438
|
-
</td>
|
357
|
+
<td class="parameter_name"><p>glyphs</p></td>
|
358
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a></p></td>
|
359
|
+
<td class="parameter_annotations"> </td>
|
439
360
|
</tr>
|
440
361
|
<tr>
|
441
|
-
<td
|
442
|
-
<td>X position of left edge of baseline, in user space coordinates
|
443
|
-
in Pango units.</td>
|
362
|
+
<td class="parameter_name"><p>x</p></td>
|
363
|
+
<td class="parameter_description"><p>X position of left edge of baseline, in user space coordinates
|
364
|
+
in Pango units.</p></td>
|
365
|
+
<td class="parameter_annotations"> </td>
|
444
366
|
</tr>
|
445
367
|
<tr>
|
446
|
-
<td
|
447
|
-
<td>Y position of left edge of baseline, in user space coordinates
|
448
|
-
in Pango units.</td>
|
368
|
+
<td class="parameter_name"><p>y</p></td>
|
369
|
+
<td class="parameter_description"><p>Y position of left edge of baseline, in user space coordinates
|
370
|
+
in Pango units.</p></td>
|
371
|
+
<td class="parameter_annotations"> </td>
|
449
372
|
</tr>
|
450
373
|
</tbody>
|
451
374
|
</table></div>
|
375
|
+
</div>
|
452
376
|
<p class="since">Since 1.8</p>
|
453
377
|
</div>
|
454
378
|
<hr>
|
455
379
|
<div class="refsect2">
|
456
|
-
<a name="pango-renderer-draw-glyph-item"></a><h3>pango_renderer_draw_glyph_item
|
457
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
<
|
463
|
-
Draws the glyphs in <em class="parameter"><code>glyph_item</code></em>
|
380
|
+
<a name="pango-renderer-draw-glyph-item"></a><h3>pango_renderer_draw_glyph_item ()</h3>
|
381
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
382
|
+
pango_renderer_draw_glyph_item (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
383
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
384
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
385
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
386
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
387
|
+
<p>Draws the glyphs in <em class="parameter"><code>glyph_item</code></em>
|
388
|
+
with the specified <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>,
|
464
389
|
embedding the text associated with the glyphs in the output if the
|
465
390
|
output format supports it (PDF for example).</p>
|
466
|
-
<p>
|
467
|
-
|
468
|
-
indexed by <code class="literal"><em class="parameter"><code>glyph_item->item->offset</code></em
|
469
|
-
|
470
|
-
If <em class="parameter"><code>text</code></em>
|
471
|
-
<p>
|
472
|
-
The default implementation of this method simply falls back to
|
473
|
-
<a class="link" href="PangoRenderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs
|
474
|
-
<div class="
|
391
|
+
<p>Note that <em class="parameter"><code>text</code></em>
|
392
|
+
is the start of the text for layout, which is then
|
393
|
+
indexed by <code class="literal"><em class="parameter"><code>glyph_item->item->offset</code></em>
|
394
|
+
</code>.</p>
|
395
|
+
<p>If <em class="parameter"><code>text</code></em>
|
396
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, this simply calls <a class="link" href="PangoRenderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()"><code class="function">pango_renderer_draw_glyphs()</code></a>.</p>
|
397
|
+
<p>The default implementation of this method simply falls back to
|
398
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()"><code class="function">pango_renderer_draw_glyphs()</code></a>.</p>
|
399
|
+
<div class="refsect3">
|
400
|
+
<a name="id-1.4.2.7.6.8"></a><h4>Parameters</h4>
|
401
|
+
<div class="informaltable"><table width="100%" border="0">
|
475
402
|
<colgroup>
|
476
|
-
<col
|
477
|
-
<col>
|
403
|
+
<col width="150px" class="parameters_name">
|
404
|
+
<col class="parameters_description">
|
405
|
+
<col width="200px" class="parameters_annotations">
|
478
406
|
</colgroup>
|
479
407
|
<tbody>
|
480
408
|
<tr>
|
481
|
-
<td
|
482
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
483
|
-
</td>
|
409
|
+
<td class="parameter_name"><p>renderer</p></td>
|
410
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
411
|
+
<td class="parameter_annotations"> </td>
|
484
412
|
</tr>
|
485
413
|
<tr>
|
486
|
-
<td
|
487
|
-
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em>
|
488
|
-
</td>
|
414
|
+
<td class="parameter_name"><p>text</p></td>
|
415
|
+
<td class="parameter_description"><p> the UTF-8 text that <em class="parameter"><code>glyph_item</code></em>
|
416
|
+
refers to, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
417
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
489
418
|
</tr>
|
490
419
|
<tr>
|
491
|
-
<td
|
492
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
493
|
-
</td>
|
420
|
+
<td class="parameter_name"><p>glyph_item</p></td>
|
421
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a></p></td>
|
422
|
+
<td class="parameter_annotations"> </td>
|
494
423
|
</tr>
|
495
424
|
<tr>
|
496
|
-
<td
|
497
|
-
<td>X position of left edge of baseline, in user space coordinates
|
498
|
-
in Pango units.</td>
|
425
|
+
<td class="parameter_name"><p>x</p></td>
|
426
|
+
<td class="parameter_description"><p>X position of left edge of baseline, in user space coordinates
|
427
|
+
in Pango units.</p></td>
|
428
|
+
<td class="parameter_annotations"> </td>
|
499
429
|
</tr>
|
500
430
|
<tr>
|
501
|
-
<td
|
502
|
-
<td>Y position of left edge of baseline, in user space coordinates
|
503
|
-
in Pango units.</td>
|
431
|
+
<td class="parameter_name"><p>y</p></td>
|
432
|
+
<td class="parameter_description"><p>Y position of left edge of baseline, in user space coordinates
|
433
|
+
in Pango units.</p></td>
|
434
|
+
<td class="parameter_annotations"> </td>
|
504
435
|
</tr>
|
505
436
|
</tbody>
|
506
437
|
</table></div>
|
438
|
+
</div>
|
507
439
|
<p class="since">Since 1.22</p>
|
508
440
|
</div>
|
509
441
|
<hr>
|
510
442
|
<div class="refsect2">
|
511
|
-
<a name="pango-renderer-draw-rectangle"></a><h3>pango_renderer_draw_rectangle
|
512
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
<
|
519
|
-
Draws an axis-aligned rectangle in user space coordinates with the
|
443
|
+
<a name="pango-renderer-draw-rectangle"></a><h3>pango_renderer_draw_rectangle ()</h3>
|
444
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
445
|
+
pango_renderer_draw_rectangle (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
446
|
+
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
447
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
448
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
449
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
450
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
451
|
+
<p>Draws an axis-aligned rectangle in user space coordinates with the
|
520
452
|
specified <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>.</p>
|
521
|
-
<p>
|
522
|
-
|
523
|
-
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate
|
524
|
-
<div class="
|
453
|
+
<p>This should be called while <em class="parameter"><code>renderer</code></em>
|
454
|
+
is already active. Use
|
455
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a> to activate a renderer.</p>
|
456
|
+
<div class="refsect3">
|
457
|
+
<a name="id-1.4.2.7.7.6"></a><h4>Parameters</h4>
|
458
|
+
<div class="informaltable"><table width="100%" border="0">
|
525
459
|
<colgroup>
|
526
|
-
<col
|
527
|
-
<col>
|
460
|
+
<col width="150px" class="parameters_name">
|
461
|
+
<col class="parameters_description">
|
462
|
+
<col width="200px" class="parameters_annotations">
|
528
463
|
</colgroup>
|
529
464
|
<tbody>
|
530
465
|
<tr>
|
531
|
-
<td
|
532
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
533
|
-
</td>
|
466
|
+
<td class="parameter_name"><p>renderer</p></td>
|
467
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
468
|
+
<td class="parameter_annotations"> </td>
|
534
469
|
</tr>
|
535
470
|
<tr>
|
536
|
-
<td
|
537
|
-
<td>type of object this rectangle is part of</td>
|
471
|
+
<td class="parameter_name"><p>part</p></td>
|
472
|
+
<td class="parameter_description"><p>type of object this rectangle is part of</p></td>
|
473
|
+
<td class="parameter_annotations"> </td>
|
538
474
|
</tr>
|
539
475
|
<tr>
|
540
|
-
<td
|
541
|
-
<td>X position at which to draw rectangle, in user space coordinates in Pango units</td>
|
476
|
+
<td class="parameter_name"><p>x</p></td>
|
477
|
+
<td class="parameter_description"><p>X position at which to draw rectangle, in user space coordinates in Pango units</p></td>
|
478
|
+
<td class="parameter_annotations"> </td>
|
542
479
|
</tr>
|
543
480
|
<tr>
|
544
|
-
<td
|
545
|
-
<td>Y position at which to draw rectangle, in user space coordinates in Pango units</td>
|
481
|
+
<td class="parameter_name"><p>y</p></td>
|
482
|
+
<td class="parameter_description"><p>Y position at which to draw rectangle, in user space coordinates in Pango units</p></td>
|
483
|
+
<td class="parameter_annotations"> </td>
|
546
484
|
</tr>
|
547
485
|
<tr>
|
548
|
-
<td
|
549
|
-
<td>width of rectangle in Pango units in user space coordinates</td>
|
486
|
+
<td class="parameter_name"><p>width</p></td>
|
487
|
+
<td class="parameter_description"><p>width of rectangle in Pango units in user space coordinates</p></td>
|
488
|
+
<td class="parameter_annotations"> </td>
|
550
489
|
</tr>
|
551
490
|
<tr>
|
552
|
-
<td
|
553
|
-
<td>height of rectangle in Pango units in user space coordinates</td>
|
491
|
+
<td class="parameter_name"><p>height</p></td>
|
492
|
+
<td class="parameter_description"><p>height of rectangle in Pango units in user space coordinates</p></td>
|
493
|
+
<td class="parameter_annotations"> </td>
|
554
494
|
</tr>
|
555
495
|
</tbody>
|
556
496
|
</table></div>
|
497
|
+
</div>
|
557
498
|
<p class="since">Since 1.8</p>
|
558
499
|
</div>
|
559
500
|
<hr>
|
560
501
|
<div class="refsect2">
|
561
|
-
<a name="pango-renderer-draw-error-underline"></a><h3>pango_renderer_draw_error_underline
|
562
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
<
|
568
|
-
Draw a squiggly line that approximately covers the given rectangle
|
502
|
+
<a name="pango-renderer-draw-error-underline"></a><h3>pango_renderer_draw_error_underline ()</h3>
|
503
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
504
|
+
pango_renderer_draw_error_underline (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
505
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
506
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
507
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
508
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
509
|
+
<p>Draw a squiggly line that approximately covers the given rectangle
|
569
510
|
in the style of an underline used to indicate a spelling error.
|
570
511
|
(The width of the underline is rounded to an integer number
|
571
512
|
of up/down segments and the resulting rectangle is centered
|
572
513
|
in the original rectangle)</p>
|
573
|
-
<p>
|
574
|
-
|
575
|
-
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate
|
576
|
-
<div class="
|
514
|
+
<p>This should be called while <em class="parameter"><code>renderer</code></em>
|
515
|
+
is already active. Use
|
516
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a> to activate a renderer.</p>
|
517
|
+
<div class="refsect3">
|
518
|
+
<a name="id-1.4.2.7.8.6"></a><h4>Parameters</h4>
|
519
|
+
<div class="informaltable"><table width="100%" border="0">
|
577
520
|
<colgroup>
|
578
|
-
<col
|
579
|
-
<col>
|
521
|
+
<col width="150px" class="parameters_name">
|
522
|
+
<col class="parameters_description">
|
523
|
+
<col width="200px" class="parameters_annotations">
|
580
524
|
</colgroup>
|
581
525
|
<tbody>
|
582
526
|
<tr>
|
583
|
-
<td
|
584
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
585
|
-
</td>
|
527
|
+
<td class="parameter_name"><p>renderer</p></td>
|
528
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
529
|
+
<td class="parameter_annotations"> </td>
|
586
530
|
</tr>
|
587
531
|
<tr>
|
588
|
-
<td
|
589
|
-
<td>X coordinate of underline, in Pango units in user coordinate system</td>
|
532
|
+
<td class="parameter_name"><p>x</p></td>
|
533
|
+
<td class="parameter_description"><p>X coordinate of underline, in Pango units in user coordinate system</p></td>
|
534
|
+
<td class="parameter_annotations"> </td>
|
590
535
|
</tr>
|
591
536
|
<tr>
|
592
|
-
<td
|
593
|
-
<td>Y coordinate of underline, in Pango units in user coordinate system</td>
|
537
|
+
<td class="parameter_name"><p>y</p></td>
|
538
|
+
<td class="parameter_description"><p>Y coordinate of underline, in Pango units in user coordinate system</p></td>
|
539
|
+
<td class="parameter_annotations"> </td>
|
594
540
|
</tr>
|
595
541
|
<tr>
|
596
|
-
<td
|
597
|
-
<td>width of underline, in Pango units in user coordinate system</td>
|
542
|
+
<td class="parameter_name"><p>width</p></td>
|
543
|
+
<td class="parameter_description"><p>width of underline, in Pango units in user coordinate system</p></td>
|
544
|
+
<td class="parameter_annotations"> </td>
|
598
545
|
</tr>
|
599
546
|
<tr>
|
600
|
-
<td
|
601
|
-
<td>height of underline, in Pango units in user coordinate system</td>
|
547
|
+
<td class="parameter_name"><p>height</p></td>
|
548
|
+
<td class="parameter_description"><p>height of underline, in Pango units in user coordinate system</p></td>
|
549
|
+
<td class="parameter_annotations"> </td>
|
602
550
|
</tr>
|
603
551
|
</tbody>
|
604
552
|
</table></div>
|
553
|
+
</div>
|
605
554
|
<p class="since">Since 1.8</p>
|
606
555
|
</div>
|
607
556
|
<hr>
|
608
557
|
<div class="refsect2">
|
609
|
-
<a name="pango-renderer-draw-trapezoid"></a><h3>pango_renderer_draw_trapezoid
|
610
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
<
|
619
|
-
Draws a trapezoid with the parallel sides aligned with the X axis
|
558
|
+
<a name="pango-renderer-draw-trapezoid"></a><h3>pango_renderer_draw_trapezoid ()</h3>
|
559
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
560
|
+
pango_renderer_draw_trapezoid (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
561
|
+
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
562
|
+
<em class="parameter"><code><span class="type">double</span> y1_</code></em>,
|
563
|
+
<em class="parameter"><code><span class="type">double</span> x11</code></em>,
|
564
|
+
<em class="parameter"><code><span class="type">double</span> x21</code></em>,
|
565
|
+
<em class="parameter"><code><span class="type">double</span> y2</code></em>,
|
566
|
+
<em class="parameter"><code><span class="type">double</span> x12</code></em>,
|
567
|
+
<em class="parameter"><code><span class="type">double</span> x22</code></em>);</pre>
|
568
|
+
<p>Draws a trapezoid with the parallel sides aligned with the X axis
|
620
569
|
using the given <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>; coordinates are in device space.</p>
|
621
|
-
<div class="
|
570
|
+
<div class="refsect3">
|
571
|
+
<a name="id-1.4.2.7.9.5"></a><h4>Parameters</h4>
|
572
|
+
<div class="informaltable"><table width="100%" border="0">
|
622
573
|
<colgroup>
|
623
|
-
<col
|
624
|
-
<col>
|
574
|
+
<col width="150px" class="parameters_name">
|
575
|
+
<col class="parameters_description">
|
576
|
+
<col width="200px" class="parameters_annotations">
|
625
577
|
</colgroup>
|
626
578
|
<tbody>
|
627
579
|
<tr>
|
628
|
-
<td
|
629
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
630
|
-
</td>
|
580
|
+
<td class="parameter_name"><p>renderer</p></td>
|
581
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
582
|
+
<td class="parameter_annotations"> </td>
|
631
583
|
</tr>
|
632
584
|
<tr>
|
633
|
-
<td
|
634
|
-
<td>type of object this trapezoid is part of</td>
|
585
|
+
<td class="parameter_name"><p>part</p></td>
|
586
|
+
<td class="parameter_description"><p>type of object this trapezoid is part of</p></td>
|
587
|
+
<td class="parameter_annotations"> </td>
|
635
588
|
</tr>
|
636
589
|
<tr>
|
637
|
-
<td
|
638
|
-
<td>Y coordinate of top of trapezoid</td>
|
590
|
+
<td class="parameter_name"><p>y1_</p></td>
|
591
|
+
<td class="parameter_description"><p>Y coordinate of top of trapezoid</p></td>
|
592
|
+
<td class="parameter_annotations"> </td>
|
639
593
|
</tr>
|
640
594
|
<tr>
|
641
|
-
<td
|
642
|
-
<td>X coordinate of left end of top of trapezoid</td>
|
595
|
+
<td class="parameter_name"><p>x11</p></td>
|
596
|
+
<td class="parameter_description"><p>X coordinate of left end of top of trapezoid</p></td>
|
597
|
+
<td class="parameter_annotations"> </td>
|
643
598
|
</tr>
|
644
599
|
<tr>
|
645
|
-
<td
|
646
|
-
<td>X coordinate of right end of top of trapezoid</td>
|
600
|
+
<td class="parameter_name"><p>x21</p></td>
|
601
|
+
<td class="parameter_description"><p>X coordinate of right end of top of trapezoid</p></td>
|
602
|
+
<td class="parameter_annotations"> </td>
|
647
603
|
</tr>
|
648
604
|
<tr>
|
649
|
-
<td
|
650
|
-
<td>Y coordinate of bottom of trapezoid</td>
|
605
|
+
<td class="parameter_name"><p>y2</p></td>
|
606
|
+
<td class="parameter_description"><p>Y coordinate of bottom of trapezoid</p></td>
|
607
|
+
<td class="parameter_annotations"> </td>
|
651
608
|
</tr>
|
652
609
|
<tr>
|
653
|
-
<td
|
654
|
-
<td>X coordinate of left end of bottom of trapezoid</td>
|
610
|
+
<td class="parameter_name"><p>x12</p></td>
|
611
|
+
<td class="parameter_description"><p>X coordinate of left end of bottom of trapezoid</p></td>
|
612
|
+
<td class="parameter_annotations"> </td>
|
655
613
|
</tr>
|
656
614
|
<tr>
|
657
|
-
<td
|
658
|
-
<td>X coordinate of right end of bottom of trapezoid</td>
|
615
|
+
<td class="parameter_name"><p>x22</p></td>
|
616
|
+
<td class="parameter_description"><p>X coordinate of right end of bottom of trapezoid</p></td>
|
617
|
+
<td class="parameter_annotations"> </td>
|
659
618
|
</tr>
|
660
619
|
</tbody>
|
661
620
|
</table></div>
|
621
|
+
</div>
|
662
622
|
<p class="since">Since 1.8</p>
|
663
623
|
</div>
|
664
624
|
<hr>
|
665
625
|
<div class="refsect2">
|
666
|
-
<a name="pango-renderer-draw-glyph"></a><h3>pango_renderer_draw_glyph
|
667
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
<
|
673
|
-
Draws a single glyph with coordinates in device space.</p>
|
674
|
-
<div class="
|
626
|
+
<a name="pango-renderer-draw-glyph"></a><h3>pango_renderer_draw_glyph ()</h3>
|
627
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
628
|
+
pango_renderer_draw_glyph (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
629
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
630
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
631
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
632
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
|
633
|
+
<p>Draws a single glyph with coordinates in device space.</p>
|
634
|
+
<div class="refsect3">
|
635
|
+
<a name="id-1.4.2.7.10.5"></a><h4>Parameters</h4>
|
636
|
+
<div class="informaltable"><table width="100%" border="0">
|
675
637
|
<colgroup>
|
676
|
-
<col
|
677
|
-
<col>
|
638
|
+
<col width="150px" class="parameters_name">
|
639
|
+
<col class="parameters_description">
|
640
|
+
<col width="200px" class="parameters_annotations">
|
678
641
|
</colgroup>
|
679
642
|
<tbody>
|
680
643
|
<tr>
|
681
|
-
<td
|
682
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
683
|
-
</td>
|
644
|
+
<td class="parameter_name"><p>renderer</p></td>
|
645
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
646
|
+
<td class="parameter_annotations"> </td>
|
684
647
|
</tr>
|
685
648
|
<tr>
|
686
|
-
<td
|
687
|
-
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
688
|
-
</td>
|
649
|
+
<td class="parameter_name"><p>font</p></td>
|
650
|
+
<td class="parameter_description"><p>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a></p></td>
|
651
|
+
<td class="parameter_annotations"> </td>
|
689
652
|
</tr>
|
690
653
|
<tr>
|
691
|
-
<td
|
692
|
-
<td>the glyph index of a single glyph</td>
|
654
|
+
<td class="parameter_name"><p>glyph</p></td>
|
655
|
+
<td class="parameter_description"><p>the glyph index of a single glyph</p></td>
|
656
|
+
<td class="parameter_annotations"> </td>
|
693
657
|
</tr>
|
694
658
|
<tr>
|
695
|
-
<td
|
696
|
-
<td>X coordinate of left edge of baseline of glyph</td>
|
659
|
+
<td class="parameter_name"><p>x</p></td>
|
660
|
+
<td class="parameter_description"><p>X coordinate of left edge of baseline of glyph</p></td>
|
661
|
+
<td class="parameter_annotations"> </td>
|
697
662
|
</tr>
|
698
663
|
<tr>
|
699
|
-
<td
|
700
|
-
<td>Y coordinate of left edge of baseline of glyph</td>
|
664
|
+
<td class="parameter_name"><p>y</p></td>
|
665
|
+
<td class="parameter_description"><p>Y coordinate of left edge of baseline of glyph</p></td>
|
666
|
+
<td class="parameter_annotations"> </td>
|
701
667
|
</tr>
|
702
668
|
</tbody>
|
703
669
|
</table></div>
|
670
|
+
</div>
|
704
671
|
<p class="since">Since 1.8</p>
|
705
672
|
</div>
|
706
673
|
<hr>
|
707
674
|
<div class="refsect2">
|
708
|
-
<a name="pango-renderer-activate"></a><h3>pango_renderer_activate
|
709
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
710
|
-
<
|
711
|
-
Does initial setup before rendering operations on <em class="parameter"><code>renderer</code></em
|
712
|
-
|
713
|
-
|
675
|
+
<a name="pango-renderer-activate"></a><h3>pango_renderer_activate ()</h3>
|
676
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
677
|
+
pango_renderer_activate (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
678
|
+
<p>Does initial setup before rendering operations on <em class="parameter"><code>renderer</code></em>
|
679
|
+
.
|
680
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()"><code class="function">pango_renderer_deactivate()</code></a> should be called when done drawing.
|
681
|
+
Calls such as <a class="link" href="PangoRenderer.html#pango-renderer-draw-layout" title="pango_renderer_draw_layout ()"><code class="function">pango_renderer_draw_layout()</code></a> automatically
|
714
682
|
activate the layout before drawing on it. Calls to
|
715
|
-
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate
|
683
|
+
<a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a> and <a class="link" href="PangoRenderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()"><code class="function">pango_renderer_deactivate()</code></a> can
|
716
684
|
be nested and the renderer will only be initialized and
|
717
685
|
deinitialized once.</p>
|
718
|
-
<div class="
|
686
|
+
<div class="refsect3">
|
687
|
+
<a name="id-1.4.2.7.11.5"></a><h4>Parameters</h4>
|
688
|
+
<div class="informaltable"><table width="100%" border="0">
|
719
689
|
<colgroup>
|
720
|
-
<col
|
721
|
-
<col>
|
690
|
+
<col width="150px" class="parameters_name">
|
691
|
+
<col class="parameters_description">
|
692
|
+
<col width="200px" class="parameters_annotations">
|
722
693
|
</colgroup>
|
723
694
|
<tbody><tr>
|
724
|
-
<td
|
725
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
726
|
-
</td>
|
695
|
+
<td class="parameter_name"><p>renderer</p></td>
|
696
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
697
|
+
<td class="parameter_annotations"> </td>
|
727
698
|
</tr></tbody>
|
728
699
|
</table></div>
|
700
|
+
</div>
|
729
701
|
<p class="since">Since 1.8</p>
|
730
702
|
</div>
|
731
703
|
<hr>
|
732
704
|
<div class="refsect2">
|
733
|
-
<a name="pango-renderer-deactivate"></a><h3>pango_renderer_deactivate
|
734
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
735
|
-
<
|
736
|
-
Cleans up after rendering operations on <em class="parameter"><code>renderer</code></em
|
737
|
-
|
738
|
-
<
|
705
|
+
<a name="pango-renderer-deactivate"></a><h3>pango_renderer_deactivate ()</h3>
|
706
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
707
|
+
pango_renderer_deactivate (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
708
|
+
<p>Cleans up after rendering operations on <em class="parameter"><code>renderer</code></em>
|
709
|
+
. See
|
710
|
+
docs for <a class="link" href="PangoRenderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a>.</p>
|
711
|
+
<div class="refsect3">
|
712
|
+
<a name="id-1.4.2.7.12.5"></a><h4>Parameters</h4>
|
713
|
+
<div class="informaltable"><table width="100%" border="0">
|
739
714
|
<colgroup>
|
740
|
-
<col
|
741
|
-
<col>
|
715
|
+
<col width="150px" class="parameters_name">
|
716
|
+
<col class="parameters_description">
|
717
|
+
<col width="200px" class="parameters_annotations">
|
742
718
|
</colgroup>
|
743
719
|
<tbody><tr>
|
744
|
-
<td
|
745
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
746
|
-
</td>
|
720
|
+
<td class="parameter_name"><p>renderer</p></td>
|
721
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
722
|
+
<td class="parameter_annotations"> </td>
|
747
723
|
</tr></tbody>
|
748
724
|
</table></div>
|
725
|
+
</div>
|
749
726
|
<p class="since">Since 1.8</p>
|
750
727
|
</div>
|
751
728
|
<hr>
|
752
729
|
<div class="refsect2">
|
753
|
-
<a name="pango-renderer-part-changed"></a><h3>pango_renderer_part_changed
|
754
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
755
|
-
|
756
|
-
<
|
757
|
-
Informs Pango that the way that the rendering is done
|
758
|
-
for <em class="parameter"><code>part</code></em>
|
730
|
+
<a name="pango-renderer-part-changed"></a><h3>pango_renderer_part_changed ()</h3>
|
731
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
732
|
+
pango_renderer_part_changed (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
733
|
+
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);</pre>
|
734
|
+
<p>Informs Pango that the way that the rendering is done
|
735
|
+
for <em class="parameter"><code>part</code></em>
|
736
|
+
has changed in a way that would prevent multiple
|
759
737
|
pieces being joined together into one drawing call. For
|
760
738
|
instance, if a subclass of <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> was to add a stipple
|
761
739
|
option for drawing underlines, it needs to call</p>
|
762
|
-
<p>
|
763
|
-
</p>
|
764
740
|
<div class="informalexample">
|
765
741
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
766
742
|
<tbody>
|
767
743
|
<tr>
|
768
744
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
769
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="PangoRenderer.html#pango-renderer-part-changed">pango_renderer_part_changed</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">render</span><span class="symbol">,</span><span class="normal">
|
745
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="PangoRenderer.html#pango-renderer-part-changed">pango_renderer_part_changed</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">render</span><span class="symbol">,</span><span class="normal"> PANGO_RENDER_PART_UNDERLINE</span><span class="symbol">);</span></pre></td>
|
770
746
|
</tr>
|
771
747
|
</tbody>
|
772
748
|
</table>
|
773
749
|
</div>
|
774
750
|
|
775
|
-
<p>
|
776
|
-
When the stipple changes or underlines with different stipples
|
751
|
+
<p>When the stipple changes or underlines with different stipples
|
777
752
|
might be joined together. Pango automatically calls this for
|
778
|
-
changes to colors. (See <a class="link" href="PangoRenderer.html#pango-renderer-set-color" title="pango_renderer_set_color
|
779
|
-
<div class="
|
753
|
+
changes to colors. (See <a class="link" href="PangoRenderer.html#pango-renderer-set-color" title="pango_renderer_set_color ()"><code class="function">pango_renderer_set_color()</code></a>)</p>
|
754
|
+
<div class="refsect3">
|
755
|
+
<a name="id-1.4.2.7.13.7"></a><h4>Parameters</h4>
|
756
|
+
<div class="informaltable"><table width="100%" border="0">
|
780
757
|
<colgroup>
|
781
|
-
<col
|
782
|
-
<col>
|
758
|
+
<col width="150px" class="parameters_name">
|
759
|
+
<col class="parameters_description">
|
760
|
+
<col width="200px" class="parameters_annotations">
|
783
761
|
</colgroup>
|
784
762
|
<tbody>
|
785
763
|
<tr>
|
786
|
-
<td
|
787
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
788
|
-
</td>
|
764
|
+
<td class="parameter_name"><p>renderer</p></td>
|
765
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
766
|
+
<td class="parameter_annotations"> </td>
|
789
767
|
</tr>
|
790
768
|
<tr>
|
791
|
-
<td
|
792
|
-
<td>the part for which rendering has changed.</td>
|
769
|
+
<td class="parameter_name"><p>part</p></td>
|
770
|
+
<td class="parameter_description"><p>the part for which rendering has changed.</p></td>
|
771
|
+
<td class="parameter_annotations"> </td>
|
793
772
|
</tr>
|
794
773
|
</tbody>
|
795
774
|
</table></div>
|
775
|
+
</div>
|
796
776
|
<p class="since">Since 1.8</p>
|
797
777
|
</div>
|
798
778
|
<hr>
|
799
779
|
<div class="refsect2">
|
800
|
-
<a name="pango-renderer-set-color"></a><h3>pango_renderer_set_color
|
801
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
802
|
-
|
803
|
-
|
804
|
-
<
|
805
|
-
Sets the color for part of the rendering.</p>
|
806
|
-
<div class="
|
780
|
+
<a name="pango-renderer-set-color"></a><h3>pango_renderer_set_color ()</h3>
|
781
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
782
|
+
pango_renderer_set_color (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
783
|
+
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
784
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
785
|
+
<p>Sets the color for part of the rendering.</p>
|
786
|
+
<div class="refsect3">
|
787
|
+
<a name="id-1.4.2.7.14.5"></a><h4>Parameters</h4>
|
788
|
+
<div class="informaltable"><table width="100%" border="0">
|
807
789
|
<colgroup>
|
808
|
-
<col
|
809
|
-
<col>
|
790
|
+
<col width="150px" class="parameters_name">
|
791
|
+
<col class="parameters_description">
|
792
|
+
<col width="200px" class="parameters_annotations">
|
810
793
|
</colgroup>
|
811
794
|
<tbody>
|
812
795
|
<tr>
|
813
|
-
<td
|
814
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
815
|
-
</td>
|
796
|
+
<td class="parameter_name"><p>renderer</p></td>
|
797
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
798
|
+
<td class="parameter_annotations"> </td>
|
816
799
|
</tr>
|
817
800
|
<tr>
|
818
|
-
<td
|
819
|
-
<td>the part to change the color of</td>
|
801
|
+
<td class="parameter_name"><p>part</p></td>
|
802
|
+
<td class="parameter_description"><p>the part to change the color of</p></td>
|
803
|
+
<td class="parameter_annotations"> </td>
|
820
804
|
</tr>
|
821
805
|
<tr>
|
822
|
-
<td
|
823
|
-
<td>the new color or <a href="
|
824
|
-
</td>
|
806
|
+
<td class="parameter_name"><p>color</p></td>
|
807
|
+
<td class="parameter_description"><p> the new color or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the current color. </p></td>
|
808
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
825
809
|
</tr>
|
826
810
|
</tbody>
|
827
811
|
</table></div>
|
812
|
+
</div>
|
828
813
|
<p class="since">Since 1.8</p>
|
829
814
|
</div>
|
830
815
|
<hr>
|
831
816
|
<div class="refsect2">
|
832
|
-
<a name="pango-renderer-get-color"></a><h3>pango_renderer_get_color
|
833
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a>
|
834
|
-
|
835
|
-
<
|
836
|
-
Gets the current rendering color for the specified part.</p>
|
837
|
-
<div class="
|
817
|
+
<a name="pango-renderer-get-color"></a><h3>pango_renderer_get_color ()</h3>
|
818
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="returnvalue">PangoColor</span></a> *
|
819
|
+
pango_renderer_get_color (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
820
|
+
<em class="parameter"><code><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);</pre>
|
821
|
+
<p>Gets the current rendering color for the specified part.</p>
|
822
|
+
<div class="refsect3">
|
823
|
+
<a name="id-1.4.2.7.15.5"></a><h4>Parameters</h4>
|
824
|
+
<div class="informaltable"><table width="100%" border="0">
|
838
825
|
<colgroup>
|
839
|
-
<col
|
840
|
-
<col>
|
826
|
+
<col width="150px" class="parameters_name">
|
827
|
+
<col class="parameters_description">
|
828
|
+
<col width="200px" class="parameters_annotations">
|
841
829
|
</colgroup>
|
842
830
|
<tbody>
|
843
831
|
<tr>
|
844
|
-
<td
|
845
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
846
|
-
</td>
|
847
|
-
</tr>
|
848
|
-
<tr>
|
849
|
-
<td><p><span class="term"><em class="parameter"><code>part</code></em> :</span></p></td>
|
850
|
-
<td>the part to get the color for</td>
|
832
|
+
<td class="parameter_name"><p>renderer</p></td>
|
833
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
834
|
+
<td class="parameter_annotations"> </td>
|
851
835
|
</tr>
|
852
836
|
<tr>
|
853
|
-
<td
|
854
|
-
<td>the
|
855
|
-
|
856
|
-
environment.</td>
|
837
|
+
<td class="parameter_name"><p>part</p></td>
|
838
|
+
<td class="parameter_description"><p>the part to get the color for</p></td>
|
839
|
+
<td class="parameter_annotations"> </td>
|
857
840
|
</tr>
|
858
841
|
</tbody>
|
859
842
|
</table></div>
|
843
|
+
</div>
|
844
|
+
<div class="refsect3">
|
845
|
+
<a name="id-1.4.2.7.15.6"></a><h4>Returns</h4>
|
846
|
+
<p> the color for the specified part, or
|
847
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it hasn't been set and should be inherited from the
|
848
|
+
environment. </p>
|
849
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
850
|
+
</div>
|
860
851
|
<p class="since">Since 1.8</p>
|
861
852
|
</div>
|
862
853
|
<hr>
|
863
854
|
<div class="refsect2">
|
864
|
-
<a name="pango-renderer-set-matrix"></a><h3>pango_renderer_set_matrix
|
865
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
866
|
-
|
867
|
-
<
|
868
|
-
Sets the transformation matrix that will be applied when rendering.</p>
|
869
|
-
<div class="
|
855
|
+
<a name="pango-renderer-set-matrix"></a><h3>pango_renderer_set_matrix ()</h3>
|
856
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
857
|
+
pango_renderer_set_matrix (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
858
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
859
|
+
<p>Sets the transformation matrix that will be applied when rendering.</p>
|
860
|
+
<div class="refsect3">
|
861
|
+
<a name="id-1.4.2.7.16.5"></a><h4>Parameters</h4>
|
862
|
+
<div class="informaltable"><table width="100%" border="0">
|
870
863
|
<colgroup>
|
871
|
-
<col
|
872
|
-
<col>
|
864
|
+
<col width="150px" class="parameters_name">
|
865
|
+
<col class="parameters_description">
|
866
|
+
<col width="200px" class="parameters_annotations">
|
873
867
|
</colgroup>
|
874
868
|
<tbody>
|
875
869
|
<tr>
|
876
|
-
<td
|
877
|
-
<td>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>
|
878
|
-
</td>
|
870
|
+
<td class="parameter_name"><p>renderer</p></td>
|
871
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
872
|
+
<td class="parameter_annotations"> </td>
|
879
873
|
</tr>
|
880
874
|
<tr>
|
881
|
-
<td
|
882
|
-
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="
|
883
|
-
(No matrix set is the same as setting the identity matrix.).
|
884
|
-
</td>
|
875
|
+
<td class="parameter_name"><p>matrix</p></td>
|
876
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any existing matrix.
|
877
|
+
(No matrix set is the same as setting the identity matrix.). </p></td>
|
878
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
885
879
|
</tr>
|
886
880
|
</tbody>
|
887
881
|
</table></div>
|
882
|
+
</div>
|
888
883
|
<p class="since">Since 1.8</p>
|
889
884
|
</div>
|
890
885
|
<hr>
|
891
886
|
<div class="refsect2">
|
892
|
-
<a name="pango-renderer-get-matrix"></a><h3>pango_renderer_get_matrix
|
893
|
-
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a>
|
894
|
-
<
|
895
|
-
Gets the transformation matrix that will be applied when
|
896
|
-
rendering. See <a class="link" href="PangoRenderer.html#pango-renderer-set-matrix" title="pango_renderer_set_matrix
|
897
|
-
<div class="
|
887
|
+
<a name="pango-renderer-get-matrix"></a><h3>pango_renderer_get_matrix ()</h3>
|
888
|
+
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> *
|
889
|
+
pango_renderer_get_matrix (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
890
|
+
<p>Gets the transformation matrix that will be applied when
|
891
|
+
rendering. See <a class="link" href="PangoRenderer.html#pango-renderer-set-matrix" title="pango_renderer_set_matrix ()"><code class="function">pango_renderer_set_matrix()</code></a>.</p>
|
892
|
+
<div class="refsect3">
|
893
|
+
<a name="id-1.4.2.7.17.5"></a><h4>Parameters</h4>
|
894
|
+
<div class="informaltable"><table width="100%" border="0">
|
898
895
|
<colgroup>
|
899
|
-
<col
|
900
|
-
<col>
|
896
|
+
<col width="150px" class="parameters_name">
|
897
|
+
<col class="parameters_description">
|
898
|
+
<col width="200px" class="parameters_annotations">
|
901
899
|
</colgroup>
|
902
|
-
<tbody>
|
903
|
-
<
|
904
|
-
<td><p
|
905
|
-
<td
|
906
|
-
</
|
907
|
-
</
|
908
|
-
|
909
|
-
<
|
910
|
-
<
|
900
|
+
<tbody><tr>
|
901
|
+
<td class="parameter_name"><p>renderer</p></td>
|
902
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
903
|
+
<td class="parameter_annotations"> </td>
|
904
|
+
</tr></tbody>
|
905
|
+
</table></div>
|
906
|
+
</div>
|
907
|
+
<div class="refsect3">
|
908
|
+
<a name="id-1.4.2.7.17.6"></a><h4>Returns</h4>
|
909
|
+
<p> the matrix, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matrix has been set
|
911
910
|
(which is the same as the identity matrix). The returned
|
912
911
|
matrix is owned by Pango and must not be modified or
|
913
|
-
freed.</
|
914
|
-
|
915
|
-
</
|
916
|
-
</table></div>
|
912
|
+
freed.</p>
|
913
|
+
<p></p>
|
914
|
+
</div>
|
917
915
|
<p class="since">Since 1.8</p>
|
918
916
|
</div>
|
919
917
|
<hr>
|
920
918
|
<div class="refsect2">
|
921
|
-
<a name="pango-renderer-get-layout"></a><h3>pango_renderer_get_layout
|
922
|
-
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a>
|
923
|
-
<
|
924
|
-
Gets the layout currently being rendered using <em class="parameter"><code>renderer</code></em
|
919
|
+
<a name="pango-renderer-get-layout"></a><h3>pango_renderer_get_layout ()</h3>
|
920
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
|
921
|
+
pango_renderer_get_layout (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
922
|
+
<p>Gets the layout currently being rendered using <em class="parameter"><code>renderer</code></em>
|
923
|
+
.
|
924
|
+
Calling this function only makes sense from inside a subclass's
|
925
|
+
methods, like in its draw_shape() for example.</p>
|
926
|
+
<p>The returned layout should not be modified while still being
|
927
|
+
rendered.</p>
|
928
|
+
<div class="refsect3">
|
929
|
+
<a name="id-1.4.2.7.18.6"></a><h4>Parameters</h4>
|
930
|
+
<div class="informaltable"><table width="100%" border="0">
|
931
|
+
<colgroup>
|
932
|
+
<col width="150px" class="parameters_name">
|
933
|
+
<col class="parameters_description">
|
934
|
+
<col width="200px" class="parameters_annotations">
|
935
|
+
</colgroup>
|
936
|
+
<tbody><tr>
|
937
|
+
<td class="parameter_name"><p>renderer</p></td>
|
938
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
939
|
+
<td class="parameter_annotations"> </td>
|
940
|
+
</tr></tbody>
|
941
|
+
</table></div>
|
942
|
+
</div>
|
943
|
+
<div class="refsect3">
|
944
|
+
<a name="id-1.4.2.7.18.7"></a><h4>Returns</h4>
|
945
|
+
<p> the layout, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no layout is being
|
946
|
+
rendered using <em class="parameter"><code>renderer</code></em>
|
947
|
+
at this time. </p>
|
948
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
949
|
+
</div>
|
950
|
+
<p class="since">Since 1.20</p>
|
951
|
+
</div>
|
952
|
+
<hr>
|
953
|
+
<div class="refsect2">
|
954
|
+
<a name="pango-renderer-get-layout-line"></a><h3>pango_renderer_get_layout_line ()</h3>
|
955
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
|
956
|
+
pango_renderer_get_layout_line (<em class="parameter"><code><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
957
|
+
<p>Gets the layout line currently being rendered using <em class="parameter"><code>renderer</code></em>
|
958
|
+
.
|
925
959
|
Calling this function only makes sense from inside a subclass's
|
926
960
|
methods, like in its draw_shape() for example.</p>
|
927
|
-
<p>
|
928
|
-
The returned layout should not be modified while still being
|
961
|
+
<p>The returned layout line should not be modified while still being
|
929
962
|
rendered.</p>
|
930
|
-
<div class="
|
963
|
+
<div class="refsect3">
|
964
|
+
<a name="id-1.4.2.7.19.6"></a><h4>Parameters</h4>
|
965
|
+
<div class="informaltable"><table width="100%" border="0">
|
966
|
+
<colgroup>
|
967
|
+
<col width="150px" class="parameters_name">
|
968
|
+
<col class="parameters_description">
|
969
|
+
<col width="200px" class="parameters_annotations">
|
970
|
+
</colgroup>
|
971
|
+
<tbody><tr>
|
972
|
+
<td class="parameter_name"><p>renderer</p></td>
|
973
|
+
<td class="parameter_description"><p>a <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a></p></td>
|
974
|
+
<td class="parameter_annotations"> </td>
|
975
|
+
</tr></tbody>
|
976
|
+
</table></div>
|
977
|
+
</div>
|
978
|
+
<div class="refsect3">
|
979
|
+
<a name="id-1.4.2.7.19.7"></a><h4>Returns</h4>
|
980
|
+
<p> the layout line, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
981
|
+
layout line is being rendered using <em class="parameter"><code>renderer</code></em>
|
982
|
+
at this time. </p>
|
983
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
984
|
+
</div>
|
985
|
+
<p class="since">Since 1.20</p>
|
986
|
+
</div>
|
987
|
+
</div>
|
988
|
+
<div class="refsect1">
|
989
|
+
<a name="PangoRenderer.other_details"></a><h2>Types and Values</h2>
|
990
|
+
<div class="refsect2">
|
991
|
+
<a name="PangoRenderer-struct"></a><h3>struct PangoRenderer</h3>
|
992
|
+
<pre class="programlisting">struct PangoRenderer {
|
993
|
+
PangoMatrix *matrix; /* May be NULL */
|
994
|
+
};
|
995
|
+
</pre>
|
996
|
+
<p><a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a> is a base class for objects that are used to
|
997
|
+
render Pango objects such as <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> and
|
998
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
|
999
|
+
<div class="refsect3">
|
1000
|
+
<a name="id-1.4.2.8.2.5"></a><h4>Members</h4>
|
1001
|
+
<div class="informaltable"><table width="100%" border="0">
|
1002
|
+
<colgroup>
|
1003
|
+
<col width="300px" class="struct_members_name">
|
1004
|
+
<col class="struct_members_description">
|
1005
|
+
<col width="200px" class="struct_members_annotations">
|
1006
|
+
</colgroup>
|
1007
|
+
<tbody><tr>
|
1008
|
+
<td class="struct_member_name"><p><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *<em class="structfield"><code><a name="PangoRenderer-struct.matrix"></a>matrix</code></em>;</p></td>
|
1009
|
+
<td class="struct_member_description"><p>the current transformation matrix for the Renderer; may
|
1010
|
+
be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, which should be treated the same as the identity matrix.</p></td>
|
1011
|
+
<td class="struct_member_annotations"> </td>
|
1012
|
+
</tr></tbody>
|
1013
|
+
</table></div>
|
1014
|
+
</div>
|
1015
|
+
<p class="since">Since 1.8</p>
|
1016
|
+
</div>
|
1017
|
+
<hr>
|
1018
|
+
<div class="refsect2">
|
1019
|
+
<a name="PangoRenderPart"></a><h3>enum PangoRenderPart</h3>
|
1020
|
+
<p><a class="link" href="PangoRenderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> defines different items to render for such
|
1021
|
+
purposes as setting colors.</p>
|
1022
|
+
<div class="refsect3">
|
1023
|
+
<a name="id-1.4.2.8.3.4"></a><h4>Members</h4>
|
1024
|
+
<div class="informaltable"><table width="100%" border="0">
|
931
1025
|
<colgroup>
|
932
|
-
<col
|
933
|
-
<col>
|
1026
|
+
<col width="300px" class="enum_members_name">
|
1027
|
+
<col class="enum_members_description">
|
1028
|
+
<col width="200px" class="enum_members_annotations">
|
934
1029
|
</colgroup>
|
935
1030
|
<tbody>
|
936
1031
|
<tr>
|
937
|
-
<td
|
938
|
-
<td
|
1032
|
+
<td class="enum_member_name"><p><a name="PANGO-RENDER-PART-FOREGROUND:CAPS"></a>PANGO_RENDER_PART_FOREGROUND</p></td>
|
1033
|
+
<td class="enum_member_description">
|
1034
|
+
<p>the text itself</p>
|
1035
|
+
</td>
|
1036
|
+
<td class="enum_member_annotations"> </td>
|
1037
|
+
</tr>
|
1038
|
+
<tr>
|
1039
|
+
<td class="enum_member_name"><p><a name="PANGO-RENDER-PART-BACKGROUND:CAPS"></a>PANGO_RENDER_PART_BACKGROUND</p></td>
|
1040
|
+
<td class="enum_member_description">
|
1041
|
+
<p>the area behind the text</p>
|
1042
|
+
</td>
|
1043
|
+
<td class="enum_member_annotations"> </td>
|
1044
|
+
</tr>
|
1045
|
+
<tr>
|
1046
|
+
<td class="enum_member_name"><p><a name="PANGO-RENDER-PART-UNDERLINE:CAPS"></a>PANGO_RENDER_PART_UNDERLINE</p></td>
|
1047
|
+
<td class="enum_member_description">
|
1048
|
+
<p>underlines</p>
|
939
1049
|
</td>
|
1050
|
+
<td class="enum_member_annotations"> </td>
|
940
1051
|
</tr>
|
941
1052
|
<tr>
|
942
|
-
<td
|
943
|
-
<td
|
944
|
-
|
1053
|
+
<td class="enum_member_name"><p><a name="PANGO-RENDER-PART-STRIKETHROUGH:CAPS"></a>PANGO_RENDER_PART_STRIKETHROUGH</p></td>
|
1054
|
+
<td class="enum_member_description">
|
1055
|
+
<p>strikethrough lines</p>
|
945
1056
|
</td>
|
1057
|
+
<td class="enum_member_annotations"> </td>
|
946
1058
|
</tr>
|
947
1059
|
</tbody>
|
948
1060
|
</table></div>
|
949
|
-
|
1061
|
+
</div>
|
1062
|
+
<p class="since">Since 1.8</p>
|
950
1063
|
</div>
|
951
1064
|
<hr>
|
952
1065
|
<div class="refsect2">
|
953
|
-
<a name="
|
954
|
-
<pre class="programlisting"
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
1066
|
+
<a name="PangoRendererClass"></a><h3>struct PangoRendererClass</h3>
|
1067
|
+
<pre class="programlisting">struct PangoRendererClass {
|
1068
|
+
/* All of the following have default implementations
|
1069
|
+
* and take as coordinates user coordinates in Pango units
|
1070
|
+
*/
|
1071
|
+
void (*draw_glyphs) (PangoRenderer *renderer,
|
1072
|
+
PangoFont *font,
|
1073
|
+
PangoGlyphString *glyphs,
|
1074
|
+
int x,
|
1075
|
+
int y);
|
1076
|
+
void (*draw_rectangle) (PangoRenderer *renderer,
|
1077
|
+
PangoRenderPart part,
|
1078
|
+
int x,
|
1079
|
+
int y,
|
1080
|
+
int width,
|
1081
|
+
int height);
|
1082
|
+
void (*draw_error_underline) (PangoRenderer *renderer,
|
1083
|
+
int x,
|
1084
|
+
int y,
|
1085
|
+
int width,
|
1086
|
+
int height);
|
1087
|
+
|
1088
|
+
/* Nothing is drawn for shaped glyphs unless this is implemented */
|
1089
|
+
void (*draw_shape) (PangoRenderer *renderer,
|
1090
|
+
PangoAttrShape *attr,
|
1091
|
+
int x,
|
1092
|
+
int y);
|
1093
|
+
|
1094
|
+
/* These two must be implemented and take coordinates in
|
1095
|
+
* device space as doubles.
|
1096
|
+
*/
|
1097
|
+
void (*draw_trapezoid) (PangoRenderer *renderer,
|
1098
|
+
PangoRenderPart part,
|
1099
|
+
double y1_,
|
1100
|
+
double x11,
|
1101
|
+
double x21,
|
1102
|
+
double y2,
|
1103
|
+
double x12,
|
1104
|
+
double x22);
|
1105
|
+
void (*draw_glyph) (PangoRenderer *renderer,
|
1106
|
+
PangoFont *font,
|
1107
|
+
PangoGlyph glyph,
|
1108
|
+
double x,
|
1109
|
+
double y);
|
1110
|
+
|
1111
|
+
/* Notification of change in rendering attributes
|
1112
|
+
*/
|
1113
|
+
void (*part_changed) (PangoRenderer *renderer,
|
1114
|
+
PangoRenderPart part);
|
1115
|
+
|
1116
|
+
/* Paired around drawing operations
|
1117
|
+
*/
|
1118
|
+
void (*begin) (PangoRenderer *renderer);
|
1119
|
+
void (*end) (PangoRenderer *renderer);
|
1120
|
+
|
1121
|
+
/* Hooks into the details of layout rendering
|
1122
|
+
*/
|
1123
|
+
void (*prepare_run) (PangoRenderer *renderer,
|
1124
|
+
PangoLayoutRun *run);
|
1125
|
+
|
1126
|
+
/* All of the following have default implementations
|
1127
|
+
* and take as coordinates user coordinates in Pango units
|
1128
|
+
*/
|
1129
|
+
void (*draw_glyph_item) (PangoRenderer *renderer,
|
1130
|
+
const char *text,
|
1131
|
+
PangoGlyphItem *glyph_item,
|
1132
|
+
int x,
|
1133
|
+
int y);
|
1134
|
+
};
|
1135
|
+
</pre>
|
1136
|
+
<p>Class structure for <a class="link" href="PangoRenderer.html" title="PangoRenderer"><span class="type">PangoRenderer</span></a>.</p>
|
1137
|
+
<div class="refsect3">
|
1138
|
+
<a name="id-1.4.2.8.4.5"></a><h4>Members</h4>
|
1139
|
+
<div class="informaltable"><table width="100%" border="0">
|
963
1140
|
<colgroup>
|
964
|
-
<col
|
965
|
-
<col>
|
1141
|
+
<col width="300px" class="struct_members_name">
|
1142
|
+
<col class="struct_members_description">
|
1143
|
+
<col width="200px" class="struct_members_annotations">
|
966
1144
|
</colgroup>
|
967
1145
|
<tbody>
|
968
1146
|
<tr>
|
969
|
-
<td
|
970
|
-
<td>a <a class="link" href="
|
971
|
-
</td>
|
1147
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-glyphs"></a>draw_glyphs</code></em> ()</p></td>
|
1148
|
+
<td class="struct_member_description"><p>draws a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a></p></td>
|
1149
|
+
<td class="struct_member_annotations"> </td>
|
972
1150
|
</tr>
|
973
1151
|
<tr>
|
974
|
-
<td><p><
|
975
|
-
<td
|
976
|
-
|
977
|
-
</
|
1152
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-rectangle"></a>draw_rectangle</code></em> ()</p></td>
|
1153
|
+
<td class="struct_member_description"><p>draws a rectangle</p></td>
|
1154
|
+
<td class="struct_member_annotations"> </td>
|
1155
|
+
</tr>
|
1156
|
+
<tr>
|
1157
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-error-underline"></a>draw_error_underline</code></em> ()</p></td>
|
1158
|
+
<td class="struct_member_description"><p>draws a squiggly line that approximately
|
1159
|
+
covers the given rectangle in the style of an underline used to
|
1160
|
+
indicate a spelling error.</p></td>
|
1161
|
+
<td class="struct_member_annotations"> </td>
|
1162
|
+
</tr>
|
1163
|
+
<tr>
|
1164
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-shape"></a>draw_shape</code></em> ()</p></td>
|
1165
|
+
<td class="struct_member_description"><p>draw content for a glyph shaped with <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a>.
|
1166
|
+
<em class="parameter"><code>x</code></em>
|
1167
|
+
, <em class="parameter"><code>y</code></em>
|
1168
|
+
are the coordinates of the left edge of the baseline,
|
1169
|
+
in user coordinates.</p></td>
|
1170
|
+
<td class="struct_member_annotations"> </td>
|
1171
|
+
</tr>
|
1172
|
+
<tr>
|
1173
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-trapezoid"></a>draw_trapezoid</code></em> ()</p></td>
|
1174
|
+
<td class="struct_member_description"><p>draws a trapezoidal filled area</p></td>
|
1175
|
+
<td class="struct_member_annotations"> </td>
|
1176
|
+
</tr>
|
1177
|
+
<tr>
|
1178
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-glyph"></a>draw_glyph</code></em> ()</p></td>
|
1179
|
+
<td class="struct_member_description"><p>draws a single glyph</p></td>
|
1180
|
+
<td class="struct_member_annotations"> </td>
|
1181
|
+
</tr>
|
1182
|
+
<tr>
|
1183
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.part-changed"></a>part_changed</code></em> ()</p></td>
|
1184
|
+
<td class="struct_member_description"><p>do renderer specific processing when rendering
|
1185
|
+
attributes change</p></td>
|
1186
|
+
<td class="struct_member_annotations"> </td>
|
1187
|
+
</tr>
|
1188
|
+
<tr>
|
1189
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.begin"></a>begin</code></em> ()</p></td>
|
1190
|
+
<td class="struct_member_description"><p>Do renderer-specific initialization before drawing</p></td>
|
1191
|
+
<td class="struct_member_annotations"> </td>
|
1192
|
+
</tr>
|
1193
|
+
<tr>
|
1194
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.end"></a>end</code></em> ()</p></td>
|
1195
|
+
<td class="struct_member_description"><p>Do renderer-specific cleanup after drawing</p></td>
|
1196
|
+
<td class="struct_member_annotations"> </td>
|
1197
|
+
</tr>
|
1198
|
+
<tr>
|
1199
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.prepare-run"></a>prepare_run</code></em> ()</p></td>
|
1200
|
+
<td class="struct_member_description"><p>updates the renderer for a new run</p></td>
|
1201
|
+
<td class="struct_member_annotations"> </td>
|
1202
|
+
</tr>
|
1203
|
+
<tr>
|
1204
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="PangoRendererClass.draw-glyph-item"></a>draw_glyph_item</code></em> ()</p></td>
|
1205
|
+
<td class="struct_member_description"><p>draws a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a></p></td>
|
1206
|
+
<td class="struct_member_annotations"> </td>
|
978
1207
|
</tr>
|
979
1208
|
</tbody>
|
980
1209
|
</table></div>
|
981
|
-
|
1210
|
+
</div>
|
1211
|
+
<p class="since">Since 1.8</p>
|
982
1212
|
</div>
|
983
1213
|
</div>
|
984
1214
|
</div>
|
985
1215
|
<div class="footer">
|
986
1216
|
<hr>
|
987
|
-
Generated by GTK-Doc V1.
|
1217
|
+
Generated by GTK-Doc V1.21.1</div>
|
988
1218
|
</body>
|
989
1219
|
</html>
|