cairo 1.8.5-x86-mingw32 → 1.10.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

Files changed (450) hide show
  1. data/NEWS +2 -2
  2. data/Rakefile +44 -7
  3. data/ext/cairo/cairo.def +28 -1
  4. data/ext/cairo/extconf.rb +14 -16
  5. data/ext/cairo/rb_cairo.c +4 -1
  6. data/ext/cairo/rb_cairo.h +65 -1
  7. data/ext/cairo/rb_cairo_constants.c +150 -3
  8. data/ext/cairo/rb_cairo_context.c +17 -0
  9. data/ext/cairo/rb_cairo_device.c +406 -0
  10. data/ext/cairo/rb_cairo_exception.c +83 -32
  11. data/ext/cairo/rb_cairo_io.c +166 -0
  12. data/ext/cairo/rb_cairo_io.h +44 -0
  13. data/ext/cairo/rb_cairo_matrix.c +1 -1
  14. data/ext/cairo/rb_cairo_private.h +3 -0
  15. data/ext/cairo/rb_cairo_region.c +385 -0
  16. data/ext/cairo/rb_cairo_surface.c +674 -199
  17. data/lib/1.8/cairo.so +0 -0
  18. data/lib/1.9/cairo.so +0 -0
  19. data/samples/blur.rb +2 -3
  20. data/samples/{pac2.rb → pac-nomralize.rb} +5 -6
  21. data/samples/pac-tee.rb +170 -0
  22. data/samples/pac.rb +2 -3
  23. data/samples/png.rb +2 -3
  24. data/samples/scalable.rb +2 -3
  25. data/samples/text-on-path.rb +2 -3
  26. data/samples/text2.rb +2 -3
  27. data/test/cairo-test-utils.rb +15 -0
  28. data/test/run-test.rb +5 -4
  29. data/test/test_context.rb +4 -4
  30. data/test/test_font_face.rb +34 -21
  31. data/test/test_recording_surface.rb +18 -0
  32. data/test/test_region.rb +102 -0
  33. data/test/test_script_device.rb +46 -0
  34. data/test/test_script_surface.rb +13 -0
  35. data/test/test_surface.rb +14 -4
  36. data/test/test_tee_surface.rb +32 -0
  37. data/test/test_xml_device.rb +22 -0
  38. data/test/test_xml_surface.rb +32 -0
  39. data/tmp/i386-mingw32/cairo/1.9.2/rbconfig.rb +1 -1
  40. data/vendor/local/bin/libcairo-2.dll +0 -0
  41. data/vendor/local/include/cairo/cairo-deprecated.h +1 -16
  42. data/vendor/local/include/cairo/cairo-features.h +7 -0
  43. data/vendor/local/include/cairo/cairo-ft.h +16 -9
  44. data/vendor/local/include/cairo/cairo-gobject.h +186 -0
  45. data/vendor/local/include/cairo/cairo-pdf.h +27 -1
  46. data/vendor/local/include/cairo/cairo-ps.h +1 -1
  47. data/vendor/local/include/cairo/cairo-script-interpreter.h +117 -0
  48. data/vendor/local/include/cairo/cairo-svg.h +1 -1
  49. data/vendor/local/include/cairo/cairo-version.h +2 -2
  50. data/vendor/local/include/cairo/cairo-win32.h +1 -1
  51. data/vendor/local/include/cairo/cairo.h +382 -26
  52. data/vendor/local/lib/cairo.def +44 -0
  53. data/vendor/local/lib/cairo.lib +0 -0
  54. data/vendor/local/lib/libcairo.dll.a +0 -0
  55. data/vendor/local/lib/pkgconfig/cairo-fc.pc +12 -0
  56. data/vendor/local/lib/pkgconfig/cairo-ft.pc +4 -4
  57. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +12 -0
  58. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +3 -3
  59. data/vendor/local/lib/pkgconfig/cairo-png.pc +3 -3
  60. data/vendor/local/lib/pkgconfig/cairo-ps.pc +3 -3
  61. data/vendor/local/lib/pkgconfig/cairo-svg.pc +3 -3
  62. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +3 -3
  63. data/vendor/local/lib/pkgconfig/cairo-win32.pc +3 -3
  64. data/vendor/local/lib/pkgconfig/cairo.pc +4 -4
  65. data/vendor/local/manifest/{cairo-dev_1.8.10-4_win32.mft → cairo-dev_1.10.0-1_win32.mft} +34 -27
  66. data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +5 -0
  67. data/vendor/local/share/doc/{cairo_1.8.10-4_win32 → cairo_1.10.0-1_win32}/COPYING +9 -8
  68. data/vendor/local/share/doc/{cairo_1.8.10-4_win32 → cairo_1.10.0-1_win32}/COPYING-LGPL-2.1 +2 -2
  69. data/vendor/local/share/doc/{cairo_1.8.10-4_win32 → cairo_1.10.0-1_win32}/COPYING-MPL-1.1 +0 -0
  70. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +4 -14
  71. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +5 -15
  72. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +7 -17
  73. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +6 -16
  74. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +6 -16
  75. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +23 -28
  76. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +3 -13
  77. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +3 -13
  78. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +7 -17
  79. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +373 -0
  80. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +330 -0
  81. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +478 -0
  82. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +344 -0
  83. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +320 -0
  84. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1291 -0
  85. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +622 -0
  86. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +134 -0
  87. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +210 -0
  88. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +834 -0
  89. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +318 -0
  90. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +410 -0
  91. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +169 -0
  92. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +715 -0
  93. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +410 -0
  94. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +335 -0
  95. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +291 -0
  96. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +470 -0
  97. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +595 -0
  98. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +384 -0
  99. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +644 -0
  100. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +574 -0
  101. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +1457 -0
  102. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +1076 -0
  103. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1396 -0
  104. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2743 -0
  105. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -20
  106. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -23
  107. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +11 -21
  108. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +19 -26
  109. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +279 -326
  110. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp +411 -355
  111. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +579 -480
  112. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +147 -0
  113. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +88 -65
  114. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +72 -47
  115. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +43 -32
  116. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +42 -41
  117. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +542 -345
  118. data/vendor/local/share/gtk-doc/html/cairo/index.html +36 -39
  119. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +674 -444
  120. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +6 -16
  121. data/vendor/local/share/gtk-doc/html/cairo/style.css +152 -54
  122. data/vendor/local/src/tml/packaging/cairo_1.10.0-1_win32.log +1262 -0
  123. data/vendor/local/src/tml/packaging/{cairo_1.8.10-4_win32.sh → cairo_1.10.0-1_win32.sh} +3 -3
  124. metadata +137 -389
  125. data/doc/doc.css +0 -91
  126. data/doc/en/cairo-antialias.html +0 -38
  127. data/doc/en/cairo-clip-not-representable-error.html +0 -47
  128. data/doc/en/cairo-color-base.html +0 -69
  129. data/doc/en/cairo-color-cmyk.html +0 -157
  130. data/doc/en/cairo-color-hsv.html +0 -137
  131. data/doc/en/cairo-color-rgb.html +0 -142
  132. data/doc/en/cairo-color-x11.html +0 -173
  133. data/doc/en/cairo-color.html +0 -238
  134. data/doc/en/cairo-content.html +0 -37
  135. data/doc/en/cairo-context-blur.html +0 -39
  136. data/doc/en/cairo-context-circle.html +0 -39
  137. data/doc/en/cairo-context-color.html +0 -39
  138. data/doc/en/cairo-context-path.html +0 -44
  139. data/doc/en/cairo-context-rectangle.html +0 -39
  140. data/doc/en/cairo-context-triangle.html +0 -39
  141. data/doc/en/cairo-context.html +0 -643
  142. data/doc/en/cairo-error.html +0 -44
  143. data/doc/en/cairo-extend.html +0 -38
  144. data/doc/en/cairo-file-not-found.html +0 -47
  145. data/doc/en/cairo-fill-rule.html +0 -36
  146. data/doc/en/cairo-filter.html +0 -40
  147. data/doc/en/cairo-font-extents.html +0 -129
  148. data/doc/en/cairo-font-face.html +0 -38
  149. data/doc/en/cairo-font-options.html +0 -139
  150. data/doc/en/cairo-font-slant.html +0 -37
  151. data/doc/en/cairo-font-type-mismatch.html +0 -47
  152. data/doc/en/cairo-font-weight.html +0 -36
  153. data/doc/en/cairo-format.html +0 -46
  154. data/doc/en/cairo-glyph.html +0 -99
  155. data/doc/en/cairo-gradient-pattern.html +0 -74
  156. data/doc/en/cairo-hint-metrics.html +0 -37
  157. data/doc/en/cairo-hint-style.html +0 -39
  158. data/doc/en/cairo-image-surface.html +0 -82
  159. data/doc/en/cairo-invalid-clusters.html +0 -47
  160. data/doc/en/cairo-invalid-content-error.html +0 -47
  161. data/doc/en/cairo-invalid-dash-error.html +0 -47
  162. data/doc/en/cairo-invalid-dsc-comment-error.html +0 -47
  163. data/doc/en/cairo-invalid-format-error.html +0 -47
  164. data/doc/en/cairo-invalid-index-error.html +0 -47
  165. data/doc/en/cairo-invalid-matrix-error.html +0 -47
  166. data/doc/en/cairo-invalid-path-data-error.html +0 -47
  167. data/doc/en/cairo-invalid-pop-group-error.html +0 -47
  168. data/doc/en/cairo-invalid-restore-error.html +0 -47
  169. data/doc/en/cairo-invalid-slant.html +0 -47
  170. data/doc/en/cairo-invalid-status-error.html +0 -47
  171. data/doc/en/cairo-invalid-stride-error.html +0 -47
  172. data/doc/en/cairo-invalid-string-error.html +0 -47
  173. data/doc/en/cairo-invalid-visual-error.html +0 -47
  174. data/doc/en/cairo-invalid-weight.html +0 -47
  175. data/doc/en/cairo-line-cap.html +0 -37
  176. data/doc/en/cairo-line-join.html +0 -37
  177. data/doc/en/cairo-linear-pattern.html +0 -60
  178. data/doc/en/cairo-matrix.html +0 -259
  179. data/doc/en/cairo-negative-count.html +0 -47
  180. data/doc/en/cairo-no-current-point-error.html +0 -47
  181. data/doc/en/cairo-null-pointer-error.html +0 -47
  182. data/doc/en/cairo-operator.html +0 -48
  183. data/doc/en/cairo-paper-parse-error.html +0 -47
  184. data/doc/en/cairo-paper-unknown-paper-name.html +0 -66
  185. data/doc/en/cairo-paper-unknown-unit.html +0 -66
  186. data/doc/en/cairo-paper-unrecognized-paper-description.html +0 -66
  187. data/doc/en/cairo-paper.html +0 -184
  188. data/doc/en/cairo-path-close-path.html +0 -49
  189. data/doc/en/cairo-path-curve-to.html +0 -49
  190. data/doc/en/cairo-path-data-type.html +0 -38
  191. data/doc/en/cairo-path-data.html +0 -98
  192. data/doc/en/cairo-path-line-to.html +0 -49
  193. data/doc/en/cairo-path-move-to.html +0 -49
  194. data/doc/en/cairo-path.html +0 -155
  195. data/doc/en/cairo-pattern-type-mismatch-error.html +0 -47
  196. data/doc/en/cairo-pattern.html +0 -99
  197. data/doc/en/cairo-pdf-surface.html +0 -57
  198. data/doc/en/cairo-point.html +0 -74
  199. data/doc/en/cairo-ps-level.html +0 -49
  200. data/doc/en/cairo-ps-surface.html +0 -92
  201. data/doc/en/cairo-quartz-image-surface.html +0 -57
  202. data/doc/en/cairo-quartz-surface.html +0 -57
  203. data/doc/en/cairo-radial-pattern.html +0 -60
  204. data/doc/en/cairo-read-error.html +0 -47
  205. data/doc/en/cairo-rectangle.html +0 -89
  206. data/doc/en/cairo-scaled-font.html +0 -94
  207. data/doc/en/cairo-solid-pattern.html +0 -62
  208. data/doc/en/cairo-subpixel-order.html +0 -39
  209. data/doc/en/cairo-surface-finished-error.html +0 -47
  210. data/doc/en/cairo-surface-pattern.html +0 -57
  211. data/doc/en/cairo-surface-type-mismatch-error.html +0 -47
  212. data/doc/en/cairo-surface.html +0 -121
  213. data/doc/en/cairo-svg-surface.html +0 -77
  214. data/doc/en/cairo-svg-version.html +0 -49
  215. data/doc/en/cairo-temp-file-error.html +0 -47
  216. data/doc/en/cairo-text-cluster-flag.html +0 -35
  217. data/doc/en/cairo-text-cluster.html +0 -84
  218. data/doc/en/cairo-text-extents.html +0 -144
  219. data/doc/en/cairo-toy-font-face.html +0 -67
  220. data/doc/en/cairo-user-font-error.html +0 -47
  221. data/doc/en/cairo-user-font-face-text-to-glyphs-data.html +0 -94
  222. data/doc/en/cairo-user-font-face.html +0 -72
  223. data/doc/en/cairo-user-font-immutable.html +0 -47
  224. data/doc/en/cairo-win32-printing-surface.html +0 -57
  225. data/doc/en/cairo-win32-surface.html +0 -62
  226. data/doc/en/cairo-write-error.html +0 -47
  227. data/doc/en/cairo.html +0 -131
  228. data/doc/en/index.html +0 -1154
  229. data/doc/index.html +0 -18
  230. data/doc/ja/cairo-antialias.html +0 -57
  231. data/doc/ja/cairo-clip-not-representable-error.html +0 -56
  232. data/doc/ja/cairo-color-base.html +0 -75
  233. data/doc/ja/cairo-color-cmyk.html +0 -152
  234. data/doc/ja/cairo-color-hsv.html +0 -135
  235. data/doc/ja/cairo-color-rgb.html +0 -145
  236. data/doc/ja/cairo-color-x11.html +0 -183
  237. data/doc/ja/cairo-color.html +0 -317
  238. data/doc/ja/cairo-content.html +0 -51
  239. data/doc/ja/cairo-context-blur.html +0 -53
  240. data/doc/ja/cairo-context-circle.html +0 -54
  241. data/doc/ja/cairo-context-color.html +0 -52
  242. data/doc/ja/cairo-context-path.html +0 -77
  243. data/doc/ja/cairo-context-rectangle.html +0 -60
  244. data/doc/ja/cairo-context-triangle.html +0 -47
  245. data/doc/ja/cairo-context.html +0 -1542
  246. data/doc/ja/cairo-error.html +0 -56
  247. data/doc/ja/cairo-extend.html +0 -56
  248. data/doc/ja/cairo-file-not-found.html +0 -51
  249. data/doc/ja/cairo-fill-rule.html +0 -58
  250. data/doc/ja/cairo-filter.html +0 -43
  251. data/doc/ja/cairo-font-extents.html +0 -164
  252. data/doc/ja/cairo-font-face.html +0 -55
  253. data/doc/ja/cairo-font-options.html +0 -189
  254. data/doc/ja/cairo-font-slant.html +0 -50
  255. data/doc/ja/cairo-font-type-mismatch.html +0 -52
  256. data/doc/ja/cairo-font-weight.html +0 -47
  257. data/doc/ja/cairo-format.html +0 -81
  258. data/doc/ja/cairo-glyph.html +0 -115
  259. data/doc/ja/cairo-gradient-pattern.html +0 -119
  260. data/doc/ja/cairo-hint-metrics.html +0 -57
  261. data/doc/ja/cairo-hint-style.html +0 -64
  262. data/doc/ja/cairo-image-surface.html +0 -131
  263. data/doc/ja/cairo-invalid-clusters.html +0 -55
  264. data/doc/ja/cairo-invalid-content-error.html +0 -54
  265. data/doc/ja/cairo-invalid-dash-error.html +0 -54
  266. data/doc/ja/cairo-invalid-dsc-comment-error.html +0 -54
  267. data/doc/ja/cairo-invalid-format-error.html +0 -54
  268. data/doc/ja/cairo-invalid-index-error.html +0 -54
  269. data/doc/ja/cairo-invalid-matrix-error.html +0 -54
  270. data/doc/ja/cairo-invalid-path-data-error.html +0 -54
  271. data/doc/ja/cairo-invalid-pop-group-error.html +0 -54
  272. data/doc/ja/cairo-invalid-restore-error.html +0 -55
  273. data/doc/ja/cairo-invalid-slant.html +0 -57
  274. data/doc/ja/cairo-invalid-status-error.html +0 -55
  275. data/doc/ja/cairo-invalid-stride-error.html +0 -55
  276. data/doc/ja/cairo-invalid-string-error.html +0 -54
  277. data/doc/ja/cairo-invalid-visual-error.html +0 -57
  278. data/doc/ja/cairo-invalid-weight.html +0 -57
  279. data/doc/ja/cairo-line-cap.html +0 -50
  280. data/doc/ja/cairo-line-join.html +0 -53
  281. data/doc/ja/cairo-linear-pattern.html +0 -87
  282. data/doc/ja/cairo-matrix.html +0 -354
  283. data/doc/ja/cairo-negative-count.html +0 -52
  284. data/doc/ja/cairo-no-current-point-error.html +0 -54
  285. data/doc/ja/cairo-null-pointer-error.html +0 -54
  286. data/doc/ja/cairo-operator.html +0 -51
  287. data/doc/ja/cairo-paper-parse-error.html +0 -55
  288. data/doc/ja/cairo-paper-unknown-paper-name.html +0 -76
  289. data/doc/ja/cairo-paper-unknown-unit.html +0 -75
  290. data/doc/ja/cairo-paper-unrecognized-paper-description.html +0 -76
  291. data/doc/ja/cairo-paper.html +0 -357
  292. data/doc/ja/cairo-path-close-path.html +0 -57
  293. data/doc/ja/cairo-path-curve-to.html +0 -70
  294. data/doc/ja/cairo-path-data-type.html +0 -53
  295. data/doc/ja/cairo-path-data.html +0 -127
  296. data/doc/ja/cairo-path-line-to.html +0 -62
  297. data/doc/ja/cairo-path-move-to.html +0 -62
  298. data/doc/ja/cairo-path.html +0 -144
  299. data/doc/ja/cairo-pattern-type-mismatch-error.html +0 -56
  300. data/doc/ja/cairo-pattern.html +0 -128
  301. data/doc/ja/cairo-pdf-surface.html +0 -86
  302. data/doc/ja/cairo-point.html +0 -90
  303. data/doc/ja/cairo-ps-level.html +0 -62
  304. data/doc/ja/cairo-ps-surface.html +0 -214
  305. data/doc/ja/cairo-quartz-image-surface.html +0 -75
  306. data/doc/ja/cairo-quartz-surface.html +0 -93
  307. data/doc/ja/cairo-radial-pattern.html +0 -93
  308. data/doc/ja/cairo-read-error.html +0 -55
  309. data/doc/ja/cairo-rectangle.html +0 -109
  310. data/doc/ja/cairo-scaled-font.html +0 -180
  311. data/doc/ja/cairo-solid-pattern.html +0 -87
  312. data/doc/ja/cairo-subpixel-order.html +0 -57
  313. data/doc/ja/cairo-surface-finished-error.html +0 -54
  314. data/doc/ja/cairo-surface-pattern.html +0 -68
  315. data/doc/ja/cairo-surface-type-mismatch-error.html +0 -56
  316. data/doc/ja/cairo-surface.html +0 -213
  317. data/doc/ja/cairo-svg-surface.html +0 -114
  318. data/doc/ja/cairo-svg-version.html +0 -66
  319. data/doc/ja/cairo-temp-file-error.html +0 -50
  320. data/doc/ja/cairo-text-cluster-flag.html +0 -46
  321. data/doc/ja/cairo-text-cluster.html +0 -102
  322. data/doc/ja/cairo-text-extents.html +0 -163
  323. data/doc/ja/cairo-toy-font-face.html +0 -107
  324. data/doc/ja/cairo-user-font-error.html +0 -55
  325. data/doc/ja/cairo-user-font-face-text-to-glyphs-data.html +0 -156
  326. data/doc/ja/cairo-user-font-face.html +0 -268
  327. data/doc/ja/cairo-user-font-immutable.html +0 -54
  328. data/doc/ja/cairo-win32-printing-surface.html +0 -80
  329. data/doc/ja/cairo-win32-surface.html +0 -100
  330. data/doc/ja/cairo-write-error.html +0 -55
  331. data/doc/ja/cairo.html +0 -177
  332. data/doc/ja/index.html +0 -1156
  333. data/pkg-config.rb +0 -313
  334. data/test-unit/Rakefile +0 -30
  335. data/test-unit/bin/testrb +0 -5
  336. data/test-unit/lib/test/unit.rb +0 -280
  337. data/test-unit/lib/test/unit/assertionfailederror.rb +0 -14
  338. data/test-unit/lib/test/unit/assertions.rb +0 -722
  339. data/test-unit/lib/test/unit/attribute.rb +0 -125
  340. data/test-unit/lib/test/unit/autorunner.rb +0 -254
  341. data/test-unit/lib/test/unit/collector.rb +0 -43
  342. data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
  343. data/test-unit/lib/test/unit/collector/dir.rb +0 -108
  344. data/test-unit/lib/test/unit/collector/load.rb +0 -135
  345. data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
  346. data/test-unit/lib/test/unit/color.rb +0 -61
  347. data/test-unit/lib/test/unit/diff.rb +0 -524
  348. data/test-unit/lib/test/unit/error.rb +0 -124
  349. data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
  350. data/test-unit/lib/test/unit/failure.rb +0 -110
  351. data/test-unit/lib/test/unit/fixture.rb +0 -185
  352. data/test-unit/lib/test/unit/notification.rb +0 -125
  353. data/test-unit/lib/test/unit/omission.rb +0 -143
  354. data/test-unit/lib/test/unit/pending.rb +0 -146
  355. data/test-unit/lib/test/unit/priority.rb +0 -146
  356. data/test-unit/lib/test/unit/runner/console.rb +0 -46
  357. data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
  358. data/test-unit/lib/test/unit/testcase.rb +0 -281
  359. data/test-unit/lib/test/unit/testresult.rb +0 -89
  360. data/test-unit/lib/test/unit/testsuite.rb +0 -110
  361. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
  362. data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -195
  363. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -49
  364. data/test-unit/lib/test/unit/ui/testrunner.rb +0 -20
  365. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
  366. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
  367. data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -41
  368. data/test-unit/lib/test/unit/util/observable.rb +0 -90
  369. data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
  370. data/test-unit/lib/test/unit/version.rb +0 -7
  371. data/test-unit/sample/adder.rb +0 -13
  372. data/test-unit/sample/subtracter.rb +0 -12
  373. data/test-unit/sample/tc_adder.rb +0 -18
  374. data/test-unit/sample/tc_subtracter.rb +0 -18
  375. data/test-unit/sample/ts_examples.rb +0 -7
  376. data/test-unit/test/collector/test_descendant.rb +0 -135
  377. data/test-unit/test/collector/test_dir.rb +0 -406
  378. data/test-unit/test/collector/test_load.rb +0 -333
  379. data/test-unit/test/collector/test_objectspace.rb +0 -98
  380. data/test-unit/test/run-test.rb +0 -13
  381. data/test-unit/test/test_assertions.rb +0 -693
  382. data/test-unit/test/test_attribute.rb +0 -86
  383. data/test-unit/test/test_color.rb +0 -37
  384. data/test-unit/test/test_diff.rb +0 -477
  385. data/test-unit/test/test_emacs_runner.rb +0 -60
  386. data/test-unit/test/test_error.rb +0 -26
  387. data/test-unit/test/test_failure.rb +0 -33
  388. data/test-unit/test/test_fixture.rb +0 -252
  389. data/test-unit/test/test_notification.rb +0 -33
  390. data/test-unit/test/test_omission.rb +0 -81
  391. data/test-unit/test/test_pending.rb +0 -70
  392. data/test-unit/test/test_priority.rb +0 -89
  393. data/test-unit/test/test_testcase.rb +0 -430
  394. data/test-unit/test/test_testresult.rb +0 -113
  395. data/test-unit/test/test_testsuite.rb +0 -129
  396. data/test-unit/test/testunit_test_util.rb +0 -14
  397. data/test-unit/test/ui/test_testrunmediator.rb +0 -20
  398. data/test-unit/test/util/test_backtracefilter.rb +0 -41
  399. data/test-unit/test/util/test_observable.rb +0 -102
  400. data/test-unit/test/util/test_procwrapper.rb +0 -36
  401. data/test/test_pkg_config.rb +0 -123
  402. data/vendor/local/include/libpng14/png.h +0 -2701
  403. data/vendor/local/include/libpng14/pngconf.h +0 -1525
  404. data/vendor/local/include/png.h +0 -2701
  405. data/vendor/local/include/pngconf.h +0 -1525
  406. data/vendor/local/include/zconf.h +0 -461
  407. data/vendor/local/include/zlib.h +0 -1589
  408. data/vendor/local/lib/libpng.def +0 -192
  409. data/vendor/local/lib/libpng.lib +0 -0
  410. data/vendor/local/lib/libpng14.dll.a +0 -0
  411. data/vendor/local/lib/libz.dll.a +0 -0
  412. data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
  413. data/vendor/local/lib/pkgconfig/libpng14.pc +0 -11
  414. data/vendor/local/lib/zdll.lib +0 -0
  415. data/vendor/local/lib/zlib.def +0 -67
  416. data/vendor/local/manifest/cairo_1.8.10-4_win32.mft +0 -5
  417. data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +0 -15
  418. data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
  419. data/vendor/local/share/gtk-doc/html/cairo/cairo-context.html +0 -2643
  420. data/vendor/local/share/gtk-doc/html/cairo/cairo-error-status.html +0 -360
  421. data/vendor/local/share/gtk-doc/html/cairo/cairo-font-face.html +0 -408
  422. data/vendor/local/share/gtk-doc/html/cairo/cairo-font-options.html +0 -678
  423. data/vendor/local/share/gtk-doc/html/cairo/cairo-ft-font.html +0 -319
  424. data/vendor/local/share/gtk-doc/html/cairo/cairo-image-surface.html +0 -473
  425. data/vendor/local/share/gtk-doc/html/cairo/cairo-matrix.html +0 -596
  426. data/vendor/local/share/gtk-doc/html/cairo/cairo-paths.html +0 -1274
  427. data/vendor/local/share/gtk-doc/html/cairo/cairo-pattern.html +0 -1485
  428. data/vendor/local/share/gtk-doc/html/cairo/cairo-pdf-surface.html +0 -238
  429. data/vendor/local/share/gtk-doc/html/cairo/cairo-png-functions.html +0 -341
  430. data/vendor/local/share/gtk-doc/html/cairo/cairo-ps-surface.html +0 -622
  431. data/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-font.html +0 -151
  432. data/vendor/local/share/gtk-doc/html/cairo/cairo-quartz-surface.html +0 -219
  433. data/vendor/local/share/gtk-doc/html/cairo/cairo-scaled-font.html +0 -1023
  434. data/vendor/local/share/gtk-doc/html/cairo/cairo-surface.html +0 -1026
  435. data/vendor/local/share/gtk-doc/html/cairo/cairo-svg-surface.html +0 -321
  436. data/vendor/local/share/gtk-doc/html/cairo/cairo-transformations.html +0 -436
  437. data/vendor/local/share/gtk-doc/html/cairo/cairo-types.html +0 -133
  438. data/vendor/local/share/gtk-doc/html/cairo/cairo-user-font.html +0 -735
  439. data/vendor/local/share/gtk-doc/html/cairo/cairo-version-info.html +0 -345
  440. data/vendor/local/share/gtk-doc/html/cairo/cairo-win32-font.html +0 -358
  441. data/vendor/local/share/gtk-doc/html/cairo/cairo-win32-surface.html +0 -312
  442. data/vendor/local/share/gtk-doc/html/cairo/cairo-xlib-surface.html +0 -492
  443. data/vendor/local/share/man/man3/libpng.3 +0 -4455
  444. data/vendor/local/share/man/man3/libpngpf.3 +0 -808
  445. data/vendor/local/share/man/man5/png.5 +0 -74
  446. data/vendor/local/src/tml/packaging/cairo_1.8.10-4_win32.log +0 -920
  447. data/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.log +0 -272
  448. data/vendor/local/src/tml/packaging/libpng_1.4.3-1_win32.sh +0 -71
  449. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
  450. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +0 -189
@@ -7,19 +7,9 @@
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
9
9
  <link rel="prev" href="index.html" title="Cairo: A Vector Graphics Library">
10
- <link rel="next" href="cairo-context.html" title="cairo_t">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
10
+ <link rel="next" href="cairo-cairo-t.html" title="cairo_t">
11
+ <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
- <link rel="chapter" href="cairo-drawing.html" title="Drawing">
14
- <link rel="chapter" href="cairo-fonts.html" title="Fonts">
15
- <link rel="chapter" href="cairo-surfaces.html" title="Surfaces">
16
- <link rel="chapter" href="cairo-support.html" title="Utilities">
17
- <link rel="index" href="index-all.html" title="Index">
18
- <link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
19
- <link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
20
- <link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
21
- <link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
22
- <link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
23
13
  </head>
24
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@@ -27,31 +17,34 @@
27
17
  <td> </td>
28
18
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
29
19
  <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
30
- <td><a accesskey="n" href="cairo-context.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
20
+ <td><a accesskey="n" href="cairo-cairo-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
21
  </tr></table>
32
22
  <div class="chapter" title="Drawing">
33
23
  <div class="titlepage"><div><div><h2 class="title">
34
24
  <a name="cairo-drawing"></a>Drawing</h2></div></div></div>
35
25
  <div class="toc"><dl>
36
26
  <dt>
37
- <span class="refentrytitle"><a href="cairo-context.html">cairo_t</a></span><span class="refpurpose"> — The cairo drawing context</span>
27
+ <span class="refentrytitle"><a href="cairo-cairo-t.html">cairo_t</a></span><span class="refpurpose"> — The cairo drawing context</span>
38
28
  </dt>
39
29
  <dt>
40
- <span class="refentrytitle"><a href="cairo-paths.html">Paths</a></span><span class="refpurpose"> — Creating paths and manipulating path data</span>
30
+ <span class="refentrytitle"><a href="cairo-Paths.html">Paths</a></span><span class="refpurpose"> — Creating paths and manipulating path data</span>
41
31
  </dt>
42
32
  <dt>
43
- <span class="refentrytitle"><a href="cairo-pattern.html">cairo_pattern_t</a></span><span class="refpurpose"> — Sources for drawing</span>
33
+ <span class="refentrytitle"><a href="cairo-cairo-pattern-t.html">cairo_pattern_t</a></span><span class="refpurpose"> — Sources for drawing</span>
44
34
  </dt>
45
35
  <dt>
46
- <span class="refentrytitle"><a href="cairo-transformations.html">Transformations</a></span><span class="refpurpose"> — Manipulating the current transformation matrix</span>
36
+ <span class="refentrytitle"><a href="cairo-Regions.html">Regions</a></span><span class="refpurpose"> — Representing a pixel-aligned area</span>
47
37
  </dt>
48
38
  <dt>
49
- <span class="refentrytitle"><a href="cairo-text.html">Text</a></span><span class="refpurpose"> — Rendering text and glyphs</span>
39
+ <span class="refentrytitle"><a href="cairo-Transformations.html">Transformations</a></span><span class="refpurpose"> — Manipulating the current transformation matrix</span>
40
+ </dt>
41
+ <dt>
42
+ <span class="refentrytitle"><a href="cairo-text.html">text</a></span><span class="refpurpose"> — Rendering text and glyphs</span>
50
43
  </dt>
51
44
  </dl></div>
52
45
  </div>
53
46
  <div class="footer">
54
47
  <hr>
55
- Generated by GTK-Doc V1.11</div>
48
+ Generated by GTK-Doc V1.15</div>
56
49
  </body>
57
- </html>
50
+ </html>
@@ -6,20 +6,10 @@
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
9
- <link rel="prev" href="cairo-text.html" title="Text">
10
- <link rel="next" href="cairo-font-face.html" title="cairo_font_face_t">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
9
+ <link rel="prev" href="cairo-text.html" title="text">
10
+ <link rel="next" href="cairo-cairo-font-face-t.html" title="cairo_font_face_t">
11
+ <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
- <link rel="chapter" href="cairo-drawing.html" title="Drawing">
14
- <link rel="chapter" href="cairo-fonts.html" title="Fonts">
15
- <link rel="chapter" href="cairo-surfaces.html" title="Surfaces">
16
- <link rel="chapter" href="cairo-support.html" title="Utilities">
17
- <link rel="index" href="index-all.html" title="Index">
18
- <link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
19
- <link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
20
- <link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
21
- <link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
22
- <link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
23
13
  </head>
24
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@@ -27,37 +17,37 @@
27
17
  <td> </td>
28
18
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
29
19
  <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
30
- <td><a accesskey="n" href="cairo-font-face.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
20
+ <td><a accesskey="n" href="cairo-cairo-font-face-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
21
  </tr></table>
32
22
  <div class="chapter" title="Fonts">
33
23
  <div class="titlepage"><div><div><h2 class="title">
34
24
  <a name="cairo-fonts"></a>Fonts</h2></div></div></div>
35
25
  <div class="toc"><dl>
36
26
  <dt>
37
- <span class="refentrytitle"><a href="cairo-font-face.html">cairo_font_face_t</a></span><span class="refpurpose"> — Base class for font faces</span>
27
+ <span class="refentrytitle"><a href="cairo-cairo-font-face-t.html">cairo_font_face_t</a></span><span class="refpurpose"> — Base class for font faces</span>
38
28
  </dt>
39
29
  <dt>
40
- <span class="refentrytitle"><a href="cairo-scaled-font.html">cairo_scaled_font_t</a></span><span class="refpurpose"> — Font face at particular size and options</span>
30
+ <span class="refentrytitle"><a href="cairo-cairo-scaled-font-t.html">cairo_scaled_font_t</a></span><span class="refpurpose"> — Font face at particular size and options</span>
41
31
  </dt>
42
32
  <dt>
43
- <span class="refentrytitle"><a href="cairo-font-options.html">cairo_font_options_t</a></span><span class="refpurpose"> — How a font should be rendered</span>
33
+ <span class="refentrytitle"><a href="cairo-cairo-font-options-t.html">cairo_font_options_t</a></span><span class="refpurpose"> — How a font should be rendered</span>
44
34
  </dt>
45
35
  <dt>
46
- <span class="refentrytitle"><a href="cairo-ft-font.html">FreeType Fonts</a></span><span class="refpurpose"> — Font support for FreeType</span>
36
+ <span class="refentrytitle"><a href="cairo-FreeType-Fonts.html">FreeType Fonts</a></span><span class="refpurpose"> — Font support for FreeType</span>
47
37
  </dt>
48
38
  <dt>
49
- <span class="refentrytitle"><a href="cairo-win32-font.html">Win32 Fonts</a></span><span class="refpurpose"> — Font support for Microsoft Windows</span>
39
+ <span class="refentrytitle"><a href="cairo-Win32-Fonts.html">Win32 Fonts</a></span><span class="refpurpose"> — Font support for Microsoft Windows</span>
50
40
  </dt>
51
41
  <dt>
52
- <span class="refentrytitle"><a href="cairo-quartz-font.html">Quartz (CGFont) Fonts</a></span><span class="refpurpose"> — Font support via CGFont on OS X</span>
42
+ <span class="refentrytitle"><a href="cairo-Quartz-(CGFont)-Fonts.html">Quartz (CGFont) Fonts</a></span><span class="refpurpose"> — Font support via CGFont on OS X</span>
53
43
  </dt>
54
44
  <dt>
55
- <span class="refentrytitle"><a href="cairo-user-font.html">User Fonts</a></span><span class="refpurpose"> — Font support with font data provided by the user</span>
45
+ <span class="refentrytitle"><a href="cairo-User-Fonts.html">User Fonts</a></span><span class="refpurpose"> — Font support with font data provided by the user</span>
56
46
  </dt>
57
47
  </dl></div>
58
48
  </div>
59
49
  <div class="footer">
60
50
  <hr>
61
- Generated by GTK-Doc V1.11</div>
51
+ Generated by GTK-Doc V1.15</div>
62
52
  </body>
63
- </html>
53
+ </html>
@@ -6,49 +6,39 @@
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
9
- <link rel="prev" href="cairo-xlib-surface.html" title="XLib Surfaces">
10
- <link rel="next" href="cairo-matrix.html" title="cairo_matrix_t">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
9
+ <link rel="prev" href="cairo-XLib-Surfaces.html" title="XLib Surfaces">
10
+ <link rel="next" href="cairo-cairo-matrix-t.html" title="cairo_matrix_t">
11
+ <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
- <link rel="chapter" href="cairo-drawing.html" title="Drawing">
14
- <link rel="chapter" href="cairo-fonts.html" title="Fonts">
15
- <link rel="chapter" href="cairo-surfaces.html" title="Surfaces">
16
- <link rel="chapter" href="cairo-support.html" title="Utilities">
17
- <link rel="index" href="index-all.html" title="Index">
18
- <link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
19
- <link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
20
- <link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
21
- <link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
22
- <link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
23
13
  </head>
24
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
26
- <td><a accesskey="p" href="cairo-xlib-surface.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
16
+ <td><a accesskey="p" href="cairo-XLib-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
27
17
  <td> </td>
28
18
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
29
19
  <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
30
- <td><a accesskey="n" href="cairo-matrix.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
20
+ <td><a accesskey="n" href="cairo-cairo-matrix-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
21
  </tr></table>
32
22
  <div class="chapter" title="Utilities">
33
23
  <div class="titlepage"><div><div><h2 class="title">
34
24
  <a name="cairo-support"></a>Utilities</h2></div></div></div>
35
25
  <div class="toc"><dl>
36
26
  <dt>
37
- <span class="refentrytitle"><a href="cairo-matrix.html">cairo_matrix_t</a></span><span class="refpurpose"> — Generic matrix operations</span>
27
+ <span class="refentrytitle"><a href="cairo-cairo-matrix-t.html">cairo_matrix_t</a></span><span class="refpurpose"> — Generic matrix operations</span>
38
28
  </dt>
39
29
  <dt>
40
- <span class="refentrytitle"><a href="cairo-error-status.html">Error handling</a></span><span class="refpurpose"> — Decoding cairo's status</span>
30
+ <span class="refentrytitle"><a href="cairo-Error-handling.html">Error handling</a></span><span class="refpurpose"> — Decoding cairo's status</span>
41
31
  </dt>
42
32
  <dt>
43
- <span class="refentrytitle"><a href="cairo-version-info.html">Version Information</a></span><span class="refpurpose"> — Compile-time and run-time version checks.</span>
33
+ <span class="refentrytitle"><a href="cairo-Version-Information.html">Version Information</a></span><span class="refpurpose"> — Compile-time and run-time version checks.</span>
44
34
  </dt>
45
35
  <dt>
46
- <span class="refentrytitle"><a href="cairo-types.html">Types</a></span><span class="refpurpose"> — Generic data types</span>
36
+ <span class="refentrytitle"><a href="cairo-Types.html">Types</a></span><span class="refpurpose"> — Generic data types</span>
47
37
  </dt>
48
38
  </dl></div>
49
39
  </div>
50
40
  <div class="footer">
51
41
  <hr>
52
- Generated by GTK-Doc V1.11</div>
42
+ Generated by GTK-Doc V1.15</div>
53
43
  </body>
54
- </html>
44
+ </html>
@@ -6,64 +6,57 @@
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
9
- <link rel="prev" href="cairo-user-font.html" title="User Fonts">
10
- <link rel="next" href="cairo-surface.html" title="cairo_surface_t">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
9
+ <link rel="prev" href="cairo-User-Fonts.html" title="User Fonts">
10
+ <link rel="next" href="cairo-cairo-device-t.html" title="cairo_device_t">
11
+ <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
- <link rel="chapter" href="cairo-drawing.html" title="Drawing">
14
- <link rel="chapter" href="cairo-fonts.html" title="Fonts">
15
- <link rel="chapter" href="cairo-surfaces.html" title="Surfaces">
16
- <link rel="chapter" href="cairo-support.html" title="Utilities">
17
- <link rel="index" href="index-all.html" title="Index">
18
- <link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
19
- <link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
20
- <link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
21
- <link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
22
- <link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
23
13
  </head>
24
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
26
- <td><a accesskey="p" href="cairo-user-font.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
16
+ <td><a accesskey="p" href="cairo-User-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
27
17
  <td> </td>
28
18
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
29
19
  <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
30
- <td><a accesskey="n" href="cairo-surface.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
20
+ <td><a accesskey="n" href="cairo-cairo-device-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
21
  </tr></table>
32
22
  <div class="chapter" title="Surfaces">
33
23
  <div class="titlepage"><div><div><h2 class="title">
34
24
  <a name="cairo-surfaces"></a>Surfaces</h2></div></div></div>
35
25
  <div class="toc"><dl>
36
26
  <dt>
37
- <span class="refentrytitle"><a href="cairo-surface.html">cairo_surface_t</a></span><span class="refpurpose"> — Base class for surfaces</span>
27
+ <span class="refentrytitle"><a href="cairo-cairo-device-t.html">cairo_device_t</a></span><span class="refpurpose"> — interface to underlying rendering system</span>
38
28
  </dt>
39
29
  <dt>
40
- <span class="refentrytitle"><a href="cairo-image-surface.html">Image Surfaces</a></span><span class="refpurpose"> — Rendering to memory buffers</span>
30
+ <span class="refentrytitle"><a href="cairo-cairo-surface-t.html">cairo_surface_t</a></span><span class="refpurpose"> — Base class for surfaces</span>
41
31
  </dt>
42
32
  <dt>
43
- <span class="refentrytitle"><a href="cairo-pdf-surface.html">PDF Surfaces</a></span><span class="refpurpose"> — Rendering PDF documents</span>
33
+ <span class="refentrytitle"><a href="cairo-Image-Surfaces.html">Image Surfaces</a></span><span class="refpurpose"> — Rendering to memory buffers</span>
44
34
  </dt>
45
35
  <dt>
46
- <span class="refentrytitle"><a href="cairo-png-functions.html">PNG Support</a></span><span class="refpurpose"> — Reading and writing PNG images</span>
36
+ <span class="refentrytitle"><a href="cairo-PDF-Surfaces.html">PDF Surfaces</a></span><span class="refpurpose"> — Rendering PDF documents</span>
47
37
  </dt>
48
38
  <dt>
49
- <span class="refentrytitle"><a href="cairo-ps-surface.html">PostScript Surfaces</a></span><span class="refpurpose"> — Rendering PostScript documents</span>
39
+ <span class="refentrytitle"><a href="cairo-PNG-Support.html">PNG Support</a></span><span class="refpurpose"> — Reading and writing PNG images</span>
50
40
  </dt>
51
41
  <dt>
52
- <span class="refentrytitle"><a href="cairo-win32-surface.html">Win32 Surfaces</a></span><span class="refpurpose"> — Microsoft Windows surface support</span>
42
+ <span class="refentrytitle"><a href="cairo-PostScript-Surfaces.html">PostScript Surfaces</a></span><span class="refpurpose"> — Rendering PostScript documents</span>
53
43
  </dt>
54
44
  <dt>
55
- <span class="refentrytitle"><a href="cairo-svg-surface.html">SVG Surfaces</a></span><span class="refpurpose"> — Rendering SVG documents</span>
45
+ <span class="refentrytitle"><a href="cairo-Win32-Surfaces.html">Win32 Surfaces</a></span><span class="refpurpose"> — Microsoft Windows surface support</span>
56
46
  </dt>
57
47
  <dt>
58
- <span class="refentrytitle"><a href="cairo-quartz-surface.html">Quartz Surfaces</a></span><span class="refpurpose"> — Rendering to Quartz surfaces</span>
48
+ <span class="refentrytitle"><a href="cairo-SVG-Surfaces.html">SVG Surfaces</a></span><span class="refpurpose"> — Rendering SVG documents</span>
59
49
  </dt>
60
50
  <dt>
61
- <span class="refentrytitle"><a href="cairo-xlib-surface.html">XLib Surfaces</a></span><span class="refpurpose"> — X Window System rendering using XLib</span>
51
+ <span class="refentrytitle"><a href="cairo-Quartz-Surfaces.html">Quartz Surfaces</a></span><span class="refpurpose"> — Rendering to Quartz surfaces</span>
52
+ </dt>
53
+ <dt>
54
+ <span class="refentrytitle"><a href="cairo-XLib-Surfaces.html">XLib Surfaces</a></span><span class="refpurpose"> — X Window System rendering using XLib</span>
62
55
  </dt>
63
56
  </dl></div>
64
57
  </div>
65
58
  <div class="footer">
66
59
  <hr>
67
- Generated by GTK-Doc V1.11</div>
60
+ Generated by GTK-Doc V1.15</div>
68
61
  </body>
69
- </html>
62
+ </html>
@@ -2,29 +2,19 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>Text</title>
5
+ <title>text</title>
6
6
  <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="cairo-drawing.html" title="Drawing">
9
- <link rel="prev" href="cairo-transformations.html" title="Transformations">
9
+ <link rel="prev" href="cairo-Transformations.html" title="Transformations">
10
10
  <link rel="next" href="cairo-fonts.html" title="Fonts">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
- <link rel="chapter" href="cairo-drawing.html" title="Drawing">
14
- <link rel="chapter" href="cairo-fonts.html" title="Fonts">
15
- <link rel="chapter" href="cairo-surfaces.html" title="Surfaces">
16
- <link rel="chapter" href="cairo-support.html" title="Utilities">
17
- <link rel="index" href="index-all.html" title="Index">
18
- <link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
19
- <link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
20
- <link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
21
- <link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
22
- <link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
23
13
  </head>
24
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
15
  <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
26
16
  <tr valign="middle">
27
- <td><a accesskey="p" href="cairo-transformations.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td><a accesskey="p" href="cairo-Transformations.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
28
18
  <td><a accesskey="u" href="cairo-drawing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
29
19
  <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
30
20
  <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
@@ -32,109 +22,101 @@
32
22
  </tr>
33
23
  <tr><td colspan="5" class="shortcuts">
34
24
  <a href="#cairo-text.synopsis" class="shortcut">Top</a>
35
-  
36
- <a href="#cairo-text.description" class="shortcut">Description</a>
25
+  
26
+ <a href="#cairo-text.description" class="shortcut">Description</a>
37
27
  </td></tr>
38
28
  </table>
39
- <div class="refentry" title="Text">
29
+ <div class="refentry" title="text">
40
30
  <a name="cairo-text"></a><div class="titlepage"></div>
41
31
  <div class="refnamediv"><table width="100%"><tr>
42
32
  <td valign="top">
43
- <h2><span class="refentrytitle"><a name="cairo-text.top_of_page"></a>Text</span></h2>
44
- <p>Text — Rendering text and glyphs</p>
33
+ <h2><span class="refentrytitle"><a name="cairo-text.top_of_page"></a>text</span></h2>
34
+ <p>text — Rendering text and glyphs</p>
45
35
  </td>
46
36
  <td valign="top" align="right"></td>
47
37
  </tr></table></div>
48
38
  <div class="refsynopsisdiv" title="Synopsis">
49
39
  <a name="cairo-text.synopsis"></a><h2>Synopsis</h2>
50
- <pre class="synopsis">
51
- <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a>;
40
+ <pre class="synopsis"> <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a>;
52
41
  enum <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a>;
53
42
  enum <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a>;
54
43
  <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a>;
55
44
  enum <a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t">cairo_text_cluster_flags_t</a>;
56
- void <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()">cairo_select_font_face</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
57
- const char *family,
58
- <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a> slant,
59
- <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a> weight);
60
- void <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()">cairo_set_font_size</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
61
- double size);
62
- void <a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()">cairo_set_font_matrix</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
63
- const <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);
64
- void <a class="link" href="cairo-text.html#cairo-get-font-matrix" title="cairo_get_font_matrix ()">cairo_get_font_matrix</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
65
- <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);
66
- void <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()">cairo_set_font_options</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
67
- const <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options);
68
- void <a class="link" href="cairo-text.html#cairo-get-font-options" title="cairo_get_font_options ()">cairo_get_font_options</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
69
- <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options);
70
- void <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()">cairo_set_font_face</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
71
- <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);
72
- <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * <a class="link" href="cairo-text.html#cairo-get-font-face" title="cairo_get_font_face ()">cairo_get_font_face</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr);
73
- void <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()">cairo_set_scaled_font</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
74
- const <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> *scaled_font);
75
- <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> * <a class="link" href="cairo-text.html#cairo-get-scaled-font" title="cairo_get_scaled_font ()">cairo_get_scaled_font</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr);
76
- void <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()">cairo_show_text</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
77
- const char *utf8);
78
- void <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()">cairo_show_glyphs</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
79
- const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs,
80
- int num_glyphs);
81
- void <a class="link" href="cairo-text.html#cairo-show-text-glyphs" title="cairo_show_text_glyphs ()">cairo_show_text_glyphs</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
82
- const char *utf8,
83
- int utf8_len,
84
- const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs,
85
- int num_glyphs,
86
- const <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a> *clusters,
87
- int num_clusters,
88
- <a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t">cairo_text_cluster_flags_t</a> cluster_flags);
89
- void <a class="link" href="cairo-text.html#cairo-font-extents" title="cairo_font_extents ()">cairo_font_extents</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
90
- <a class="link" href="cairo-scaled-font.html#cairo-font-extents-t" title="cairo_font_extents_t">cairo_font_extents_t</a> *extents);
91
- void <a class="link" href="cairo-text.html#cairo-text-extents" title="cairo_text_extents ()">cairo_text_extents</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
92
- const char *utf8,
93
- <a class="link" href="cairo-scaled-font.html#cairo-text-extents-t" title="cairo_text_extents_t">cairo_text_extents_t</a> *extents);
94
- void <a class="link" href="cairo-text.html#cairo-glyph-extents" title="cairo_glyph_extents ()">cairo_glyph_extents</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
95
- const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs,
96
- int num_glyphs,
97
- <a class="link" href="cairo-scaled-font.html#cairo-text-extents-t" title="cairo_text_extents_t">cairo_text_extents_t</a> *extents);
98
- <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * <a class="link" href="cairo-text.html#cairo-toy-font-face-create" title="cairo_toy_font_face_create ()">cairo_toy_font_face_create</a> (const char *family,
99
- <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a> slant,
100
- <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a> weight);
101
- const char * <a class="link" href="cairo-text.html#cairo-toy-font-face-get-family" title="cairo_toy_font_face_get_family ()">cairo_toy_font_face_get_family</a> (<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);
102
- <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a> <a class="link" href="cairo-text.html#cairo-toy-font-face-get-slant" title="cairo_toy_font_face_get_slant ()">cairo_toy_font_face_get_slant</a> (<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);
103
- <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a> <a class="link" href="cairo-text.html#cairo-toy-font-face-get-weight" title="cairo_toy_font_face_get_weight ()">cairo_toy_font_face_get_weight</a> (<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);
104
- <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> * <a class="link" href="cairo-text.html#cairo-glyph-allocate" title="cairo_glyph_allocate ()">cairo_glyph_allocate</a> (int num_glyphs);
105
- void <a class="link" href="cairo-text.html#cairo-glyph-free" title="cairo_glyph_free ()">cairo_glyph_free</a> (<a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs);
106
- <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a> * <a class="link" href="cairo-text.html#cairo-text-cluster-allocate" title="cairo_text_cluster_allocate ()">cairo_text_cluster_allocate</a> (int num_clusters);
107
- void <a class="link" href="cairo-text.html#cairo-text-cluster-free" title="cairo_text_cluster_free ()">cairo_text_cluster_free</a> (<a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a> *clusters);
45
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()">cairo_select_font_face</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
46
+ <em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
47
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
48
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);
49
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()">cairo_set_font_size</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
50
+ <em class="parameter"><code><span class="type">double</span> size</code></em>);
51
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()">cairo_set_font_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
52
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);
53
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-get-font-matrix" title="cairo_get_font_matrix ()">cairo_get_font_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
54
+ <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);
55
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()">cairo_set_font_options</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
56
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
57
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-get-font-options" title="cairo_get_font_options ()">cairo_get_font_options</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
58
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
59
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()">cairo_set_font_face</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
60
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
61
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-text.html#cairo-get-font-face" title="cairo_get_font_face ()">cairo_get_font_face</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);
62
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()">cairo_set_scaled_font</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
63
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> *scaled_font</code></em>);
64
+ <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="returnvalue">cairo_scaled_font_t</span></a> * <a class="link" href="cairo-text.html#cairo-get-scaled-font" title="cairo_get_scaled_font ()">cairo_get_scaled_font</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);
65
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()">cairo_show_text</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
66
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);
67
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()">cairo_show_glyphs</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
68
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
69
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);
70
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-show-text-glyphs" title="cairo_show_text_glyphs ()">cairo_show_text_glyphs</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
71
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
72
+ <em class="parameter"><code><span class="type">int</span> utf8_len</code></em>,
73
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
74
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
75
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>,
76
+ <em class="parameter"><code><span class="type">int</span> num_clusters</code></em>,
77
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t"><span class="type">cairo_text_cluster_flags_t</span></a> cluster_flags</code></em>);
78
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-font-extents" title="cairo_font_extents ()">cairo_font_extents</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
79
+ <em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> *extents</code></em>);
80
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-text-extents" title="cairo_text_extents ()">cairo_text_extents</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
81
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
82
+ <em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);
83
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-glyph-extents" title="cairo_glyph_extents ()">cairo_glyph_extents</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
84
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
85
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
86
+ <em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);
87
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-text.html#cairo-toy-font-face-create" title="cairo_toy_font_face_create ()">cairo_toy_font_face_create</a> (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
88
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
89
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);
90
+ const <span class="returnvalue">char</span> * <a class="link" href="cairo-text.html#cairo-toy-font-face-get-family" title="cairo_toy_font_face_get_family ()">cairo_toy_font_face_get_family</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
91
+ <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="returnvalue">cairo_font_slant_t</span></a> <a class="link" href="cairo-text.html#cairo-toy-font-face-get-slant" title="cairo_toy_font_face_get_slant ()">cairo_toy_font_face_get_slant</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
92
+ <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="returnvalue">cairo_font_weight_t</span></a> <a class="link" href="cairo-text.html#cairo-toy-font-face-get-weight" title="cairo_toy_font_face_get_weight ()">cairo_toy_font_face_get_weight</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);
93
+ <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="returnvalue">cairo_glyph_t</span></a> * <a class="link" href="cairo-text.html#cairo-glyph-allocate" title="cairo_glyph_allocate ()">cairo_glyph_allocate</a> (<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);
94
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-glyph-free" title="cairo_glyph_free ()">cairo_glyph_free</a> (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>);
95
+ <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="returnvalue">cairo_text_cluster_t</span></a> * <a class="link" href="cairo-text.html#cairo-text-cluster-allocate" title="cairo_text_cluster_allocate ()">cairo_text_cluster_allocate</a> (<em class="parameter"><code><span class="type">int</span> num_clusters</code></em>);
96
+ <span class="returnvalue">void</span> <a class="link" href="cairo-text.html#cairo-text-cluster-free" title="cairo_text_cluster_free ()">cairo_text_cluster_free</a> (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>);
108
97
  </pre>
109
98
  </div>
110
99
  <div class="refsect1" title="Description">
111
100
  <a name="cairo-text.description"></a><h2>Description</h2>
112
101
  <p>
113
- Cairo has two sets of text rendering capabilities:
102
+ The functions with <span class="emphasis"><em>text</em></span> in their name form cairo's
103
+ <em class="firstterm">toy</em> text API. The toy API takes UTF-8 encoded
104
+ text and is limited in its functionality to rendering simple
105
+ left-to-right text with no advanced features. That means for example
106
+ that most complex scripts like Hebrew, Arabic, and Indic scripts are
107
+ out of question. No kerning or correct positioning of diacritical marks
108
+ either. The font selection is pretty limited too and doesn't handle the
109
+ case that the selected font does not cover the characters in the text.
110
+ This set of functions are really that, a toy text API, for testing and
111
+ demonstration purposes. Any serious application should avoid them.
114
112
  </p>
115
- <div class="itemizedlist"><ul class="itemizedlist" type="disc">
116
- <li class="listitem">
117
- The functions with <span class="emphasis"><em>text</em></span> in their name form cairo's
118
- <em class="firstterm">toy</em> text API. The toy API takes UTF-8 encoded
119
- text and is limited in its functionality to rendering simple
120
- left-to-right text with no advanced features. That means for example
121
- that most complex scripts like Hebrew, Arabic, and Indic scripts are
122
- out of question. No kerning or correct positioning of diacritical marks
123
- either. The font selection is pretty limited too and doesn't handle the
124
- case that the selected font does not cover the characters in the text.
125
- This set of functions are really that, a toy text API, for testing and
126
- demonstration purposes. Any serious application should avoid them.
127
- </li>
128
- <li class="listitem">
129
- The functions with <span class="emphasis"><em>glyphs</em></span> in their name form cairo's
130
- <em class="firstterm">low-level</em> text API. The low-level API relies on
131
- the user to convert text to a set of glyph indexes and positions. This
132
- is a very hard problem and is best handled by external libraries, like
133
- the pangocairo that is part of the Pango text layout and rendering library.
134
- Pango is available from <a class="ulink" href="http://www.pango.org/" target="_top">http://www.pango.org/</a>.
135
- </li>
136
- </ul></div>
137
113
  <p>
114
+ The functions with <span class="emphasis"><em>glyphs</em></span> in their name form cairo's
115
+ <em class="firstterm">low-level</em> text API. The low-level API relies on
116
+ the user to convert text to a set of glyph indexes and positions. This
117
+ is a very hard problem and is best handled by external libraries, like
118
+ the pangocairo that is part of the Pango text layout and rendering library.
119
+ Pango is available from <a class="ulink" href="http://www.pango.org/" target="_top">http://www.pango.org/</a>.
138
120
  </p>
139
121
  </div>
140
122
  <div class="refsect1" title="Details">
@@ -162,27 +144,26 @@ underlying font system.
162
144
  <p>
163
145
  Note that the offsets given by <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> are not cumulative. When
164
146
  drawing or measuring text, each glyph is individually positioned
165
- with respect to the overall origin</p>
166
- <p>
147
+ with respect to the overall origin
167
148
  </p>
168
149
  <div class="variablelist"><table border="0">
169
150
  <col align="left" valign="top">
170
151
  <tbody>
171
152
  <tr>
172
- <td><p><span class="term">unsigned long <em class="structfield"><code>index</code></em>;</span></p></td>
173
- <td> glyph index in the font. The exact interpretation of the
153
+ <td><p><span class="term">unsigned <span class="type">long</span> <em class="structfield"><code><a name="cairo-glyph-t.index"></a>index</code></em>;</span></p></td>
154
+ <td>glyph index in the font. The exact interpretation of the
174
155
  glyph index depends on the font technology being used.
175
156
  </td>
176
157
  </tr>
177
158
  <tr>
178
- <td><p><span class="term">double <em class="structfield"><code>x</code></em>;</span></p></td>
179
- <td> the offset in the X direction between the origin used for
159
+ <td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-glyph-t.x"></a>x</code></em>;</span></p></td>
160
+ <td>the offset in the X direction between the origin used for
180
161
  drawing or measuring the string and the origin of this glyph.
181
162
  </td>
182
163
  </tr>
183
164
  <tr>
184
- <td><p><span class="term">double <em class="structfield"><code>y</code></em>;</span></p></td>
185
- <td> the offset in the Y direction between the origin used for
165
+ <td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="cairo-glyph-t.y"></a>y</code></em>;</span></p></td>
166
+ <td>the offset in the Y direction between the origin used for
186
167
  drawing or measuring the string and the origin of this glyph.
187
168
  </td>
188
169
  </tr>
@@ -199,25 +180,24 @@ with respect to the overall origin</p>
199
180
  } cairo_font_slant_t;
200
181
  </pre>
201
182
  <p>
202
- Specifies variants of a font face based on their slant.</p>
203
- <p>
183
+ Specifies variants of a font face based on their slant.
204
184
  </p>
205
185
  <div class="variablelist"><table border="0">
206
186
  <col align="left" valign="top">
207
187
  <tbody>
208
188
  <tr>
209
- <td><p><a name="CAIRO-FONT-SLANT-NORMAL--CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_NORMAL</code></span></p></td>
210
- <td> Upright font style
189
+ <td><p><a name="CAIRO-FONT-SLANT-NORMAL:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_NORMAL</code></span></p></td>
190
+ <td>Upright font style
211
191
  </td>
212
192
  </tr>
213
193
  <tr>
214
- <td><p><a name="CAIRO-FONT-SLANT-ITALIC--CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_ITALIC</code></span></p></td>
215
- <td> Italic font style
194
+ <td><p><a name="CAIRO-FONT-SLANT-ITALIC:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_ITALIC</code></span></p></td>
195
+ <td>Italic font style
216
196
  </td>
217
197
  </tr>
218
198
  <tr>
219
- <td><p><a name="CAIRO-FONT-SLANT-OBLIQUE--CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_OBLIQUE</code></span></p></td>
220
- <td> Oblique font style
199
+ <td><p><a name="CAIRO-FONT-SLANT-OBLIQUE:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_SLANT_OBLIQUE</code></span></p></td>
200
+ <td>Oblique font style
221
201
  </td>
222
202
  </tr>
223
203
  </tbody>
@@ -232,20 +212,19 @@ Specifies variants of a font face based on their slant.</p>
232
212
  } cairo_font_weight_t;
233
213
  </pre>
234
214
  <p>
235
- Specifies variants of a font face based on their weight.</p>
236
- <p>
215
+ Specifies variants of a font face based on their weight.
237
216
  </p>
238
217
  <div class="variablelist"><table border="0">
239
218
  <col align="left" valign="top">
240
219
  <tbody>
241
220
  <tr>
242
- <td><p><a name="CAIRO-FONT-WEIGHT-NORMAL--CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_WEIGHT_NORMAL</code></span></p></td>
243
- <td> Normal font weight
221
+ <td><p><a name="CAIRO-FONT-WEIGHT-NORMAL:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_WEIGHT_NORMAL</code></span></p></td>
222
+ <td>Normal font weight
244
223
  </td>
245
224
  </tr>
246
225
  <tr>
247
- <td><p><a name="CAIRO-FONT-WEIGHT-BOLD--CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_WEIGHT_BOLD</code></span></p></td>
248
- <td> Bold font weight
226
+ <td><p><a name="CAIRO-FONT-WEIGHT-BOLD:CAPS"></a><span class="term"><code class="literal">CAIRO_FONT_WEIGHT_BOLD</code></span></p></td>
227
+ <td>Bold font weight
249
228
  </td>
250
229
  </tr>
251
230
  </tbody>
@@ -273,20 +252,19 @@ ignore those clusters when PDF text is being selected.
273
252
  </p>
274
253
  <p>
275
254
  See <a class="link" href="cairo-text.html#cairo-show-text-glyphs" title="cairo_show_text_glyphs ()"><code class="function">cairo_show_text_glyphs()</code></a> for how clusters are used in advanced
276
- text operations.</p>
277
- <p>
255
+ text operations.
278
256
  </p>
279
257
  <div class="variablelist"><table border="0">
280
258
  <col align="left" valign="top">
281
259
  <tbody>
282
260
  <tr>
283
- <td><p><span class="term">int <em class="structfield"><code>num_bytes</code></em>;</span></p></td>
284
- <td> the number of bytes of UTF-8 text covered by cluster
261
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="cairo-text-cluster-t.num-bytes"></a>num_bytes</code></em>;</span></p></td>
262
+ <td>the number of bytes of UTF-8 text covered by cluster
285
263
  </td>
286
264
  </tr>
287
265
  <tr>
288
- <td><p><span class="term">int <em class="structfield"><code>num_glyphs</code></em>;</span></p></td>
289
- <td> the number of glyphs covered by cluster
266
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="cairo-text-cluster-t.num-glyphs"></a>num_glyphs</code></em>;</span></p></td>
267
+ <td>the number of glyphs covered by cluster
290
268
  </td>
291
269
  </tr>
292
270
  </tbody>
@@ -301,14 +279,13 @@ text operations.</p>
301
279
  } cairo_text_cluster_flags_t;
302
280
  </pre>
303
281
  <p>
304
- Specifies properties of a text cluster mapping.</p>
305
- <p>
282
+ Specifies properties of a text cluster mapping.
306
283
  </p>
307
284
  <div class="variablelist"><table border="0">
308
285
  <col align="left" valign="top">
309
286
  <tbody><tr>
310
- <td><p><a name="CAIRO-TEXT-CLUSTER-FLAG-BACKWARD--CAPS"></a><span class="term"><code class="literal">CAIRO_TEXT_CLUSTER_FLAG_BACKWARD</code></span></p></td>
311
- <td> The clusters in the cluster array
287
+ <td><p><a name="CAIRO-TEXT-CLUSTER-FLAG-BACKWARD:CAPS"></a><span class="term"><code class="literal">CAIRO_TEXT_CLUSTER_FLAG_BACKWARD</code></span></p></td>
288
+ <td>The clusters in the cluster array
312
289
  map to glyphs in the glyph array from end to start.
313
290
  </td>
314
291
  </tr></tbody>
@@ -318,10 +295,10 @@ map to glyphs in the glyph array from end to start.
318
295
  <hr>
319
296
  <div class="refsect2" title="cairo_select_font_face ()">
320
297
  <a name="cairo-select-font-face"></a><h3>cairo_select_font_face ()</h3>
321
- <pre class="programlisting">void cairo_select_font_face (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
322
- const char *family,
323
- <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a> slant,
324
- <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a> weight);</pre>
298
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_select_font_face (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
299
+ <em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
300
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
301
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);</pre>
325
302
  <p>
326
303
  Note: The <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()"><code class="function">cairo_select_font_face()</code></a> function call is part of what
327
304
  the cairo designers call the "toy" text API. It is convenient for
@@ -337,12 +314,20 @@ remember), but the standard CSS2 generic family names, ("serif",
337
314
  work as expected.
338
315
  </p>
339
316
  <p>
317
+ If <em class="parameter"><code>family</code></em> starts with the string "<em class="parameter"><code>cairo</code></em>:", or if no native font
318
+ backends are compiled in, cairo will use an internal font family.
319
+ The internal font family recognizes many modifiers in the <em class="parameter"><code>family</code></em>
320
+ string, most notably, it recognizes the string "monospace". That is,
321
+ the family name "<em class="parameter"><code>cairo</code></em>:monospace" will use the monospace version of
322
+ the internal font family.
323
+ </p>
324
+ <p>
340
325
  For "real" font selection, see the font-backend-specific
341
326
  font_face_create functions for the font backend you are using. (For
342
327
  example, if you are using the freetype-based cairo-ft font backend,
343
- see <a class="link" href="cairo-ft-font.html#cairo-ft-font-face-create-for-ft-face" title="cairo_ft_font_face_create_for_ft_face ()"><code class="function">cairo_ft_font_face_create_for_ft_face()</code></a> or
344
- <a class="link" href="cairo-ft-font.html#cairo-ft-font-face-create-for-pattern" title="cairo_ft_font_face_create_for_pattern ()"><code class="function">cairo_ft_font_face_create_for_pattern()</code></a>.) The resulting font face
345
- could then be used with <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> and
328
+ see <a class="link" href="cairo-FreeType-Fonts.html#cairo-ft-font-face-create-for-ft-face" title="cairo_ft_font_face_create_for_ft_face ()"><code class="function">cairo_ft_font_face_create_for_ft_face()</code></a> or
329
+ <a class="link" href="cairo-FreeType-Fonts.html#cairo-ft-font-face-create-for-pattern" title="cairo_ft_font_face_create_for_pattern ()"><code class="function">cairo_ft_font_face_create_for_pattern()</code></a>.) The resulting font face
330
+ could then be used with <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> and
346
331
  <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a>.
347
332
  </p>
348
333
  <p>
@@ -359,35 +344,34 @@ pango), in conjunction with cairo.
359
344
  If text is drawn without a call to <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()"><code class="function">cairo_select_font_face()</code></a>, (nor
360
345
  <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> nor <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a>), the default
361
346
  family is platform-specific, but is essentially "sans-serif".
362
- Default slant is <a class="link" href="cairo-text.html#CAIRO-FONT-SLANT-NORMAL--CAPS"><code class="literal">CAIRO_FONT_SLANT_NORMAL</code></a>, and default weight is
363
- <a class="link" href="cairo-text.html#CAIRO-FONT-WEIGHT-NORMAL--CAPS"><code class="literal">CAIRO_FONT_WEIGHT_NORMAL</code></a>.
347
+ Default slant is <a class="link" href="cairo-text.html#CAIRO-FONT-SLANT-NORMAL:CAPS"><code class="literal">CAIRO_FONT_SLANT_NORMAL</code></a>, and default weight is
348
+ <a class="link" href="cairo-text.html#CAIRO-FONT-WEIGHT-NORMAL:CAPS"><code class="literal">CAIRO_FONT_WEIGHT_NORMAL</code></a>.
364
349
  </p>
365
350
  <p>
366
351
  This function is equivalent to a call to <a class="link" href="cairo-text.html#cairo-toy-font-face-create" title="cairo_toy_font_face_create ()"><code class="function">cairo_toy_font_face_create()</code></a>
367
- followed by <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a>.</p>
368
- <p>
352
+ followed by <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a>.
369
353
  </p>
370
354
  <div class="variablelist"><table border="0">
371
355
  <col align="left" valign="top">
372
356
  <tbody>
373
357
  <tr>
374
358
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
375
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
359
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
376
360
  </td>
377
361
  </tr>
378
362
  <tr>
379
363
  <td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
380
- <td> a font family name, encoded in UTF-8
364
+ <td>a font family name, encoded in UTF-8
381
365
  </td>
382
366
  </tr>
383
367
  <tr>
384
368
  <td><p><span class="term"><em class="parameter"><code>slant</code></em> :</span></p></td>
385
- <td> the slant for the font
369
+ <td>the slant for the font
386
370
  </td>
387
371
  </tr>
388
372
  <tr>
389
373
  <td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
390
- <td> the weight for the font
374
+ <td>the weight for the font
391
375
  </td>
392
376
  </tr>
393
377
  </tbody>
@@ -396,8 +380,8 @@ followed by <a class="link" href="cairo-text.html#cairo-set-font-face" title="ca
396
380
  <hr>
397
381
  <div class="refsect2" title="cairo_set_font_size ()">
398
382
  <a name="cairo-set-font-size"></a><h3>cairo_set_font_size ()</h3>
399
- <pre class="programlisting">void cairo_set_font_size (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
400
- double size);</pre>
383
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_size (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
384
+ <em class="parameter"><code><span class="type">double</span> size</code></em>);</pre>
401
385
  <p>
402
386
  Sets the current font matrix to a scale by a factor of <em class="parameter"><code>size</code></em>, replacing
403
387
  any font matrix previously set with <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()"><code class="function">cairo_set_font_size()</code></a> or
@@ -408,20 +392,19 @@ em-square being a <em class="parameter"><code>size</code></em> by <em class="par
408
392
  <p>
409
393
  If text is drawn without a call to <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()"><code class="function">cairo_set_font_size()</code></a>, (nor
410
394
  <a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()"><code class="function">cairo_set_font_matrix()</code></a> nor <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a>), the default
411
- font size is 10.0.</p>
412
- <p>
395
+ font size is 10.0.
413
396
  </p>
414
397
  <div class="variablelist"><table border="0">
415
398
  <col align="left" valign="top">
416
399
  <tbody>
417
400
  <tr>
418
401
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
419
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
402
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
420
403
  </td>
421
404
  </tr>
422
405
  <tr>
423
406
  <td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
424
- <td> the new font size, in user space units
407
+ <td>the new font size, in user space units
425
408
  </td>
426
409
  </tr>
427
410
  </tbody>
@@ -430,28 +413,27 @@ font size is 10.0.</p>
430
413
  <hr>
431
414
  <div class="refsect2" title="cairo_set_font_matrix ()">
432
415
  <a name="cairo-set-font-matrix"></a><h3>cairo_set_font_matrix ()</h3>
433
- <pre class="programlisting">void cairo_set_font_matrix (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
434
- const <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);</pre>
416
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
417
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
435
418
  <p>
436
419
  Sets the current font matrix to <em class="parameter"><code>matrix</code></em>. The font matrix gives a
437
420
  transformation from the design space of the font (in this space,
438
421
  the em-square is 1 unit by 1 unit) to user space. Normally, a
439
422
  simple scale is used (see <a class="link" href="cairo-text.html#cairo-set-font-size" title="cairo_set_font_size ()"><code class="function">cairo_set_font_size()</code></a>), but a more
440
423
  complex font matrix can be used to shear the font
441
- or stretch it unequally along the two axes</p>
442
- <p>
424
+ or stretch it unequally along the two axes
443
425
  </p>
444
426
  <div class="variablelist"><table border="0">
445
427
  <col align="left" valign="top">
446
428
  <tbody>
447
429
  <tr>
448
430
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
449
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
431
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
450
432
  </td>
451
433
  </tr>
452
434
  <tr>
453
435
  <td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
454
- <td> a <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> describing a transform to be applied to
436
+ <td>a <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> describing a transform to be applied to
455
437
  the current font.
456
438
  </td>
457
439
  </tr>
@@ -461,24 +443,23 @@ the current font.
461
443
  <hr>
462
444
  <div class="refsect2" title="cairo_get_font_matrix ()">
463
445
  <a name="cairo-get-font-matrix"></a><h3>cairo_get_font_matrix ()</h3>
464
- <pre class="programlisting">void cairo_get_font_matrix (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
465
- <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);</pre>
446
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_get_font_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
447
+ <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
466
448
  <p>
467
449
  Stores the current font matrix into <em class="parameter"><code>matrix</code></em>. See
468
- <a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()"><code class="function">cairo_set_font_matrix()</code></a>.</p>
469
- <p>
450
+ <a class="link" href="cairo-text.html#cairo-set-font-matrix" title="cairo_set_font_matrix ()"><code class="function">cairo_set_font_matrix()</code></a>.
470
451
  </p>
471
452
  <div class="variablelist"><table border="0">
472
453
  <col align="left" valign="top">
473
454
  <tbody>
474
455
  <tr>
475
456
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
476
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
457
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
477
458
  </td>
478
459
  </tr>
479
460
  <tr>
480
461
  <td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
481
- <td> return value for the matrix
462
+ <td>return value for the matrix
482
463
  </td>
483
464
  </tr>
484
465
  </tbody>
@@ -487,27 +468,26 @@ Stores the current font matrix into <em class="parameter"><code>matrix</code></e
487
468
  <hr>
488
469
  <div class="refsect2" title="cairo_set_font_options ()">
489
470
  <a name="cairo-set-font-options"></a><h3>cairo_set_font_options ()</h3>
490
- <pre class="programlisting">void cairo_set_font_options (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
491
- const <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options);</pre>
471
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_options (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
472
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
492
473
  <p>
493
- Sets a set of custom font rendering options for the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
474
+ Sets a set of custom font rendering options for the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
494
475
  Rendering options are derived by merging these options with the
495
476
  options derived from underlying surface; if the value in <em class="parameter"><code>options</code></em>
496
- has a default value (like <a class="link" href="cairo-context.html#CAIRO-ANTIALIAS-DEFAULT--CAPS"><code class="literal">CAIRO_ANTIALIAS_DEFAULT</code></a>), then the value
497
- from the surface is used.</p>
498
- <p>
477
+ has a default value (like <a class="link" href="cairo-cairo-t.html#CAIRO-ANTIALIAS-DEFAULT:CAPS"><code class="literal">CAIRO_ANTIALIAS_DEFAULT</code></a>), then the value
478
+ from the surface is used.
499
479
  </p>
500
480
  <div class="variablelist"><table border="0">
501
481
  <col align="left" valign="top">
502
482
  <tbody>
503
483
  <tr>
504
484
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
505
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
485
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
506
486
  </td>
507
487
  </tr>
508
488
  <tr>
509
489
  <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
510
- <td> font options to use
490
+ <td>font options to use
511
491
  </td>
512
492
  </tr>
513
493
  </tbody>
@@ -516,26 +496,25 @@ from the surface is used.</p>
516
496
  <hr>
517
497
  <div class="refsect2" title="cairo_get_font_options ()">
518
498
  <a name="cairo-get-font-options"></a><h3>cairo_get_font_options ()</h3>
519
- <pre class="programlisting">void cairo_get_font_options (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
520
- <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options);</pre>
499
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_get_font_options (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
500
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
521
501
  <p>
522
502
  Retrieves font rendering options set via <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()"><span class="type">cairo_set_font_options</span></a>.
523
503
  Note that the returned options do not include any options derived
524
504
  from the underlying surface; they are literally the options
525
- passed to <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()"><code class="function">cairo_set_font_options()</code></a>.</p>
526
- <p>
505
+ passed to <a class="link" href="cairo-text.html#cairo-set-font-options" title="cairo_set_font_options ()"><code class="function">cairo_set_font_options()</code></a>.
527
506
  </p>
528
507
  <div class="variablelist"><table border="0">
529
508
  <col align="left" valign="top">
530
509
  <tbody>
531
510
  <tr>
532
511
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
533
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
512
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
534
513
  </td>
535
514
  </tr>
536
515
  <tr>
537
516
  <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
538
- <td> a <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> object into which to store
517
+ <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> object into which to store
539
518
  the retrieved options. All existing values are overwritten
540
519
  </td>
541
520
  </tr>
@@ -545,25 +524,24 @@ passed to <a class="link" href="cairo-text.html#cairo-set-font-options" title="c
545
524
  <hr>
546
525
  <div class="refsect2" title="cairo_set_font_face ()">
547
526
  <a name="cairo-set-font-face"></a><h3>cairo_set_font_face ()</h3>
548
- <pre class="programlisting">void cairo_set_font_face (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
549
- <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);</pre>
550
- <p>
551
- Replaces the current <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> object in the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> with
552
- <em class="parameter"><code>font_face</code></em>. The replaced font face in the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> will be
553
- destroyed if there are no other references to it.</p>
527
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_set_font_face (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
528
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
554
529
  <p>
530
+ Replaces the current <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> object in the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> with
531
+ <em class="parameter"><code>font_face</code></em>. The replaced font face in the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> will be
532
+ destroyed if there are no other references to it.
555
533
  </p>
556
534
  <div class="variablelist"><table border="0">
557
535
  <col align="left" valign="top">
558
536
  <tbody>
559
537
  <tr>
560
538
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
561
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
539
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
562
540
  </td>
563
541
  </tr>
564
542
  <tr>
565
543
  <td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
566
- <td> a <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>, or <code class="literal">NULL</code> to restore to the default font
544
+ <td>a <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</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 restore to the default font
567
545
  </td>
568
546
  </tr>
569
547
  </tbody>
@@ -572,32 +550,31 @@ destroyed if there are no other references to it.</p>
572
550
  <hr>
573
551
  <div class="refsect2" title="cairo_get_font_face ()">
574
552
  <a name="cairo-get-font-face"></a><h3>cairo_get_font_face ()</h3>
575
- <pre class="programlisting"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * cairo_get_font_face (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr);</pre>
576
- <p>
577
- Gets the current font face for a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.</p>
553
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_get_font_face (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
578
554
  <p>
555
+ Gets the current font face for a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
579
556
  </p>
580
557
  <div class="variablelist"><table border="0">
581
558
  <col align="left" valign="top">
582
559
  <tbody>
583
560
  <tr>
584
561
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
585
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
562
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
586
563
  </td>
587
564
  </tr>
588
565
  <tr>
589
566
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
590
567
  <td> the current font face. This object is owned by
591
568
  cairo. To keep a reference to it, you must call
592
- <a class="link" href="cairo-font-face.html#cairo-font-face-reference" title="cairo_font_face_reference ()"><code class="function">cairo_font_face_reference()</code></a>.
569
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-reference" title="cairo_font_face_reference ()"><code class="function">cairo_font_face_reference()</code></a>.
593
570
 
594
- This function never returns <code class="literal">NULL</code>. If memory cannot be allocated, a
595
- special "nil" <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> object will be returned on which
596
- <a class="link" href="cairo-font-face.html#cairo-font-face-status" title="cairo_font_face_status ()"><code class="function">cairo_font_face_status()</code></a> returns <a class="link" href="cairo-error-status.html#CAIRO-STATUS-NO-MEMORY--CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>. Using
571
+ This function never returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If memory cannot be allocated, a
572
+ special "nil" <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> object will be returned on which
573
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-status" title="cairo_font_face_status ()"><code class="function">cairo_font_face_status()</code></a> returns <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>. Using
597
574
  this nil object will cause its error state to propagate to other
598
575
  objects it is passed to, (for example, calling
599
576
  <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> with a nil font will trigger an error that
600
- will shutdown the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> object).
577
+ will shutdown the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> object).
601
578
  </td>
602
579
  </tr>
603
580
  </tbody>
@@ -606,27 +583,26 @@ will shutdown the <a class="link" href="cairo-context.html#cairo-t" title="cairo
606
583
  <hr>
607
584
  <div class="refsect2" title="cairo_set_scaled_font ()">
608
585
  <a name="cairo-set-scaled-font"></a><h3>cairo_set_scaled_font ()</h3>
609
- <pre class="programlisting">void cairo_set_scaled_font (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
610
- const <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> *scaled_font);</pre>
586
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_set_scaled_font (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
587
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> *scaled_font</code></em>);</pre>
611
588
  <p>
612
589
  Replaces the current font face, font matrix, and font options in
613
- the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> with those of the <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>. Except for
614
- some translation, the current CTM of the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> should be the
615
- same as that of the <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>, which can be accessed
616
- using <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-get-ctm" title="cairo_scaled_font_get_ctm ()"><code class="function">cairo_scaled_font_get_ctm()</code></a>.</p>
617
- <p>
590
+ the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> with those of the <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>. Except for
591
+ some translation, the current CTM of the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> should be the
592
+ same as that of the <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>, which can be accessed
593
+ using <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-get-ctm" title="cairo_scaled_font_get_ctm ()"><code class="function">cairo_scaled_font_get_ctm()</code></a>.
618
594
  </p>
619
595
  <div class="variablelist"><table border="0">
620
596
  <col align="left" valign="top">
621
597
  <tbody>
622
598
  <tr>
623
599
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
624
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
600
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
625
601
  </td>
626
602
  </tr>
627
603
  <tr>
628
604
  <td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
629
- <td> a <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>
605
+ <td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>
630
606
  </td>
631
607
  </tr>
632
608
  </tbody>
@@ -636,32 +612,31 @@ using <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-get-ctm" ti
636
612
  <hr>
637
613
  <div class="refsect2" title="cairo_get_scaled_font ()">
638
614
  <a name="cairo-get-scaled-font"></a><h3>cairo_get_scaled_font ()</h3>
639
- <pre class="programlisting"><a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> * cairo_get_scaled_font (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr);</pre>
640
- <p>
641
- Gets the current scaled font for a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.</p>
615
+ <pre class="programlisting"><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="returnvalue">cairo_scaled_font_t</span></a> * cairo_get_scaled_font (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
642
616
  <p>
617
+ Gets the current scaled font for a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>.
643
618
  </p>
644
619
  <div class="variablelist"><table border="0">
645
620
  <col align="left" valign="top">
646
621
  <tbody>
647
622
  <tr>
648
623
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
649
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
624
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
650
625
  </td>
651
626
  </tr>
652
627
  <tr>
653
628
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
654
629
  <td> the current scaled font. This object is owned by
655
630
  cairo. To keep a reference to it, you must call
656
- <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-reference" title="cairo_scaled_font_reference ()"><code class="function">cairo_scaled_font_reference()</code></a>.
631
+ <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-reference" title="cairo_scaled_font_reference ()"><code class="function">cairo_scaled_font_reference()</code></a>.
657
632
 
658
- This function never returns <code class="literal">NULL</code>. If memory cannot be allocated, a
659
- special "nil" <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> object will be returned on which
660
- <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a> returns <a class="link" href="cairo-error-status.html#CAIRO-STATUS-NO-MEMORY--CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>. Using
633
+ This function never returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If memory cannot be allocated, a
634
+ special "nil" <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> object will be returned on which
635
+ <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a> returns <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>. Using
661
636
  this nil object will cause its error state to propagate to other
662
637
  objects it is passed to, (for example, calling
663
638
  <a class="link" href="cairo-text.html#cairo-set-scaled-font" title="cairo_set_scaled_font ()"><code class="function">cairo_set_scaled_font()</code></a> with a nil font will trigger an error that
664
- will shutdown the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> object).
639
+ will shutdown the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> object).
665
640
 
666
641
  </td>
667
642
  </tr>
@@ -672,8 +647,8 @@ will shutdown the <a class="link" href="cairo-context.html#cairo-t" title="cairo
672
647
  <hr>
673
648
  <div class="refsect2" title="cairo_show_text ()">
674
649
  <a name="cairo-show-text"></a><h3>cairo_show_text ()</h3>
675
- <pre class="programlisting">void cairo_show_text (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
676
- const char *utf8);</pre>
650
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_show_text (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
651
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);</pre>
677
652
  <p>
678
653
  A drawing operator that generates the shape from a string of UTF-8
679
654
  characters, rendered according to the current font_face, font_size
@@ -698,20 +673,19 @@ Note: The <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_sh
698
673
  designers call the "toy" text API. It is convenient for short demos
699
674
  and simple programs, but it is not expected to be adequate for
700
675
  serious text-using applications. See <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a> for the
701
- "real" text display API in cairo.</p>
702
- <p>
676
+ "real" text display API in cairo.
703
677
  </p>
704
678
  <div class="variablelist"><table border="0">
705
679
  <col align="left" valign="top">
706
680
  <tbody>
707
681
  <tr>
708
682
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
709
- <td> a cairo context
683
+ <td>a cairo context
710
684
  </td>
711
685
  </tr>
712
686
  <tr>
713
687
  <td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
714
- <td> a NUL-terminated string of text encoded in UTF-8, or <code class="literal">NULL</code>
688
+ <td>a NUL-terminated string of text encoded in UTF-8, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
715
689
  </td>
716
690
  </tr>
717
691
  </tbody>
@@ -720,31 +694,30 @@ serious text-using applications. See <a class="link" href="cairo-text.html#cairo
720
694
  <hr>
721
695
  <div class="refsect2" title="cairo_show_glyphs ()">
722
696
  <a name="cairo-show-glyphs"></a><h3>cairo_show_glyphs ()</h3>
723
- <pre class="programlisting">void cairo_show_glyphs (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
724
- const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs,
725
- int num_glyphs);</pre>
697
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_show_glyphs (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
698
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
699
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);</pre>
726
700
  <p>
727
701
  A drawing operator that generates the shape from an array of glyphs,
728
702
  rendered according to the current font face, font size
729
- (font matrix), and font options.</p>
730
- <p>
703
+ (font matrix), and font options.
731
704
  </p>
732
705
  <div class="variablelist"><table border="0">
733
706
  <col align="left" valign="top">
734
707
  <tbody>
735
708
  <tr>
736
709
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
737
- <td> a cairo context
710
+ <td>a cairo context
738
711
  </td>
739
712
  </tr>
740
713
  <tr>
741
714
  <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
742
- <td> array of glyphs to show
715
+ <td>array of glyphs to show
743
716
  </td>
744
717
  </tr>
745
718
  <tr>
746
719
  <td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
747
- <td> number of glyphs to show
720
+ <td>number of glyphs to show
748
721
  </td>
749
722
  </tr>
750
723
  </tbody>
@@ -753,14 +726,14 @@ rendered according to the current font face, font size
753
726
  <hr>
754
727
  <div class="refsect2" title="cairo_show_text_glyphs ()">
755
728
  <a name="cairo-show-text-glyphs"></a><h3>cairo_show_text_glyphs ()</h3>
756
- <pre class="programlisting">void cairo_show_text_glyphs (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
757
- const char *utf8,
758
- int utf8_len,
759
- const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs,
760
- int num_glyphs,
761
- const <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a> *clusters,
762
- int num_clusters,
763
- <a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t">cairo_text_cluster_flags_t</a> cluster_flags);</pre>
729
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_show_text_glyphs (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
730
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
731
+ <em class="parameter"><code><span class="type">int</span> utf8_len</code></em>,
732
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
733
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
734
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>,
735
+ <em class="parameter"><code><span class="type">int</span> num_clusters</code></em>,
736
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-flags-t" title="enum cairo_text_cluster_flags_t"><span class="type">cairo_text_cluster_flags_t</span></a> cluster_flags</code></em>);</pre>
764
737
  <p>
765
738
  This operation has rendering effects similar to <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a>
766
739
  but, if the target surface supports it, uses the provided text and
@@ -778,56 +751,55 @@ and <em class="parameter"><code>glyphs</code></em> in entirety.
778
751
  </p>
779
752
  <p>
780
753
  The first cluster always covers bytes from the beginning of <em class="parameter"><code>utf8</code></em>.
781
- If <em class="parameter"><code>cluster_flags</code></em> do not have the <a class="link" href="cairo-text.html#CAIRO-TEXT-CLUSTER-FLAG-BACKWARD--CAPS"><code class="literal">CAIRO_TEXT_CLUSTER_FLAG_BACKWARD</code></a>
754
+ If <em class="parameter"><code>cluster_flags</code></em> do not have the <a class="link" href="cairo-text.html#CAIRO-TEXT-CLUSTER-FLAG-BACKWARD:CAPS"><code class="literal">CAIRO_TEXT_CLUSTER_FLAG_BACKWARD</code></a>
782
755
  set, the first cluster also covers the beginning
783
756
  of <em class="parameter"><code>glyphs</code></em>, otherwise it covers the end of the <em class="parameter"><code>glyphs</code></em> array and
784
757
  following clusters move backward.
785
758
  </p>
786
759
  <p>
787
- See <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> for constraints on valid clusters.</p>
788
- <p>
760
+ See <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> for constraints on valid clusters.
789
761
  </p>
790
762
  <div class="variablelist"><table border="0">
791
763
  <col align="left" valign="top">
792
764
  <tbody>
793
765
  <tr>
794
766
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
795
- <td> a cairo context
767
+ <td>a cairo context
796
768
  </td>
797
769
  </tr>
798
770
  <tr>
799
771
  <td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
800
- <td> a string of text encoded in UTF-8
772
+ <td>a string of text encoded in UTF-8
801
773
  </td>
802
774
  </tr>
803
775
  <tr>
804
776
  <td><p><span class="term"><em class="parameter"><code>utf8_len</code></em> :</span></p></td>
805
- <td> length of <em class="parameter"><code>utf8</code></em> in bytes, or -1 if it is NUL-terminated
777
+ <td>length of <em class="parameter"><code>utf8</code></em> in bytes, or -1 if it is NUL-terminated
806
778
  </td>
807
779
  </tr>
808
780
  <tr>
809
781
  <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
810
- <td> array of glyphs to show
782
+ <td>array of glyphs to show
811
783
  </td>
812
784
  </tr>
813
785
  <tr>
814
786
  <td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
815
- <td> number of glyphs to show
787
+ <td>number of glyphs to show
816
788
  </td>
817
789
  </tr>
818
790
  <tr>
819
791
  <td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
820
- <td> array of cluster mapping information
792
+ <td>array of cluster mapping information
821
793
  </td>
822
794
  </tr>
823
795
  <tr>
824
796
  <td><p><span class="term"><em class="parameter"><code>num_clusters</code></em> :</span></p></td>
825
- <td> number of clusters in the mapping
797
+ <td>number of clusters in the mapping
826
798
  </td>
827
799
  </tr>
828
800
  <tr>
829
801
  <td><p><span class="term"><em class="parameter"><code>cluster_flags</code></em> :</span></p></td>
830
- <td> cluster mapping flags
802
+ <td>cluster mapping flags
831
803
  </td>
832
804
  </tr>
833
805
  </tbody>
@@ -837,23 +809,22 @@ See <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_tex
837
809
  <hr>
838
810
  <div class="refsect2" title="cairo_font_extents ()">
839
811
  <a name="cairo-font-extents"></a><h3>cairo_font_extents ()</h3>
840
- <pre class="programlisting">void cairo_font_extents (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
841
- <a class="link" href="cairo-scaled-font.html#cairo-font-extents-t" title="cairo_font_extents_t">cairo_font_extents_t</a> *extents);</pre>
842
- <p>
843
- Gets the font extents for the currently selected font.</p>
812
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_extents (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
813
+ <em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> *extents</code></em>);</pre>
844
814
  <p>
815
+ Gets the font extents for the currently selected font.
845
816
  </p>
846
817
  <div class="variablelist"><table border="0">
847
818
  <col align="left" valign="top">
848
819
  <tbody>
849
820
  <tr>
850
821
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
851
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
822
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
852
823
  </td>
853
824
  </tr>
854
825
  <tr>
855
826
  <td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
856
- <td> a <a class="link" href="cairo-scaled-font.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> object into which the results
827
+ <td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-font-extents-t" title="cairo_font_extents_t"><span class="type">cairo_font_extents_t</span></a> object into which the results
857
828
  will be stored.
858
829
  </td>
859
830
  </tr>
@@ -863,9 +834,9 @@ will be stored.
863
834
  <hr>
864
835
  <div class="refsect2" title="cairo_text_extents ()">
865
836
  <a name="cairo-text-extents"></a><h3>cairo_text_extents ()</h3>
866
- <pre class="programlisting">void cairo_text_extents (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
867
- const char *utf8,
868
- <a class="link" href="cairo-scaled-font.html#cairo-text-extents-t" title="cairo_text_extents_t">cairo_text_extents_t</a> *extents);</pre>
837
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_text_extents (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
838
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
839
+ <em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);</pre>
869
840
  <p>
870
841
  Gets the extents for a string of text. The extents describe a
871
842
  user-space rectangle that encloses the "inked" portion of the text,
@@ -879,25 +850,24 @@ size of the rectangle (extents.width and extents.height). They do
879
850
  contribute indirectly by changing the position of non-whitespace
880
851
  characters. In particular, trailing whitespace characters are
881
852
  likely to not affect the size of the rectangle, though they will
882
- affect the x_advance and y_advance values.</p>
883
- <p>
853
+ affect the x_advance and y_advance values.
884
854
  </p>
885
855
  <div class="variablelist"><table border="0">
886
856
  <col align="left" valign="top">
887
857
  <tbody>
888
858
  <tr>
889
859
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
890
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
860
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
891
861
  </td>
892
862
  </tr>
893
863
  <tr>
894
864
  <td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
895
- <td> a NUL-terminated string of text encoded in UTF-8, or <code class="literal">NULL</code>
865
+ <td>a NUL-terminated string of text encoded in UTF-8, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
896
866
  </td>
897
867
  </tr>
898
868
  <tr>
899
869
  <td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
900
- <td> a <a class="link" href="cairo-scaled-font.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> object into which the results
870
+ <td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> object into which the results
901
871
  will be stored
902
872
  </td>
903
873
  </tr>
@@ -907,10 +877,10 @@ will be stored
907
877
  <hr>
908
878
  <div class="refsect2" title="cairo_glyph_extents ()">
909
879
  <a name="cairo-glyph-extents"></a><h3>cairo_glyph_extents ()</h3>
910
- <pre class="programlisting">void cairo_glyph_extents (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
911
- const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs,
912
- int num_glyphs,
913
- <a class="link" href="cairo-scaled-font.html#cairo-text-extents-t" title="cairo_text_extents_t">cairo_text_extents_t</a> *extents);</pre>
880
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_glyph_extents (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
881
+ <em class="parameter"><code>const <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>,
882
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>,
883
+ <em class="parameter"><code><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> *extents</code></em>);</pre>
914
884
  <p>
915
885
  Gets the extents for an array of glyphs. The extents describe a
916
886
  user-space rectangle that encloses the "inked" portion of the
@@ -921,30 +891,29 @@ amount by which the current point would be advanced by
921
891
  </p>
922
892
  <p>
923
893
  Note that whitespace glyphs do not contribute to the size of the
924
- rectangle (extents.width and extents.height).</p>
925
- <p>
894
+ rectangle (extents.width and extents.height).
926
895
  </p>
927
896
  <div class="variablelist"><table border="0">
928
897
  <col align="left" valign="top">
929
898
  <tbody>
930
899
  <tr>
931
900
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
932
- <td> a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
901
+ <td>a <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>
933
902
  </td>
934
903
  </tr>
935
904
  <tr>
936
905
  <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
937
- <td> an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> objects
906
+ <td>an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> objects
938
907
  </td>
939
908
  </tr>
940
909
  <tr>
941
910
  <td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
942
- <td> the number of elements in <em class="parameter"><code>glyphs</code></em>
911
+ <td>the number of elements in <em class="parameter"><code>glyphs</code></em>
943
912
  </td>
944
913
  </tr>
945
914
  <tr>
946
915
  <td><p><span class="term"><em class="parameter"><code>extents</code></em> :</span></p></td>
947
- <td> a <a class="link" href="cairo-scaled-font.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> object into which the results
916
+ <td>a <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-text-extents-t" title="cairo_text_extents_t"><span class="type">cairo_text_extents_t</span></a> object into which the results
948
917
  will be stored
949
918
  </td>
950
919
  </tr>
@@ -954,12 +923,12 @@ will be stored
954
923
  <hr>
955
924
  <div class="refsect2" title="cairo_toy_font_face_create ()">
956
925
  <a name="cairo-toy-font-face-create"></a><h3>cairo_toy_font_face_create ()</h3>
957
- <pre class="programlisting"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * cairo_toy_font_face_create (const char *family,
958
- <a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a> slant,
959
- <a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a> weight);</pre>
926
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_toy_font_face_create (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>,
927
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="type">cairo_font_slant_t</span></a> slant</code></em>,
928
+ <em class="parameter"><code><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="type">cairo_font_weight_t</span></a> weight</code></em>);</pre>
960
929
  <p>
961
930
  Creates a font face from a triplet of family, slant, and weight.
962
- These font faces are used in implementation of the the <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> "toy"
931
+ These font faces are used in implementation of the the <a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> "toy"
963
932
  font API.
964
933
  </p>
965
934
  <p>
@@ -969,31 +938,30 @@ family is assumed. The default family then can be queried using
969
938
  </p>
970
939
  <p>
971
940
  The <a class="link" href="cairo-text.html#cairo-select-font-face" title="cairo_select_font_face ()"><code class="function">cairo_select_font_face()</code></a> function uses this to create font faces.
972
- See that function for limitations of toy font faces.</p>
973
- <p>
941
+ See that function for limitations and other details of toy font faces.
974
942
  </p>
975
943
  <div class="variablelist"><table border="0">
976
944
  <col align="left" valign="top">
977
945
  <tbody>
978
946
  <tr>
979
947
  <td><p><span class="term"><em class="parameter"><code>family</code></em> :</span></p></td>
980
- <td> a font family name, encoded in UTF-8
948
+ <td>a font family name, encoded in UTF-8
981
949
  </td>
982
950
  </tr>
983
951
  <tr>
984
952
  <td><p><span class="term"><em class="parameter"><code>slant</code></em> :</span></p></td>
985
- <td> the slant for the font
953
+ <td>the slant for the font
986
954
  </td>
987
955
  </tr>
988
956
  <tr>
989
957
  <td><p><span class="term"><em class="parameter"><code>weight</code></em> :</span></p></td>
990
- <td> the weight for the font
958
+ <td>the weight for the font
991
959
  </td>
992
960
  </tr>
993
961
  <tr>
994
962
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
995
- <td> a newly created <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
996
- <a class="link" href="cairo-font-face.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.
963
+ <td> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
964
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.
997
965
 
998
966
  </td>
999
967
  </tr>
@@ -1004,17 +972,16 @@ See that function for limitations of toy font faces.</p>
1004
972
  <hr>
1005
973
  <div class="refsect2" title="cairo_toy_font_face_get_family ()">
1006
974
  <a name="cairo-toy-font-face-get-family"></a><h3>cairo_toy_font_face_get_family ()</h3>
1007
- <pre class="programlisting">const char * cairo_toy_font_face_get_family (<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);</pre>
1008
- <p>
1009
- Gets the familly name of a toy font.</p>
975
+ <pre class="programlisting">const <span class="returnvalue">char</span> * cairo_toy_font_face_get_family (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
1010
976
  <p>
977
+ Gets the familly name of a toy font.
1011
978
  </p>
1012
979
  <div class="variablelist"><table border="0">
1013
980
  <col align="left" valign="top">
1014
981
  <tbody>
1015
982
  <tr>
1016
983
  <td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
1017
- <td> A toy font face
984
+ <td>A toy font face
1018
985
  </td>
1019
986
  </tr>
1020
987
  <tr>
@@ -1031,17 +998,16 @@ and remains valid as long as the font face is alive (referenced).
1031
998
  <hr>
1032
999
  <div class="refsect2" title="cairo_toy_font_face_get_slant ()">
1033
1000
  <a name="cairo-toy-font-face-get-slant"></a><h3>cairo_toy_font_face_get_slant ()</h3>
1034
- <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t">cairo_font_slant_t</a> cairo_toy_font_face_get_slant (<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);</pre>
1035
- <p>
1036
- Gets the slant a toy font.</p>
1001
+ <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-font-slant-t" title="enum cairo_font_slant_t"><span class="returnvalue">cairo_font_slant_t</span></a> cairo_toy_font_face_get_slant (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
1037
1002
  <p>
1003
+ Gets the slant a toy font.
1038
1004
  </p>
1039
1005
  <div class="variablelist"><table border="0">
1040
1006
  <col align="left" valign="top">
1041
1007
  <tbody>
1042
1008
  <tr>
1043
1009
  <td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
1044
- <td> A toy font face
1010
+ <td>A toy font face
1045
1011
  </td>
1046
1012
  </tr>
1047
1013
  <tr>
@@ -1057,17 +1023,16 @@ Gets the slant a toy font.</p>
1057
1023
  <hr>
1058
1024
  <div class="refsect2" title="cairo_toy_font_face_get_weight ()">
1059
1025
  <a name="cairo-toy-font-face-get-weight"></a><h3>cairo_toy_font_face_get_weight ()</h3>
1060
- <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t">cairo_font_weight_t</a> cairo_toy_font_face_get_weight (<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> *font_face);</pre>
1061
- <p>
1062
- Gets the weight a toy font.</p>
1026
+ <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-font-weight-t" title="enum cairo_font_weight_t"><span class="returnvalue">cairo_font_weight_t</span></a> cairo_toy_font_face_get_weight (<em class="parameter"><code><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> *font_face</code></em>);</pre>
1063
1027
  <p>
1028
+ Gets the weight a toy font.
1064
1029
  </p>
1065
1030
  <div class="variablelist"><table border="0">
1066
1031
  <col align="left" valign="top">
1067
1032
  <tbody>
1068
1033
  <tr>
1069
1034
  <td><p><span class="term"><em class="parameter"><code>font_face</code></em> :</span></p></td>
1070
- <td> A toy font face
1035
+ <td>A toy font face
1071
1036
  </td>
1072
1037
  </tr>
1073
1038
  <tr>
@@ -1083,27 +1048,26 @@ Gets the weight a toy font.</p>
1083
1048
  <hr>
1084
1049
  <div class="refsect2" title="cairo_glyph_allocate ()">
1085
1050
  <a name="cairo-glyph-allocate"></a><h3>cairo_glyph_allocate ()</h3>
1086
- <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> * cairo_glyph_allocate (int num_glyphs);</pre>
1051
+ <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="returnvalue">cairo_glyph_t</span></a> * cairo_glyph_allocate (<em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);</pre>
1087
1052
  <p>
1088
1053
  Allocates an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a>'s.
1089
1054
  This function is only useful in implementations of
1090
- <a class="link" href="cairo-user-font.html#cairo-user-scaled-font-text-to-glyphs-func-t" title="cairo_user_scaled_font_text_to_glyphs_func_t ()"><span class="type">cairo_user_scaled_font_text_to_glyphs_func_t</span></a> where the user
1055
+ <a class="link" href="cairo-User-Fonts.html#cairo-user-scaled-font-text-to-glyphs-func-t" title="cairo_user_scaled_font_text_to_glyphs_func_t ()"><span class="type">cairo_user_scaled_font_text_to_glyphs_func_t</span></a> where the user
1091
1056
  needs to allocate an array of glyphs that cairo will free.
1092
1057
  For all other uses, user can use their own allocation method
1093
1058
  for glyphs.
1094
1059
  </p>
1095
1060
  <p>
1096
- This function returns <code class="literal">NULL</code> if <em class="parameter"><code>num_glyphs</code></em> is not positive,
1097
- or if out of memory. That means, the <code class="literal">NULL</code> return value
1098
- signals out-of-memory only if <em class="parameter"><code>num_glyphs</code></em> was positive.</p>
1099
- <p>
1061
+ This function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>num_glyphs</code></em> is not positive,
1062
+ or if out of memory. That means, the <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return value
1063
+ signals out-of-memory only if <em class="parameter"><code>num_glyphs</code></em> was positive.
1100
1064
  </p>
1101
1065
  <div class="variablelist"><table border="0">
1102
1066
  <col align="left" valign="top">
1103
1067
  <tbody>
1104
1068
  <tr>
1105
1069
  <td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
1106
- <td> number of glyphs to allocate
1070
+ <td>number of glyphs to allocate
1107
1071
  </td>
1108
1072
  </tr>
1109
1073
  <tr>
@@ -1120,21 +1084,20 @@ signals out-of-memory only if <em class="parameter"><code>num_glyphs</code></em>
1120
1084
  <hr>
1121
1085
  <div class="refsect2" title="cairo_glyph_free ()">
1122
1086
  <a name="cairo-glyph-free"></a><h3>cairo_glyph_free ()</h3>
1123
- <pre class="programlisting">void cairo_glyph_free (<a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t">cairo_glyph_t</a> *glyphs);</pre>
1087
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_glyph_free (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a> *glyphs</code></em>);</pre>
1124
1088
  <p>
1125
1089
  Frees an array of <a class="link" href="cairo-text.html#cairo-glyph-t" title="cairo_glyph_t"><span class="type">cairo_glyph_t</span></a>'s allocated using <a class="link" href="cairo-text.html#cairo-glyph-allocate" title="cairo_glyph_allocate ()"><code class="function">cairo_glyph_allocate()</code></a>.
1126
1090
  This function is only useful to free glyph array returned
1127
- by <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-text-to-glyphs" title="cairo_scaled_font_text_to_glyphs ()"><code class="function">cairo_scaled_font_text_to_glyphs()</code></a> where cairo returns
1091
+ by <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-text-to-glyphs" title="cairo_scaled_font_text_to_glyphs ()"><code class="function">cairo_scaled_font_text_to_glyphs()</code></a> where cairo returns
1128
1092
  an array of glyphs that the user will free.
1129
1093
  For all other uses, user can use their own allocation method
1130
- for glyphs.</p>
1131
- <p>
1094
+ for glyphs.
1132
1095
  </p>
1133
1096
  <div class="variablelist"><table border="0">
1134
1097
  <col align="left" valign="top">
1135
1098
  <tbody><tr>
1136
1099
  <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
1137
- <td> array of glyphs to free, or <code class="literal">NULL</code>
1100
+ <td>array of glyphs to free, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1138
1101
  </td>
1139
1102
  </tr></tbody>
1140
1103
  </table></div>
@@ -1143,27 +1106,26 @@ for glyphs.</p>
1143
1106
  <hr>
1144
1107
  <div class="refsect2" title="cairo_text_cluster_allocate ()">
1145
1108
  <a name="cairo-text-cluster-allocate"></a><h3>cairo_text_cluster_allocate ()</h3>
1146
- <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a> * cairo_text_cluster_allocate (int num_clusters);</pre>
1109
+ <pre class="programlisting"><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="returnvalue">cairo_text_cluster_t</span></a> * cairo_text_cluster_allocate (<em class="parameter"><code><span class="type">int</span> num_clusters</code></em>);</pre>
1147
1110
  <p>
1148
1111
  Allocates an array of <a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a>'s.
1149
1112
  This function is only useful in implementations of
1150
- <a class="link" href="cairo-user-font.html#cairo-user-scaled-font-text-to-glyphs-func-t" title="cairo_user_scaled_font_text_to_glyphs_func_t ()"><span class="type">cairo_user_scaled_font_text_to_glyphs_func_t</span></a> where the user
1113
+ <a class="link" href="cairo-User-Fonts.html#cairo-user-scaled-font-text-to-glyphs-func-t" title="cairo_user_scaled_font_text_to_glyphs_func_t ()"><span class="type">cairo_user_scaled_font_text_to_glyphs_func_t</span></a> where the user
1151
1114
  needs to allocate an array of text clusters that cairo will free.
1152
1115
  For all other uses, user can use their own allocation method
1153
1116
  for text clusters.
1154
1117
  </p>
1155
1118
  <p>
1156
- This function returns <code class="literal">NULL</code> if <em class="parameter"><code>num_clusters</code></em> is not positive,
1157
- or if out of memory. That means, the <code class="literal">NULL</code> return value
1158
- signals out-of-memory only if <em class="parameter"><code>num_clusters</code></em> was positive.</p>
1159
- <p>
1119
+ This function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>num_clusters</code></em> is not positive,
1120
+ or if out of memory. That means, the <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return value
1121
+ signals out-of-memory only if <em class="parameter"><code>num_clusters</code></em> was positive.
1160
1122
  </p>
1161
1123
  <div class="variablelist"><table border="0">
1162
1124
  <col align="left" valign="top">
1163
1125
  <tbody>
1164
1126
  <tr>
1165
1127
  <td><p><span class="term"><em class="parameter"><code>num_clusters</code></em> :</span></p></td>
1166
- <td> number of text_clusters to allocate
1128
+ <td>number of text_clusters to allocate
1167
1129
  </td>
1168
1130
  </tr>
1169
1131
  <tr>
@@ -1180,21 +1142,20 @@ signals out-of-memory only if <em class="parameter"><code>num_clusters</code></e
1180
1142
  <hr>
1181
1143
  <div class="refsect2" title="cairo_text_cluster_free ()">
1182
1144
  <a name="cairo-text-cluster-free"></a><h3>cairo_text_cluster_free ()</h3>
1183
- <pre class="programlisting">void cairo_text_cluster_free (<a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t">cairo_text_cluster_t</a> *clusters);</pre>
1145
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_text_cluster_free (<em class="parameter"><code><a class="link" href="cairo-text.html#cairo-text-cluster-t" title="cairo_text_cluster_t"><span class="type">cairo_text_cluster_t</span></a> *clusters</code></em>);</pre>
1184
1146
  <p>
1185
1147
  Frees an array of <span class="type">cairo_text_cluster</span>'s allocated using <a class="link" href="cairo-text.html#cairo-text-cluster-allocate" title="cairo_text_cluster_allocate ()"><code class="function">cairo_text_cluster_allocate()</code></a>.
1186
1148
  This function is only useful to free text cluster array returned
1187
- by <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-text-to-glyphs" title="cairo_scaled_font_text_to_glyphs ()"><code class="function">cairo_scaled_font_text_to_glyphs()</code></a> where cairo returns
1149
+ by <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-text-to-glyphs" title="cairo_scaled_font_text_to_glyphs ()"><code class="function">cairo_scaled_font_text_to_glyphs()</code></a> where cairo returns
1188
1150
  an array of text clusters that the user will free.
1189
1151
  For all other uses, user can use their own allocation method
1190
- for text clusters.</p>
1191
- <p>
1152
+ for text clusters.
1192
1153
  </p>
1193
1154
  <div class="variablelist"><table border="0">
1194
1155
  <col align="left" valign="top">
1195
1156
  <tbody><tr>
1196
1157
  <td><p><span class="term"><em class="parameter"><code>clusters</code></em> :</span></p></td>
1197
- <td> array of text clusters to free, or <code class="literal">NULL</code>
1158
+ <td>array of text clusters to free, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1198
1159
  </td>
1199
1160
  </tr></tbody>
1200
1161
  </table></div>
@@ -1203,20 +1164,12 @@ for text clusters.</p>
1203
1164
  </div>
1204
1165
  <div class="refsect1" title="See Also">
1205
1166
  <a name="cairo-text.see-also"></a><h2>See Also</h2>
1206
- <p>
1207
- </p>
1208
- <div class="itemizedlist"><ul class="itemizedlist" type="disc">
1209
- <li class="listitem"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a></li>
1210
- <li class="listitem"><a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a></li>
1211
- <li class="listitem"><a class="link" href="cairo-paths.html#cairo-text-path" title="cairo_text_path ()"><code class="function">cairo_text_path()</code></a></li>
1212
- <li class="listitem"><a class="link" href="cairo-paths.html#cairo-glyph-path" title="cairo_glyph_path ()"><code class="function">cairo_glyph_path()</code></a></li>
1213
- </ul></div>
1214
- <p>
1215
- </p>
1167
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>, <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>, <a class="link" href="cairo-Paths.html#cairo-text-path" title="cairo_text_path ()"><code class="function">cairo_text_path()</code></a>,
1168
+ <a class="link" href="cairo-Paths.html#cairo-glyph-path" title="cairo_glyph_path ()"><code class="function">cairo_glyph_path()</code></a>
1216
1169
  </div>
1217
1170
  </div>
1218
1171
  <div class="footer">
1219
1172
  <hr>
1220
- Generated by GTK-Doc V1.11</div>
1173
+ Generated by GTK-Doc V1.15</div>
1221
1174
  </body>
1222
- </html>
1175
+ </html>