pango 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (530) hide show
  1. checksums.yaml +7 -0
  2. data/README +33 -0
  3. data/Rakefile +65 -0
  4. data/ext/pango/depend +12 -0
  5. data/ext/pango/extconf.rb +90 -0
  6. data/ext/pango/pango.def +18 -0
  7. data/ext/pango/rbpango.c +318 -0
  8. data/ext/pango/rbpango.h +96 -0
  9. data/ext/pango/rbpangoanalysis.c +218 -0
  10. data/ext/pango/rbpangoattribute.c +499 -0
  11. data/ext/pango/rbpangoattriterator.c +141 -0
  12. data/ext/pango/rbpangoattrlist.c +101 -0
  13. data/ext/pango/rbpangocairo.c +122 -0
  14. data/ext/pango/rbpangocairocontext.c +131 -0
  15. data/ext/pango/rbpangocolor.c +120 -0
  16. data/ext/pango/rbpangocontext.c +309 -0
  17. data/ext/pango/rbpangoconversions.h +111 -0
  18. data/ext/pango/rbpangocoverage.c +106 -0
  19. data/ext/pango/rbpangoengine.c +73 -0
  20. data/ext/pango/rbpangofont.c +110 -0
  21. data/ext/pango/rbpangofontdescription.c +282 -0
  22. data/ext/pango/rbpangofontface.c +73 -0
  23. data/ext/pango/rbpangofontfamily.c +79 -0
  24. data/ext/pango/rbpangofontmap.c +102 -0
  25. data/ext/pango/rbpangofontmetrics.c +85 -0
  26. data/ext/pango/rbpangofontset.c +69 -0
  27. data/ext/pango/rbpangofontsetsimple.c +60 -0
  28. data/ext/pango/rbpangoglyphinfo.c +123 -0
  29. data/ext/pango/rbpangoglyphitem.c +125 -0
  30. data/ext/pango/rbpangoglyphstring.c +151 -0
  31. data/ext/pango/rbpangogravity.c +54 -0
  32. data/ext/pango/rbpangoitem.c +95 -0
  33. data/ext/pango/rbpangolanguage.c +86 -0
  34. data/ext/pango/rbpangolayout.c +572 -0
  35. data/ext/pango/rbpangolayoutiter.c +189 -0
  36. data/ext/pango/rbpangolayoutline.c +239 -0
  37. data/ext/pango/rbpangologattr.c +109 -0
  38. data/ext/pango/rbpangomatrix.c +143 -0
  39. data/ext/pango/rbpangoprivate.h +49 -0
  40. data/ext/pango/rbpangorectangle.c +170 -0
  41. data/ext/pango/rbpangorenderer.c +193 -0
  42. data/ext/pango/rbpangoscript.c +84 -0
  43. data/ext/pango/rbpangoscriptiter.c +92 -0
  44. data/ext/pango/rbpangotabarray.c +128 -0
  45. data/extconf.rb +49 -0
  46. data/lib/2.0/pango.so +0 -0
  47. data/lib/2.1/pango.so +0 -0
  48. data/lib/2.2/pango.so +0 -0
  49. data/lib/pango.rb +79 -0
  50. data/sample/attribute.rb +82 -0
  51. data/sample/break.rb +28 -0
  52. data/sample/gdk_layout.rb +27 -0
  53. data/sample/glyphstring.rb +61 -0
  54. data/sample/item.rb +37 -0
  55. data/sample/label.rb +23 -0
  56. data/sample/layout.rb +102 -0
  57. data/sample/pango_cairo.rb +66 -0
  58. data/sample/parse.rb +33 -0
  59. data/sample/sample.txt +10 -0
  60. data/sample/script.rb +23 -0
  61. data/test/pango-test-utils.rb +9 -0
  62. data/test/run-test.rb +28 -0
  63. data/test/test-analysis.rb +26 -0
  64. data/test/test-attribute.rb +19 -0
  65. data/test/test-color.rb +47 -0
  66. data/test/test-language.rb +7 -0
  67. data/test/test-layout.rb +34 -0
  68. data/test/test-log-attr.rb +26 -0
  69. data/test/test-matrix.rb +26 -0
  70. data/test/test-rectangle.rb +26 -0
  71. data/vendor/local/bin/derb.exe +0 -0
  72. data/vendor/local/bin/genbrk.exe +0 -0
  73. data/vendor/local/bin/genccode.exe +0 -0
  74. data/vendor/local/bin/gencfu.exe +0 -0
  75. data/vendor/local/bin/gencmn.exe +0 -0
  76. data/vendor/local/bin/gencnval.exe +0 -0
  77. data/vendor/local/bin/gendict.exe +0 -0
  78. data/vendor/local/bin/gennorm2.exe +0 -0
  79. data/vendor/local/bin/genrb.exe +0 -0
  80. data/vendor/local/bin/gensprep.exe +0 -0
  81. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  82. data/vendor/local/bin/hb-shape.exe +0 -0
  83. data/vendor/local/bin/hb-view.exe +0 -0
  84. data/vendor/local/bin/icu-config +820 -0
  85. data/vendor/local/bin/icuinfo.exe +0 -0
  86. data/vendor/local/bin/icupkg.exe +0 -0
  87. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  88. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  89. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  90. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  91. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  92. data/vendor/local/bin/makeconv.exe +0 -0
  93. data/vendor/local/bin/pango-querymodules.exe +0 -0
  94. data/vendor/local/bin/pango-view.exe +0 -0
  95. data/vendor/local/bin/pkgdata.exe +0 -0
  96. data/vendor/local/bin/uconv.exe +0 -0
  97. data/vendor/local/etc/pango/pango.modules +19 -0
  98. data/vendor/local/include/harfbuzz/hb-blob.h +126 -0
  99. data/vendor/local/include/harfbuzz/hb-buffer.h +344 -0
  100. data/vendor/local/include/harfbuzz/hb-common.h +344 -0
  101. data/vendor/local/include/harfbuzz/hb-deprecated.h +51 -0
  102. data/vendor/local/include/harfbuzz/hb-face.h +117 -0
  103. data/vendor/local/include/harfbuzz/hb-font.h +507 -0
  104. data/vendor/local/include/harfbuzz/hb-ft.h +62 -0
  105. data/vendor/local/include/harfbuzz/hb-glib.h +52 -0
  106. data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
  107. data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
  108. data/vendor/local/include/harfbuzz/hb-ot-layout.h +302 -0
  109. data/vendor/local/include/harfbuzz/hb-ot-shape.h +53 -0
  110. data/vendor/local/include/harfbuzz/hb-ot-tag.h +59 -0
  111. data/vendor/local/include/harfbuzz/hb-ot.h +43 -0
  112. data/vendor/local/include/harfbuzz/hb-set.h +154 -0
  113. data/vendor/local/include/harfbuzz/hb-shape-plan.h +89 -0
  114. data/vendor/local/include/harfbuzz/hb-shape.h +81 -0
  115. data/vendor/local/include/harfbuzz/hb-unicode.h +445 -0
  116. data/vendor/local/include/harfbuzz/hb-version.h +66 -0
  117. data/vendor/local/include/harfbuzz/hb.h +47 -0
  118. data/vendor/local/include/layout/LEFontInstance.h +550 -0
  119. data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
  120. data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
  121. data/vendor/local/include/layout/LEInsertionList.h +177 -0
  122. data/vendor/local/include/layout/LELanguages.h +112 -0
  123. data/vendor/local/include/layout/LEScripts.h +263 -0
  124. data/vendor/local/include/layout/LESwaps.h +100 -0
  125. data/vendor/local/include/layout/LETableReference.h +418 -0
  126. data/vendor/local/include/layout/LETypes.h +728 -0
  127. data/vendor/local/include/layout/LayoutEngine.h +518 -0
  128. data/vendor/local/include/layout/ParagraphLayout.h +747 -0
  129. data/vendor/local/include/layout/RunArrays.h +676 -0
  130. data/vendor/local/include/layout/loengine.h +225 -0
  131. data/vendor/local/include/layout/playout.h +466 -0
  132. data/vendor/local/include/layout/plruns.h +441 -0
  133. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +514 -0
  134. data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +136 -0
  135. data/vendor/local/include/pango-1.0/pango/pango-break.h +173 -0
  136. data/vendor/local/include/pango-1.0/pango/pango-context.h +112 -0
  137. data/vendor/local/include/pango-1.0/pango/pango-coverage.h +79 -0
  138. data/vendor/local/include/pango-1.0/pango/pango-engine.h +429 -0
  139. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +69 -0
  140. data/vendor/local/include/pango-1.0/pango/pango-features.h +12 -0
  141. data/vendor/local/include/pango-1.0/pango/pango-font.h +622 -0
  142. data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +167 -0
  143. data/vendor/local/include/pango-1.0/pango/pango-fontset.h +169 -0
  144. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +158 -0
  145. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +197 -0
  146. data/vendor/local/include/pango-1.0/pango/pango-gravity.h +128 -0
  147. data/vendor/local/include/pango-1.0/pango/pango-item.h +109 -0
  148. data/vendor/local/include/pango-1.0/pango/pango-language.h +61 -0
  149. data/vendor/local/include/pango-1.0/pango/pango-layout.h +340 -0
  150. data/vendor/local/include/pango-1.0/pango/pango-matrix.h +117 -0
  151. data/vendor/local/include/pango-1.0/pango/pango-modules.h +71 -0
  152. data/vendor/local/include/pango-1.0/pango/pango-ot.h +391 -0
  153. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +260 -0
  154. data/vendor/local/include/pango-1.0/pango/pango-script.h +260 -0
  155. data/vendor/local/include/pango-1.0/pango/pango-tabs.h +87 -0
  156. data/vendor/local/include/pango-1.0/pango/pango-types.h +200 -0
  157. data/vendor/local/include/pango-1.0/pango/pango-utils.h +189 -0
  158. data/vendor/local/include/pango-1.0/pango/pango.h +48 -0
  159. data/vendor/local/include/pango-1.0/pango/pangocairo.h +169 -0
  160. data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +110 -0
  161. data/vendor/local/include/pango-1.0/pango/pangofc-font.h +153 -0
  162. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +289 -0
  163. data/vendor/local/include/pango-1.0/pango/pangoft2.h +133 -0
  164. data/vendor/local/include/pango-1.0/pango/pangowin32.h +128 -0
  165. data/vendor/local/include/unicode/alphaindex.h +752 -0
  166. data/vendor/local/include/unicode/appendable.h +232 -0
  167. data/vendor/local/include/unicode/basictz.h +214 -0
  168. data/vendor/local/include/unicode/brkiter.h +655 -0
  169. data/vendor/local/include/unicode/bytestream.h +257 -0
  170. data/vendor/local/include/unicode/bytestrie.h +519 -0
  171. data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
  172. data/vendor/local/include/unicode/calendar.h +2519 -0
  173. data/vendor/local/include/unicode/caniter.h +208 -0
  174. data/vendor/local/include/unicode/chariter.h +722 -0
  175. data/vendor/local/include/unicode/choicfmt.h +594 -0
  176. data/vendor/local/include/unicode/coleitr.h +404 -0
  177. data/vendor/local/include/unicode/coll.h +1267 -0
  178. data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
  179. data/vendor/local/include/unicode/curramt.h +130 -0
  180. data/vendor/local/include/unicode/currpinf.h +258 -0
  181. data/vendor/local/include/unicode/currunit.h +110 -0
  182. data/vendor/local/include/unicode/datefmt.h +883 -0
  183. data/vendor/local/include/unicode/dbbi.h +40 -0
  184. data/vendor/local/include/unicode/dcfmtsym.h +482 -0
  185. data/vendor/local/include/unicode/decimfmt.h +2479 -0
  186. data/vendor/local/include/unicode/docmain.h +215 -0
  187. data/vendor/local/include/unicode/dtfmtsym.h +912 -0
  188. data/vendor/local/include/unicode/dtintrv.h +158 -0
  189. data/vendor/local/include/unicode/dtitvfmt.h +985 -0
  190. data/vendor/local/include/unicode/dtitvinf.h +514 -0
  191. data/vendor/local/include/unicode/dtptngen.h +498 -0
  192. data/vendor/local/include/unicode/dtrule.h +250 -0
  193. data/vendor/local/include/unicode/enumset.h +64 -0
  194. data/vendor/local/include/unicode/errorcode.h +137 -0
  195. data/vendor/local/include/unicode/fieldpos.h +291 -0
  196. data/vendor/local/include/unicode/filteredbrk.h +131 -0
  197. data/vendor/local/include/unicode/fmtable.h +760 -0
  198. data/vendor/local/include/unicode/format.h +305 -0
  199. data/vendor/local/include/unicode/fpositer.h +117 -0
  200. data/vendor/local/include/unicode/gender.h +111 -0
  201. data/vendor/local/include/unicode/gregocal.h +777 -0
  202. data/vendor/local/include/unicode/icudataver.h +41 -0
  203. data/vendor/local/include/unicode/icuplug.h +371 -0
  204. data/vendor/local/include/unicode/idna.h +323 -0
  205. data/vendor/local/include/unicode/listformatter.h +167 -0
  206. data/vendor/local/include/unicode/localpointer.h +304 -0
  207. data/vendor/local/include/unicode/locdspnm.h +204 -0
  208. data/vendor/local/include/unicode/locid.h +815 -0
  209. data/vendor/local/include/unicode/measfmt.h +389 -0
  210. data/vendor/local/include/unicode/measunit.h +1443 -0
  211. data/vendor/local/include/unicode/measure.h +159 -0
  212. data/vendor/local/include/unicode/messagepattern.h +943 -0
  213. data/vendor/local/include/unicode/msgfmt.h +1093 -0
  214. data/vendor/local/include/unicode/normalizer2.h +658 -0
  215. data/vendor/local/include/unicode/normlzr.h +797 -0
  216. data/vendor/local/include/unicode/numfmt.h +1187 -0
  217. data/vendor/local/include/unicode/numsys.h +208 -0
  218. data/vendor/local/include/unicode/parseerr.h +92 -0
  219. data/vendor/local/include/unicode/parsepos.h +230 -0
  220. data/vendor/local/include/unicode/platform.h +751 -0
  221. data/vendor/local/include/unicode/plurfmt.h +615 -0
  222. data/vendor/local/include/unicode/plurrule.h +501 -0
  223. data/vendor/local/include/unicode/ptypes.h +126 -0
  224. data/vendor/local/include/unicode/putil.h +181 -0
  225. data/vendor/local/include/unicode/rbbi.h +782 -0
  226. data/vendor/local/include/unicode/rbnf.h +1032 -0
  227. data/vendor/local/include/unicode/rbtz.h +362 -0
  228. data/vendor/local/include/unicode/regex.h +1857 -0
  229. data/vendor/local/include/unicode/region.h +228 -0
  230. data/vendor/local/include/unicode/reldatefmt.h +498 -0
  231. data/vendor/local/include/unicode/rep.h +261 -0
  232. data/vendor/local/include/unicode/resbund.h +490 -0
  233. data/vendor/local/include/unicode/schriter.h +187 -0
  234. data/vendor/local/include/unicode/scientificformathelper.h +139 -0
  235. data/vendor/local/include/unicode/search.h +575 -0
  236. data/vendor/local/include/unicode/selfmt.h +367 -0
  237. data/vendor/local/include/unicode/simpletz.h +928 -0
  238. data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
  239. data/vendor/local/include/unicode/sortkey.h +338 -0
  240. data/vendor/local/include/unicode/std_string.h +37 -0
  241. data/vendor/local/include/unicode/strenum.h +276 -0
  242. data/vendor/local/include/unicode/stringpiece.h +224 -0
  243. data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
  244. data/vendor/local/include/unicode/stsearch.h +504 -0
  245. data/vendor/local/include/unicode/symtable.h +112 -0
  246. data/vendor/local/include/unicode/tblcoll.h +873 -0
  247. data/vendor/local/include/unicode/timezone.h +948 -0
  248. data/vendor/local/include/unicode/tmunit.h +129 -0
  249. data/vendor/local/include/unicode/tmutamt.h +168 -0
  250. data/vendor/local/include/unicode/tmutfmt.h +243 -0
  251. data/vendor/local/include/unicode/translit.h +1342 -0
  252. data/vendor/local/include/unicode/tzfmt.h +1098 -0
  253. data/vendor/local/include/unicode/tznames.h +404 -0
  254. data/vendor/local/include/unicode/tzrule.h +828 -0
  255. data/vendor/local/include/unicode/tztrans.h +195 -0
  256. data/vendor/local/include/unicode/ubidi.h +2186 -0
  257. data/vendor/local/include/unicode/ubrk.h +540 -0
  258. data/vendor/local/include/unicode/ucal.h +1560 -0
  259. data/vendor/local/include/unicode/ucasemap.h +423 -0
  260. data/vendor/local/include/unicode/ucat.h +158 -0
  261. data/vendor/local/include/unicode/uchar.h +3426 -0
  262. data/vendor/local/include/unicode/ucharstrie.h +576 -0
  263. data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
  264. data/vendor/local/include/unicode/uchriter.h +381 -0
  265. data/vendor/local/include/unicode/uclean.h +258 -0
  266. data/vendor/local/include/unicode/ucnv.h +2036 -0
  267. data/vendor/local/include/unicode/ucnv_cb.h +162 -0
  268. data/vendor/local/include/unicode/ucnv_err.h +463 -0
  269. data/vendor/local/include/unicode/ucnvsel.h +187 -0
  270. data/vendor/local/include/unicode/ucol.h +1474 -0
  271. data/vendor/local/include/unicode/ucoleitr.h +266 -0
  272. data/vendor/local/include/unicode/uconfig.h +430 -0
  273. data/vendor/local/include/unicode/ucsdet.h +413 -0
  274. data/vendor/local/include/unicode/ucurr.h +424 -0
  275. data/vendor/local/include/unicode/udat.h +1536 -0
  276. data/vendor/local/include/unicode/udata.h +430 -0
  277. data/vendor/local/include/unicode/udateintervalformat.h +181 -0
  278. data/vendor/local/include/unicode/udatpg.h +588 -0
  279. data/vendor/local/include/unicode/udisplaycontext.h +150 -0
  280. data/vendor/local/include/unicode/uenum.h +206 -0
  281. data/vendor/local/include/unicode/uformattable.h +280 -0
  282. data/vendor/local/include/unicode/ugender.h +82 -0
  283. data/vendor/local/include/unicode/uidna.h +762 -0
  284. data/vendor/local/include/unicode/uiter.h +707 -0
  285. data/vendor/local/include/unicode/uldnames.h +302 -0
  286. data/vendor/local/include/unicode/uloc.h +1256 -0
  287. data/vendor/local/include/unicode/ulocdata.h +277 -0
  288. data/vendor/local/include/unicode/umachine.h +356 -0
  289. data/vendor/local/include/unicode/umisc.h +60 -0
  290. data/vendor/local/include/unicode/umsg.h +623 -0
  291. data/vendor/local/include/unicode/unifilt.h +120 -0
  292. data/vendor/local/include/unicode/unifunct.h +125 -0
  293. data/vendor/local/include/unicode/unimatch.h +163 -0
  294. data/vendor/local/include/unicode/unirepl.h +97 -0
  295. data/vendor/local/include/unicode/uniset.h +1691 -0
  296. data/vendor/local/include/unicode/unistr.h +4470 -0
  297. data/vendor/local/include/unicode/unorm.h +561 -0
  298. data/vendor/local/include/unicode/unorm2.h +528 -0
  299. data/vendor/local/include/unicode/unum.h +1328 -0
  300. data/vendor/local/include/unicode/unumsys.h +170 -0
  301. data/vendor/local/include/unicode/uobject.h +320 -0
  302. data/vendor/local/include/unicode/upluralrules.h +145 -0
  303. data/vendor/local/include/unicode/uregex.h +1591 -0
  304. data/vendor/local/include/unicode/uregion.h +248 -0
  305. data/vendor/local/include/unicode/urename.h +1784 -0
  306. data/vendor/local/include/unicode/urep.h +155 -0
  307. data/vendor/local/include/unicode/ures.h +887 -0
  308. data/vendor/local/include/unicode/uscript.h +642 -0
  309. data/vendor/local/include/unicode/usearch.h +885 -0
  310. data/vendor/local/include/unicode/uset.h +1126 -0
  311. data/vendor/local/include/unicode/usetiter.h +318 -0
  312. data/vendor/local/include/unicode/ushape.h +474 -0
  313. data/vendor/local/include/unicode/uspoof.h +1064 -0
  314. data/vendor/local/include/unicode/usprep.h +269 -0
  315. data/vendor/local/include/unicode/ustdio.h +1018 -0
  316. data/vendor/local/include/unicode/ustream.h +68 -0
  317. data/vendor/local/include/unicode/ustring.h +1700 -0
  318. data/vendor/local/include/unicode/ustringtrie.h +95 -0
  319. data/vendor/local/include/unicode/utext.h +1600 -0
  320. data/vendor/local/include/unicode/utf.h +223 -0
  321. data/vendor/local/include/unicode/utf16.h +623 -0
  322. data/vendor/local/include/unicode/utf32.h +23 -0
  323. data/vendor/local/include/unicode/utf8.h +824 -0
  324. data/vendor/local/include/unicode/utf_old.h +1169 -0
  325. data/vendor/local/include/unicode/utmscale.h +481 -0
  326. data/vendor/local/include/unicode/utrace.h +359 -0
  327. data/vendor/local/include/unicode/utrans.h +658 -0
  328. data/vendor/local/include/unicode/utypes.h +723 -0
  329. data/vendor/local/include/unicode/uvernum.h +170 -0
  330. data/vendor/local/include/unicode/uversion.h +193 -0
  331. data/vendor/local/include/unicode/vtzone.h +455 -0
  332. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  333. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  334. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  335. data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
  336. data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
  337. data/vendor/local/lib/icu/Makefile.inc +293 -0
  338. data/vendor/local/lib/icu/pkgdata.inc +17 -0
  339. data/vendor/local/lib/icudt.dll +0 -0
  340. data/vendor/local/lib/icudt54.dll +0 -0
  341. data/vendor/local/lib/icuin.dll +0 -0
  342. data/vendor/local/lib/icuin54.dll +0 -0
  343. data/vendor/local/lib/icuio.dll +0 -0
  344. data/vendor/local/lib/icuio54.dll +0 -0
  345. data/vendor/local/lib/icule.dll +0 -0
  346. data/vendor/local/lib/icule54.dll +0 -0
  347. data/vendor/local/lib/iculx.dll +0 -0
  348. data/vendor/local/lib/iculx54.dll +0 -0
  349. data/vendor/local/lib/icutest.dll +0 -0
  350. data/vendor/local/lib/icutest54.dll +0 -0
  351. data/vendor/local/lib/icutu.dll +0 -0
  352. data/vendor/local/lib/icutu54.dll +0 -0
  353. data/vendor/local/lib/icuuc.dll +0 -0
  354. data/vendor/local/lib/icuuc54.dll +0 -0
  355. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  356. data/vendor/local/lib/libharfbuzz-icu.la +41 -0
  357. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  358. data/vendor/local/lib/libharfbuzz.la +41 -0
  359. data/vendor/local/lib/libicudt.dll.a +0 -0
  360. data/vendor/local/lib/libicuin.dll.a +0 -0
  361. data/vendor/local/lib/libicuio.dll.a +0 -0
  362. data/vendor/local/lib/libicule.dll.a +0 -0
  363. data/vendor/local/lib/libiculx.dll.a +0 -0
  364. data/vendor/local/lib/libicutest.dll.a +0 -0
  365. data/vendor/local/lib/libicutu.dll.a +0 -0
  366. data/vendor/local/lib/libicuuc.dll.a +0 -0
  367. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  368. data/vendor/local/lib/libpango-1.0.la +41 -0
  369. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  370. data/vendor/local/lib/libpangocairo-1.0.la +41 -0
  371. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  372. data/vendor/local/lib/libpangoft2-1.0.la +41 -0
  373. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  374. data/vendor/local/lib/libpangowin32-1.0.la +41 -0
  375. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  376. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  377. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
  378. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  379. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  380. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +41 -0
  381. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  382. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  383. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
  384. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  385. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  386. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
  387. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
  388. data/vendor/local/lib/pkgconfig/harfbuzz.pc +11 -0
  389. data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
  390. data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
  391. data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
  392. data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
  393. data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
  394. data/vendor/local/lib/pkgconfig/pango.pc +14 -0
  395. data/vendor/local/lib/pkgconfig/pangocairo.pc +11 -0
  396. data/vendor/local/lib/pkgconfig/pangoft2.pc +12 -0
  397. data/vendor/local/lib/pkgconfig/pangowin32.pc +11 -0
  398. data/vendor/local/share/gir-1.0/Pango-1.0.gir +13329 -0
  399. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +833 -0
  400. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +354 -0
  401. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +75 -0
  402. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1449 -0
  403. data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
  404. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +46 -0
  405. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +610 -0
  406. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1780 -0
  407. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1337 -0
  408. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +144 -0
  409. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +99 -0
  410. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +630 -0
  411. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +2529 -0
  412. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +188 -0
  413. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +120 -0
  414. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +50 -0
  415. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +120 -0
  416. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +120 -0
  417. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +771 -0
  418. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +172 -0
  419. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +50 -0
  420. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +966 -0
  421. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +405 -0
  422. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +286 -0
  423. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1523 -0
  424. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +100 -0
  425. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +182 -0
  426. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +50 -0
  427. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +378 -0
  428. data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
  429. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
  430. data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +496 -0
  431. data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
  432. data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
  433. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +59 -0
  434. data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
  435. data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
  436. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +476 -0
  437. data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
  438. data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
  439. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +224 -0
  440. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +255 -0
  441. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +246 -0
  442. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +500 -0
  443. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +1001 -0
  444. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +301 -0
  445. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +1219 -0
  446. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +89 -0
  447. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +135 -0
  448. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +49 -0
  449. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +64 -0
  450. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +228 -0
  451. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +152 -0
  452. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +122 -0
  453. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +87 -0
  454. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +124 -0
  455. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +97 -0
  456. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +46 -0
  457. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +39 -0
  458. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +39 -0
  459. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +53 -0
  460. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +42 -0
  461. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +38 -0
  462. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +201 -0
  463. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +165 -0
  464. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +171 -0
  465. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +284 -0
  466. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2968 -0
  467. data/vendor/local/share/gtk-doc/html/pango/home.png +0 -0
  468. data/vendor/local/share/gtk-doc/html/pango/index.html +146 -0
  469. data/vendor/local/share/gtk-doc/html/pango/index.sgml +957 -0
  470. data/vendor/local/share/gtk-doc/html/pango/layout.gif +0 -0
  471. data/vendor/local/share/gtk-doc/html/pango/left-insensitive.png +0 -0
  472. data/vendor/local/share/gtk-doc/html/pango/left.png +0 -0
  473. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +68 -0
  474. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +514 -0
  475. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +1632 -0
  476. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +115 -0
  477. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +508 -0
  478. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +358 -0
  479. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +4154 -0
  480. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +956 -0
  481. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +2627 -0
  482. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +4153 -0
  483. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +965 -0
  484. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +331 -0
  485. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +2202 -0
  486. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1430 -0
  487. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +582 -0
  488. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +3356 -0
  489. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +2079 -0
  490. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +325 -0
  491. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +523 -0
  492. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +1028 -0
  493. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +1275 -0
  494. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +91 -0
  495. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +131 -0
  496. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +786 -0
  497. data/vendor/local/share/gtk-doc/html/pango/pango.html +63 -0
  498. data/vendor/local/share/gtk-doc/html/pango/rendering.html +47 -0
  499. data/vendor/local/share/gtk-doc/html/pango/right-insensitive.png +0 -0
  500. data/vendor/local/share/gtk-doc/html/pango/right.png +0 -0
  501. data/vendor/local/share/gtk-doc/html/pango/rotated-text.png +0 -0
  502. data/vendor/local/share/gtk-doc/html/pango/style.css +476 -0
  503. data/vendor/local/share/gtk-doc/html/pango/tools.html +33 -0
  504. data/vendor/local/share/gtk-doc/html/pango/up-insensitive.png +0 -0
  505. data/vendor/local/share/gtk-doc/html/pango/up.png +0 -0
  506. data/vendor/local/share/icu/54.1/config/mh-mingw64 +158 -0
  507. data/vendor/local/share/icu/54.1/install-sh +251 -0
  508. data/vendor/local/share/icu/54.1/license.html +385 -0
  509. data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
  510. data/vendor/local/share/license/harfbuzz/AUTHORS +9 -0
  511. data/vendor/local/share/license/harfbuzz/COPYING +36 -0
  512. data/vendor/local/share/license/pango/AUTHORS +2 -0
  513. data/vendor/local/share/license/pango/COPYING +482 -0
  514. data/vendor/local/share/man/man1/derb.1 +196 -0
  515. data/vendor/local/share/man/man1/genbrk.1 +112 -0
  516. data/vendor/local/share/man/man1/gencfu.1 +91 -0
  517. data/vendor/local/share/man/man1/gencnval.1 +91 -0
  518. data/vendor/local/share/man/man1/gendict.1 +131 -0
  519. data/vendor/local/share/man/man1/genrb.1 +146 -0
  520. data/vendor/local/share/man/man1/icu-config.1 +288 -0
  521. data/vendor/local/share/man/man1/makeconv.1 +112 -0
  522. data/vendor/local/share/man/man1/pango-querymodules.1 +106 -0
  523. data/vendor/local/share/man/man1/pango-view.1 +1 -0
  524. data/vendor/local/share/man/man1/pkgdata.1 +258 -0
  525. data/vendor/local/share/man/man1/uconv.1 +443 -0
  526. data/vendor/local/share/man/man8/genccode.8 +106 -0
  527. data/vendor/local/share/man/man8/gencmn.8 +129 -0
  528. data/vendor/local/share/man/man8/gensprep.8 +102 -0
  529. data/vendor/local/share/man/man8/icupkg.8 +204 -0
  530. metadata +599 -0
@@ -0,0 +1,4153 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Pango Reference Manual: Layout Objects</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="Pango Reference Manual">
8
+ <link rel="up" href="pango.html" title="Basic Pango Interfaces">
9
+ <link rel="prev" href="PangoMarkupFormat.html" title="Text Attribute Markup">
10
+ <link rel="next" href="pango-Scripts-and-Languages.html" title="Scripts and Languages">
11
+ <meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#pango-Layout-Objects.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#pango-Layout-Objects.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
+ </td>
21
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
+ <td><a accesskey="u" href="pango.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="PangoMarkupFormat.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="pango-Scripts-and-Languages.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
+ </tr></table>
26
+ <div class="refentry">
27
+ <a name="pango-Layout-Objects"></a><div class="titlepage"></div>
28
+ <div class="refnamediv"><table width="100%"><tr>
29
+ <td valign="top">
30
+ <h2><span class="refentrytitle"><a name="pango-Layout-Objects.top_of_page"></a>Layout Objects</span></h2>
31
+ <p>Layout Objects — High-level layout driver objects</p>
32
+ </td>
33
+ <td class="gallery_image" valign="top" align="right"></td>
34
+ </tr></table></div>
35
+ <div class="refsect1">
36
+ <a name="pango-Layout-Objects.functions"></a><h2>Functions</h2>
37
+ <div class="informaltable"><table width="100%" border="0">
38
+ <colgroup>
39
+ <col width="150px" class="functions_return">
40
+ <col class="functions_name">
41
+ </colgroup>
42
+ <tbody>
43
+ <tr>
44
+ <td class="function_type">
45
+ <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-new" title="pango_layout_new ()">pango_layout_new</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-copy" title="pango_layout_copy ()">pango_layout_copy</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-context" title="pango_layout_get_context ()">pango_layout_get_context</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <span class="returnvalue">void</span>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed ()">pango_layout_context_changed</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <td class="function_type">
77
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
78
+ </td>
79
+ <td class="function_name">
80
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-serial" title="pango_layout_get_serial ()">pango_layout_get_serial</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">
85
+ <span class="returnvalue">void</span>
86
+ </td>
87
+ <td class="function_name">
88
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-text" title="pango_layout_set_text ()">pango_layout_set_text</a> <span class="c_punctuation">()</span>
89
+ </td>
90
+ </tr>
91
+ <tr>
92
+ <td class="function_type">const <span class="returnvalue">char</span> *
93
+ </td>
94
+ <td class="function_name">
95
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-text" title="pango_layout_get_text ()">pango_layout_get_text</a> <span class="c_punctuation">()</span>
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td class="function_type">
100
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
101
+ </td>
102
+ <td class="function_name">
103
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-character-count" title="pango_layout_get_character_count ()">pango_layout_get_character_count</a> <span class="c_punctuation">()</span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="function_type">
108
+ <span class="returnvalue">void</span>
109
+ </td>
110
+ <td class="function_name">
111
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup" title="pango_layout_set_markup ()">pango_layout_set_markup</a> <span class="c_punctuation">()</span>
112
+ </td>
113
+ </tr>
114
+ <tr>
115
+ <td class="function_type">
116
+ <span class="returnvalue">void</span>
117
+ </td>
118
+ <td class="function_name">
119
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup-with-accel" title="pango_layout_set_markup_with_accel ()">pango_layout_set_markup_with_accel</a> <span class="c_punctuation">()</span>
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td class="function_type">
124
+ <span class="returnvalue">void</span>
125
+ </td>
126
+ <td class="function_name">
127
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-attributes" title="pango_layout_set_attributes ()">pango_layout_set_attributes</a> <span class="c_punctuation">()</span>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td class="function_type">
132
+ <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *
133
+ </td>
134
+ <td class="function_name">
135
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-attributes" title="pango_layout_get_attributes ()">pango_layout_get_attributes</a> <span class="c_punctuation">()</span>
136
+ </td>
137
+ </tr>
138
+ <tr>
139
+ <td class="function_type">
140
+ <span class="returnvalue">void</span>
141
+ </td>
142
+ <td class="function_name">
143
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-font-description" title="pango_layout_set_font_description ()">pango_layout_set_font_description</a> <span class="c_punctuation">()</span>
144
+ </td>
145
+ </tr>
146
+ <tr>
147
+ <td class="function_type">const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
148
+ </td>
149
+ <td class="function_name">
150
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-font-description" title="pango_layout_get_font_description ()">pango_layout_get_font_description</a> <span class="c_punctuation">()</span>
151
+ </td>
152
+ </tr>
153
+ <tr>
154
+ <td class="function_type">
155
+ <span class="returnvalue">void</span>
156
+ </td>
157
+ <td class="function_name">
158
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-width" title="pango_layout_set_width ()">pango_layout_set_width</a> <span class="c_punctuation">()</span>
159
+ </td>
160
+ </tr>
161
+ <tr>
162
+ <td class="function_type">
163
+ <span class="returnvalue">int</span>
164
+ </td>
165
+ <td class="function_name">
166
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-width" title="pango_layout_get_width ()">pango_layout_get_width</a> <span class="c_punctuation">()</span>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td class="function_type">
171
+ <span class="returnvalue">void</span>
172
+ </td>
173
+ <td class="function_name">
174
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" title="pango_layout_set_height ()">pango_layout_set_height</a> <span class="c_punctuation">()</span>
175
+ </td>
176
+ </tr>
177
+ <tr>
178
+ <td class="function_type">
179
+ <span class="returnvalue">int</span>
180
+ </td>
181
+ <td class="function_name">
182
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-height" title="pango_layout_get_height ()">pango_layout_get_height</a> <span class="c_punctuation">()</span>
183
+ </td>
184
+ </tr>
185
+ <tr>
186
+ <td class="function_type">
187
+ <span class="returnvalue">void</span>
188
+ </td>
189
+ <td class="function_name">
190
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-wrap" title="pango_layout_set_wrap ()">pango_layout_set_wrap</a> <span class="c_punctuation">()</span>
191
+ </td>
192
+ </tr>
193
+ <tr>
194
+ <td class="function_type">
195
+ <a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a>
196
+ </td>
197
+ <td class="function_name">
198
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-wrap" title="pango_layout_get_wrap ()">pango_layout_get_wrap</a> <span class="c_punctuation">()</span>
199
+ </td>
200
+ </tr>
201
+ <tr>
202
+ <td class="function_type">
203
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
204
+ </td>
205
+ <td class="function_name">
206
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-is-wrapped" title="pango_layout_is_wrapped ()">pango_layout_is_wrapped</a> <span class="c_punctuation">()</span>
207
+ </td>
208
+ </tr>
209
+ <tr>
210
+ <td class="define_keyword">#define</td>
211
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-WRAP-MODE:CAPS" title="PANGO_TYPE_WRAP_MODE">PANGO_TYPE_WRAP_MODE</a></td>
212
+ </tr>
213
+ <tr>
214
+ <td class="function_type">
215
+ <span class="returnvalue">void</span>
216
+ </td>
217
+ <td class="function_name">
218
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-ellipsize" title="pango_layout_set_ellipsize ()">pango_layout_set_ellipsize</a> <span class="c_punctuation">()</span>
219
+ </td>
220
+ </tr>
221
+ <tr>
222
+ <td class="function_type">
223
+ <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>
224
+ </td>
225
+ <td class="function_name">
226
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-ellipsize" title="pango_layout_get_ellipsize ()">pango_layout_get_ellipsize</a> <span class="c_punctuation">()</span>
227
+ </td>
228
+ </tr>
229
+ <tr>
230
+ <td class="function_type">
231
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
232
+ </td>
233
+ <td class="function_name">
234
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()">pango_layout_is_ellipsized</a> <span class="c_punctuation">()</span>
235
+ </td>
236
+ </tr>
237
+ <tr>
238
+ <td class="define_keyword">#define</td>
239
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ELLIPSIZE-MODE:CAPS" title="PANGO_TYPE_ELLIPSIZE_MODE">PANGO_TYPE_ELLIPSIZE_MODE</a></td>
240
+ </tr>
241
+ <tr>
242
+ <td class="function_type">
243
+ <span class="returnvalue">void</span>
244
+ </td>
245
+ <td class="function_name">
246
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-indent" title="pango_layout_set_indent ()">pango_layout_set_indent</a> <span class="c_punctuation">()</span>
247
+ </td>
248
+ </tr>
249
+ <tr>
250
+ <td class="function_type">
251
+ <span class="returnvalue">int</span>
252
+ </td>
253
+ <td class="function_name">
254
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-indent" title="pango_layout_get_indent ()">pango_layout_get_indent</a> <span class="c_punctuation">()</span>
255
+ </td>
256
+ </tr>
257
+ <tr>
258
+ <td class="function_type">
259
+ <span class="returnvalue">int</span>
260
+ </td>
261
+ <td class="function_name">
262
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-spacing" title="pango_layout_get_spacing ()">pango_layout_get_spacing</a> <span class="c_punctuation">()</span>
263
+ </td>
264
+ </tr>
265
+ <tr>
266
+ <td class="function_type">
267
+ <span class="returnvalue">void</span>
268
+ </td>
269
+ <td class="function_name">
270
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-spacing" title="pango_layout_set_spacing ()">pango_layout_set_spacing</a> <span class="c_punctuation">()</span>
271
+ </td>
272
+ </tr>
273
+ <tr>
274
+ <td class="function_type">
275
+ <span class="returnvalue">void</span>
276
+ </td>
277
+ <td class="function_name">
278
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify" title="pango_layout_set_justify ()">pango_layout_set_justify</a> <span class="c_punctuation">()</span>
279
+ </td>
280
+ </tr>
281
+ <tr>
282
+ <td class="function_type">
283
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
284
+ </td>
285
+ <td class="function_name">
286
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-justify" title="pango_layout_get_justify ()">pango_layout_get_justify</a> <span class="c_punctuation">()</span>
287
+ </td>
288
+ </tr>
289
+ <tr>
290
+ <td class="function_type">
291
+ <span class="returnvalue">void</span>
292
+ </td>
293
+ <td class="function_name">
294
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" title="pango_layout_set_auto_dir ()">pango_layout_set_auto_dir</a> <span class="c_punctuation">()</span>
295
+ </td>
296
+ </tr>
297
+ <tr>
298
+ <td class="function_type">
299
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
300
+ </td>
301
+ <td class="function_name">
302
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-auto-dir" title="pango_layout_get_auto_dir ()">pango_layout_get_auto_dir</a> <span class="c_punctuation">()</span>
303
+ </td>
304
+ </tr>
305
+ <tr>
306
+ <td class="function_type">
307
+ <span class="returnvalue">void</span>
308
+ </td>
309
+ <td class="function_name">
310
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-alignment" title="pango_layout_set_alignment ()">pango_layout_set_alignment</a> <span class="c_punctuation">()</span>
311
+ </td>
312
+ </tr>
313
+ <tr>
314
+ <td class="function_type">
315
+ <a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment"><span class="returnvalue">PangoAlignment</span></a>
316
+ </td>
317
+ <td class="function_name">
318
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-alignment" title="pango_layout_get_alignment ()">pango_layout_get_alignment</a> <span class="c_punctuation">()</span>
319
+ </td>
320
+ </tr>
321
+ <tr>
322
+ <td class="function_type">
323
+ <span class="returnvalue">void</span>
324
+ </td>
325
+ <td class="function_name">
326
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-tabs" title="pango_layout_set_tabs ()">pango_layout_set_tabs</a> <span class="c_punctuation">()</span>
327
+ </td>
328
+ </tr>
329
+ <tr>
330
+ <td class="function_type">
331
+ <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> *
332
+ </td>
333
+ <td class="function_name">
334
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-tabs" title="pango_layout_get_tabs ()">pango_layout_get_tabs</a> <span class="c_punctuation">()</span>
335
+ </td>
336
+ </tr>
337
+ <tr>
338
+ <td class="function_type">
339
+ <span class="returnvalue">void</span>
340
+ </td>
341
+ <td class="function_name">
342
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-single-paragraph-mode" title="pango_layout_set_single_paragraph_mode ()">pango_layout_set_single_paragraph_mode</a> <span class="c_punctuation">()</span>
343
+ </td>
344
+ </tr>
345
+ <tr>
346
+ <td class="function_type">
347
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
348
+ </td>
349
+ <td class="function_name">
350
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-single-paragraph-mode" title="pango_layout_get_single_paragraph_mode ()">pango_layout_get_single_paragraph_mode</a> <span class="c_punctuation">()</span>
351
+ </td>
352
+ </tr>
353
+ <tr>
354
+ <td class="define_keyword">#define</td>
355
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PANGO-TYPE-ALIGNMENT:CAPS" title="PANGO_TYPE_ALIGNMENT">PANGO_TYPE_ALIGNMENT</a></td>
356
+ </tr>
357
+ <tr>
358
+ <td class="function_type">
359
+ <span class="returnvalue">int</span>
360
+ </td>
361
+ <td class="function_name">
362
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-unknown-glyphs-count" title="pango_layout_get_unknown_glyphs_count ()">pango_layout_get_unknown_glyphs_count</a> <span class="c_punctuation">()</span>
363
+ </td>
364
+ </tr>
365
+ <tr>
366
+ <td class="function_type">
367
+ <span class="returnvalue">void</span>
368
+ </td>
369
+ <td class="function_name">
370
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-log-attrs" title="pango_layout_get_log_attrs ()">pango_layout_get_log_attrs</a> <span class="c_punctuation">()</span>
371
+ </td>
372
+ </tr>
373
+ <tr>
374
+ <td class="function_type">const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="returnvalue">PangoLogAttr</span></a> *
375
+ </td>
376
+ <td class="function_name">
377
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-log-attrs-readonly" title="pango_layout_get_log_attrs_readonly ()">pango_layout_get_log_attrs_readonly</a> <span class="c_punctuation">()</span>
378
+ </td>
379
+ </tr>
380
+ <tr>
381
+ <td class="function_type">
382
+ <span class="returnvalue">void</span>
383
+ </td>
384
+ <td class="function_name">
385
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-index-to-pos" title="pango_layout_index_to_pos ()">pango_layout_index_to_pos</a> <span class="c_punctuation">()</span>
386
+ </td>
387
+ </tr>
388
+ <tr>
389
+ <td class="function_type">
390
+ <span class="returnvalue">void</span>
391
+ </td>
392
+ <td class="function_name">
393
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-index-to-line-x" title="pango_layout_index_to_line_x ()">pango_layout_index_to_line_x</a> <span class="c_punctuation">()</span>
394
+ </td>
395
+ </tr>
396
+ <tr>
397
+ <td class="function_type">
398
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
399
+ </td>
400
+ <td class="function_name">
401
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-xy-to-index" title="pango_layout_xy_to_index ()">pango_layout_xy_to_index</a> <span class="c_punctuation">()</span>
402
+ </td>
403
+ </tr>
404
+ <tr>
405
+ <td class="function_type">
406
+ <span class="returnvalue">void</span>
407
+ </td>
408
+ <td class="function_name">
409
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-cursor-pos" title="pango_layout_get_cursor_pos ()">pango_layout_get_cursor_pos</a> <span class="c_punctuation">()</span>
410
+ </td>
411
+ </tr>
412
+ <tr>
413
+ <td class="function_type">
414
+ <span class="returnvalue">void</span>
415
+ </td>
416
+ <td class="function_name">
417
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-move-cursor-visually" title="pango_layout_move_cursor_visually ()">pango_layout_move_cursor_visually</a> <span class="c_punctuation">()</span>
418
+ </td>
419
+ </tr>
420
+ <tr>
421
+ <td class="function_type">
422
+ <span class="returnvalue">void</span>
423
+ </td>
424
+ <td class="function_name">
425
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-extents" title="pango_layout_get_extents ()">pango_layout_get_extents</a> <span class="c_punctuation">()</span>
426
+ </td>
427
+ </tr>
428
+ <tr>
429
+ <td class="function_type">
430
+ <span class="returnvalue">void</span>
431
+ </td>
432
+ <td class="function_name">
433
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-pixel-extents" title="pango_layout_get_pixel_extents ()">pango_layout_get_pixel_extents</a> <span class="c_punctuation">()</span>
434
+ </td>
435
+ </tr>
436
+ <tr>
437
+ <td class="function_type">
438
+ <span class="returnvalue">void</span>
439
+ </td>
440
+ <td class="function_name">
441
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-size" title="pango_layout_get_size ()">pango_layout_get_size</a> <span class="c_punctuation">()</span>
442
+ </td>
443
+ </tr>
444
+ <tr>
445
+ <td class="function_type">
446
+ <span class="returnvalue">void</span>
447
+ </td>
448
+ <td class="function_name">
449
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-pixel-size" title="pango_layout_get_pixel_size ()">pango_layout_get_pixel_size</a> <span class="c_punctuation">()</span>
450
+ </td>
451
+ </tr>
452
+ <tr>
453
+ <td class="function_type">
454
+ <span class="returnvalue">int</span>
455
+ </td>
456
+ <td class="function_name">
457
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-baseline" title="pango_layout_get_baseline ()">pango_layout_get_baseline</a> <span class="c_punctuation">()</span>
458
+ </td>
459
+ </tr>
460
+ <tr>
461
+ <td class="function_type">
462
+ <span class="returnvalue">int</span>
463
+ </td>
464
+ <td class="function_name">
465
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line-count" title="pango_layout_get_line_count ()">pango_layout_get_line_count</a> <span class="c_punctuation">()</span>
466
+ </td>
467
+ </tr>
468
+ <tr>
469
+ <td class="function_type">
470
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
471
+ </td>
472
+ <td class="function_name">
473
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line" title="pango_layout_get_line ()">pango_layout_get_line</a> <span class="c_punctuation">()</span>
474
+ </td>
475
+ </tr>
476
+ <tr>
477
+ <td class="function_type">
478
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
479
+ </td>
480
+ <td class="function_name">
481
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line-readonly" title="pango_layout_get_line_readonly ()">pango_layout_get_line_readonly</a> <span class="c_punctuation">()</span>
482
+ </td>
483
+ </tr>
484
+ <tr>
485
+ <td class="function_type">
486
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
487
+ </td>
488
+ <td class="function_name">
489
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines" title="pango_layout_get_lines ()">pango_layout_get_lines</a> <span class="c_punctuation">()</span>
490
+ </td>
491
+ </tr>
492
+ <tr>
493
+ <td class="function_type">
494
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
495
+ </td>
496
+ <td class="function_name">
497
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines-readonly" title="pango_layout_get_lines_readonly ()">pango_layout_get_lines_readonly</a> <span class="c_punctuation">()</span>
498
+ </td>
499
+ </tr>
500
+ <tr>
501
+ <td class="function_type">
502
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> *
503
+ </td>
504
+ <td class="function_name">
505
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-iter" title="pango_layout_get_iter ()">pango_layout_get_iter</a> <span class="c_punctuation">()</span>
506
+ </td>
507
+ </tr>
508
+ <tr>
509
+ <td class="function_type">
510
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> *
511
+ </td>
512
+ <td class="function_name">
513
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-copy" title="pango_layout_iter_copy ()">pango_layout_iter_copy</a> <span class="c_punctuation">()</span>
514
+ </td>
515
+ </tr>
516
+ <tr>
517
+ <td class="function_type">
518
+ <span class="returnvalue">void</span>
519
+ </td>
520
+ <td class="function_name">
521
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()">pango_layout_iter_free</a> <span class="c_punctuation">()</span>
522
+ </td>
523
+ </tr>
524
+ <tr>
525
+ <td class="function_type">
526
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
527
+ </td>
528
+ <td class="function_name">
529
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-run" title="pango_layout_iter_next_run ()">pango_layout_iter_next_run</a> <span class="c_punctuation">()</span>
530
+ </td>
531
+ </tr>
532
+ <tr>
533
+ <td class="function_type">
534
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
535
+ </td>
536
+ <td class="function_name">
537
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-char" title="pango_layout_iter_next_char ()">pango_layout_iter_next_char</a> <span class="c_punctuation">()</span>
538
+ </td>
539
+ </tr>
540
+ <tr>
541
+ <td class="function_type">
542
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
543
+ </td>
544
+ <td class="function_name">
545
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-cluster" title="pango_layout_iter_next_cluster ()">pango_layout_iter_next_cluster</a> <span class="c_punctuation">()</span>
546
+ </td>
547
+ </tr>
548
+ <tr>
549
+ <td class="function_type">
550
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
551
+ </td>
552
+ <td class="function_name">
553
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-next-line" title="pango_layout_iter_next_line ()">pango_layout_iter_next_line</a> <span class="c_punctuation">()</span>
554
+ </td>
555
+ </tr>
556
+ <tr>
557
+ <td class="function_type">
558
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
559
+ </td>
560
+ <td class="function_name">
561
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-at-last-line" title="pango_layout_iter_at_last_line ()">pango_layout_iter_at_last_line</a> <span class="c_punctuation">()</span>
562
+ </td>
563
+ </tr>
564
+ <tr>
565
+ <td class="function_type">
566
+ <span class="returnvalue">int</span>
567
+ </td>
568
+ <td class="function_name">
569
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-index" title="pango_layout_iter_get_index ()">pango_layout_iter_get_index</a> <span class="c_punctuation">()</span>
570
+ </td>
571
+ </tr>
572
+ <tr>
573
+ <td class="function_type">
574
+ <span class="returnvalue">int</span>
575
+ </td>
576
+ <td class="function_name">
577
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-baseline" title="pango_layout_iter_get_baseline ()">pango_layout_iter_get_baseline</a> <span class="c_punctuation">()</span>
578
+ </td>
579
+ </tr>
580
+ <tr>
581
+ <td class="function_type">
582
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
583
+ </td>
584
+ <td class="function_name">
585
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()">pango_layout_iter_get_run</a> <span class="c_punctuation">()</span>
586
+ </td>
587
+ </tr>
588
+ <tr>
589
+ <td class="function_type">
590
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
591
+ </td>
592
+ <td class="function_name">
593
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-readonly" title="pango_layout_iter_get_run_readonly ()">pango_layout_iter_get_run_readonly</a> <span class="c_punctuation">()</span>
594
+ </td>
595
+ </tr>
596
+ <tr>
597
+ <td class="function_type">
598
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
599
+ </td>
600
+ <td class="function_name">
601
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line" title="pango_layout_iter_get_line ()">pango_layout_iter_get_line</a> <span class="c_punctuation">()</span>
602
+ </td>
603
+ </tr>
604
+ <tr>
605
+ <td class="function_type">
606
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
607
+ </td>
608
+ <td class="function_name">
609
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-readonly" title="pango_layout_iter_get_line_readonly ()">pango_layout_iter_get_line_readonly</a> <span class="c_punctuation">()</span>
610
+ </td>
611
+ </tr>
612
+ <tr>
613
+ <td class="function_type">
614
+ <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
615
+ </td>
616
+ <td class="function_name">
617
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-layout" title="pango_layout_iter_get_layout ()">pango_layout_iter_get_layout</a> <span class="c_punctuation">()</span>
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td class="function_type">
622
+ <span class="returnvalue">void</span>
623
+ </td>
624
+ <td class="function_name">
625
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-char-extents" title="pango_layout_iter_get_char_extents ()">pango_layout_iter_get_char_extents</a> <span class="c_punctuation">()</span>
626
+ </td>
627
+ </tr>
628
+ <tr>
629
+ <td class="function_type">
630
+ <span class="returnvalue">void</span>
631
+ </td>
632
+ <td class="function_name">
633
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-cluster-extents" title="pango_layout_iter_get_cluster_extents ()">pango_layout_iter_get_cluster_extents</a> <span class="c_punctuation">()</span>
634
+ </td>
635
+ </tr>
636
+ <tr>
637
+ <td class="function_type">
638
+ <span class="returnvalue">void</span>
639
+ </td>
640
+ <td class="function_name">
641
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-extents" title="pango_layout_iter_get_run_extents ()">pango_layout_iter_get_run_extents</a> <span class="c_punctuation">()</span>
642
+ </td>
643
+ </tr>
644
+ <tr>
645
+ <td class="function_type">
646
+ <span class="returnvalue">void</span>
647
+ </td>
648
+ <td class="function_name">
649
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-yrange" title="pango_layout_iter_get_line_yrange ()">pango_layout_iter_get_line_yrange</a> <span class="c_punctuation">()</span>
650
+ </td>
651
+ </tr>
652
+ <tr>
653
+ <td class="function_type">
654
+ <span class="returnvalue">void</span>
655
+ </td>
656
+ <td class="function_name">
657
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-extents" title="pango_layout_iter_get_line_extents ()">pango_layout_iter_get_line_extents</a> <span class="c_punctuation">()</span>
658
+ </td>
659
+ </tr>
660
+ <tr>
661
+ <td class="function_type">
662
+ <span class="returnvalue">void</span>
663
+ </td>
664
+ <td class="function_name">
665
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-layout-extents" title="pango_layout_iter_get_layout_extents ()">pango_layout_iter_get_layout_extents</a> <span class="c_punctuation">()</span>
666
+ </td>
667
+ </tr>
668
+ <tr>
669
+ <td class="function_type">
670
+ <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
671
+ </td>
672
+ <td class="function_name">
673
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-ref" title="pango_layout_line_ref ()">pango_layout_line_ref</a> <span class="c_punctuation">()</span>
674
+ </td>
675
+ </tr>
676
+ <tr>
677
+ <td class="function_type">
678
+ <span class="returnvalue">void</span>
679
+ </td>
680
+ <td class="function_name">
681
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-unref" title="pango_layout_line_unref ()">pango_layout_line_unref</a> <span class="c_punctuation">()</span>
682
+ </td>
683
+ </tr>
684
+ <tr>
685
+ <td class="function_type">
686
+ <span class="returnvalue">void</span>
687
+ </td>
688
+ <td class="function_name">
689
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-extents" title="pango_layout_line_get_extents ()">pango_layout_line_get_extents</a> <span class="c_punctuation">()</span>
690
+ </td>
691
+ </tr>
692
+ <tr>
693
+ <td class="function_type">
694
+ <span class="returnvalue">void</span>
695
+ </td>
696
+ <td class="function_name">
697
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-pixel-extents" title="pango_layout_line_get_pixel_extents ()">pango_layout_line_get_pixel_extents</a> <span class="c_punctuation">()</span>
698
+ </td>
699
+ </tr>
700
+ <tr>
701
+ <td class="function_type">
702
+ <span class="returnvalue">void</span>
703
+ </td>
704
+ <td class="function_name">
705
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-index-to-x" title="pango_layout_line_index_to_x ()">pango_layout_line_index_to_x</a> <span class="c_punctuation">()</span>
706
+ </td>
707
+ </tr>
708
+ <tr>
709
+ <td class="function_type">
710
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
711
+ </td>
712
+ <td class="function_name">
713
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-x-to-index" title="pango_layout_line_x_to_index ()">pango_layout_line_x_to_index</a> <span class="c_punctuation">()</span>
714
+ </td>
715
+ </tr>
716
+ <tr>
717
+ <td class="function_type">
718
+ <span class="returnvalue">void</span>
719
+ </td>
720
+ <td class="function_name">
721
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-x-ranges" title="pango_layout_line_get_x_ranges ()">pango_layout_line_get_x_ranges</a> <span class="c_punctuation">()</span>
722
+ </td>
723
+ </tr>
724
+ </tbody>
725
+ </table></div>
726
+ </div>
727
+ <a name="PangoLayout"></a><a name="PangoLayoutIter"></a><a name="PangoLayoutLine"></a><div class="refsect1">
728
+ <a name="pango-Layout-Objects.other"></a><h2>Types and Values</h2>
729
+ <div class="informaltable"><table width="100%" border="0">
730
+ <colgroup>
731
+ <col width="150px" class="name">
732
+ <col class="description">
733
+ </colgroup>
734
+ <tbody>
735
+ <tr>
736
+ <td class="datatype_keyword"> </td>
737
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoLayout-struct" title="PangoLayout">PangoLayout</a></td>
738
+ </tr>
739
+ <tr>
740
+ <td class="datatype_keyword"> </td>
741
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter-struct" title="PangoLayoutIter">PangoLayoutIter</a></td>
742
+ </tr>
743
+ <tr>
744
+ <td class="datatype_keyword">enum</td>
745
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode">PangoWrapMode</a></td>
746
+ </tr>
747
+ <tr>
748
+ <td class="datatype_keyword">enum</td>
749
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode">PangoEllipsizeMode</a></td>
750
+ </tr>
751
+ <tr>
752
+ <td class="datatype_keyword">enum</td>
753
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment">PangoAlignment</a></td>
754
+ </tr>
755
+ <tr>
756
+ <td class="datatype_keyword">struct</td>
757
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine-struct" title="struct PangoLayoutLine">PangoLayoutLine</a></td>
758
+ </tr>
759
+ <tr>
760
+ <td class="typedef_keyword">typedef</td>
761
+ <td class="function_name"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun">PangoLayoutRun</a></td>
762
+ </tr>
763
+ </tbody>
764
+ </table></div>
765
+ </div>
766
+ <div class="refsect1">
767
+ <a name="pango-Layout-Objects.object-hierarchy"></a><h2>Object Hierarchy</h2>
768
+ <pre class="screen"> GBoxed
769
+ <span class="lineart">├──</span> PangoLayoutIter
770
+ <span class="lineart">╰──</span> PangoLayoutLine
771
+ GEnum
772
+ <span class="lineart">├──</span> PangoAlignment
773
+ <span class="lineart">├──</span> PangoEllipsizeMode
774
+ <span class="lineart">╰──</span> PangoWrapMode
775
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
776
+ <span class="lineart">╰──</span> PangoLayout
777
+ </pre>
778
+ </div>
779
+ <div class="refsect1">
780
+ <a name="pango-Layout-Objects.description"></a><h2>Description</h2>
781
+ <p>While complete access to the layout capabilities of Pango is provided
782
+ using the detailed interfaces for itemization and shaping, using
783
+ that functionality directly involves writing a fairly large amount
784
+ of code. The objects and functions in this section provide a
785
+ high-level driver for formatting entire paragraphs of text
786
+ at once.</p>
787
+ </div>
788
+ <div class="refsect1">
789
+ <a name="pango-Layout-Objects.functions_details"></a><h2>Functions</h2>
790
+ <div class="refsect2">
791
+ <a name="pango-layout-new"></a><h3>pango_layout_new ()</h3>
792
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
793
+ pango_layout_new (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
794
+ <p>Create a new <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> object with attributes initialized to
795
+ default values for a particular <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>.</p>
796
+ <div class="refsect3">
797
+ <a name="id-1.2.8.10.2.5"></a><h4>Parameters</h4>
798
+ <div class="informaltable"><table width="100%" border="0">
799
+ <colgroup>
800
+ <col width="150px" class="parameters_name">
801
+ <col class="parameters_description">
802
+ <col width="200px" class="parameters_annotations">
803
+ </colgroup>
804
+ <tbody><tr>
805
+ <td class="parameter_name"><p>context</p></td>
806
+ <td class="parameter_description"><p>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a></p></td>
807
+ <td class="parameter_annotations"> </td>
808
+ </tr></tbody>
809
+ </table></div>
810
+ </div>
811
+ <div class="refsect3">
812
+ <a name="id-1.2.8.10.2.6"></a><h4>Returns</h4>
813
+ <p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, with a reference
814
+ count of one, which should be freed with
815
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
816
+ <p></p>
817
+ </div>
818
+ </div>
819
+ <hr>
820
+ <div class="refsect2">
821
+ <a name="pango-layout-copy"></a><h3>pango_layout_copy ()</h3>
822
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
823
+ pango_layout_copy (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *src</code></em>);</pre>
824
+ <p>Does a deep copy-by-value of the <em class="parameter"><code>src</code></em>
825
+ layout. The attribute list,
826
+ tab array, and text from the original layout are all copied by
827
+ value.</p>
828
+ <div class="refsect3">
829
+ <a name="id-1.2.8.10.3.5"></a><h4>Parameters</h4>
830
+ <div class="informaltable"><table width="100%" border="0">
831
+ <colgroup>
832
+ <col width="150px" class="parameters_name">
833
+ <col class="parameters_description">
834
+ <col width="200px" class="parameters_annotations">
835
+ </colgroup>
836
+ <tbody><tr>
837
+ <td class="parameter_name"><p>src</p></td>
838
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
839
+ <td class="parameter_annotations"> </td>
840
+ </tr></tbody>
841
+ </table></div>
842
+ </div>
843
+ <div class="refsect3">
844
+ <a name="id-1.2.8.10.3.6"></a><h4>Returns</h4>
845
+ <p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>,
846
+ with a reference count of one, which should be freed
847
+ with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
848
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
849
+ </div>
850
+ </div>
851
+ <hr>
852
+ <div class="refsect2">
853
+ <a name="pango-layout-get-context"></a><h3>pango_layout_get_context ()</h3>
854
+ <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> *
855
+ pango_layout_get_context (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
856
+ <p>Retrieves the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> used for this layout.</p>
857
+ <div class="refsect3">
858
+ <a name="id-1.2.8.10.4.5"></a><h4>Parameters</h4>
859
+ <div class="informaltable"><table width="100%" border="0">
860
+ <colgroup>
861
+ <col width="150px" class="parameters_name">
862
+ <col class="parameters_description">
863
+ <col width="200px" class="parameters_annotations">
864
+ </colgroup>
865
+ <tbody><tr>
866
+ <td class="parameter_name"><p>layout</p></td>
867
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
868
+ <td class="parameter_annotations"> </td>
869
+ </tr></tbody>
870
+ </table></div>
871
+ </div>
872
+ <div class="refsect3">
873
+ <a name="id-1.2.8.10.4.6"></a><h4>Returns</h4>
874
+ <p> the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the layout.
875
+ This does not have an additional refcount added, so if you want to
876
+ keep a copy of this around, you must reference it yourself. </p>
877
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
878
+ </div>
879
+ </div>
880
+ <hr>
881
+ <div class="refsect2">
882
+ <a name="pango-layout-context-changed"></a><h3>pango_layout_context_changed ()</h3>
883
+ <pre class="programlisting"><span class="returnvalue">void</span>
884
+ pango_layout_context_changed (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
885
+ <p>Forces recomputation of any state in the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> that
886
+ might depend on the layout's context. This function should
887
+ be called if you make changes to the context subsequent
888
+ to creating the layout.</p>
889
+ <div class="refsect3">
890
+ <a name="id-1.2.8.10.5.5"></a><h4>Parameters</h4>
891
+ <div class="informaltable"><table width="100%" border="0">
892
+ <colgroup>
893
+ <col width="150px" class="parameters_name">
894
+ <col class="parameters_description">
895
+ <col width="200px" class="parameters_annotations">
896
+ </colgroup>
897
+ <tbody><tr>
898
+ <td class="parameter_name"><p>layout</p></td>
899
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
900
+ <td class="parameter_annotations"> </td>
901
+ </tr></tbody>
902
+ </table></div>
903
+ </div>
904
+ </div>
905
+ <hr>
906
+ <div class="refsect2">
907
+ <a name="pango-layout-get-serial"></a><h3>pango_layout_get_serial ()</h3>
908
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
909
+ pango_layout_get_serial (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
910
+ <p>Returns the current serial number of <em class="parameter"><code>layout</code></em>
911
+ . The serial number is
912
+ initialized to an small number larger than zero when a new layout
913
+ is created and is increased whenever the layout is changed using any
914
+ of the setter functions, or the <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> it uses has changed.
915
+ The serial may wrap, but will never have the value 0. Since it
916
+ can wrap, never compare it with "less than", always use "not equals".</p>
917
+ <p>This can be used to automatically detect changes to a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, and
918
+ is useful for example to decide whether a layout needs redrawing.
919
+ To force the serial to be increased, use <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed ()"><code class="function">pango_layout_context_changed()</code></a>.</p>
920
+ <div class="refsect3">
921
+ <a name="id-1.2.8.10.6.6"></a><h4>Parameters</h4>
922
+ <div class="informaltable"><table width="100%" border="0">
923
+ <colgroup>
924
+ <col width="150px" class="parameters_name">
925
+ <col class="parameters_description">
926
+ <col width="200px" class="parameters_annotations">
927
+ </colgroup>
928
+ <tbody><tr>
929
+ <td class="parameter_name"><p>layout</p></td>
930
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
931
+ <td class="parameter_annotations"> </td>
932
+ </tr></tbody>
933
+ </table></div>
934
+ </div>
935
+ <div class="refsect3">
936
+ <a name="id-1.2.8.10.6.7"></a><h4>Returns</h4>
937
+ <p> The current serial number of <em class="parameter"><code>layout</code></em>
938
+ .</p>
939
+ <p></p>
940
+ </div>
941
+ <p class="since">Since 1.32.4</p>
942
+ </div>
943
+ <hr>
944
+ <div class="refsect2">
945
+ <a name="pango-layout-set-text"></a><h3>pango_layout_set_text ()</h3>
946
+ <pre class="programlisting"><span class="returnvalue">void</span>
947
+ pango_layout_set_text (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
948
+ <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
949
+ <em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
950
+ <p>Sets the text of the layout.</p>
951
+ <p>Note that if you have used
952
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup" title="pango_layout_set_markup ()"><code class="function">pango_layout_set_markup()</code></a> or <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup-with-accel" title="pango_layout_set_markup_with_accel ()"><code class="function">pango_layout_set_markup_with_accel()</code></a> on
953
+ <em class="parameter"><code>layout</code></em>
954
+ before, you may want to call <a class="link" href="pango-Layout-Objects.html#pango-layout-set-attributes" title="pango_layout_set_attributes ()"><code class="function">pango_layout_set_attributes()</code></a> to clear
955
+ the attributes set on the layout from the markup as this function does not
956
+ clear attributes.</p>
957
+ <div class="refsect3">
958
+ <a name="id-1.2.8.10.7.6"></a><h4>Parameters</h4>
959
+ <div class="informaltable"><table width="100%" border="0">
960
+ <colgroup>
961
+ <col width="150px" class="parameters_name">
962
+ <col class="parameters_description">
963
+ <col width="200px" class="parameters_annotations">
964
+ </colgroup>
965
+ <tbody>
966
+ <tr>
967
+ <td class="parameter_name"><p>layout</p></td>
968
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
969
+ <td class="parameter_annotations"> </td>
970
+ </tr>
971
+ <tr>
972
+ <td class="parameter_name"><p>text</p></td>
973
+ <td class="parameter_description"><p>a valid UTF-8 string</p></td>
974
+ <td class="parameter_annotations"> </td>
975
+ </tr>
976
+ <tr>
977
+ <td class="parameter_name"><p>length</p></td>
978
+ <td class="parameter_description"><p>maximum length of <em class="parameter"><code>text</code></em>
979
+ , in bytes. -1 indicates that
980
+ the string is nul-terminated and the length should be
981
+ calculated. The text will also be truncated on
982
+ encountering a nul-termination even when <em class="parameter"><code>length</code></em>
983
+ is
984
+ positive.</p></td>
985
+ <td class="parameter_annotations"> </td>
986
+ </tr>
987
+ </tbody>
988
+ </table></div>
989
+ </div>
990
+ </div>
991
+ <hr>
992
+ <div class="refsect2">
993
+ <a name="pango-layout-get-text"></a><h3>pango_layout_get_text ()</h3>
994
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
995
+ pango_layout_get_text (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
996
+ <p>Gets the text in the layout. The returned text should not
997
+ be freed or modified.</p>
998
+ <div class="refsect3">
999
+ <a name="id-1.2.8.10.8.5"></a><h4>Parameters</h4>
1000
+ <div class="informaltable"><table width="100%" border="0">
1001
+ <colgroup>
1002
+ <col width="150px" class="parameters_name">
1003
+ <col class="parameters_description">
1004
+ <col width="200px" class="parameters_annotations">
1005
+ </colgroup>
1006
+ <tbody><tr>
1007
+ <td class="parameter_name"><p>layout</p></td>
1008
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1009
+ <td class="parameter_annotations"> </td>
1010
+ </tr></tbody>
1011
+ </table></div>
1012
+ </div>
1013
+ <div class="refsect3">
1014
+ <a name="id-1.2.8.10.8.6"></a><h4>Returns</h4>
1015
+ <p> the text in the <em class="parameter"><code>layout</code></em>
1016
+ .</p>
1017
+ <p></p>
1018
+ </div>
1019
+ </div>
1020
+ <hr>
1021
+ <div class="refsect2">
1022
+ <a name="pango-layout-get-character-count"></a><h3>pango_layout_get_character_count ()</h3>
1023
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
1024
+ pango_layout_get_character_count (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1025
+ <p>Returns the number of Unicode characters in the
1026
+ the text of <em class="parameter"><code>layout</code></em>
1027
+ .</p>
1028
+ <div class="refsect3">
1029
+ <a name="id-1.2.8.10.9.5"></a><h4>Parameters</h4>
1030
+ <div class="informaltable"><table width="100%" border="0">
1031
+ <colgroup>
1032
+ <col width="150px" class="parameters_name">
1033
+ <col class="parameters_description">
1034
+ <col width="200px" class="parameters_annotations">
1035
+ </colgroup>
1036
+ <tbody><tr>
1037
+ <td class="parameter_name"><p>layout</p></td>
1038
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1039
+ <td class="parameter_annotations"> </td>
1040
+ </tr></tbody>
1041
+ </table></div>
1042
+ </div>
1043
+ <div class="refsect3">
1044
+ <a name="id-1.2.8.10.9.6"></a><h4>Returns</h4>
1045
+ <p> the number of Unicode characters
1046
+ in the text of <em class="parameter"><code>layout</code></em>
1047
+ </p>
1048
+ <p></p>
1049
+ </div>
1050
+ <p class="since">Since 1.30</p>
1051
+ </div>
1052
+ <hr>
1053
+ <div class="refsect2">
1054
+ <a name="pango-layout-set-markup"></a><h3>pango_layout_set_markup ()</h3>
1055
+ <pre class="programlisting"><span class="returnvalue">void</span>
1056
+ pango_layout_set_markup (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1057
+ <em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
1058
+ <em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
1059
+ <p>Same as <a class="link" href="pango-Layout-Objects.html#pango-layout-set-markup-with-accel" title="pango_layout_set_markup_with_accel ()"><code class="function">pango_layout_set_markup_with_accel()</code></a>, but
1060
+ the markup text isn't scanned for accelerators.</p>
1061
+ <div class="refsect3">
1062
+ <a name="id-1.2.8.10.10.5"></a><h4>Parameters</h4>
1063
+ <div class="informaltable"><table width="100%" border="0">
1064
+ <colgroup>
1065
+ <col width="150px" class="parameters_name">
1066
+ <col class="parameters_description">
1067
+ <col width="200px" class="parameters_annotations">
1068
+ </colgroup>
1069
+ <tbody>
1070
+ <tr>
1071
+ <td class="parameter_name"><p>layout</p></td>
1072
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1073
+ <td class="parameter_annotations"> </td>
1074
+ </tr>
1075
+ <tr>
1076
+ <td class="parameter_name"><p>markup</p></td>
1077
+ <td class="parameter_description"><p>marked-up text</p></td>
1078
+ <td class="parameter_annotations"> </td>
1079
+ </tr>
1080
+ <tr>
1081
+ <td class="parameter_name"><p>length</p></td>
1082
+ <td class="parameter_description"><p>length of marked-up text in bytes, or -1 if <em class="parameter"><code>markup</code></em>
1083
+ is
1084
+ null-terminated</p></td>
1085
+ <td class="parameter_annotations"> </td>
1086
+ </tr>
1087
+ </tbody>
1088
+ </table></div>
1089
+ </div>
1090
+ </div>
1091
+ <hr>
1092
+ <div class="refsect2">
1093
+ <a name="pango-layout-set-markup-with-accel"></a><h3>pango_layout_set_markup_with_accel ()</h3>
1094
+ <pre class="programlisting"><span class="returnvalue">void</span>
1095
+ pango_layout_set_markup_with_accel (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1096
+ <em class="parameter"><code>const <span class="type">char</span> *markup</code></em>,
1097
+ <em class="parameter"><code><span class="type">int</span> length</code></em>,
1098
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
1099
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>);</pre>
1100
+ <p>Sets the layout text and attribute list from marked-up text (see</p>
1101
+ <a href="PangoMarkupFormat.html">markup format</a>). Replaces
1102
+ <p>the current text and attribute list.</p>
1103
+ <p>If <em class="parameter"><code>accel_marker</code></em>
1104
+ is nonzero, the given character will mark the
1105
+ character following it as an accelerator. For example, <em class="parameter"><code>accel_marker</code></em>
1106
+
1107
+ might be an ampersand or underscore. All characters marked
1108
+ as an accelerator will receive a <a class="link" href="pango-Text-Attributes.html#PANGO-UNDERLINE-LOW:CAPS"><code class="literal">PANGO_UNDERLINE_LOW</code></a> attribute,
1109
+ and the first character so marked will be returned in <em class="parameter"><code>accel_char</code></em>
1110
+ .
1111
+ Two <em class="parameter"><code>accel_marker</code></em>
1112
+ characters following each other produce a single
1113
+ literal <em class="parameter"><code>accel_marker</code></em>
1114
+ character.</p>
1115
+ <div class="refsect3">
1116
+ <a name="id-1.2.8.10.11.8"></a><h4>Parameters</h4>
1117
+ <div class="informaltable"><table width="100%" border="0">
1118
+ <colgroup>
1119
+ <col width="150px" class="parameters_name">
1120
+ <col class="parameters_description">
1121
+ <col width="200px" class="parameters_annotations">
1122
+ </colgroup>
1123
+ <tbody>
1124
+ <tr>
1125
+ <td class="parameter_name"><p>layout</p></td>
1126
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1127
+ <td class="parameter_annotations"> </td>
1128
+ </tr>
1129
+ <tr>
1130
+ <td class="parameter_name"><p>markup</p></td>
1131
+ <td class="parameter_description"><p>marked-up text
1132
+ (see <a href="PangoMarkupFormat.html">markup format</a>)</p></td>
1133
+ <td class="parameter_annotations"> </td>
1134
+ </tr>
1135
+ <tr>
1136
+ <td class="parameter_name"><p>length</p></td>
1137
+ <td class="parameter_description"><p>length of marked-up text in bytes, or -1 if <em class="parameter"><code>markup</code></em>
1138
+ is
1139
+ null-terminated</p></td>
1140
+ <td class="parameter_annotations"> </td>
1141
+ </tr>
1142
+ <tr>
1143
+ <td class="parameter_name"><p>accel_marker</p></td>
1144
+ <td class="parameter_description"><p>marker for accelerators in the text</p></td>
1145
+ <td class="parameter_annotations"> </td>
1146
+ </tr>
1147
+ <tr>
1148
+ <td class="parameter_name"><p>accel_char</p></td>
1149
+ <td class="parameter_description"><p> return location
1150
+ for first located accelerator, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1151
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1152
+ </tr>
1153
+ </tbody>
1154
+ </table></div>
1155
+ </div>
1156
+ </div>
1157
+ <hr>
1158
+ <div class="refsect2">
1159
+ <a name="pango-layout-set-attributes"></a><h3>pango_layout_set_attributes ()</h3>
1160
+ <pre class="programlisting"><span class="returnvalue">void</span>
1161
+ pango_layout_set_attributes (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1162
+ <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *attrs</code></em>);</pre>
1163
+ <p>Sets the text attributes for a layout object.
1164
+ References <em class="parameter"><code>attrs</code></em>
1165
+ , so the caller can unref its reference.</p>
1166
+ <div class="refsect3">
1167
+ <a name="id-1.2.8.10.12.5"></a><h4>Parameters</h4>
1168
+ <div class="informaltable"><table width="100%" border="0">
1169
+ <colgroup>
1170
+ <col width="150px" class="parameters_name">
1171
+ <col class="parameters_description">
1172
+ <col width="200px" class="parameters_annotations">
1173
+ </colgroup>
1174
+ <tbody>
1175
+ <tr>
1176
+ <td class="parameter_name"><p>layout</p></td>
1177
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1178
+ <td class="parameter_annotations"> </td>
1179
+ </tr>
1180
+ <tr>
1181
+ <td class="parameter_name"><p>attrs</p></td>
1182
+ <td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1183
+ <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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
1184
+ </tr>
1185
+ </tbody>
1186
+ </table></div>
1187
+ </div>
1188
+ </div>
1189
+ <hr>
1190
+ <div class="refsect2">
1191
+ <a name="pango-layout-get-attributes"></a><h3>pango_layout_get_attributes ()</h3>
1192
+ <pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *
1193
+ pango_layout_get_attributes (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1194
+ <p>Gets the attribute list for the layout, if any.</p>
1195
+ <div class="refsect3">
1196
+ <a name="id-1.2.8.10.13.5"></a><h4>Parameters</h4>
1197
+ <div class="informaltable"><table width="100%" border="0">
1198
+ <colgroup>
1199
+ <col width="150px" class="parameters_name">
1200
+ <col class="parameters_description">
1201
+ <col width="200px" class="parameters_annotations">
1202
+ </colgroup>
1203
+ <tbody><tr>
1204
+ <td class="parameter_name"><p>layout</p></td>
1205
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1206
+ <td class="parameter_annotations"> </td>
1207
+ </tr></tbody>
1208
+ </table></div>
1209
+ </div>
1210
+ <div class="refsect3">
1211
+ <a name="id-1.2.8.10.13.6"></a><h4>Returns</h4>
1212
+ <p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. </p>
1213
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1214
+ </div>
1215
+ </div>
1216
+ <hr>
1217
+ <div class="refsect2">
1218
+ <a name="pango-layout-set-font-description"></a><h3>pango_layout_set_font_description ()</h3>
1219
+ <pre class="programlisting"><span class="returnvalue">void</span>
1220
+ pango_layout_set_font_description (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1221
+ <em class="parameter"><code>const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>);</pre>
1222
+ <p>Sets the default font description for the layout. If no font
1223
+ description is set on the layout, the font description from
1224
+ the layout's context is used.</p>
1225
+ <div class="refsect3">
1226
+ <a name="id-1.2.8.10.14.5"></a><h4>Parameters</h4>
1227
+ <div class="informaltable"><table width="100%" border="0">
1228
+ <colgroup>
1229
+ <col width="150px" class="parameters_name">
1230
+ <col class="parameters_description">
1231
+ <col width="200px" class="parameters_annotations">
1232
+ </colgroup>
1233
+ <tbody>
1234
+ <tr>
1235
+ <td class="parameter_name"><p>layout</p></td>
1236
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1237
+ <td class="parameter_annotations"> </td>
1238
+ </tr>
1239
+ <tr>
1240
+ <td class="parameter_name"><p>desc</p></td>
1241
+ <td class="parameter_description"><p> the new <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</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 the
1242
+ current font description. </p></td>
1243
+ <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>
1244
+ </tr>
1245
+ </tbody>
1246
+ </table></div>
1247
+ </div>
1248
+ </div>
1249
+ <hr>
1250
+ <div class="refsect2">
1251
+ <a name="pango-layout-get-font-description"></a><h3>pango_layout_get_font_description ()</h3>
1252
+ <pre class="programlisting">const <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> *
1253
+ pango_layout_get_font_description (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1254
+ <p>Gets the font description for the layout, if any.</p>
1255
+ <div class="refsect3">
1256
+ <a name="id-1.2.8.10.15.5"></a><h4>Parameters</h4>
1257
+ <div class="informaltable"><table width="100%" border="0">
1258
+ <colgroup>
1259
+ <col width="150px" class="parameters_name">
1260
+ <col class="parameters_description">
1261
+ <col width="200px" class="parameters_annotations">
1262
+ </colgroup>
1263
+ <tbody><tr>
1264
+ <td class="parameter_name"><p>layout</p></td>
1265
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1266
+ <td class="parameter_annotations"> </td>
1267
+ </tr></tbody>
1268
+ </table></div>
1269
+ </div>
1270
+ <div class="refsect3">
1271
+ <a name="id-1.2.8.10.15.6"></a><h4>Returns</h4>
1272
+ <p> a pointer to the layout's font description,
1273
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the font description from the layout's
1274
+ context is inherited. This value is owned by the layout
1275
+ and must not be modified or freed.</p>
1276
+ <p></p>
1277
+ </div>
1278
+ <p class="since">Since 1.8</p>
1279
+ </div>
1280
+ <hr>
1281
+ <div class="refsect2">
1282
+ <a name="pango-layout-set-width"></a><h3>pango_layout_set_width ()</h3>
1283
+ <pre class="programlisting"><span class="returnvalue">void</span>
1284
+ pango_layout_set_width (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1285
+ <em class="parameter"><code><span class="type">int</span> width</code></em>);</pre>
1286
+ <p>Sets the width to which the lines of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> should wrap or
1287
+ ellipsized. The default value is -1: no width set.</p>
1288
+ <div class="refsect3">
1289
+ <a name="id-1.2.8.10.16.5"></a><h4>Parameters</h4>
1290
+ <div class="informaltable"><table width="100%" border="0">
1291
+ <colgroup>
1292
+ <col width="150px" class="parameters_name">
1293
+ <col class="parameters_description">
1294
+ <col width="200px" class="parameters_annotations">
1295
+ </colgroup>
1296
+ <tbody>
1297
+ <tr>
1298
+ <td class="parameter_name"><p>layout</p></td>
1299
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p></td>
1300
+ <td class="parameter_annotations"> </td>
1301
+ </tr>
1302
+ <tr>
1303
+ <td class="parameter_name"><p>width</p></td>
1304
+ <td class="parameter_description"><p>the desired width in Pango units, or -1 to indicate that no
1305
+ wrapping or ellipsization should be performed.</p></td>
1306
+ <td class="parameter_annotations"> </td>
1307
+ </tr>
1308
+ </tbody>
1309
+ </table></div>
1310
+ </div>
1311
+ </div>
1312
+ <hr>
1313
+ <div class="refsect2">
1314
+ <a name="pango-layout-get-width"></a><h3>pango_layout_get_width ()</h3>
1315
+ <pre class="programlisting"><span class="returnvalue">int</span>
1316
+ pango_layout_get_width (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1317
+ <p>Gets the width to which the lines of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> should wrap.</p>
1318
+ <div class="refsect3">
1319
+ <a name="id-1.2.8.10.17.5"></a><h4>Parameters</h4>
1320
+ <div class="informaltable"><table width="100%" border="0">
1321
+ <colgroup>
1322
+ <col width="150px" class="parameters_name">
1323
+ <col class="parameters_description">
1324
+ <col width="200px" class="parameters_annotations">
1325
+ </colgroup>
1326
+ <tbody><tr>
1327
+ <td class="parameter_name"><p>layout</p></td>
1328
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1329
+ <td class="parameter_annotations"> </td>
1330
+ </tr></tbody>
1331
+ </table></div>
1332
+ </div>
1333
+ <div class="refsect3">
1334
+ <a name="id-1.2.8.10.17.6"></a><h4>Returns</h4>
1335
+ <p> the width in Pango units, or -1 if no width set.</p>
1336
+ <p></p>
1337
+ </div>
1338
+ </div>
1339
+ <hr>
1340
+ <div class="refsect2">
1341
+ <a name="pango-layout-set-height"></a><h3>pango_layout_set_height ()</h3>
1342
+ <pre class="programlisting"><span class="returnvalue">void</span>
1343
+ pango_layout_set_height (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1344
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
1345
+ <p>Sets the height to which the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> should be ellipsized at. There
1346
+ are two different behaviors, based on whether <em class="parameter"><code>height</code></em>
1347
+ is positive or
1348
+ negative.</p>
1349
+ <p>If <em class="parameter"><code>height</code></em>
1350
+ is positive, it will be the maximum height of the layout. Only
1351
+ lines would be shown that would fit, and if there is any text omitted,
1352
+ an ellipsis added. At least one line is included in each paragraph regardless
1353
+ of how small the height value is. A value of zero will render exactly one
1354
+ line for the entire layout.</p>
1355
+ <p>If <em class="parameter"><code>height</code></em>
1356
+ is negative, it will be the (negative of) maximum number of lines per
1357
+ paragraph. That is, the total number of lines shown may well be more than
1358
+ this value if the layout contains multiple paragraphs of text.
1359
+ The default value of -1 means that first line of each paragraph is ellipsized.
1360
+ This behvaior may be changed in the future to act per layout instead of per
1361
+ paragraph. File a bug against pango at <a class="ulink" href="http://bugzilla.gnome.org/" target="_top">http://bugzilla.gnome.org/</a> if your
1362
+ code relies on this behavior.</p>
1363
+ <p>Height setting only has effect if a positive width is set on
1364
+ <em class="parameter"><code>layout</code></em>
1365
+ and ellipsization mode of <em class="parameter"><code>layout</code></em>
1366
+ is not <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>.
1367
+ The behavior is undefined if a height other than -1 is set and
1368
+ ellipsization mode is set to <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>, and may change in the
1369
+ future.</p>
1370
+ <div class="refsect3">
1371
+ <a name="id-1.2.8.10.18.8"></a><h4>Parameters</h4>
1372
+ <div class="informaltable"><table width="100%" border="0">
1373
+ <colgroup>
1374
+ <col width="150px" class="parameters_name">
1375
+ <col class="parameters_description">
1376
+ <col width="200px" class="parameters_annotations">
1377
+ </colgroup>
1378
+ <tbody>
1379
+ <tr>
1380
+ <td class="parameter_name"><p>layout</p></td>
1381
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p></td>
1382
+ <td class="parameter_annotations"> </td>
1383
+ </tr>
1384
+ <tr>
1385
+ <td class="parameter_name"><p>height</p></td>
1386
+ <td class="parameter_description"><p>the desired height of the layout in Pango units if positive,
1387
+ or desired number of lines if negative.</p></td>
1388
+ <td class="parameter_annotations"> </td>
1389
+ </tr>
1390
+ </tbody>
1391
+ </table></div>
1392
+ </div>
1393
+ <p class="since">Since 1.20</p>
1394
+ </div>
1395
+ <hr>
1396
+ <div class="refsect2">
1397
+ <a name="pango-layout-get-height"></a><h3>pango_layout_get_height ()</h3>
1398
+ <pre class="programlisting"><span class="returnvalue">int</span>
1399
+ pango_layout_get_height (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1400
+ <p>Gets the height of layout used for ellipsization. See
1401
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" title="pango_layout_set_height ()"><code class="function">pango_layout_set_height()</code></a> for details.</p>
1402
+ <div class="refsect3">
1403
+ <a name="id-1.2.8.10.19.5"></a><h4>Parameters</h4>
1404
+ <div class="informaltable"><table width="100%" border="0">
1405
+ <colgroup>
1406
+ <col width="150px" class="parameters_name">
1407
+ <col class="parameters_description">
1408
+ <col width="200px" class="parameters_annotations">
1409
+ </colgroup>
1410
+ <tbody><tr>
1411
+ <td class="parameter_name"><p>layout</p></td>
1412
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1413
+ <td class="parameter_annotations"> </td>
1414
+ </tr></tbody>
1415
+ </table></div>
1416
+ </div>
1417
+ <div class="refsect3">
1418
+ <a name="id-1.2.8.10.19.6"></a><h4>Returns</h4>
1419
+ <p> the height, in Pango units if positive, or
1420
+ number of lines if negative.</p>
1421
+ <p></p>
1422
+ </div>
1423
+ <p class="since">Since 1.20</p>
1424
+ </div>
1425
+ <hr>
1426
+ <div class="refsect2">
1427
+ <a name="pango-layout-set-wrap"></a><h3>pango_layout_set_wrap ()</h3>
1428
+ <pre class="programlisting"><span class="returnvalue">void</span>
1429
+ pango_layout_set_wrap (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1430
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode"><span class="type">PangoWrapMode</span></a> wrap</code></em>);</pre>
1431
+ <p>Sets the wrap mode; the wrap mode only has effect if a width
1432
+ is set on the layout with <a class="link" href="pango-Layout-Objects.html#pango-layout-set-width" title="pango_layout_set_width ()"><code class="function">pango_layout_set_width()</code></a>.
1433
+ To turn off wrapping, set the width to -1.</p>
1434
+ <div class="refsect3">
1435
+ <a name="id-1.2.8.10.20.5"></a><h4>Parameters</h4>
1436
+ <div class="informaltable"><table width="100%" border="0">
1437
+ <colgroup>
1438
+ <col width="150px" class="parameters_name">
1439
+ <col class="parameters_description">
1440
+ <col width="200px" class="parameters_annotations">
1441
+ </colgroup>
1442
+ <tbody>
1443
+ <tr>
1444
+ <td class="parameter_name"><p>layout</p></td>
1445
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1446
+ <td class="parameter_annotations"> </td>
1447
+ </tr>
1448
+ <tr>
1449
+ <td class="parameter_name"><p>wrap</p></td>
1450
+ <td class="parameter_description"><p>the wrap mode</p></td>
1451
+ <td class="parameter_annotations"> </td>
1452
+ </tr>
1453
+ </tbody>
1454
+ </table></div>
1455
+ </div>
1456
+ </div>
1457
+ <hr>
1458
+ <div class="refsect2">
1459
+ <a name="pango-layout-get-wrap"></a><h3>pango_layout_get_wrap ()</h3>
1460
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a>
1461
+ pango_layout_get_wrap (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1462
+ <p>Gets the wrap mode for the layout.</p>
1463
+ <p>Use <a class="link" href="pango-Layout-Objects.html#pango-layout-is-wrapped" title="pango_layout_is_wrapped ()"><code class="function">pango_layout_is_wrapped()</code></a> to query whether any paragraphs
1464
+ were actually wrapped.</p>
1465
+ <div class="refsect3">
1466
+ <a name="id-1.2.8.10.21.6"></a><h4>Parameters</h4>
1467
+ <div class="informaltable"><table width="100%" border="0">
1468
+ <colgroup>
1469
+ <col width="150px" class="parameters_name">
1470
+ <col class="parameters_description">
1471
+ <col width="200px" class="parameters_annotations">
1472
+ </colgroup>
1473
+ <tbody><tr>
1474
+ <td class="parameter_name"><p>layout</p></td>
1475
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1476
+ <td class="parameter_annotations"> </td>
1477
+ </tr></tbody>
1478
+ </table></div>
1479
+ </div>
1480
+ <div class="refsect3">
1481
+ <a name="id-1.2.8.10.21.7"></a><h4>Returns</h4>
1482
+ <p> active wrap mode.</p>
1483
+ <p></p>
1484
+ </div>
1485
+ </div>
1486
+ <hr>
1487
+ <div class="refsect2">
1488
+ <a name="pango-layout-is-wrapped"></a><h3>pango_layout_is_wrapped ()</h3>
1489
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1490
+ pango_layout_is_wrapped (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1491
+ <p>Queries whether the layout had to wrap any paragraphs.</p>
1492
+ <p>This returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a positive width is set on <em class="parameter"><code>layout</code></em>
1493
+ ,
1494
+ ellipsization mode of <em class="parameter"><code>layout</code></em>
1495
+ is set to <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>,
1496
+ and there are paragraphs exceeding the layout width that have
1497
+ to be wrapped.</p>
1498
+ <div class="refsect3">
1499
+ <a name="id-1.2.8.10.22.6"></a><h4>Parameters</h4>
1500
+ <div class="informaltable"><table width="100%" border="0">
1501
+ <colgroup>
1502
+ <col width="150px" class="parameters_name">
1503
+ <col class="parameters_description">
1504
+ <col width="200px" class="parameters_annotations">
1505
+ </colgroup>
1506
+ <tbody><tr>
1507
+ <td class="parameter_name"><p>layout</p></td>
1508
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1509
+ <td class="parameter_annotations"> </td>
1510
+ </tr></tbody>
1511
+ </table></div>
1512
+ </div>
1513
+ <div class="refsect3">
1514
+ <a name="id-1.2.8.10.22.7"></a><h4>Returns</h4>
1515
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any paragraphs had to be wrapped, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1516
+ otherwise.</p>
1517
+ <p></p>
1518
+ </div>
1519
+ <p class="since">Since 1.16</p>
1520
+ </div>
1521
+ <hr>
1522
+ <div class="refsect2">
1523
+ <a name="PANGO-TYPE-WRAP-MODE:CAPS"></a><h3>PANGO_TYPE_WRAP_MODE</h3>
1524
+ <pre class="programlisting">#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type ())
1525
+ </pre>
1526
+ </div>
1527
+ <hr>
1528
+ <div class="refsect2">
1529
+ <a name="pango-layout-set-ellipsize"></a><h3>pango_layout_set_ellipsize ()</h3>
1530
+ <pre class="programlisting"><span class="returnvalue">void</span>
1531
+ pango_layout_set_ellipsize (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1532
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);</pre>
1533
+ <p>Sets the type of ellipsization being performed for <em class="parameter"><code>layout</code></em>
1534
+ .
1535
+ Depending on the ellipsization mode <em class="parameter"><code>ellipsize</code></em>
1536
+ text is
1537
+ removed from the start, middle, or end of text so they
1538
+ fit within the width and height of layout set with
1539
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-width" title="pango_layout_set_width ()"><code class="function">pango_layout_set_width()</code></a> and <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" title="pango_layout_set_height ()"><code class="function">pango_layout_set_height()</code></a>.</p>
1540
+ <p>If the layout contains characters such as newlines that
1541
+ force it to be layed out in multiple paragraphs, then whether
1542
+ each paragraph is ellipsized separately or the entire layout
1543
+ is ellipsized as a whole depends on the set height of the layout.
1544
+ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-height" title="pango_layout_set_height ()"><code class="function">pango_layout_set_height()</code></a> for details.</p>
1545
+ <div class="refsect3">
1546
+ <a name="id-1.2.8.10.24.6"></a><h4>Parameters</h4>
1547
+ <div class="informaltable"><table width="100%" border="0">
1548
+ <colgroup>
1549
+ <col width="150px" class="parameters_name">
1550
+ <col class="parameters_description">
1551
+ <col width="200px" class="parameters_annotations">
1552
+ </colgroup>
1553
+ <tbody>
1554
+ <tr>
1555
+ <td class="parameter_name"><p>layout</p></td>
1556
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1557
+ <td class="parameter_annotations"> </td>
1558
+ </tr>
1559
+ <tr>
1560
+ <td class="parameter_name"><p>ellipsize</p></td>
1561
+ <td class="parameter_description"><p>the new ellipsization mode for <em class="parameter"><code>layout</code></em>
1562
+ </p></td>
1563
+ <td class="parameter_annotations"> </td>
1564
+ </tr>
1565
+ </tbody>
1566
+ </table></div>
1567
+ </div>
1568
+ <p class="since">Since 1.6</p>
1569
+ </div>
1570
+ <hr>
1571
+ <div class="refsect2">
1572
+ <a name="pango-layout-get-ellipsize"></a><h3>pango_layout_get_ellipsize ()</h3>
1573
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>
1574
+ pango_layout_get_ellipsize (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1575
+ <p>Gets the type of ellipsization being performed for <em class="parameter"><code>layout</code></em>
1576
+ .
1577
+ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-ellipsize" title="pango_layout_set_ellipsize ()"><code class="function">pango_layout_set_ellipsize()</code></a></p>
1578
+ <div class="refsect3">
1579
+ <a name="id-1.2.8.10.25.5"></a><h4>Parameters</h4>
1580
+ <div class="informaltable"><table width="100%" border="0">
1581
+ <colgroup>
1582
+ <col width="150px" class="parameters_name">
1583
+ <col class="parameters_description">
1584
+ <col width="200px" class="parameters_annotations">
1585
+ </colgroup>
1586
+ <tbody><tr>
1587
+ <td class="parameter_name"><p>layout</p></td>
1588
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1589
+ <td class="parameter_annotations"> </td>
1590
+ </tr></tbody>
1591
+ </table></div>
1592
+ </div>
1593
+ <div class="refsect3">
1594
+ <a name="id-1.2.8.10.25.6"></a><h4>Returns</h4>
1595
+ <p> the current ellipsization mode for <em class="parameter"><code>layout</code></em>
1596
+ .</p>
1597
+ <p>Use <a class="link" href="pango-Layout-Objects.html#pango-layout-is-ellipsized" title="pango_layout_is_ellipsized ()"><code class="function">pango_layout_is_ellipsized()</code></a> to query whether any paragraphs
1598
+ were actually ellipsized.</p>
1599
+ <p></p>
1600
+ </div>
1601
+ <p class="since">Since 1.6</p>
1602
+ </div>
1603
+ <hr>
1604
+ <div class="refsect2">
1605
+ <a name="pango-layout-is-ellipsized"></a><h3>pango_layout_is_ellipsized ()</h3>
1606
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1607
+ pango_layout_is_ellipsized (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1608
+ <p>Queries whether the layout had to ellipsize any paragraphs.</p>
1609
+ <p>This returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the ellipsization mode for <em class="parameter"><code>layout</code></em>
1610
+
1611
+ is not <a class="link" href="pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a>, a positive width is set on <em class="parameter"><code>layout</code></em>
1612
+ ,
1613
+ and there are paragraphs exceeding that width that have to be
1614
+ ellipsized.</p>
1615
+ <div class="refsect3">
1616
+ <a name="id-1.2.8.10.26.6"></a><h4>Parameters</h4>
1617
+ <div class="informaltable"><table width="100%" border="0">
1618
+ <colgroup>
1619
+ <col width="150px" class="parameters_name">
1620
+ <col class="parameters_description">
1621
+ <col width="200px" class="parameters_annotations">
1622
+ </colgroup>
1623
+ <tbody><tr>
1624
+ <td class="parameter_name"><p>layout</p></td>
1625
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1626
+ <td class="parameter_annotations"> </td>
1627
+ </tr></tbody>
1628
+ </table></div>
1629
+ </div>
1630
+ <div class="refsect3">
1631
+ <a name="id-1.2.8.10.26.7"></a><h4>Returns</h4>
1632
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any paragraphs had to be ellipsized, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1633
+ otherwise.</p>
1634
+ <p></p>
1635
+ </div>
1636
+ <p class="since">Since 1.16</p>
1637
+ </div>
1638
+ <hr>
1639
+ <div class="refsect2">
1640
+ <a name="PANGO-TYPE-ELLIPSIZE-MODE:CAPS"></a><h3>PANGO_TYPE_ELLIPSIZE_MODE</h3>
1641
+ <pre class="programlisting">#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type ())
1642
+ </pre>
1643
+ </div>
1644
+ <hr>
1645
+ <div class="refsect2">
1646
+ <a name="pango-layout-set-indent"></a><h3>pango_layout_set_indent ()</h3>
1647
+ <pre class="programlisting"><span class="returnvalue">void</span>
1648
+ pango_layout_set_indent (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1649
+ <em class="parameter"><code><span class="type">int</span> indent</code></em>);</pre>
1650
+ <p>Sets the width in Pango units to indent each paragraph. A negative value
1651
+ of <em class="parameter"><code>indent</code></em>
1652
+ will produce a hanging indentation. That is, the first line will
1653
+ have the full width, and subsequent lines will be indented by the
1654
+ absolute value of <em class="parameter"><code>indent</code></em>
1655
+ .</p>
1656
+ <p>The indent setting is ignored if layout alignment is set to
1657
+ <a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-CENTER:CAPS"><code class="literal">PANGO_ALIGN_CENTER</code></a>.</p>
1658
+ <div class="refsect3">
1659
+ <a name="id-1.2.8.10.28.6"></a><h4>Parameters</h4>
1660
+ <div class="informaltable"><table width="100%" border="0">
1661
+ <colgroup>
1662
+ <col width="150px" class="parameters_name">
1663
+ <col class="parameters_description">
1664
+ <col width="200px" class="parameters_annotations">
1665
+ </colgroup>
1666
+ <tbody>
1667
+ <tr>
1668
+ <td class="parameter_name"><p>layout</p></td>
1669
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p></td>
1670
+ <td class="parameter_annotations"> </td>
1671
+ </tr>
1672
+ <tr>
1673
+ <td class="parameter_name"><p>indent</p></td>
1674
+ <td class="parameter_description"><p>the amount by which to indent.</p></td>
1675
+ <td class="parameter_annotations"> </td>
1676
+ </tr>
1677
+ </tbody>
1678
+ </table></div>
1679
+ </div>
1680
+ </div>
1681
+ <hr>
1682
+ <div class="refsect2">
1683
+ <a name="pango-layout-get-indent"></a><h3>pango_layout_get_indent ()</h3>
1684
+ <pre class="programlisting"><span class="returnvalue">int</span>
1685
+ pango_layout_get_indent (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1686
+ <p>Gets the paragraph indent width in Pango units. A negative value
1687
+ indicates a hanging indentation.</p>
1688
+ <div class="refsect3">
1689
+ <a name="id-1.2.8.10.29.5"></a><h4>Parameters</h4>
1690
+ <div class="informaltable"><table width="100%" border="0">
1691
+ <colgroup>
1692
+ <col width="150px" class="parameters_name">
1693
+ <col class="parameters_description">
1694
+ <col width="200px" class="parameters_annotations">
1695
+ </colgroup>
1696
+ <tbody><tr>
1697
+ <td class="parameter_name"><p>layout</p></td>
1698
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1699
+ <td class="parameter_annotations"> </td>
1700
+ </tr></tbody>
1701
+ </table></div>
1702
+ </div>
1703
+ <div class="refsect3">
1704
+ <a name="id-1.2.8.10.29.6"></a><h4>Returns</h4>
1705
+ <p> the indent in Pango units.</p>
1706
+ <p></p>
1707
+ </div>
1708
+ </div>
1709
+ <hr>
1710
+ <div class="refsect2">
1711
+ <a name="pango-layout-get-spacing"></a><h3>pango_layout_get_spacing ()</h3>
1712
+ <pre class="programlisting"><span class="returnvalue">int</span>
1713
+ pango_layout_get_spacing (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1714
+ <p>Gets the amount of spacing between the lines of the layout.</p>
1715
+ <div class="refsect3">
1716
+ <a name="id-1.2.8.10.30.5"></a><h4>Parameters</h4>
1717
+ <div class="informaltable"><table width="100%" border="0">
1718
+ <colgroup>
1719
+ <col width="150px" class="parameters_name">
1720
+ <col class="parameters_description">
1721
+ <col width="200px" class="parameters_annotations">
1722
+ </colgroup>
1723
+ <tbody><tr>
1724
+ <td class="parameter_name"><p>layout</p></td>
1725
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1726
+ <td class="parameter_annotations"> </td>
1727
+ </tr></tbody>
1728
+ </table></div>
1729
+ </div>
1730
+ <div class="refsect3">
1731
+ <a name="id-1.2.8.10.30.6"></a><h4>Returns</h4>
1732
+ <p> the spacing in Pango units.</p>
1733
+ <p></p>
1734
+ </div>
1735
+ </div>
1736
+ <hr>
1737
+ <div class="refsect2">
1738
+ <a name="pango-layout-set-spacing"></a><h3>pango_layout_set_spacing ()</h3>
1739
+ <pre class="programlisting"><span class="returnvalue">void</span>
1740
+ pango_layout_set_spacing (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1741
+ <em class="parameter"><code><span class="type">int</span> spacing</code></em>);</pre>
1742
+ <p>Sets the amount of spacing in Pango unit between the lines of the
1743
+ layout.</p>
1744
+ <div class="refsect3">
1745
+ <a name="id-1.2.8.10.31.5"></a><h4>Parameters</h4>
1746
+ <div class="informaltable"><table width="100%" border="0">
1747
+ <colgroup>
1748
+ <col width="150px" class="parameters_name">
1749
+ <col class="parameters_description">
1750
+ <col width="200px" class="parameters_annotations">
1751
+ </colgroup>
1752
+ <tbody>
1753
+ <tr>
1754
+ <td class="parameter_name"><p>layout</p></td>
1755
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p></td>
1756
+ <td class="parameter_annotations"> </td>
1757
+ </tr>
1758
+ <tr>
1759
+ <td class="parameter_name"><p>spacing</p></td>
1760
+ <td class="parameter_description"><p>the amount of spacing</p></td>
1761
+ <td class="parameter_annotations"> </td>
1762
+ </tr>
1763
+ </tbody>
1764
+ </table></div>
1765
+ </div>
1766
+ </div>
1767
+ <hr>
1768
+ <div class="refsect2">
1769
+ <a name="pango-layout-set-justify"></a><h3>pango_layout_set_justify ()</h3>
1770
+ <pre class="programlisting"><span class="returnvalue">void</span>
1771
+ pango_layout_set_justify (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1772
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> justify</code></em>);</pre>
1773
+ <p>Sets whether each complete line should be stretched to
1774
+ fill the entire width of the layout. This stretching is typically
1775
+ done by adding whitespace, but for some scripts (such as Arabic),
1776
+ the justification may be done in more complex ways, like extending
1777
+ the characters.</p>
1778
+ <p>Note that this setting is not implemented and so is ignored in Pango
1779
+ older than 1.18.</p>
1780
+ <div class="refsect3">
1781
+ <a name="id-1.2.8.10.32.6"></a><h4>Parameters</h4>
1782
+ <div class="informaltable"><table width="100%" border="0">
1783
+ <colgroup>
1784
+ <col width="150px" class="parameters_name">
1785
+ <col class="parameters_description">
1786
+ <col width="200px" class="parameters_annotations">
1787
+ </colgroup>
1788
+ <tbody>
1789
+ <tr>
1790
+ <td class="parameter_name"><p>layout</p></td>
1791
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1792
+ <td class="parameter_annotations"> </td>
1793
+ </tr>
1794
+ <tr>
1795
+ <td class="parameter_name"><p>justify</p></td>
1796
+ <td class="parameter_description"><p>whether the lines in the layout should be justified.</p></td>
1797
+ <td class="parameter_annotations"> </td>
1798
+ </tr>
1799
+ </tbody>
1800
+ </table></div>
1801
+ </div>
1802
+ </div>
1803
+ <hr>
1804
+ <div class="refsect2">
1805
+ <a name="pango-layout-get-justify"></a><h3>pango_layout_get_justify ()</h3>
1806
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1807
+ pango_layout_get_justify (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1808
+ <p>Gets whether each complete line should be stretched to fill the entire
1809
+ width of the layout.</p>
1810
+ <div class="refsect3">
1811
+ <a name="id-1.2.8.10.33.5"></a><h4>Parameters</h4>
1812
+ <div class="informaltable"><table width="100%" border="0">
1813
+ <colgroup>
1814
+ <col width="150px" class="parameters_name">
1815
+ <col class="parameters_description">
1816
+ <col width="200px" class="parameters_annotations">
1817
+ </colgroup>
1818
+ <tbody><tr>
1819
+ <td class="parameter_name"><p>layout</p></td>
1820
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1821
+ <td class="parameter_annotations"> </td>
1822
+ </tr></tbody>
1823
+ </table></div>
1824
+ </div>
1825
+ <div class="refsect3">
1826
+ <a name="id-1.2.8.10.33.6"></a><h4>Returns</h4>
1827
+ <p> the justify.</p>
1828
+ <p></p>
1829
+ </div>
1830
+ </div>
1831
+ <hr>
1832
+ <div class="refsect2">
1833
+ <a name="pango-layout-set-auto-dir"></a><h3>pango_layout_set_auto_dir ()</h3>
1834
+ <pre class="programlisting"><span class="returnvalue">void</span>
1835
+ pango_layout_set_auto_dir (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1836
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_dir</code></em>);</pre>
1837
+ <p>Sets whether to calculate the bidirectional base direction
1838
+ for the layout according to the contents of the layout;
1839
+ when this flag is on (the default), then paragraphs in
1840
+ <em class="parameter"><code>layout</code></em>
1841
+ that begin with strong right-to-left characters
1842
+ (Arabic and Hebrew principally), will have right-to-left
1843
+ layout, paragraphs with letters from other scripts will
1844
+ have left-to-right layout. Paragraphs with only neutral
1845
+ characters get their direction from the surrounding paragraphs.</p>
1846
+ <p>When <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the choice between left-to-right and
1847
+ right-to-left layout is done according to the base direction
1848
+ of the layout's <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. (See <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a>).</p>
1849
+ <p>When the auto-computed direction of a paragraph differs from the
1850
+ base direction of the context, the interpretation of
1851
+ <a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-LEFT:CAPS"><code class="literal">PANGO_ALIGN_LEFT</code></a> and <a class="link" href="pango-Layout-Objects.html#PANGO-ALIGN-RIGHT:CAPS"><code class="literal">PANGO_ALIGN_RIGHT</code></a> are swapped.</p>
1852
+ <div class="refsect3">
1853
+ <a name="id-1.2.8.10.34.7"></a><h4>Parameters</h4>
1854
+ <div class="informaltable"><table width="100%" border="0">
1855
+ <colgroup>
1856
+ <col width="150px" class="parameters_name">
1857
+ <col class="parameters_description">
1858
+ <col width="200px" class="parameters_annotations">
1859
+ </colgroup>
1860
+ <tbody>
1861
+ <tr>
1862
+ <td class="parameter_name"><p>layout</p></td>
1863
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1864
+ <td class="parameter_annotations"> </td>
1865
+ </tr>
1866
+ <tr>
1867
+ <td class="parameter_name"><p>auto_dir</p></td>
1868
+ <td class="parameter_description"><p>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, compute the bidirectional base direction
1869
+ from the layout's contents.</p></td>
1870
+ <td class="parameter_annotations"> </td>
1871
+ </tr>
1872
+ </tbody>
1873
+ </table></div>
1874
+ </div>
1875
+ <p class="since">Since 1.4</p>
1876
+ </div>
1877
+ <hr>
1878
+ <div class="refsect2">
1879
+ <a name="pango-layout-get-auto-dir"></a><h3>pango_layout_get_auto_dir ()</h3>
1880
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1881
+ pango_layout_get_auto_dir (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1882
+ <p>Gets whether to calculate the bidirectional base direction
1883
+ for the layout according to the contents of the layout.
1884
+ See <a class="link" href="pango-Layout-Objects.html#pango-layout-set-auto-dir" title="pango_layout_set_auto_dir ()"><code class="function">pango_layout_set_auto_dir()</code></a>.</p>
1885
+ <div class="refsect3">
1886
+ <a name="id-1.2.8.10.35.5"></a><h4>Parameters</h4>
1887
+ <div class="informaltable"><table width="100%" border="0">
1888
+ <colgroup>
1889
+ <col width="150px" class="parameters_name">
1890
+ <col class="parameters_description">
1891
+ <col width="200px" class="parameters_annotations">
1892
+ </colgroup>
1893
+ <tbody><tr>
1894
+ <td class="parameter_name"><p>layout</p></td>
1895
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1896
+ <td class="parameter_annotations"> </td>
1897
+ </tr></tbody>
1898
+ </table></div>
1899
+ </div>
1900
+ <div class="refsect3">
1901
+ <a name="id-1.2.8.10.35.6"></a><h4>Returns</h4>
1902
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the bidirectional base direction
1903
+ is computed from the layout's contents, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
1904
+ <p></p>
1905
+ </div>
1906
+ <p class="since">Since 1.4</p>
1907
+ </div>
1908
+ <hr>
1909
+ <div class="refsect2">
1910
+ <a name="pango-layout-set-alignment"></a><h3>pango_layout_set_alignment ()</h3>
1911
+ <pre class="programlisting"><span class="returnvalue">void</span>
1912
+ pango_layout_set_alignment (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1913
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment"><span class="type">PangoAlignment</span></a> alignment</code></em>);</pre>
1914
+ <p>Sets the alignment for the layout: how partial lines are
1915
+ positioned within the horizontal space available.</p>
1916
+ <div class="refsect3">
1917
+ <a name="id-1.2.8.10.36.5"></a><h4>Parameters</h4>
1918
+ <div class="informaltable"><table width="100%" border="0">
1919
+ <colgroup>
1920
+ <col width="150px" class="parameters_name">
1921
+ <col class="parameters_description">
1922
+ <col width="200px" class="parameters_annotations">
1923
+ </colgroup>
1924
+ <tbody>
1925
+ <tr>
1926
+ <td class="parameter_name"><p>layout</p></td>
1927
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1928
+ <td class="parameter_annotations"> </td>
1929
+ </tr>
1930
+ <tr>
1931
+ <td class="parameter_name"><p>alignment</p></td>
1932
+ <td class="parameter_description"><p>the alignment</p></td>
1933
+ <td class="parameter_annotations"> </td>
1934
+ </tr>
1935
+ </tbody>
1936
+ </table></div>
1937
+ </div>
1938
+ </div>
1939
+ <hr>
1940
+ <div class="refsect2">
1941
+ <a name="pango-layout-get-alignment"></a><h3>pango_layout_get_alignment ()</h3>
1942
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment"><span class="returnvalue">PangoAlignment</span></a>
1943
+ pango_layout_get_alignment (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1944
+ <p>Gets the alignment for the layout: how partial lines are
1945
+ positioned within the horizontal space available.</p>
1946
+ <div class="refsect3">
1947
+ <a name="id-1.2.8.10.37.5"></a><h4>Parameters</h4>
1948
+ <div class="informaltable"><table width="100%" border="0">
1949
+ <colgroup>
1950
+ <col width="150px" class="parameters_name">
1951
+ <col class="parameters_description">
1952
+ <col width="200px" class="parameters_annotations">
1953
+ </colgroup>
1954
+ <tbody><tr>
1955
+ <td class="parameter_name"><p>layout</p></td>
1956
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1957
+ <td class="parameter_annotations"> </td>
1958
+ </tr></tbody>
1959
+ </table></div>
1960
+ </div>
1961
+ <div class="refsect3">
1962
+ <a name="id-1.2.8.10.37.6"></a><h4>Returns</h4>
1963
+ <p> the alignment.</p>
1964
+ <p></p>
1965
+ </div>
1966
+ </div>
1967
+ <hr>
1968
+ <div class="refsect2">
1969
+ <a name="pango-layout-set-tabs"></a><h3>pango_layout_set_tabs ()</h3>
1970
+ <pre class="programlisting"><span class="returnvalue">void</span>
1971
+ pango_layout_set_tabs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
1972
+ <em class="parameter"><code><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> *tabs</code></em>);</pre>
1973
+ <p>Sets the tabs to use for <em class="parameter"><code>layout</code></em>
1974
+ , overriding the default tabs
1975
+ (by default, tabs are every 8 spaces). If <em class="parameter"><code>tabs</code></em>
1976
+ is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default
1977
+ tabs are reinstated. <em class="parameter"><code>tabs</code></em>
1978
+ is copied into the layout; you must
1979
+ free your copy of <em class="parameter"><code>tabs</code></em>
1980
+ yourself.</p>
1981
+ <div class="refsect3">
1982
+ <a name="id-1.2.8.10.38.5"></a><h4>Parameters</h4>
1983
+ <div class="informaltable"><table width="100%" border="0">
1984
+ <colgroup>
1985
+ <col width="150px" class="parameters_name">
1986
+ <col class="parameters_description">
1987
+ <col width="200px" class="parameters_annotations">
1988
+ </colgroup>
1989
+ <tbody>
1990
+ <tr>
1991
+ <td class="parameter_name"><p>layout</p></td>
1992
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
1993
+ <td class="parameter_annotations"> </td>
1994
+ </tr>
1995
+ <tr>
1996
+ <td class="parameter_name"><p>tabs</p></td>
1997
+ <td class="parameter_description"><p> a <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1998
+ <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>
1999
+ </tr>
2000
+ </tbody>
2001
+ </table></div>
2002
+ </div>
2003
+ </div>
2004
+ <hr>
2005
+ <div class="refsect2">
2006
+ <a name="pango-layout-get-tabs"></a><h3>pango_layout_get_tabs ()</h3>
2007
+ <pre class="programlisting"><a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="returnvalue">PangoTabArray</span></a> *
2008
+ pango_layout_get_tabs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2009
+ <p>Gets the current <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> used by this layout. If no
2010
+ <a class="link" href="pango-Tab-Stops.html#PangoTabArray"><span class="type">PangoTabArray</span></a> has been set, then the default tabs are in use
2011
+ and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned. Default tabs are every 8 spaces.
2012
+ The return value should be freed with <a class="link" href="pango-Tab-Stops.html#pango-tab-array-free" title="pango_tab_array_free ()"><code class="function">pango_tab_array_free()</code></a>.</p>
2013
+ <div class="refsect3">
2014
+ <a name="id-1.2.8.10.39.5"></a><h4>Parameters</h4>
2015
+ <div class="informaltable"><table width="100%" border="0">
2016
+ <colgroup>
2017
+ <col width="150px" class="parameters_name">
2018
+ <col class="parameters_description">
2019
+ <col width="200px" class="parameters_annotations">
2020
+ </colgroup>
2021
+ <tbody><tr>
2022
+ <td class="parameter_name"><p>layout</p></td>
2023
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2024
+ <td class="parameter_annotations"> </td>
2025
+ </tr></tbody>
2026
+ </table></div>
2027
+ </div>
2028
+ <div class="refsect3">
2029
+ <a name="id-1.2.8.10.39.6"></a><h4>Returns</h4>
2030
+ <p> a copy of the tabs for this layout, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
2031
+ <p></p>
2032
+ </div>
2033
+ </div>
2034
+ <hr>
2035
+ <div class="refsect2">
2036
+ <a name="pango-layout-set-single-paragraph-mode"></a><h3>pango_layout_set_single_paragraph_mode ()</h3>
2037
+ <pre class="programlisting"><span class="returnvalue">void</span>
2038
+ pango_layout_set_single_paragraph_mode
2039
+ (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2040
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
2041
+ <p>If <em class="parameter"><code>setting</code></em>
2042
+ is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, do not treat newlines and similar characters
2043
+ as paragraph separators; instead, keep all text in a single paragraph,
2044
+ and display a glyph for paragraph separator characters. Used when
2045
+ you want to allow editing of newlines on a single text line.</p>
2046
+ <div class="refsect3">
2047
+ <a name="id-1.2.8.10.40.5"></a><h4>Parameters</h4>
2048
+ <div class="informaltable"><table width="100%" border="0">
2049
+ <colgroup>
2050
+ <col width="150px" class="parameters_name">
2051
+ <col class="parameters_description">
2052
+ <col width="200px" class="parameters_annotations">
2053
+ </colgroup>
2054
+ <tbody>
2055
+ <tr>
2056
+ <td class="parameter_name"><p>layout</p></td>
2057
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2058
+ <td class="parameter_annotations"> </td>
2059
+ </tr>
2060
+ <tr>
2061
+ <td class="parameter_name"><p>setting</p></td>
2062
+ <td class="parameter_description"><p>new setting</p></td>
2063
+ <td class="parameter_annotations"> </td>
2064
+ </tr>
2065
+ </tbody>
2066
+ </table></div>
2067
+ </div>
2068
+ </div>
2069
+ <hr>
2070
+ <div class="refsect2">
2071
+ <a name="pango-layout-get-single-paragraph-mode"></a><h3>pango_layout_get_single_paragraph_mode ()</h3>
2072
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2073
+ pango_layout_get_single_paragraph_mode
2074
+ (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2075
+ <p>Obtains the value set by <a class="link" href="pango-Layout-Objects.html#pango-layout-set-single-paragraph-mode" title="pango_layout_set_single_paragraph_mode ()"><code class="function">pango_layout_set_single_paragraph_mode()</code></a>.</p>
2076
+ <div class="refsect3">
2077
+ <a name="id-1.2.8.10.41.5"></a><h4>Parameters</h4>
2078
+ <div class="informaltable"><table width="100%" border="0">
2079
+ <colgroup>
2080
+ <col width="150px" class="parameters_name">
2081
+ <col class="parameters_description">
2082
+ <col width="200px" class="parameters_annotations">
2083
+ </colgroup>
2084
+ <tbody><tr>
2085
+ <td class="parameter_name"><p>layout</p></td>
2086
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2087
+ <td class="parameter_annotations"> </td>
2088
+ </tr></tbody>
2089
+ </table></div>
2090
+ </div>
2091
+ <div class="refsect3">
2092
+ <a name="id-1.2.8.10.41.6"></a><h4>Returns</h4>
2093
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout does not break paragraphs at
2094
+ paragraph separator characters, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
2095
+ <p></p>
2096
+ </div>
2097
+ </div>
2098
+ <hr>
2099
+ <div class="refsect2">
2100
+ <a name="PANGO-TYPE-ALIGNMENT:CAPS"></a><h3>PANGO_TYPE_ALIGNMENT</h3>
2101
+ <pre class="programlisting">#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type ())
2102
+ </pre>
2103
+ </div>
2104
+ <hr>
2105
+ <div class="refsect2">
2106
+ <a name="pango-layout-get-unknown-glyphs-count"></a><h3>pango_layout_get_unknown_glyphs_count ()</h3>
2107
+ <pre class="programlisting"><span class="returnvalue">int</span>
2108
+ pango_layout_get_unknown_glyphs_count (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2109
+ <p>Counts the number unknown glyphs in <em class="parameter"><code>layout</code></em>
2110
+ . That is, zero if
2111
+ glyphs for all characters in the layout text were found, or more
2112
+ than zero otherwise.</p>
2113
+ <p>This function can be used to determine if there are any fonts
2114
+ available to render all characters in a certain string, or when
2115
+ used in combination with <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-FALLBACK:CAPS"><code class="literal">PANGO_ATTR_FALLBACK</code></a>, to check if a
2116
+ certain font supports all the characters in the string.</p>
2117
+ <div class="refsect3">
2118
+ <a name="id-1.2.8.10.43.6"></a><h4>Parameters</h4>
2119
+ <div class="informaltable"><table width="100%" border="0">
2120
+ <colgroup>
2121
+ <col width="150px" class="parameters_name">
2122
+ <col class="parameters_description">
2123
+ <col width="200px" class="parameters_annotations">
2124
+ </colgroup>
2125
+ <tbody><tr>
2126
+ <td class="parameter_name"><p>layout</p></td>
2127
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2128
+ <td class="parameter_annotations"> </td>
2129
+ </tr></tbody>
2130
+ </table></div>
2131
+ </div>
2132
+ <div class="refsect3">
2133
+ <a name="id-1.2.8.10.43.7"></a><h4>Returns</h4>
2134
+ <p> The number of unknown glyphs in <em class="parameter"><code>layout</code></em>
2135
+ .</p>
2136
+ <p></p>
2137
+ </div>
2138
+ <p class="since">Since 1.16</p>
2139
+ </div>
2140
+ <hr>
2141
+ <div class="refsect2">
2142
+ <a name="pango-layout-get-log-attrs"></a><h3>pango_layout_get_log_attrs ()</h3>
2143
+ <pre class="programlisting"><span class="returnvalue">void</span>
2144
+ pango_layout_get_log_attrs (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2145
+ <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="type">PangoLogAttr</span></a> **attrs</code></em>,
2146
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);</pre>
2147
+ <p>Retrieves an array of logical attributes for each character in
2148
+ the <em class="parameter"><code>layout</code></em>
2149
+ .</p>
2150
+ <div class="refsect3">
2151
+ <a name="id-1.2.8.10.44.5"></a><h4>Parameters</h4>
2152
+ <div class="informaltable"><table width="100%" border="0">
2153
+ <colgroup>
2154
+ <col width="150px" class="parameters_name">
2155
+ <col class="parameters_description">
2156
+ <col width="200px" class="parameters_annotations">
2157
+ </colgroup>
2158
+ <tbody>
2159
+ <tr>
2160
+ <td class="parameter_name"><p>layout</p></td>
2161
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2162
+ <td class="parameter_annotations"> </td>
2163
+ </tr>
2164
+ <tr>
2165
+ <td class="parameter_name"><p>attrs</p></td>
2166
+ <td class="parameter_description"><p> location to store a pointer to an array of logical attributes
2167
+ This value must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
2168
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_attrs][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
2169
+ </tr>
2170
+ <tr>
2171
+ <td class="parameter_name"><p>n_attrs</p></td>
2172
+ <td class="parameter_description"><p> location to store the number of the attributes in the
2173
+ array. (The stored value will be one more than the total number
2174
+ of characters in the layout, since there need to be attributes
2175
+ corresponding to both the position before the first character
2176
+ and the position after the last character.). </p></td>
2177
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2178
+ </tr>
2179
+ </tbody>
2180
+ </table></div>
2181
+ </div>
2182
+ </div>
2183
+ <hr>
2184
+ <div class="refsect2">
2185
+ <a name="pango-layout-get-log-attrs-readonly"></a><h3>pango_layout_get_log_attrs_readonly ()</h3>
2186
+ <pre class="programlisting">const <a class="link" href="pango-Text-Processing.html#PangoLogAttr" title="PangoLogAttr"><span class="returnvalue">PangoLogAttr</span></a> *
2187
+ pango_layout_get_log_attrs_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2188
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_attrs</code></em>);</pre>
2189
+ <p>Retrieves an array of logical attributes for each character in
2190
+ the <em class="parameter"><code>layout</code></em>
2191
+ .</p>
2192
+ <p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-get-log-attrs" title="pango_layout_get_log_attrs ()"><code class="function">pango_layout_get_log_attrs()</code></a>.
2193
+ The returned array is part of <em class="parameter"><code>layout</code></em>
2194
+ and must not be modified.
2195
+ Modifying the layout will invalidate the returned array.</p>
2196
+ <p>The number of attributes returned in <em class="parameter"><code>n_attrs</code></em>
2197
+ will be one more
2198
+ than the total number of characters in the layout, since there
2199
+ need to be attributes corresponding to both the position before
2200
+ the first character and the position after the last character.</p>
2201
+ <div class="refsect3">
2202
+ <a name="id-1.2.8.10.45.7"></a><h4>Parameters</h4>
2203
+ <div class="informaltable"><table width="100%" border="0">
2204
+ <colgroup>
2205
+ <col width="150px" class="parameters_name">
2206
+ <col class="parameters_description">
2207
+ <col width="200px" class="parameters_annotations">
2208
+ </colgroup>
2209
+ <tbody>
2210
+ <tr>
2211
+ <td class="parameter_name"><p>layout</p></td>
2212
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2213
+ <td class="parameter_annotations"> </td>
2214
+ </tr>
2215
+ <tr>
2216
+ <td class="parameter_name"><p>n_attrs</p></td>
2217
+ <td class="parameter_description"><p> location to store the number of the attributes in
2218
+ the array. </p></td>
2219
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2220
+ </tr>
2221
+ </tbody>
2222
+ </table></div>
2223
+ </div>
2224
+ <div class="refsect3">
2225
+ <a name="id-1.2.8.10.45.8"></a><h4>Returns</h4>
2226
+ <p> an array of logical attributes. </p>
2227
+ <p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_attrs]</span></p>
2228
+ </div>
2229
+ <p class="since">Since 1.30</p>
2230
+ </div>
2231
+ <hr>
2232
+ <div class="refsect2">
2233
+ <a name="pango-layout-index-to-pos"></a><h3>pango_layout_index_to_pos ()</h3>
2234
+ <pre class="programlisting"><span class="returnvalue">void</span>
2235
+ pango_layout_index_to_pos (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2236
+ <em class="parameter"><code><span class="type">int</span> index_</code></em>,
2237
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *pos</code></em>);</pre>
2238
+ <p>Converts from an index within a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> to the onscreen position
2239
+ corresponding to the grapheme at that index, which is represented
2240
+ as rectangle. Note that <code class="literal">pos-&gt;x</code> is always the leading
2241
+ edge of the grapheme and <code class="literal">pos-&gt;x + pos-&gt;width</code> the trailing
2242
+ edge of the grapheme. If the directionality of the grapheme is right-to-left,
2243
+ then <code class="literal">pos-&gt;width</code> will be negative.</p>
2244
+ <div class="refsect3">
2245
+ <a name="id-1.2.8.10.46.5"></a><h4>Parameters</h4>
2246
+ <div class="informaltable"><table width="100%" border="0">
2247
+ <colgroup>
2248
+ <col width="150px" class="parameters_name">
2249
+ <col class="parameters_description">
2250
+ <col width="200px" class="parameters_annotations">
2251
+ </colgroup>
2252
+ <tbody>
2253
+ <tr>
2254
+ <td class="parameter_name"><p>layout</p></td>
2255
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2256
+ <td class="parameter_annotations"> </td>
2257
+ </tr>
2258
+ <tr>
2259
+ <td class="parameter_name"><p>index_</p></td>
2260
+ <td class="parameter_description"><p>byte index within <em class="parameter"><code>layout</code></em>
2261
+ </p></td>
2262
+ <td class="parameter_annotations"> </td>
2263
+ </tr>
2264
+ <tr>
2265
+ <td class="parameter_name"><p>pos</p></td>
2266
+ <td class="parameter_description"><p> rectangle in which to store the position of the grapheme. </p></td>
2267
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2268
+ </tr>
2269
+ </tbody>
2270
+ </table></div>
2271
+ </div>
2272
+ </div>
2273
+ <hr>
2274
+ <div class="refsect2">
2275
+ <a name="pango-layout-index-to-line-x"></a><h3>pango_layout_index_to_line_x ()</h3>
2276
+ <pre class="programlisting"><span class="returnvalue">void</span>
2277
+ pango_layout_index_to_line_x (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2278
+ <em class="parameter"><code><span class="type">int</span> index_</code></em>,
2279
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
2280
+ <em class="parameter"><code><span class="type">int</span> *line</code></em>,
2281
+ <em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
2282
+ <p>Converts from byte <em class="parameter"><code>index_</code></em>
2283
+ within the <em class="parameter"><code>layout</code></em>
2284
+ to line and X position.
2285
+ (X position is measured from the left edge of the line)</p>
2286
+ <div class="refsect3">
2287
+ <a name="id-1.2.8.10.47.5"></a><h4>Parameters</h4>
2288
+ <div class="informaltable"><table width="100%" border="0">
2289
+ <colgroup>
2290
+ <col width="150px" class="parameters_name">
2291
+ <col class="parameters_description">
2292
+ <col width="200px" class="parameters_annotations">
2293
+ </colgroup>
2294
+ <tbody>
2295
+ <tr>
2296
+ <td class="parameter_name"><p>layout</p></td>
2297
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2298
+ <td class="parameter_annotations"> </td>
2299
+ </tr>
2300
+ <tr>
2301
+ <td class="parameter_name"><p>index_</p></td>
2302
+ <td class="parameter_description"><p>the byte index of a grapheme within the layout.</p></td>
2303
+ <td class="parameter_annotations"> </td>
2304
+ </tr>
2305
+ <tr>
2306
+ <td class="parameter_name"><p>trailing</p></td>
2307
+ <td class="parameter_description"><p>an integer indicating the edge of the grapheme to retrieve the
2308
+ position of. If 0, the trailing edge of the grapheme, if &gt; 0,
2309
+ the leading of the grapheme.</p></td>
2310
+ <td class="parameter_annotations"> </td>
2311
+ </tr>
2312
+ <tr>
2313
+ <td class="parameter_name"><p>line</p></td>
2314
+ <td class="parameter_description"><p> location to store resulting line index. (which will
2315
+ between 0 and pango_layout_get_line_count(layout) - 1), or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
2316
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2317
+ </tr>
2318
+ <tr>
2319
+ <td class="parameter_name"><p>x_pos</p></td>
2320
+ <td class="parameter_description"><p> location to store resulting position within line
2321
+ (<a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a> units per device unit), or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
2322
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2323
+ </tr>
2324
+ </tbody>
2325
+ </table></div>
2326
+ </div>
2327
+ </div>
2328
+ <hr>
2329
+ <div class="refsect2">
2330
+ <a name="pango-layout-xy-to-index"></a><h3>pango_layout_xy_to_index ()</h3>
2331
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
2332
+ pango_layout_xy_to_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2333
+ <em class="parameter"><code><span class="type">int</span> x</code></em>,
2334
+ <em class="parameter"><code><span class="type">int</span> y</code></em>,
2335
+ <em class="parameter"><code><span class="type">int</span> *index_</code></em>,
2336
+ <em class="parameter"><code><span class="type">int</span> *trailing</code></em>);</pre>
2337
+ <p>Converts from X and Y position within a layout to the byte
2338
+ index to the character at that logical position. If the
2339
+ Y position is not inside the layout, the closest position is chosen
2340
+ (the position will be clamped inside the layout). If the
2341
+ X position is not within the layout, then the start or the
2342
+ end of the line is chosen as described for <a class="link" href="pango-Layout-Objects.html#pango-layout-xy-to-index" title="pango_layout_xy_to_index ()"><code class="function">pango_layout_xy_to_index()</code></a>.
2343
+ If either the X or Y positions were not inside the layout, then the
2344
+ function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>; on an exact hit, it returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
2345
+ <div class="refsect3">
2346
+ <a name="id-1.2.8.10.48.5"></a><h4>Parameters</h4>
2347
+ <div class="informaltable"><table width="100%" border="0">
2348
+ <colgroup>
2349
+ <col width="150px" class="parameters_name">
2350
+ <col class="parameters_description">
2351
+ <col width="200px" class="parameters_annotations">
2352
+ </colgroup>
2353
+ <tbody>
2354
+ <tr>
2355
+ <td class="parameter_name"><p>layout</p></td>
2356
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2357
+ <td class="parameter_annotations"> </td>
2358
+ </tr>
2359
+ <tr>
2360
+ <td class="parameter_name"><p>x</p></td>
2361
+ <td class="parameter_description"><p>the X offset (in Pango units)
2362
+ from the left edge of the layout.</p></td>
2363
+ <td class="parameter_annotations"> </td>
2364
+ </tr>
2365
+ <tr>
2366
+ <td class="parameter_name"><p>y</p></td>
2367
+ <td class="parameter_description"><p>the Y offset (in Pango units)
2368
+ from the top edge of the layout</p></td>
2369
+ <td class="parameter_annotations"> </td>
2370
+ </tr>
2371
+ <tr>
2372
+ <td class="parameter_name"><p>index_</p></td>
2373
+ <td class="parameter_description"><p> location to store calculated byte index. </p></td>
2374
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2375
+ </tr>
2376
+ <tr>
2377
+ <td class="parameter_name"><p>trailing</p></td>
2378
+ <td class="parameter_description"><p> location to store a integer indicating where
2379
+ in the grapheme the user clicked. It will either
2380
+ be zero, or the number of characters in the
2381
+ grapheme. 0 represents the trailing edge of the grapheme. </p></td>
2382
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2383
+ </tr>
2384
+ </tbody>
2385
+ </table></div>
2386
+ </div>
2387
+ <div class="refsect3">
2388
+ <a name="id-1.2.8.10.48.6"></a><h4>Returns</h4>
2389
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the coordinates were inside text, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
2390
+ <p></p>
2391
+ </div>
2392
+ </div>
2393
+ <hr>
2394
+ <div class="refsect2">
2395
+ <a name="pango-layout-get-cursor-pos"></a><h3>pango_layout_get_cursor_pos ()</h3>
2396
+ <pre class="programlisting"><span class="returnvalue">void</span>
2397
+ pango_layout_get_cursor_pos (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2398
+ <em class="parameter"><code><span class="type">int</span> index_</code></em>,
2399
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *strong_pos</code></em>,
2400
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *weak_pos</code></em>);</pre>
2401
+ <p>Given an index within a layout, determines the positions that of the
2402
+ strong and weak cursors if the insertion point is at that
2403
+ index. The position of each cursor is stored as a zero-width
2404
+ rectangle. The strong cursor location is the location where
2405
+ characters of the directionality equal to the base direction of the
2406
+ layout are inserted. The weak cursor location is the location
2407
+ where characters of the directionality opposite to the base
2408
+ direction of the layout are inserted.</p>
2409
+ <div class="refsect3">
2410
+ <a name="id-1.2.8.10.49.5"></a><h4>Parameters</h4>
2411
+ <div class="informaltable"><table width="100%" border="0">
2412
+ <colgroup>
2413
+ <col width="150px" class="parameters_name">
2414
+ <col class="parameters_description">
2415
+ <col width="200px" class="parameters_annotations">
2416
+ </colgroup>
2417
+ <tbody>
2418
+ <tr>
2419
+ <td class="parameter_name"><p>layout</p></td>
2420
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2421
+ <td class="parameter_annotations"> </td>
2422
+ </tr>
2423
+ <tr>
2424
+ <td class="parameter_name"><p>index_</p></td>
2425
+ <td class="parameter_description"><p>the byte index of the cursor</p></td>
2426
+ <td class="parameter_annotations"> </td>
2427
+ </tr>
2428
+ <tr>
2429
+ <td class="parameter_name"><p>strong_pos</p></td>
2430
+ <td class="parameter_description"><p> location to store the strong cursor position
2431
+ (may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
2432
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2433
+ </tr>
2434
+ <tr>
2435
+ <td class="parameter_name"><p>weak_pos</p></td>
2436
+ <td class="parameter_description"><p> location to store the weak cursor position (may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). </p></td>
2437
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2438
+ </tr>
2439
+ </tbody>
2440
+ </table></div>
2441
+ </div>
2442
+ </div>
2443
+ <hr>
2444
+ <div class="refsect2">
2445
+ <a name="pango-layout-move-cursor-visually"></a><h3>pango_layout_move_cursor_visually ()</h3>
2446
+ <pre class="programlisting"><span class="returnvalue">void</span>
2447
+ pango_layout_move_cursor_visually (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2448
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strong</code></em>,
2449
+ <em class="parameter"><code><span class="type">int</span> old_index</code></em>,
2450
+ <em class="parameter"><code><span class="type">int</span> old_trailing</code></em>,
2451
+ <em class="parameter"><code><span class="type">int</span> direction</code></em>,
2452
+ <em class="parameter"><code><span class="type">int</span> *new_index</code></em>,
2453
+ <em class="parameter"><code><span class="type">int</span> *new_trailing</code></em>);</pre>
2454
+ <p>Computes a new cursor position from an old position and
2455
+ a count of positions to move visually. If <em class="parameter"><code>direction</code></em>
2456
+ is positive,
2457
+ then the new strong cursor position will be one position
2458
+ to the right of the old cursor position. If <em class="parameter"><code>direction</code></em>
2459
+ is negative,
2460
+ then the new strong cursor position will be one position
2461
+ to the left of the old cursor position.</p>
2462
+ <p>In the presence of bidirectional text, the correspondence
2463
+ between logical and visual order will depend on the direction
2464
+ of the current run, and there may be jumps when the cursor
2465
+ is moved off of the end of a run.</p>
2466
+ <p>Motion here is in cursor positions, not in characters, so a
2467
+ single call to <a class="link" href="pango-Layout-Objects.html#pango-layout-move-cursor-visually" title="pango_layout_move_cursor_visually ()"><code class="function">pango_layout_move_cursor_visually()</code></a> may move the
2468
+ cursor over multiple characters when multiple characters combine
2469
+ to form a single grapheme.</p>
2470
+ <div class="refsect3">
2471
+ <a name="id-1.2.8.10.50.7"></a><h4>Parameters</h4>
2472
+ <div class="informaltable"><table width="100%" border="0">
2473
+ <colgroup>
2474
+ <col width="150px" class="parameters_name">
2475
+ <col class="parameters_description">
2476
+ <col width="200px" class="parameters_annotations">
2477
+ </colgroup>
2478
+ <tbody>
2479
+ <tr>
2480
+ <td class="parameter_name"><p>layout</p></td>
2481
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p></td>
2482
+ <td class="parameter_annotations"> </td>
2483
+ </tr>
2484
+ <tr>
2485
+ <td class="parameter_name"><p>strong</p></td>
2486
+ <td class="parameter_description"><p>whether the moving cursor is the strong cursor or the
2487
+ weak cursor. The strong cursor is the cursor corresponding
2488
+ to text insertion in the base direction for the layout.</p></td>
2489
+ <td class="parameter_annotations"> </td>
2490
+ </tr>
2491
+ <tr>
2492
+ <td class="parameter_name"><p>old_index</p></td>
2493
+ <td class="parameter_description"><p>the byte index of the grapheme for the old index</p></td>
2494
+ <td class="parameter_annotations"> </td>
2495
+ </tr>
2496
+ <tr>
2497
+ <td class="parameter_name"><p>old_trailing</p></td>
2498
+ <td class="parameter_description"><p>if 0, the cursor was at the trailing edge of the
2499
+ grapheme indicated by <em class="parameter"><code>old_index</code></em>
2500
+ , if &gt; 0, the cursor
2501
+ was at the leading edge.</p></td>
2502
+ <td class="parameter_annotations"> </td>
2503
+ </tr>
2504
+ <tr>
2505
+ <td class="parameter_name"><p>direction</p></td>
2506
+ <td class="parameter_description"><p>direction to move cursor. A negative
2507
+ value indicates motion to the left.</p></td>
2508
+ <td class="parameter_annotations"> </td>
2509
+ </tr>
2510
+ <tr>
2511
+ <td class="parameter_name"><p>new_index</p></td>
2512
+ <td class="parameter_description"><p> location to store the new cursor byte index. A value of -1
2513
+ indicates that the cursor has been moved off the beginning
2514
+ of the layout. A value of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a> indicates that
2515
+ the cursor has been moved off the end of the layout. </p></td>
2516
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2517
+ </tr>
2518
+ <tr>
2519
+ <td class="parameter_name"><p>new_trailing</p></td>
2520
+ <td class="parameter_description"><p> number of characters to move forward from the
2521
+ location returned for <em class="parameter"><code>new_index</code></em>
2522
+ to get the position
2523
+ where the cursor should be displayed. This allows
2524
+ distinguishing the position at the beginning of one
2525
+ line from the position at the end of the preceding
2526
+ line. <em class="parameter"><code>new_index</code></em>
2527
+ is always on the line where the
2528
+ cursor should be displayed. </p></td>
2529
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
2530
+ </tr>
2531
+ </tbody>
2532
+ </table></div>
2533
+ </div>
2534
+ </div>
2535
+ <hr>
2536
+ <div class="refsect2">
2537
+ <a name="pango-layout-get-extents"></a><h3>pango_layout_get_extents ()</h3>
2538
+ <pre class="programlisting"><span class="returnvalue">void</span>
2539
+ pango_layout_get_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2540
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
2541
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
2542
+ <p>Computes the logical and ink extents of <em class="parameter"><code>layout</code></em>
2543
+ . Logical extents
2544
+ are usually what you want for positioning things. Note that both extents
2545
+ may have non-zero x and y. You may want to use those to offset where you
2546
+ render the layout. Not doing that is a very typical bug that shows up as
2547
+ right-to-left layouts not being correctly positioned in a layout with
2548
+ a set width.</p>
2549
+ <p>The extents are given in layout coordinates and in Pango units; layout
2550
+ coordinates begin at the top left corner of the layout.</p>
2551
+ <div class="refsect3">
2552
+ <a name="id-1.2.8.10.51.6"></a><h4>Parameters</h4>
2553
+ <div class="informaltable"><table width="100%" border="0">
2554
+ <colgroup>
2555
+ <col width="150px" class="parameters_name">
2556
+ <col class="parameters_description">
2557
+ <col width="200px" class="parameters_annotations">
2558
+ </colgroup>
2559
+ <tbody>
2560
+ <tr>
2561
+ <td class="parameter_name"><p>layout</p></td>
2562
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2563
+ <td class="parameter_annotations"> </td>
2564
+ </tr>
2565
+ <tr>
2566
+ <td class="parameter_name"><p>ink_rect</p></td>
2567
+ <td class="parameter_description"><p> rectangle used to store the extents of the
2568
+ layout as drawn or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is
2569
+ not needed. </p></td>
2570
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2571
+ </tr>
2572
+ <tr>
2573
+ <td class="parameter_name"><p>logical_rect</p></td>
2574
+ <td class="parameter_description"><p>rectangle used to store the logical
2575
+ extents of the layout or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the
2576
+ result is not needed. </p></td>
2577
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2578
+ </tr>
2579
+ </tbody>
2580
+ </table></div>
2581
+ </div>
2582
+ </div>
2583
+ <hr>
2584
+ <div class="refsect2">
2585
+ <a name="pango-layout-get-pixel-extents"></a><h3>pango_layout_get_pixel_extents ()</h3>
2586
+ <pre class="programlisting"><span class="returnvalue">void</span>
2587
+ pango_layout_get_pixel_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2588
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
2589
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
2590
+ <p>Computes the logical and ink extents of <em class="parameter"><code>layout</code></em>
2591
+ in device units.
2592
+ This function just calls <a class="link" href="pango-Layout-Objects.html#pango-layout-get-extents" title="pango_layout_get_extents ()"><code class="function">pango_layout_get_extents()</code></a> followed by
2593
+ two <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a> calls, rounding <em class="parameter"><code>ink_rect</code></em>
2594
+ and <em class="parameter"><code>logical_rect</code></em>
2595
+
2596
+ such that the rounded rectangles fully contain the unrounded one (that is,
2597
+ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a>).</p>
2598
+ <div class="refsect3">
2599
+ <a name="id-1.2.8.10.52.5"></a><h4>Parameters</h4>
2600
+ <div class="informaltable"><table width="100%" border="0">
2601
+ <colgroup>
2602
+ <col width="150px" class="parameters_name">
2603
+ <col class="parameters_description">
2604
+ <col width="200px" class="parameters_annotations">
2605
+ </colgroup>
2606
+ <tbody>
2607
+ <tr>
2608
+ <td class="parameter_name"><p>layout</p></td>
2609
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2610
+ <td class="parameter_annotations"> </td>
2611
+ </tr>
2612
+ <tr>
2613
+ <td class="parameter_name"><p>ink_rect</p></td>
2614
+ <td class="parameter_description"><p> rectangle used to store the extents of the
2615
+ layout as drawn or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the result is
2616
+ not needed. </p></td>
2617
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2618
+ </tr>
2619
+ <tr>
2620
+ <td class="parameter_name"><p>logical_rect</p></td>
2621
+ <td class="parameter_description"><p> rectangle used to store the logical
2622
+ extents of the layout or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate that the
2623
+ result is not needed. </p></td>
2624
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2625
+ </tr>
2626
+ </tbody>
2627
+ </table></div>
2628
+ </div>
2629
+ </div>
2630
+ <hr>
2631
+ <div class="refsect2">
2632
+ <a name="pango-layout-get-size"></a><h3>pango_layout_get_size ()</h3>
2633
+ <pre class="programlisting"><span class="returnvalue">void</span>
2634
+ pango_layout_get_size (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2635
+ <em class="parameter"><code><span class="type">int</span> *width</code></em>,
2636
+ <em class="parameter"><code><span class="type">int</span> *height</code></em>);</pre>
2637
+ <p>Determines the logical width and height of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
2638
+ in Pango units (device units scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>). This
2639
+ is simply a convenience function around <a class="link" href="pango-Layout-Objects.html#pango-layout-get-extents" title="pango_layout_get_extents ()"><code class="function">pango_layout_get_extents()</code></a>.</p>
2640
+ <div class="refsect3">
2641
+ <a name="id-1.2.8.10.53.5"></a><h4>Parameters</h4>
2642
+ <div class="informaltable"><table width="100%" border="0">
2643
+ <colgroup>
2644
+ <col width="150px" class="parameters_name">
2645
+ <col class="parameters_description">
2646
+ <col width="200px" class="parameters_annotations">
2647
+ </colgroup>
2648
+ <tbody>
2649
+ <tr>
2650
+ <td class="parameter_name"><p>layout</p></td>
2651
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2652
+ <td class="parameter_annotations"> </td>
2653
+ </tr>
2654
+ <tr>
2655
+ <td class="parameter_name"><p>width</p></td>
2656
+ <td class="parameter_description"><p> location to store the logical width, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
2657
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2658
+ </tr>
2659
+ <tr>
2660
+ <td class="parameter_name"><p>height</p></td>
2661
+ <td class="parameter_description"><p> location to store the logical height, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
2662
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2663
+ </tr>
2664
+ </tbody>
2665
+ </table></div>
2666
+ </div>
2667
+ </div>
2668
+ <hr>
2669
+ <div class="refsect2">
2670
+ <a name="pango-layout-get-pixel-size"></a><h3>pango_layout_get_pixel_size ()</h3>
2671
+ <pre class="programlisting"><span class="returnvalue">void</span>
2672
+ pango_layout_get_pixel_size (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2673
+ <em class="parameter"><code><span class="type">int</span> *width</code></em>,
2674
+ <em class="parameter"><code><span class="type">int</span> *height</code></em>);</pre>
2675
+ <p>Determines the logical width and height of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
2676
+ in device units. (<a class="link" href="pango-Layout-Objects.html#pango-layout-get-size" title="pango_layout_get_size ()"><code class="function">pango_layout_get_size()</code></a> returns the width
2677
+ and height scaled by <a class="link" href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS" title="PANGO_SCALE"><code class="literal">PANGO_SCALE</code></a>.) This
2678
+ is simply a convenience function around
2679
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-get-pixel-extents" title="pango_layout_get_pixel_extents ()"><code class="function">pango_layout_get_pixel_extents()</code></a>.</p>
2680
+ <div class="refsect3">
2681
+ <a name="id-1.2.8.10.54.5"></a><h4>Parameters</h4>
2682
+ <div class="informaltable"><table width="100%" border="0">
2683
+ <colgroup>
2684
+ <col width="150px" class="parameters_name">
2685
+ <col class="parameters_description">
2686
+ <col width="200px" class="parameters_annotations">
2687
+ </colgroup>
2688
+ <tbody>
2689
+ <tr>
2690
+ <td class="parameter_name"><p>layout</p></td>
2691
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2692
+ <td class="parameter_annotations"> </td>
2693
+ </tr>
2694
+ <tr>
2695
+ <td class="parameter_name"><p>width</p></td>
2696
+ <td class="parameter_description"><p> location to store the logical width, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
2697
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2698
+ </tr>
2699
+ <tr>
2700
+ <td class="parameter_name"><p>height</p></td>
2701
+ <td class="parameter_description"><p> location to store the logical height, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
2702
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
2703
+ </tr>
2704
+ </tbody>
2705
+ </table></div>
2706
+ </div>
2707
+ </div>
2708
+ <hr>
2709
+ <div class="refsect2">
2710
+ <a name="pango-layout-get-baseline"></a><h3>pango_layout_get_baseline ()</h3>
2711
+ <pre class="programlisting"><span class="returnvalue">int</span>
2712
+ pango_layout_get_baseline (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2713
+ <p>Gets the Y position of baseline of the first line in <em class="parameter"><code>layout</code></em>
2714
+ .</p>
2715
+ <div class="refsect3">
2716
+ <a name="id-1.2.8.10.55.5"></a><h4>Parameters</h4>
2717
+ <div class="informaltable"><table width="100%" border="0">
2718
+ <colgroup>
2719
+ <col width="150px" class="parameters_name">
2720
+ <col class="parameters_description">
2721
+ <col width="200px" class="parameters_annotations">
2722
+ </colgroup>
2723
+ <tbody><tr>
2724
+ <td class="parameter_name"><p>layout</p></td>
2725
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2726
+ <td class="parameter_annotations"> </td>
2727
+ </tr></tbody>
2728
+ </table></div>
2729
+ </div>
2730
+ <div class="refsect3">
2731
+ <a name="id-1.2.8.10.55.6"></a><h4>Returns</h4>
2732
+ <p> baseline of first line, from top of <em class="parameter"><code>layout</code></em>
2733
+ .</p>
2734
+ <p></p>
2735
+ </div>
2736
+ <p class="since">Since 1.22</p>
2737
+ </div>
2738
+ <hr>
2739
+ <div class="refsect2">
2740
+ <a name="pango-layout-get-line-count"></a><h3>pango_layout_get_line_count ()</h3>
2741
+ <pre class="programlisting"><span class="returnvalue">int</span>
2742
+ pango_layout_get_line_count (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2743
+ <p>Retrieves the count of lines for the <em class="parameter"><code>layout</code></em>
2744
+ .</p>
2745
+ <div class="refsect3">
2746
+ <a name="id-1.2.8.10.56.5"></a><h4>Parameters</h4>
2747
+ <div class="informaltable"><table width="100%" border="0">
2748
+ <colgroup>
2749
+ <col width="150px" class="parameters_name">
2750
+ <col class="parameters_description">
2751
+ <col width="200px" class="parameters_annotations">
2752
+ </colgroup>
2753
+ <tbody><tr>
2754
+ <td class="parameter_name"><p>layout</p></td>
2755
+ <td class="parameter_description"><p><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2756
+ <td class="parameter_annotations"> </td>
2757
+ </tr></tbody>
2758
+ </table></div>
2759
+ </div>
2760
+ <div class="refsect3">
2761
+ <a name="id-1.2.8.10.56.6"></a><h4>Returns</h4>
2762
+ <p> the line count.</p>
2763
+ <p></p>
2764
+ </div>
2765
+ </div>
2766
+ <hr>
2767
+ <div class="refsect2">
2768
+ <a name="pango-layout-get-line"></a><h3>pango_layout_get_line ()</h3>
2769
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
2770
+ pango_layout_get_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2771
+ <em class="parameter"><code><span class="type">int</span> line</code></em>);</pre>
2772
+ <p>Retrieves a particular line from a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
2773
+ <p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line-readonly" title="pango_layout_get_line_readonly ()"><code class="function">pango_layout_get_line_readonly()</code></a> if you do not plan
2774
+ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
2775
+ <div class="refsect3">
2776
+ <a name="id-1.2.8.10.57.6"></a><h4>Parameters</h4>
2777
+ <div class="informaltable"><table width="100%" border="0">
2778
+ <colgroup>
2779
+ <col width="150px" class="parameters_name">
2780
+ <col class="parameters_description">
2781
+ <col width="200px" class="parameters_annotations">
2782
+ </colgroup>
2783
+ <tbody>
2784
+ <tr>
2785
+ <td class="parameter_name"><p>layout</p></td>
2786
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2787
+ <td class="parameter_annotations"> </td>
2788
+ </tr>
2789
+ <tr>
2790
+ <td class="parameter_name"><p>line</p></td>
2791
+ <td class="parameter_description"><p>the index of a line, which must be between 0 and
2792
+ <code class="literal">pango_layout_get_line_count(layout) - 1</code>, inclusive.</p></td>
2793
+ <td class="parameter_annotations"> </td>
2794
+ </tr>
2795
+ </tbody>
2796
+ </table></div>
2797
+ </div>
2798
+ <div class="refsect3">
2799
+ <a name="id-1.2.8.10.57.7"></a><h4>Returns</h4>
2800
+ <p> the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
2801
+ index is out of range. This layout line can
2802
+ be ref'ed and retained, but will become invalid
2803
+ if changes are made to the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. </p>
2804
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2805
+ </div>
2806
+ </div>
2807
+ <hr>
2808
+ <div class="refsect2">
2809
+ <a name="pango-layout-get-line-readonly"></a><h3>pango_layout_get_line_readonly ()</h3>
2810
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
2811
+ pango_layout_get_line_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
2812
+ <em class="parameter"><code><span class="type">int</span> line</code></em>);</pre>
2813
+ <p>Retrieves a particular line from a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
2814
+ <p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line" title="pango_layout_get_line ()"><code class="function">pango_layout_get_line()</code></a>,
2815
+ but the user is not expected
2816
+ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
2817
+ <div class="refsect3">
2818
+ <a name="id-1.2.8.10.58.6"></a><h4>Parameters</h4>
2819
+ <div class="informaltable"><table width="100%" border="0">
2820
+ <colgroup>
2821
+ <col width="150px" class="parameters_name">
2822
+ <col class="parameters_description">
2823
+ <col width="200px" class="parameters_annotations">
2824
+ </colgroup>
2825
+ <tbody>
2826
+ <tr>
2827
+ <td class="parameter_name"><p>layout</p></td>
2828
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2829
+ <td class="parameter_annotations"> </td>
2830
+ </tr>
2831
+ <tr>
2832
+ <td class="parameter_name"><p>line</p></td>
2833
+ <td class="parameter_description"><p>the index of a line, which must be between 0 and
2834
+ <code class="literal">pango_layout_get_line_count(layout) - 1</code>, inclusive.</p></td>
2835
+ <td class="parameter_annotations"> </td>
2836
+ </tr>
2837
+ </tbody>
2838
+ </table></div>
2839
+ </div>
2840
+ <div class="refsect3">
2841
+ <a name="id-1.2.8.10.58.7"></a><h4>Returns</h4>
2842
+ <p> the requested <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
2843
+ index is out of range. This layout line can
2844
+ be ref'ed and retained, but will become invalid
2845
+ if changes are made to the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
2846
+ No changes should be made to the line. </p>
2847
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2848
+ </div>
2849
+ <p class="since">Since 1.16</p>
2850
+ </div>
2851
+ <hr>
2852
+ <div class="refsect2">
2853
+ <a name="pango-layout-get-lines"></a><h3>pango_layout_get_lines ()</h3>
2854
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
2855
+ pango_layout_get_lines (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2856
+ <p>Returns the lines of the <em class="parameter"><code>layout</code></em>
2857
+ as a list.</p>
2858
+ <p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines-readonly" title="pango_layout_get_lines_readonly ()"><code class="function">pango_layout_get_lines_readonly()</code></a> if you do not plan
2859
+ to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
2860
+ <div class="refsect3">
2861
+ <a name="id-1.2.8.10.59.6"></a><h4>Parameters</h4>
2862
+ <div class="informaltable"><table width="100%" border="0">
2863
+ <colgroup>
2864
+ <col width="150px" class="parameters_name">
2865
+ <col class="parameters_description">
2866
+ <col width="200px" class="parameters_annotations">
2867
+ </colgroup>
2868
+ <tbody><tr>
2869
+ <td class="parameter_name"><p>layout</p></td>
2870
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2871
+ <td class="parameter_annotations"> </td>
2872
+ </tr></tbody>
2873
+ </table></div>
2874
+ </div>
2875
+ <div class="refsect3">
2876
+ <a name="id-1.2.8.10.59.7"></a><h4>Returns</h4>
2877
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing
2878
+ the lines in the layout. This points to internal data of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
2879
+ and must be used with care. It will become invalid on any change to the layout's
2880
+ text or properties. </p>
2881
+ <p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.LayoutLine][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2882
+ </div>
2883
+ </div>
2884
+ <hr>
2885
+ <div class="refsect2">
2886
+ <a name="pango-layout-get-lines-readonly"></a><h3>pango_layout_get_lines_readonly ()</h3>
2887
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
2888
+ pango_layout_get_lines_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2889
+ <p>Returns the lines of the <em class="parameter"><code>layout</code></em>
2890
+ as a list.</p>
2891
+ <p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-get-lines" title="pango_layout_get_lines ()"><code class="function">pango_layout_get_lines()</code></a>,
2892
+ but the user is not expected
2893
+ to modify the contents of the lines (glyphs, glyph widths, etc.).</p>
2894
+ <div class="refsect3">
2895
+ <a name="id-1.2.8.10.60.6"></a><h4>Parameters</h4>
2896
+ <div class="informaltable"><table width="100%" border="0">
2897
+ <colgroup>
2898
+ <col width="150px" class="parameters_name">
2899
+ <col class="parameters_description">
2900
+ <col width="200px" class="parameters_annotations">
2901
+ </colgroup>
2902
+ <tbody><tr>
2903
+ <td class="parameter_name"><p>layout</p></td>
2904
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2905
+ <td class="parameter_annotations"> </td>
2906
+ </tr></tbody>
2907
+ </table></div>
2908
+ </div>
2909
+ <div class="refsect3">
2910
+ <a name="id-1.2.8.10.60.7"></a><h4>Returns</h4>
2911
+ <p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing
2912
+ the lines in the layout. This points to internal data of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> and
2913
+ must be used with care. It will become invalid on any change to the layout's
2914
+ text or properties. No changes should be made to the lines. </p>
2915
+ <p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.LayoutLine][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2916
+ </div>
2917
+ <p class="since">Since 1.16</p>
2918
+ </div>
2919
+ <hr>
2920
+ <div class="refsect2">
2921
+ <a name="pango-layout-get-iter"></a><h3>pango_layout_get_iter ()</h3>
2922
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> *
2923
+ pango_layout_get_iter (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
2924
+ <p>Returns an iterator to iterate over the visual extents of the layout.</p>
2925
+ <div class="refsect3">
2926
+ <a name="id-1.2.8.10.61.5"></a><h4>Parameters</h4>
2927
+ <div class="informaltable"><table width="100%" border="0">
2928
+ <colgroup>
2929
+ <col width="150px" class="parameters_name">
2930
+ <col class="parameters_description">
2931
+ <col width="200px" class="parameters_annotations">
2932
+ </colgroup>
2933
+ <tbody><tr>
2934
+ <td class="parameter_name"><p>layout</p></td>
2935
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a></p></td>
2936
+ <td class="parameter_annotations"> </td>
2937
+ </tr></tbody>
2938
+ </table></div>
2939
+ </div>
2940
+ <div class="refsect3">
2941
+ <a name="id-1.2.8.10.61.6"></a><h4>Returns</h4>
2942
+ <p> the new <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> that should be freed using
2943
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()"><code class="function">pango_layout_iter_free()</code></a>.</p>
2944
+ <p></p>
2945
+ </div>
2946
+ </div>
2947
+ <hr>
2948
+ <div class="refsect2">
2949
+ <a name="pango-layout-iter-copy"></a><h3>pango_layout_iter_copy ()</h3>
2950
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="returnvalue">PangoLayoutIter</span></a> *
2951
+ pango_layout_iter_copy (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
2952
+ <p>Copies a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.</p>
2953
+ <div class="refsect3">
2954
+ <a name="id-1.2.8.10.62.5"></a><h4>Parameters</h4>
2955
+ <div class="informaltable"><table width="100%" border="0">
2956
+ <colgroup>
2957
+ <col width="150px" class="parameters_name">
2958
+ <col class="parameters_description">
2959
+ <col width="200px" class="parameters_annotations">
2960
+ </colgroup>
2961
+ <tbody><tr>
2962
+ <td class="parameter_name"><p>iter</p></td>
2963
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
2964
+ <td class="parameter_annotations"> </td>
2965
+ </tr></tbody>
2966
+ </table></div>
2967
+ </div>
2968
+ <div class="refsect3">
2969
+ <a name="id-1.2.8.10.62.6"></a><h4>Returns</h4>
2970
+ <p> the newly allocated <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, which should
2971
+ be freed with <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-free" title="pango_layout_iter_free ()"><code class="function">pango_layout_iter_free()</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
2972
+ <em class="parameter"><code>iter</code></em>
2973
+ was <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
2974
+ <p></p>
2975
+ </div>
2976
+ <p class="since">Since 1.20</p>
2977
+ </div>
2978
+ <hr>
2979
+ <div class="refsect2">
2980
+ <a name="pango-layout-iter-free"></a><h3>pango_layout_iter_free ()</h3>
2981
+ <pre class="programlisting"><span class="returnvalue">void</span>
2982
+ pango_layout_iter_free (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
2983
+ <p>Frees an iterator that's no longer in use.</p>
2984
+ <div class="refsect3">
2985
+ <a name="id-1.2.8.10.63.5"></a><h4>Parameters</h4>
2986
+ <div class="informaltable"><table width="100%" border="0">
2987
+ <colgroup>
2988
+ <col width="150px" class="parameters_name">
2989
+ <col class="parameters_description">
2990
+ <col width="200px" class="parameters_annotations">
2991
+ </colgroup>
2992
+ <tbody><tr>
2993
+ <td class="parameter_name"><p>iter</p></td>
2994
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
2995
+ <td class="parameter_annotations"> </td>
2996
+ </tr></tbody>
2997
+ </table></div>
2998
+ </div>
2999
+ </div>
3000
+ <hr>
3001
+ <div class="refsect2">
3002
+ <a name="pango-layout-iter-next-run"></a><h3>pango_layout_iter_next_run ()</h3>
3003
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
3004
+ pango_layout_iter_next_run (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3005
+ <p>Moves <em class="parameter"><code>iter</code></em>
3006
+ forward to the next run in visual order. If <em class="parameter"><code>iter</code></em>
3007
+ was
3008
+ already at the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
3009
+ <div class="refsect3">
3010
+ <a name="id-1.2.8.10.64.5"></a><h4>Parameters</h4>
3011
+ <div class="informaltable"><table width="100%" border="0">
3012
+ <colgroup>
3013
+ <col width="150px" class="parameters_name">
3014
+ <col class="parameters_description">
3015
+ <col width="200px" class="parameters_annotations">
3016
+ </colgroup>
3017
+ <tbody><tr>
3018
+ <td class="parameter_name"><p>iter</p></td>
3019
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3020
+ <td class="parameter_annotations"> </td>
3021
+ </tr></tbody>
3022
+ </table></div>
3023
+ </div>
3024
+ <div class="refsect3">
3025
+ <a name="id-1.2.8.10.64.6"></a><h4>Returns</h4>
3026
+ <p> whether motion was possible.</p>
3027
+ <p></p>
3028
+ </div>
3029
+ </div>
3030
+ <hr>
3031
+ <div class="refsect2">
3032
+ <a name="pango-layout-iter-next-char"></a><h3>pango_layout_iter_next_char ()</h3>
3033
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
3034
+ pango_layout_iter_next_char (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3035
+ <p>Moves <em class="parameter"><code>iter</code></em>
3036
+ forward to the next character in visual order. If <em class="parameter"><code>iter</code></em>
3037
+ was already at
3038
+ the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
3039
+ <div class="refsect3">
3040
+ <a name="id-1.2.8.10.65.5"></a><h4>Parameters</h4>
3041
+ <div class="informaltable"><table width="100%" border="0">
3042
+ <colgroup>
3043
+ <col width="150px" class="parameters_name">
3044
+ <col class="parameters_description">
3045
+ <col width="200px" class="parameters_annotations">
3046
+ </colgroup>
3047
+ <tbody><tr>
3048
+ <td class="parameter_name"><p>iter</p></td>
3049
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3050
+ <td class="parameter_annotations"> </td>
3051
+ </tr></tbody>
3052
+ </table></div>
3053
+ </div>
3054
+ <div class="refsect3">
3055
+ <a name="id-1.2.8.10.65.6"></a><h4>Returns</h4>
3056
+ <p> whether motion was possible.</p>
3057
+ <p></p>
3058
+ </div>
3059
+ </div>
3060
+ <hr>
3061
+ <div class="refsect2">
3062
+ <a name="pango-layout-iter-next-cluster"></a><h3>pango_layout_iter_next_cluster ()</h3>
3063
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
3064
+ pango_layout_iter_next_cluster (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3065
+ <p>Moves <em class="parameter"><code>iter</code></em>
3066
+ forward to the next cluster in visual order. If <em class="parameter"><code>iter</code></em>
3067
+
3068
+ was already at the end of the layout, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
3069
+ <div class="refsect3">
3070
+ <a name="id-1.2.8.10.66.5"></a><h4>Parameters</h4>
3071
+ <div class="informaltable"><table width="100%" border="0">
3072
+ <colgroup>
3073
+ <col width="150px" class="parameters_name">
3074
+ <col class="parameters_description">
3075
+ <col width="200px" class="parameters_annotations">
3076
+ </colgroup>
3077
+ <tbody><tr>
3078
+ <td class="parameter_name"><p>iter</p></td>
3079
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3080
+ <td class="parameter_annotations"> </td>
3081
+ </tr></tbody>
3082
+ </table></div>
3083
+ </div>
3084
+ <div class="refsect3">
3085
+ <a name="id-1.2.8.10.66.6"></a><h4>Returns</h4>
3086
+ <p> whether motion was possible.</p>
3087
+ <p></p>
3088
+ </div>
3089
+ </div>
3090
+ <hr>
3091
+ <div class="refsect2">
3092
+ <a name="pango-layout-iter-next-line"></a><h3>pango_layout_iter_next_line ()</h3>
3093
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
3094
+ pango_layout_iter_next_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3095
+ <p>Moves <em class="parameter"><code>iter</code></em>
3096
+ forward to the start of the next line. If <em class="parameter"><code>iter</code></em>
3097
+ is
3098
+ already on the last line, returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
3099
+ <div class="refsect3">
3100
+ <a name="id-1.2.8.10.67.5"></a><h4>Parameters</h4>
3101
+ <div class="informaltable"><table width="100%" border="0">
3102
+ <colgroup>
3103
+ <col width="150px" class="parameters_name">
3104
+ <col class="parameters_description">
3105
+ <col width="200px" class="parameters_annotations">
3106
+ </colgroup>
3107
+ <tbody><tr>
3108
+ <td class="parameter_name"><p>iter</p></td>
3109
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3110
+ <td class="parameter_annotations"> </td>
3111
+ </tr></tbody>
3112
+ </table></div>
3113
+ </div>
3114
+ <div class="refsect3">
3115
+ <a name="id-1.2.8.10.67.6"></a><h4>Returns</h4>
3116
+ <p> whether motion was possible.</p>
3117
+ <p></p>
3118
+ </div>
3119
+ </div>
3120
+ <hr>
3121
+ <div class="refsect2">
3122
+ <a name="pango-layout-iter-at-last-line"></a><h3>pango_layout_iter_at_last_line ()</h3>
3123
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
3124
+ pango_layout_iter_at_last_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3125
+ <p>Determines whether <em class="parameter"><code>iter</code></em>
3126
+ is on the last line of the layout.</p>
3127
+ <div class="refsect3">
3128
+ <a name="id-1.2.8.10.68.5"></a><h4>Parameters</h4>
3129
+ <div class="informaltable"><table width="100%" border="0">
3130
+ <colgroup>
3131
+ <col width="150px" class="parameters_name">
3132
+ <col class="parameters_description">
3133
+ <col width="200px" class="parameters_annotations">
3134
+ </colgroup>
3135
+ <tbody><tr>
3136
+ <td class="parameter_name"><p>iter</p></td>
3137
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3138
+ <td class="parameter_annotations"> </td>
3139
+ </tr></tbody>
3140
+ </table></div>
3141
+ </div>
3142
+ <div class="refsect3">
3143
+ <a name="id-1.2.8.10.68.6"></a><h4>Returns</h4>
3144
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
3145
+ is on the last line.</p>
3146
+ <p></p>
3147
+ </div>
3148
+ </div>
3149
+ <hr>
3150
+ <div class="refsect2">
3151
+ <a name="pango-layout-iter-get-index"></a><h3>pango_layout_iter_get_index ()</h3>
3152
+ <pre class="programlisting"><span class="returnvalue">int</span>
3153
+ pango_layout_iter_get_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3154
+ <p>Gets the current byte index. Note that iterating forward by char
3155
+ moves in visual order, not logical order, so indexes may not be
3156
+ sequential. Also, the index may be equal to the length of the text
3157
+ in the layout, if on the <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run (see <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()"><code class="function">pango_layout_iter_get_run()</code></a>).</p>
3158
+ <div class="refsect3">
3159
+ <a name="id-1.2.8.10.69.5"></a><h4>Parameters</h4>
3160
+ <div class="informaltable"><table width="100%" border="0">
3161
+ <colgroup>
3162
+ <col width="150px" class="parameters_name">
3163
+ <col class="parameters_description">
3164
+ <col width="200px" class="parameters_annotations">
3165
+ </colgroup>
3166
+ <tbody><tr>
3167
+ <td class="parameter_name"><p>iter</p></td>
3168
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3169
+ <td class="parameter_annotations"> </td>
3170
+ </tr></tbody>
3171
+ </table></div>
3172
+ </div>
3173
+ <div class="refsect3">
3174
+ <a name="id-1.2.8.10.69.6"></a><h4>Returns</h4>
3175
+ <p> current byte index.</p>
3176
+ <p></p>
3177
+ </div>
3178
+ </div>
3179
+ <hr>
3180
+ <div class="refsect2">
3181
+ <a name="pango-layout-iter-get-baseline"></a><h3>pango_layout_iter_get_baseline ()</h3>
3182
+ <pre class="programlisting"><span class="returnvalue">int</span>
3183
+ pango_layout_iter_get_baseline (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3184
+ <p>Gets the Y position of the current line's baseline, in layout
3185
+ coordinates (origin at top left of the entire layout).</p>
3186
+ <div class="refsect3">
3187
+ <a name="id-1.2.8.10.70.5"></a><h4>Parameters</h4>
3188
+ <div class="informaltable"><table width="100%" border="0">
3189
+ <colgroup>
3190
+ <col width="150px" class="parameters_name">
3191
+ <col class="parameters_description">
3192
+ <col width="200px" class="parameters_annotations">
3193
+ </colgroup>
3194
+ <tbody><tr>
3195
+ <td class="parameter_name"><p>iter</p></td>
3196
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3197
+ <td class="parameter_annotations"> </td>
3198
+ </tr></tbody>
3199
+ </table></div>
3200
+ </div>
3201
+ <div class="refsect3">
3202
+ <a name="id-1.2.8.10.70.6"></a><h4>Returns</h4>
3203
+ <p> baseline of current line.</p>
3204
+ <p></p>
3205
+ </div>
3206
+ </div>
3207
+ <hr>
3208
+ <div class="refsect2">
3209
+ <a name="pango-layout-iter-get-run"></a><h3>pango_layout_iter_get_run ()</h3>
3210
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
3211
+ pango_layout_iter_get_run (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3212
+ <p>Gets the current run. When iterating by run, at the end of each
3213
+ line, there's a position with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run, so this function can return
3214
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run at the end of each line ensures that all lines have
3215
+ at least one run, even lines consisting of only a newline.</p>
3216
+ <p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run-readonly" title="pango_layout_iter_get_run_readonly ()"><code class="function">pango_layout_iter_get_run_readonly()</code></a> if you do not plan
3217
+ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
3218
+ <div class="refsect3">
3219
+ <a name="id-1.2.8.10.71.6"></a><h4>Parameters</h4>
3220
+ <div class="informaltable"><table width="100%" border="0">
3221
+ <colgroup>
3222
+ <col width="150px" class="parameters_name">
3223
+ <col class="parameters_description">
3224
+ <col width="200px" class="parameters_annotations">
3225
+ </colgroup>
3226
+ <tbody><tr>
3227
+ <td class="parameter_name"><p>iter</p></td>
3228
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3229
+ <td class="parameter_annotations"> </td>
3230
+ </tr></tbody>
3231
+ </table></div>
3232
+ </div>
3233
+ <div class="refsect3">
3234
+ <a name="id-1.2.8.10.71.7"></a><h4>Returns</h4>
3235
+ <p> the current run. </p>
3236
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
3237
+ </div>
3238
+ </div>
3239
+ <hr>
3240
+ <div class="refsect2">
3241
+ <a name="pango-layout-iter-get-run-readonly"></a><h3>pango_layout_iter_get_run_readonly ()</h3>
3242
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="returnvalue">PangoLayoutRun</span></a> *
3243
+ pango_layout_iter_get_run_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3244
+ <p>Gets the current run. When iterating by run, at the end of each
3245
+ line, there's a position with a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run, so this function can return
3246
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> run at the end of each line ensures that all lines have
3247
+ at least one run, even lines consisting of only a newline.</p>
3248
+ <p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-run" title="pango_layout_iter_get_run ()"><code class="function">pango_layout_iter_get_run()</code></a>,
3249
+ but the user is not expected
3250
+ to modify the contents of the run (glyphs, glyph widths, etc.).</p>
3251
+ <div class="refsect3">
3252
+ <a name="id-1.2.8.10.72.6"></a><h4>Parameters</h4>
3253
+ <div class="informaltable"><table width="100%" border="0">
3254
+ <colgroup>
3255
+ <col width="150px" class="parameters_name">
3256
+ <col class="parameters_description">
3257
+ <col width="200px" class="parameters_annotations">
3258
+ </colgroup>
3259
+ <tbody><tr>
3260
+ <td class="parameter_name"><p>iter</p></td>
3261
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3262
+ <td class="parameter_annotations"> </td>
3263
+ </tr></tbody>
3264
+ </table></div>
3265
+ </div>
3266
+ <div class="refsect3">
3267
+ <a name="id-1.2.8.10.72.7"></a><h4>Returns</h4>
3268
+ <p> the current run, that should not be modified. </p>
3269
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
3270
+ </div>
3271
+ <p class="since">Since 1.16</p>
3272
+ </div>
3273
+ <hr>
3274
+ <div class="refsect2">
3275
+ <a name="pango-layout-iter-get-line"></a><h3>pango_layout_iter_get_line ()</h3>
3276
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
3277
+ pango_layout_iter_get_line (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3278
+ <p>Gets the current line.</p>
3279
+ <p>Use the faster <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line-readonly" title="pango_layout_iter_get_line_readonly ()"><code class="function">pango_layout_iter_get_line_readonly()</code></a> if you do not plan
3280
+ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
3281
+ <div class="refsect3">
3282
+ <a name="id-1.2.8.10.73.6"></a><h4>Parameters</h4>
3283
+ <div class="informaltable"><table width="100%" border="0">
3284
+ <colgroup>
3285
+ <col width="150px" class="parameters_name">
3286
+ <col class="parameters_description">
3287
+ <col width="200px" class="parameters_annotations">
3288
+ </colgroup>
3289
+ <tbody><tr>
3290
+ <td class="parameter_name"><p>iter</p></td>
3291
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3292
+ <td class="parameter_annotations"> </td>
3293
+ </tr></tbody>
3294
+ </table></div>
3295
+ </div>
3296
+ <div class="refsect3">
3297
+ <a name="id-1.2.8.10.73.7"></a><h4>Returns</h4>
3298
+ <p> the current line.</p>
3299
+ <p></p>
3300
+ </div>
3301
+ </div>
3302
+ <hr>
3303
+ <div class="refsect2">
3304
+ <a name="pango-layout-iter-get-line-readonly"></a><h3>pango_layout_iter_get_line_readonly ()</h3>
3305
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
3306
+ pango_layout_iter_get_line_readonly (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3307
+ <p>Gets the current line for read-only access.</p>
3308
+ <p>This is a faster alternative to <a class="link" href="pango-Layout-Objects.html#pango-layout-iter-get-line" title="pango_layout_iter_get_line ()"><code class="function">pango_layout_iter_get_line()</code></a>,
3309
+ but the user is not expected
3310
+ to modify the contents of the line (glyphs, glyph widths, etc.).</p>
3311
+ <div class="refsect3">
3312
+ <a name="id-1.2.8.10.74.6"></a><h4>Parameters</h4>
3313
+ <div class="informaltable"><table width="100%" border="0">
3314
+ <colgroup>
3315
+ <col width="150px" class="parameters_name">
3316
+ <col class="parameters_description">
3317
+ <col width="200px" class="parameters_annotations">
3318
+ </colgroup>
3319
+ <tbody><tr>
3320
+ <td class="parameter_name"><p>iter</p></td>
3321
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3322
+ <td class="parameter_annotations"> </td>
3323
+ </tr></tbody>
3324
+ </table></div>
3325
+ </div>
3326
+ <div class="refsect3">
3327
+ <a name="id-1.2.8.10.74.7"></a><h4>Returns</h4>
3328
+ <p> the current line, that should not be
3329
+ modified. </p>
3330
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
3331
+ </div>
3332
+ <p class="since">Since 1.16</p>
3333
+ </div>
3334
+ <hr>
3335
+ <div class="refsect2">
3336
+ <a name="pango-layout-iter-get-layout"></a><h3>pango_layout_iter_get_layout ()</h3>
3337
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> *
3338
+ pango_layout_iter_get_layout (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>);</pre>
3339
+ <p>Gets the layout associated with a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a>.</p>
3340
+ <div class="refsect3">
3341
+ <a name="id-1.2.8.10.75.5"></a><h4>Parameters</h4>
3342
+ <div class="informaltable"><table width="100%" border="0">
3343
+ <colgroup>
3344
+ <col width="150px" class="parameters_name">
3345
+ <col class="parameters_description">
3346
+ <col width="200px" class="parameters_annotations">
3347
+ </colgroup>
3348
+ <tbody><tr>
3349
+ <td class="parameter_name"><p>iter</p></td>
3350
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3351
+ <td class="parameter_annotations"> </td>
3352
+ </tr></tbody>
3353
+ </table></div>
3354
+ </div>
3355
+ <div class="refsect3">
3356
+ <a name="id-1.2.8.10.75.6"></a><h4>Returns</h4>
3357
+ <p> the layout associated with <em class="parameter"><code>iter</code></em>
3358
+ . </p>
3359
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
3360
+ </div>
3361
+ <p class="since">Since 1.20</p>
3362
+ </div>
3363
+ <hr>
3364
+ <div class="refsect2">
3365
+ <a name="pango-layout-iter-get-char-extents"></a><h3>pango_layout_iter_get_char_extents ()</h3>
3366
+ <pre class="programlisting"><span class="returnvalue">void</span>
3367
+ pango_layout_iter_get_char_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
3368
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3369
+ <p>Gets the extents of the current character, in layout coordinates
3370
+ (origin is the top left of the entire layout). Only logical extents
3371
+ can sensibly be obtained for characters; ink extents make sense only
3372
+ down to the level of clusters.</p>
3373
+ <div class="refsect3">
3374
+ <a name="id-1.2.8.10.76.5"></a><h4>Parameters</h4>
3375
+ <div class="informaltable"><table width="100%" border="0">
3376
+ <colgroup>
3377
+ <col width="150px" class="parameters_name">
3378
+ <col class="parameters_description">
3379
+ <col width="200px" class="parameters_annotations">
3380
+ </colgroup>
3381
+ <tbody>
3382
+ <tr>
3383
+ <td class="parameter_name"><p>iter</p></td>
3384
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3385
+ <td class="parameter_annotations"> </td>
3386
+ </tr>
3387
+ <tr>
3388
+ <td class="parameter_name"><p>logical_rect</p></td>
3389
+ <td class="parameter_description"><p> rectangle to fill with
3390
+ logical extents. </p></td>
3391
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
3392
+ </tr>
3393
+ </tbody>
3394
+ </table></div>
3395
+ </div>
3396
+ </div>
3397
+ <hr>
3398
+ <div class="refsect2">
3399
+ <a name="pango-layout-iter-get-cluster-extents"></a><h3>pango_layout_iter_get_cluster_extents ()</h3>
3400
+ <pre class="programlisting"><span class="returnvalue">void</span>
3401
+ pango_layout_iter_get_cluster_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
3402
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
3403
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3404
+ <p>Gets the extents of the current cluster, in layout coordinates
3405
+ (origin is the top left of the entire layout).</p>
3406
+ <div class="refsect3">
3407
+ <a name="id-1.2.8.10.77.5"></a><h4>Parameters</h4>
3408
+ <div class="informaltable"><table width="100%" border="0">
3409
+ <colgroup>
3410
+ <col width="150px" class="parameters_name">
3411
+ <col class="parameters_description">
3412
+ <col width="200px" class="parameters_annotations">
3413
+ </colgroup>
3414
+ <tbody>
3415
+ <tr>
3416
+ <td class="parameter_name"><p>iter</p></td>
3417
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3418
+ <td class="parameter_annotations"> </td>
3419
+ </tr>
3420
+ <tr>
3421
+ <td class="parameter_name"><p>ink_rect</p></td>
3422
+ <td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3423
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3424
+ </tr>
3425
+ <tr>
3426
+ <td class="parameter_name"><p>logical_rect</p></td>
3427
+ <td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3428
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3429
+ </tr>
3430
+ </tbody>
3431
+ </table></div>
3432
+ </div>
3433
+ </div>
3434
+ <hr>
3435
+ <div class="refsect2">
3436
+ <a name="pango-layout-iter-get-run-extents"></a><h3>pango_layout_iter_get_run_extents ()</h3>
3437
+ <pre class="programlisting"><span class="returnvalue">void</span>
3438
+ pango_layout_iter_get_run_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
3439
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
3440
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3441
+ <p>Gets the extents of the current run in layout coordinates
3442
+ (origin is the top left of the entire layout).</p>
3443
+ <div class="refsect3">
3444
+ <a name="id-1.2.8.10.78.5"></a><h4>Parameters</h4>
3445
+ <div class="informaltable"><table width="100%" border="0">
3446
+ <colgroup>
3447
+ <col width="150px" class="parameters_name">
3448
+ <col class="parameters_description">
3449
+ <col width="200px" class="parameters_annotations">
3450
+ </colgroup>
3451
+ <tbody>
3452
+ <tr>
3453
+ <td class="parameter_name"><p>iter</p></td>
3454
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3455
+ <td class="parameter_annotations"> </td>
3456
+ </tr>
3457
+ <tr>
3458
+ <td class="parameter_name"><p>ink_rect</p></td>
3459
+ <td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3460
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3461
+ </tr>
3462
+ <tr>
3463
+ <td class="parameter_name"><p>logical_rect</p></td>
3464
+ <td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3465
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3466
+ </tr>
3467
+ </tbody>
3468
+ </table></div>
3469
+ </div>
3470
+ </div>
3471
+ <hr>
3472
+ <div class="refsect2">
3473
+ <a name="pango-layout-iter-get-line-yrange"></a><h3>pango_layout_iter_get_line_yrange ()</h3>
3474
+ <pre class="programlisting"><span class="returnvalue">void</span>
3475
+ pango_layout_iter_get_line_yrange (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
3476
+ <em class="parameter"><code><span class="type">int</span> *y0_</code></em>,
3477
+ <em class="parameter"><code><span class="type">int</span> *y1_</code></em>);</pre>
3478
+ <p>Divides the vertical space in the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> being iterated over
3479
+ between the lines in the layout, and returns the space belonging to
3480
+ the current line. A line's range includes the line's logical
3481
+ extents, plus half of the spacing above and below the line, if
3482
+ <a class="link" href="pango-Layout-Objects.html#pango-layout-set-spacing" title="pango_layout_set_spacing ()"><code class="function">pango_layout_set_spacing()</code></a> has been called to set layout spacing.
3483
+ The Y positions are in layout coordinates (origin at top left of the
3484
+ entire layout).</p>
3485
+ <div class="refsect3">
3486
+ <a name="id-1.2.8.10.79.5"></a><h4>Parameters</h4>
3487
+ <div class="informaltable"><table width="100%" border="0">
3488
+ <colgroup>
3489
+ <col width="150px" class="parameters_name">
3490
+ <col class="parameters_description">
3491
+ <col width="200px" class="parameters_annotations">
3492
+ </colgroup>
3493
+ <tbody>
3494
+ <tr>
3495
+ <td class="parameter_name"><p>iter</p></td>
3496
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3497
+ <td class="parameter_annotations"> </td>
3498
+ </tr>
3499
+ <tr>
3500
+ <td class="parameter_name"><p>y0_</p></td>
3501
+ <td class="parameter_description"><p> start of line, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3502
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3503
+ </tr>
3504
+ <tr>
3505
+ <td class="parameter_name"><p>y1_</p></td>
3506
+ <td class="parameter_description"><p> end of line, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3507
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3508
+ </tr>
3509
+ </tbody>
3510
+ </table></div>
3511
+ </div>
3512
+ </div>
3513
+ <hr>
3514
+ <div class="refsect2">
3515
+ <a name="pango-layout-iter-get-line-extents"></a><h3>pango_layout_iter_get_line_extents ()</h3>
3516
+ <pre class="programlisting"><span class="returnvalue">void</span>
3517
+ pango_layout_iter_get_line_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
3518
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
3519
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3520
+ <p>Obtains the extents of the current line. <em class="parameter"><code>ink_rect</code></em>
3521
+ or <em class="parameter"><code>logical_rect</code></em>
3522
+
3523
+ can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you aren't interested in them. Extents are in layout
3524
+ coordinates (origin is the top-left corner of the entire
3525
+ <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>). Thus the extents returned by this function will be
3526
+ the same width/height but not at the same x/y as the extents
3527
+ returned from <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-extents" title="pango_layout_line_get_extents ()"><code class="function">pango_layout_line_get_extents()</code></a>.</p>
3528
+ <div class="refsect3">
3529
+ <a name="id-1.2.8.10.80.5"></a><h4>Parameters</h4>
3530
+ <div class="informaltable"><table width="100%" border="0">
3531
+ <colgroup>
3532
+ <col width="150px" class="parameters_name">
3533
+ <col class="parameters_description">
3534
+ <col width="200px" class="parameters_annotations">
3535
+ </colgroup>
3536
+ <tbody>
3537
+ <tr>
3538
+ <td class="parameter_name"><p>iter</p></td>
3539
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3540
+ <td class="parameter_annotations"> </td>
3541
+ </tr>
3542
+ <tr>
3543
+ <td class="parameter_name"><p>ink_rect</p></td>
3544
+ <td class="parameter_description"><p> rectangle to fill with ink extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3545
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3546
+ </tr>
3547
+ <tr>
3548
+ <td class="parameter_name"><p>logical_rect</p></td>
3549
+ <td class="parameter_description"><p> rectangle to fill with logical extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3550
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3551
+ </tr>
3552
+ </tbody>
3553
+ </table></div>
3554
+ </div>
3555
+ </div>
3556
+ <hr>
3557
+ <div class="refsect2">
3558
+ <a name="pango-layout-iter-get-layout-extents"></a><h3>pango_layout_iter_get_layout_extents ()</h3>
3559
+ <pre class="programlisting"><span class="returnvalue">void</span>
3560
+ pango_layout_iter_get_layout_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> *iter</code></em>,
3561
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
3562
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3563
+ <p>Obtains the extents of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> being iterated
3564
+ over. <em class="parameter"><code>ink_rect</code></em>
3565
+ or <em class="parameter"><code>logical_rect</code></em>
3566
+ can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you
3567
+ aren't interested in them.</p>
3568
+ <div class="refsect3">
3569
+ <a name="id-1.2.8.10.81.5"></a><h4>Parameters</h4>
3570
+ <div class="informaltable"><table width="100%" border="0">
3571
+ <colgroup>
3572
+ <col width="150px" class="parameters_name">
3573
+ <col class="parameters_description">
3574
+ <col width="200px" class="parameters_annotations">
3575
+ </colgroup>
3576
+ <tbody>
3577
+ <tr>
3578
+ <td class="parameter_name"><p>iter</p></td>
3579
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a></p></td>
3580
+ <td class="parameter_annotations"> </td>
3581
+ </tr>
3582
+ <tr>
3583
+ <td class="parameter_name"><p>ink_rect</p></td>
3584
+ <td class="parameter_description"><p> rectangle to fill with ink extents,
3585
+ or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3586
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3587
+ </tr>
3588
+ <tr>
3589
+ <td class="parameter_name"><p>logical_rect</p></td>
3590
+ <td class="parameter_description"><p> rectangle to fill with logical
3591
+ extents, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3592
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3593
+ </tr>
3594
+ </tbody>
3595
+ </table></div>
3596
+ </div>
3597
+ </div>
3598
+ <hr>
3599
+ <div class="refsect2">
3600
+ <a name="pango-layout-line-ref"></a><h3>pango_layout_line_ref ()</h3>
3601
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> *
3602
+ pango_layout_line_ref (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
3603
+ <p>Increase the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> by one.</p>
3604
+ <div class="refsect3">
3605
+ <a name="id-1.2.8.10.82.5"></a><h4>Parameters</h4>
3606
+ <div class="informaltable"><table width="100%" border="0">
3607
+ <colgroup>
3608
+ <col width="150px" class="parameters_name">
3609
+ <col class="parameters_description">
3610
+ <col width="200px" class="parameters_annotations">
3611
+ </colgroup>
3612
+ <tbody><tr>
3613
+ <td class="parameter_name"><p>line</p></td>
3614
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
3615
+ <td class="parameter_annotations"> </td>
3616
+ </tr></tbody>
3617
+ </table></div>
3618
+ </div>
3619
+ <div class="refsect3">
3620
+ <a name="id-1.2.8.10.82.6"></a><h4>Returns</h4>
3621
+ <p> the line passed in.</p>
3622
+ <p></p>
3623
+ </div>
3624
+ <p class="since">Since 1.10</p>
3625
+ </div>
3626
+ <hr>
3627
+ <div class="refsect2">
3628
+ <a name="pango-layout-line-unref"></a><h3>pango_layout_line_unref ()</h3>
3629
+ <pre class="programlisting"><span class="returnvalue">void</span>
3630
+ pango_layout_line_unref (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
3631
+ <p>Decrease the reference count of a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> by one.
3632
+ If the result is zero, the line and all associated memory
3633
+ will be freed.</p>
3634
+ <div class="refsect3">
3635
+ <a name="id-1.2.8.10.83.5"></a><h4>Parameters</h4>
3636
+ <div class="informaltable"><table width="100%" border="0">
3637
+ <colgroup>
3638
+ <col width="150px" class="parameters_name">
3639
+ <col class="parameters_description">
3640
+ <col width="200px" class="parameters_annotations">
3641
+ </colgroup>
3642
+ <tbody><tr>
3643
+ <td class="parameter_name"><p>line</p></td>
3644
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
3645
+ <td class="parameter_annotations"> </td>
3646
+ </tr></tbody>
3647
+ </table></div>
3648
+ </div>
3649
+ </div>
3650
+ <hr>
3651
+ <div class="refsect2">
3652
+ <a name="pango-layout-line-get-extents"></a><h3>pango_layout_line_get_extents ()</h3>
3653
+ <pre class="programlisting"><span class="returnvalue">void</span>
3654
+ pango_layout_line_get_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
3655
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
3656
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3657
+ <p>Computes the logical and ink extents of a layout line. See
3658
+ <a class="link" href="pango-Fonts.html#pango-font-get-glyph-extents" title="pango_font_get_glyph_extents ()"><code class="function">pango_font_get_glyph_extents()</code></a> for details about the interpretation
3659
+ of the rectangles.</p>
3660
+ <div class="refsect3">
3661
+ <a name="id-1.2.8.10.84.5"></a><h4>Parameters</h4>
3662
+ <div class="informaltable"><table width="100%" border="0">
3663
+ <colgroup>
3664
+ <col width="150px" class="parameters_name">
3665
+ <col class="parameters_description">
3666
+ <col width="200px" class="parameters_annotations">
3667
+ </colgroup>
3668
+ <tbody>
3669
+ <tr>
3670
+ <td class="parameter_name"><p>line</p></td>
3671
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
3672
+ <td class="parameter_annotations"> </td>
3673
+ </tr>
3674
+ <tr>
3675
+ <td class="parameter_name"><p>ink_rect</p></td>
3676
+ <td class="parameter_description"><p> rectangle used to store the extents of
3677
+ the glyph string as drawn, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3678
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3679
+ </tr>
3680
+ <tr>
3681
+ <td class="parameter_name"><p>logical_rect</p></td>
3682
+ <td class="parameter_description"><p>rectangle used to store the logical
3683
+ extents of the glyph string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3684
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3685
+ </tr>
3686
+ </tbody>
3687
+ </table></div>
3688
+ </div>
3689
+ </div>
3690
+ <hr>
3691
+ <div class="refsect2">
3692
+ <a name="pango-layout-line-get-pixel-extents"></a><h3>pango_layout_line_get_pixel_extents ()</h3>
3693
+ <pre class="programlisting"><span class="returnvalue">void</span>
3694
+ pango_layout_line_get_pixel_extents (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *layout_line</code></em>,
3695
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
3696
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>);</pre>
3697
+ <p>Computes the logical and ink extents of <em class="parameter"><code>layout_line</code></em>
3698
+ in device units.
3699
+ This function just calls <a class="link" href="pango-Layout-Objects.html#pango-layout-line-get-extents" title="pango_layout_line_get_extents ()"><code class="function">pango_layout_line_get_extents()</code></a> followed by
3700
+ two <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a> calls, rounding <em class="parameter"><code>ink_rect</code></em>
3701
+ and <em class="parameter"><code>logical_rect</code></em>
3702
+
3703
+ such that the rounded rectangles fully contain the unrounded one (that is,
3704
+ passes them as first argument to <a class="link" href="pango-Glyph-Storage.html#pango-extents-to-pixels" title="pango_extents_to_pixels ()"><code class="function">pango_extents_to_pixels()</code></a>).</p>
3705
+ <div class="refsect3">
3706
+ <a name="id-1.2.8.10.85.5"></a><h4>Parameters</h4>
3707
+ <div class="informaltable"><table width="100%" border="0">
3708
+ <colgroup>
3709
+ <col width="150px" class="parameters_name">
3710
+ <col class="parameters_description">
3711
+ <col width="200px" class="parameters_annotations">
3712
+ </colgroup>
3713
+ <tbody>
3714
+ <tr>
3715
+ <td class="parameter_name"><p>layout_line</p></td>
3716
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
3717
+ <td class="parameter_annotations"> </td>
3718
+ </tr>
3719
+ <tr>
3720
+ <td class="parameter_name"><p>ink_rect</p></td>
3721
+ <td class="parameter_description"><p> rectangle used to store the extents of
3722
+ the glyph string as drawn, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3723
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3724
+ </tr>
3725
+ <tr>
3726
+ <td class="parameter_name"><p>logical_rect</p></td>
3727
+ <td class="parameter_description"><p> rectangle used to store the logical
3728
+ extents of the glyph string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
3729
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
3730
+ </tr>
3731
+ </tbody>
3732
+ </table></div>
3733
+ </div>
3734
+ </div>
3735
+ <hr>
3736
+ <div class="refsect2">
3737
+ <a name="pango-layout-line-index-to-x"></a><h3>pango_layout_line_index_to_x ()</h3>
3738
+ <pre class="programlisting"><span class="returnvalue">void</span>
3739
+ pango_layout_line_index_to_x (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
3740
+ <em class="parameter"><code><span class="type">int</span> index_</code></em>,
3741
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> trailing</code></em>,
3742
+ <em class="parameter"><code><span class="type">int</span> *x_pos</code></em>);</pre>
3743
+ <p>Converts an index within a line to a X position.</p>
3744
+ <div class="refsect3">
3745
+ <a name="id-1.2.8.10.86.5"></a><h4>Parameters</h4>
3746
+ <div class="informaltable"><table width="100%" border="0">
3747
+ <colgroup>
3748
+ <col width="150px" class="parameters_name">
3749
+ <col class="parameters_description">
3750
+ <col width="200px" class="parameters_annotations">
3751
+ </colgroup>
3752
+ <tbody>
3753
+ <tr>
3754
+ <td class="parameter_name"><p>line</p></td>
3755
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
3756
+ <td class="parameter_annotations"> </td>
3757
+ </tr>
3758
+ <tr>
3759
+ <td class="parameter_name"><p>index_</p></td>
3760
+ <td class="parameter_description"><p>byte offset of a grapheme within the layout</p></td>
3761
+ <td class="parameter_annotations"> </td>
3762
+ </tr>
3763
+ <tr>
3764
+ <td class="parameter_name"><p>trailing</p></td>
3765
+ <td class="parameter_description"><p>an integer indicating the edge of the grapheme to retrieve
3766
+ the position of. If &gt; 0, the trailing edge of the grapheme,
3767
+ if 0, the leading of the grapheme.</p></td>
3768
+ <td class="parameter_annotations"> </td>
3769
+ </tr>
3770
+ <tr>
3771
+ <td class="parameter_name"><p>x_pos</p></td>
3772
+ <td class="parameter_description"><p> location to store the x_offset (in Pango unit). </p></td>
3773
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
3774
+ </tr>
3775
+ </tbody>
3776
+ </table></div>
3777
+ </div>
3778
+ </div>
3779
+ <hr>
3780
+ <div class="refsect2">
3781
+ <a name="pango-layout-line-x-to-index"></a><h3>pango_layout_line_x_to_index ()</h3>
3782
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
3783
+ pango_layout_line_x_to_index (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
3784
+ <em class="parameter"><code><span class="type">int</span> x_pos</code></em>,
3785
+ <em class="parameter"><code><span class="type">int</span> *index_</code></em>,
3786
+ <em class="parameter"><code><span class="type">int</span> *trailing</code></em>);</pre>
3787
+ <p>Converts from x offset to the byte index of the corresponding
3788
+ character within the text of the layout. If <em class="parameter"><code>x_pos</code></em>
3789
+ is outside the line,
3790
+ <em class="parameter"><code>index_</code></em>
3791
+ and <em class="parameter"><code>trailing</code></em>
3792
+ will point to the very first or very last position
3793
+ in the line. This determination is based on the resolved direction
3794
+ of the paragraph; for example, if the resolved direction is
3795
+ right-to-left, then an X position to the right of the line (after it)
3796
+ results in 0 being stored in <em class="parameter"><code>index_</code></em>
3797
+ and <em class="parameter"><code>trailing</code></em>
3798
+ . An X position to the
3799
+ left of the line results in <em class="parameter"><code>index_</code></em>
3800
+ pointing to the (logical) last
3801
+ grapheme in the line and <em class="parameter"><code>trailing</code></em>
3802
+ being set to the number of characters
3803
+ in that grapheme. The reverse is true for a left-to-right line.</p>
3804
+ <div class="refsect3">
3805
+ <a name="id-1.2.8.10.87.5"></a><h4>Parameters</h4>
3806
+ <div class="informaltable"><table width="100%" border="0">
3807
+ <colgroup>
3808
+ <col width="150px" class="parameters_name">
3809
+ <col class="parameters_description">
3810
+ <col width="200px" class="parameters_annotations">
3811
+ </colgroup>
3812
+ <tbody>
3813
+ <tr>
3814
+ <td class="parameter_name"><p>line</p></td>
3815
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
3816
+ <td class="parameter_annotations"> </td>
3817
+ </tr>
3818
+ <tr>
3819
+ <td class="parameter_name"><p>x_pos</p></td>
3820
+ <td class="parameter_description"><p>the X offset (in Pango units)
3821
+ from the left edge of the line.</p></td>
3822
+ <td class="parameter_annotations"> </td>
3823
+ </tr>
3824
+ <tr>
3825
+ <td class="parameter_name"><p>index_</p></td>
3826
+ <td class="parameter_description"><p> location to store calculated byte index for
3827
+ the grapheme in which the user clicked. </p></td>
3828
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
3829
+ </tr>
3830
+ <tr>
3831
+ <td class="parameter_name"><p>trailing</p></td>
3832
+ <td class="parameter_description"><p> location to store an integer indicating where
3833
+ in the grapheme the user clicked. It will either
3834
+ be zero, or the number of characters in the
3835
+ grapheme. 0 represents the leading edge of the grapheme. </p></td>
3836
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
3837
+ </tr>
3838
+ </tbody>
3839
+ </table></div>
3840
+ </div>
3841
+ <div class="refsect3">
3842
+ <a name="id-1.2.8.10.87.6"></a><h4>Returns</h4>
3843
+ <p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>x_pos</code></em>
3844
+ was outside the line, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inside</p>
3845
+ <p></p>
3846
+ </div>
3847
+ </div>
3848
+ <hr>
3849
+ <div class="refsect2">
3850
+ <a name="pango-layout-line-get-x-ranges"></a><h3>pango_layout_line_get_x_ranges ()</h3>
3851
+ <pre class="programlisting"><span class="returnvalue">void</span>
3852
+ pango_layout_line_get_x_ranges (<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
3853
+ <em class="parameter"><code><span class="type">int</span> start_index</code></em>,
3854
+ <em class="parameter"><code><span class="type">int</span> end_index</code></em>,
3855
+ <em class="parameter"><code><span class="type">int</span> **ranges</code></em>,
3856
+ <em class="parameter"><code><span class="type">int</span> *n_ranges</code></em>);</pre>
3857
+ <p>Gets a list of visual ranges corresponding to a given logical range.
3858
+ This list is not necessarily minimal - there may be consecutive
3859
+ ranges which are adjacent. The ranges will be sorted from left to
3860
+ right. The ranges are with respect to the left edge of the entire
3861
+ layout, not with respect to the line.</p>
3862
+ <div class="refsect3">
3863
+ <a name="id-1.2.8.10.88.5"></a><h4>Parameters</h4>
3864
+ <div class="informaltable"><table width="100%" border="0">
3865
+ <colgroup>
3866
+ <col width="150px" class="parameters_name">
3867
+ <col class="parameters_description">
3868
+ <col width="200px" class="parameters_annotations">
3869
+ </colgroup>
3870
+ <tbody>
3871
+ <tr>
3872
+ <td class="parameter_name"><p>line</p></td>
3873
+ <td class="parameter_description"><p>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a></p></td>
3874
+ <td class="parameter_annotations"> </td>
3875
+ </tr>
3876
+ <tr>
3877
+ <td class="parameter_name"><p>start_index</p></td>
3878
+ <td class="parameter_description"><p>Start byte index of the logical range. If this value
3879
+ is less than the start index for the line, then
3880
+ the first range will extend all the way to the leading
3881
+ edge of the layout. Otherwise it will start at the
3882
+ leading edge of the first character.</p></td>
3883
+ <td class="parameter_annotations"> </td>
3884
+ </tr>
3885
+ <tr>
3886
+ <td class="parameter_name"><p>end_index</p></td>
3887
+ <td class="parameter_description"><p>Ending byte index of the logical range. If this value
3888
+ is greater than the end index for the line, then
3889
+ the last range will extend all the way to the trailing
3890
+ edge of the layout. Otherwise, it will end at the
3891
+ trailing edge of the last character.</p></td>
3892
+ <td class="parameter_annotations"> </td>
3893
+ </tr>
3894
+ <tr>
3895
+ <td class="parameter_name"><p>ranges</p></td>
3896
+ <td class="parameter_description"><p> location to store a pointer to an array of ranges.
3897
+ The array will be of length <code class="literal">2*n_ranges</code>,
3898
+ with each range starting at <code class="literal">(*ranges)[2*n]</code>
3899
+ and of width <code class="literal">(*ranges)[2*n + 1] - (*ranges)[2*n]</code>.
3900
+ This array must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. The coordinates are relative
3901
+ to the layout and are in Pango units. </p></td>
3902
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_ranges][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
3903
+ </tr>
3904
+ <tr>
3905
+ <td class="parameter_name"><p>n_ranges</p></td>
3906
+ <td class="parameter_description"><p>The number of ranges stored in <em class="parameter"><code>ranges</code></em>
3907
+ .</p></td>
3908
+ <td class="parameter_annotations"> </td>
3909
+ </tr>
3910
+ </tbody>
3911
+ </table></div>
3912
+ </div>
3913
+ </div>
3914
+ </div>
3915
+ <div class="refsect1">
3916
+ <a name="pango-Layout-Objects.other_details"></a><h2>Types and Values</h2>
3917
+ <div class="refsect2">
3918
+ <a name="PangoLayout-struct"></a><h3>PangoLayout</h3>
3919
+ <pre class="programlisting">typedef struct _PangoLayout PangoLayout;</pre>
3920
+ <p>The <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> structure represents an entire paragraph
3921
+ of text. It is initialized with a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, UTF-8 string
3922
+ and set of attributes for that string. Once that is done, the
3923
+ set of formatted lines can be extracted from the object,
3924
+ the layout can be rendered, and conversion between logical
3925
+ character positions within the layout's text, and the physical
3926
+ position of the resulting glyphs can be made.</p>
3927
+ <p>There are also a number of parameters to adjust the formatting
3928
+ of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>, which are illustrated in <a class="xref" href="pango-Layout-Objects.html#parameters" title="Figure 1. Adjustable parameters for a PangoLayout">Figure 1, “Adjustable parameters for a PangoLayout”</a>.
3929
+ It is possible, as well, to ignore the 2-D setup, and simply
3930
+ treat the results of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> as a list of lines.</p>
3931
+ <div class="figure">
3932
+ <a name="parameters"></a><p class="title"><b>Figure 1. Adjustable parameters for a PangoLayout</b></p>
3933
+ <div class="figure-contents"><div><img src="layout.gif" alt="Adjustable parameters for a PangoLayout"></div></div>
3934
+ </div>
3935
+ <br class="figure-break"><p>The <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> structure is opaque, and has no user-visible
3936
+ fields.</p>
3937
+ </div>
3938
+ <hr>
3939
+ <div class="refsect2">
3940
+ <a name="PangoLayoutIter-struct"></a><h3>PangoLayoutIter</h3>
3941
+ <pre class="programlisting">typedef struct _PangoLayoutIter PangoLayoutIter;</pre>
3942
+ <p>A <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> structure can be used to
3943
+ iterate over the visual extents of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
3944
+ <p>The <a class="link" href="pango-Layout-Objects.html#PangoLayoutIter"><span class="type">PangoLayoutIter</span></a> structure is opaque, and
3945
+ has no user-visible fields.</p>
3946
+ </div>
3947
+ <hr>
3948
+ <div class="refsect2">
3949
+ <a name="PangoWrapMode"></a><h3>enum PangoWrapMode</h3>
3950
+ <p>A <a class="link" href="pango-Layout-Objects.html#PangoWrapMode" title="enum PangoWrapMode"><span class="type">PangoWrapMode</span></a> describes how to wrap the lines of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> to the desired width.</p>
3951
+ <div class="refsect3">
3952
+ <a name="id-1.2.8.11.4.4"></a><h4>Members</h4>
3953
+ <div class="informaltable"><table width="100%" border="0">
3954
+ <colgroup>
3955
+ <col width="300px" class="enum_members_name">
3956
+ <col class="enum_members_description">
3957
+ <col width="200px" class="enum_members_annotations">
3958
+ </colgroup>
3959
+ <tbody>
3960
+ <tr>
3961
+ <td class="enum_member_name"><p><a name="PANGO-WRAP-WORD:CAPS"></a>PANGO_WRAP_WORD</p></td>
3962
+ <td class="enum_member_description">
3963
+ <p>wrap lines at word boundaries.</p>
3964
+ </td>
3965
+ <td class="enum_member_annotations"> </td>
3966
+ </tr>
3967
+ <tr>
3968
+ <td class="enum_member_name"><p><a name="PANGO-WRAP-CHAR:CAPS"></a>PANGO_WRAP_CHAR</p></td>
3969
+ <td class="enum_member_description">
3970
+ <p>wrap lines at character boundaries.</p>
3971
+ </td>
3972
+ <td class="enum_member_annotations"> </td>
3973
+ </tr>
3974
+ <tr>
3975
+ <td class="enum_member_name"><p><a name="PANGO-WRAP-WORD-CHAR:CAPS"></a>PANGO_WRAP_WORD_CHAR</p></td>
3976
+ <td class="enum_member_description">
3977
+ <p>wrap lines at word boundaries, but fall back to character boundaries if there is not
3978
+ enough space for a full word.</p>
3979
+ </td>
3980
+ <td class="enum_member_annotations"> </td>
3981
+ </tr>
3982
+ </tbody>
3983
+ </table></div>
3984
+ </div>
3985
+ </div>
3986
+ <hr>
3987
+ <div class="refsect2">
3988
+ <a name="PangoEllipsizeMode"></a><h3>enum PangoEllipsizeMode</h3>
3989
+ <p>The <a class="link" href="pango-Layout-Objects.html#PangoEllipsizeMode" title="enum PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> type describes what sort of (if any)
3990
+ ellipsization should be applied to a line of text. In
3991
+ the ellipsization process characters are removed from the
3992
+ text in order to make it fit to a given width and replaced
3993
+ with an ellipsis.</p>
3994
+ <div class="refsect3">
3995
+ <a name="id-1.2.8.11.5.4"></a><h4>Members</h4>
3996
+ <div class="informaltable"><table width="100%" border="0">
3997
+ <colgroup>
3998
+ <col width="300px" class="enum_members_name">
3999
+ <col class="enum_members_description">
4000
+ <col width="200px" class="enum_members_annotations">
4001
+ </colgroup>
4002
+ <tbody>
4003
+ <tr>
4004
+ <td class="enum_member_name"><p><a name="PANGO-ELLIPSIZE-NONE:CAPS"></a>PANGO_ELLIPSIZE_NONE</p></td>
4005
+ <td class="enum_member_description">
4006
+ <p>No ellipsization</p>
4007
+ </td>
4008
+ <td class="enum_member_annotations"> </td>
4009
+ </tr>
4010
+ <tr>
4011
+ <td class="enum_member_name"><p><a name="PANGO-ELLIPSIZE-START:CAPS"></a>PANGO_ELLIPSIZE_START</p></td>
4012
+ <td class="enum_member_description">
4013
+ <p>Omit characters at the start of the text</p>
4014
+ </td>
4015
+ <td class="enum_member_annotations"> </td>
4016
+ </tr>
4017
+ <tr>
4018
+ <td class="enum_member_name"><p><a name="PANGO-ELLIPSIZE-MIDDLE:CAPS"></a>PANGO_ELLIPSIZE_MIDDLE</p></td>
4019
+ <td class="enum_member_description">
4020
+ <p>Omit characters in the middle of the text</p>
4021
+ </td>
4022
+ <td class="enum_member_annotations"> </td>
4023
+ </tr>
4024
+ <tr>
4025
+ <td class="enum_member_name"><p><a name="PANGO-ELLIPSIZE-END:CAPS"></a>PANGO_ELLIPSIZE_END</p></td>
4026
+ <td class="enum_member_description">
4027
+ <p>Omit characters at the end of the text</p>
4028
+ </td>
4029
+ <td class="enum_member_annotations"> </td>
4030
+ </tr>
4031
+ </tbody>
4032
+ </table></div>
4033
+ </div>
4034
+ </div>
4035
+ <hr>
4036
+ <div class="refsect2">
4037
+ <a name="PangoAlignment"></a><h3>enum PangoAlignment</h3>
4038
+ <p>A <a class="link" href="pango-Layout-Objects.html#PangoAlignment" title="enum PangoAlignment"><span class="type">PangoAlignment</span></a> describes how to align the lines of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> within the
4039
+ available space. If the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> is set to justify
4040
+ using <a class="link" href="pango-Layout-Objects.html#pango-layout-set-justify" title="pango_layout_set_justify ()"><code class="function">pango_layout_set_justify()</code></a>, this only has effect for partial lines.</p>
4041
+ <div class="refsect3">
4042
+ <a name="id-1.2.8.11.6.4"></a><h4>Members</h4>
4043
+ <div class="informaltable"><table width="100%" border="0">
4044
+ <colgroup>
4045
+ <col width="300px" class="enum_members_name">
4046
+ <col class="enum_members_description">
4047
+ <col width="200px" class="enum_members_annotations">
4048
+ </colgroup>
4049
+ <tbody>
4050
+ <tr>
4051
+ <td class="enum_member_name"><p><a name="PANGO-ALIGN-LEFT:CAPS"></a>PANGO_ALIGN_LEFT</p></td>
4052
+ <td class="enum_member_description">
4053
+ <p>Put all available space on the right</p>
4054
+ </td>
4055
+ <td class="enum_member_annotations"> </td>
4056
+ </tr>
4057
+ <tr>
4058
+ <td class="enum_member_name"><p><a name="PANGO-ALIGN-CENTER:CAPS"></a>PANGO_ALIGN_CENTER</p></td>
4059
+ <td class="enum_member_description">
4060
+ <p>Center the line within the available space</p>
4061
+ </td>
4062
+ <td class="enum_member_annotations"> </td>
4063
+ </tr>
4064
+ <tr>
4065
+ <td class="enum_member_name"><p><a name="PANGO-ALIGN-RIGHT:CAPS"></a>PANGO_ALIGN_RIGHT</p></td>
4066
+ <td class="enum_member_description">
4067
+ <p>Put all available space on the left</p>
4068
+ </td>
4069
+ <td class="enum_member_annotations"> </td>
4070
+ </tr>
4071
+ </tbody>
4072
+ </table></div>
4073
+ </div>
4074
+ </div>
4075
+ <hr>
4076
+ <div class="refsect2">
4077
+ <a name="PangoLayoutLine-struct"></a><h3>struct PangoLayoutLine</h3>
4078
+ <pre class="programlisting">struct PangoLayoutLine {
4079
+ PangoLayout *layout;
4080
+ gint start_index; /* start of line as byte index into layout-&gt;text */
4081
+ gint length; /* length of line in bytes */
4082
+ GSList *runs;
4083
+ guint is_paragraph_start : 1; /* TRUE if this is the first line of the paragraph */
4084
+ guint resolved_dir : 3; /* Resolved PangoDirection of line */
4085
+ };
4086
+ </pre>
4087
+ <p>The <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> structure represents one of the lines resulting
4088
+ from laying out a paragraph via <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
4089
+ structures are obtained by calling <a class="link" href="pango-Layout-Objects.html#pango-layout-get-line" title="pango_layout_get_line ()"><code class="function">pango_layout_get_line()</code></a> and
4090
+ are only valid until the text, attributes, or settings of the
4091
+ parent <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> are modified.</p>
4092
+ <p>Routines for rendering PangoLayout objects are provided in
4093
+ code specific to each rendering system.</p>
4094
+ <div class="refsect3">
4095
+ <a name="id-1.2.8.11.7.6"></a><h4>Members</h4>
4096
+ <div class="informaltable"><table width="100%" border="0">
4097
+ <colgroup>
4098
+ <col width="300px" class="struct_members_name">
4099
+ <col class="struct_members_description">
4100
+ <col width="200px" class="struct_members_annotations">
4101
+ </colgroup>
4102
+ <tbody>
4103
+ <tr>
4104
+ <td class="struct_member_name"><p><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *<em class="structfield"><code><a name="PangoLayoutLine-struct.layout"></a>layout</code></em>;</p></td>
4105
+ <td> </td>
4106
+ <td> </td>
4107
+ </tr>
4108
+ <tr>
4109
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoLayoutLine-struct.start-index"></a>start_index</code></em>;</p></td>
4110
+ <td class="struct_member_description"><p>start of line as byte index into layout-&gt;text</p></td>
4111
+ <td class="struct_member_annotations"> </td>
4112
+ </tr>
4113
+ <tr>
4114
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="PangoLayoutLine-struct.length"></a>length</code></em>;</p></td>
4115
+ <td class="struct_member_description"><p>length of line in bytes</p></td>
4116
+ <td class="struct_member_annotations"> </td>
4117
+ </tr>
4118
+ <tr>
4119
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="PangoLayoutLine-struct.runs"></a>runs</code></em>;</p></td>
4120
+ <td> </td>
4121
+ <td> </td>
4122
+ </tr>
4123
+ <tr>
4124
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLayoutLine-struct.is-paragraph-start"></a>is_paragraph_start</code></em> : 1;</p></td>
4125
+ <td class="struct_member_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if this is the first line of the paragraph</p></td>
4126
+ <td class="struct_member_annotations"> </td>
4127
+ </tr>
4128
+ <tr>
4129
+ <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoLayoutLine-struct.resolved-dir"></a>resolved_dir</code></em> : 3;</p></td>
4130
+ <td class="struct_member_description"><p><span class="type">Resolved</span> PangoDirection of line</p></td>
4131
+ <td class="struct_member_annotations"> </td>
4132
+ </tr>
4133
+ </tbody>
4134
+ </table></div>
4135
+ </div>
4136
+ </div>
4137
+ <hr>
4138
+ <div class="refsect2">
4139
+ <a name="PangoLayoutRun"></a><h3>PangoLayoutRun</h3>
4140
+ <pre class="programlisting">typedef PangoGlyphItem PangoLayoutRun;
4141
+ </pre>
4142
+ <p>The <a class="link" href="pango-Layout-Objects.html#PangoLayoutRun" title="PangoLayoutRun"><span class="type">PangoLayoutRun</span></a> structure represents a single run within
4143
+ a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>; it is simply an alternate name for
4144
+ <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>.
4145
+ See the <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> docs for details on the fields.</p>
4146
+ </div>
4147
+ </div>
4148
+ </div>
4149
+ <div class="footer">
4150
+ <hr>
4151
+ Generated by GTK-Doc V1.21.1</div>
4152
+ </body>
4153
+ </html>