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
@@ -1,1026 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>cairo_surface_t</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
- <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
- <link rel="up" href="cairo-surfaces.html" title="Surfaces">
9
- <link rel="prev" href="cairo-surfaces.html" title="Surfaces">
10
- <link rel="next" href="cairo-image-surface.html" title="Image Surfaces">
11
- <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
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
- </head>
24
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
26
- <tr valign="middle">
27
- <td><a accesskey="p" href="cairo-surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
28
- <td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
29
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
30
- <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
31
- <td><a accesskey="n" href="cairo-image-surface.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
32
- </tr>
33
- <tr><td colspan="5" class="shortcuts">
34
- <a href="#cairo-surface.synopsis" class="shortcut">Top</a>
35
-  | 
36
- <a href="#cairo-surface.description" class="shortcut">Description</a>
37
- </td></tr>
38
- </table>
39
- <div class="refentry" title="cairo_surface_t">
40
- <a name="cairo-surface"></a><div class="titlepage"></div>
41
- <div class="refnamediv"><table width="100%"><tr>
42
- <td valign="top">
43
- <h2><span class="refentrytitle"><a name="cairo-surface.top_of_page"></a>cairo_surface_t</span></h2>
44
- <p>cairo_surface_t — Base class for surfaces</p>
45
- </td>
46
- <td valign="top" align="right"></td>
47
- </tr></table></div>
48
- <div class="refsynopsisdiv" title="Synopsis">
49
- <a name="cairo-surface.synopsis"></a><h2>Synopsis</h2>
50
- <pre class="synopsis">
51
- typedef <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a>;
52
- enum <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t">cairo_content_t</a>;
53
- <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * <a class="link" href="cairo-surface.html#cairo-surface-create-similar" title="cairo_surface_create_similar ()">cairo_surface_create_similar</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *other,
54
- <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t">cairo_content_t</a> content,
55
- int width,
56
- int height);
57
- <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * <a class="link" href="cairo-surface.html#cairo-surface-reference" title="cairo_surface_reference ()">cairo_surface_reference</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
58
- void <a class="link" href="cairo-surface.html#cairo-surface-destroy" title="cairo_surface_destroy ()">cairo_surface_destroy</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
59
- <a class="link" href="cairo-error-status.html#cairo-status-t" title="enum cairo_status_t">cairo_status_t</a> <a class="link" href="cairo-surface.html#cairo-surface-status" title="cairo_surface_status ()">cairo_surface_status</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
60
- void <a class="link" href="cairo-surface.html#cairo-surface-finish" title="cairo_surface_finish ()">cairo_surface_finish</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
61
- void <a class="link" href="cairo-surface.html#cairo-surface-flush" title="cairo_surface_flush ()">cairo_surface_flush</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
62
- void <a class="link" href="cairo-surface.html#cairo-surface-get-font-options" title="cairo_surface_get_font_options ()">cairo_surface_get_font_options</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
63
- <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options);
64
- <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t">cairo_content_t</a> <a class="link" href="cairo-surface.html#cairo-surface-get-content" title="cairo_surface_get_content ()">cairo_surface_get_content</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
65
- void <a class="link" href="cairo-surface.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty ()">cairo_surface_mark_dirty</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
66
- void <a class="link" href="cairo-surface.html#cairo-surface-mark-dirty-rectangle" title="cairo_surface_mark_dirty_rectangle ()">cairo_surface_mark_dirty_rectangle</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
67
- int x,
68
- int y,
69
- int width,
70
- int height);
71
- void <a class="link" href="cairo-surface.html#cairo-surface-set-device-offset" title="cairo_surface_set_device_offset ()">cairo_surface_set_device_offset</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
72
- double x_offset,
73
- double y_offset);
74
- void <a class="link" href="cairo-surface.html#cairo-surface-get-device-offset" title="cairo_surface_get_device_offset ()">cairo_surface_get_device_offset</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
75
- double *x_offset,
76
- double *y_offset);
77
- void <a class="link" href="cairo-surface.html#cairo-surface-set-fallback-resolution" title="cairo_surface_set_fallback_resolution ()">cairo_surface_set_fallback_resolution</a>
78
- (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
79
- double x_pixels_per_inch,
80
- double y_pixels_per_inch);
81
- void <a class="link" href="cairo-surface.html#cairo-surface-get-fallback-resolution" title="cairo_surface_get_fallback_resolution ()">cairo_surface_get_fallback_resolution</a>
82
- (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
83
- double *x_pixels_per_inch,
84
- double *y_pixels_per_inch);
85
- enum <a class="link" href="cairo-surface.html#cairo-surface-type-t" title="enum cairo_surface_type_t">cairo_surface_type_t</a>;
86
- <a class="link" href="cairo-surface.html#cairo-surface-type-t" title="enum cairo_surface_type_t">cairo_surface_type_t</a> <a class="link" href="cairo-surface.html#cairo-surface-get-type" title="cairo_surface_get_type ()">cairo_surface_get_type</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
87
- unsigned int <a class="link" href="cairo-surface.html#cairo-surface-get-reference-count" title="cairo_surface_get_reference_count ()">cairo_surface_get_reference_count</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
88
- <a class="link" href="cairo-error-status.html#cairo-status-t" title="enum cairo_status_t">cairo_status_t</a> <a class="link" href="cairo-surface.html#cairo-surface-set-user-data" title="cairo_surface_set_user_data ()">cairo_surface_set_user_data</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
89
- const <a class="link" href="cairo-types.html#cairo-user-data-key-t" title="cairo_user_data_key_t">cairo_user_data_key_t</a> *key,
90
- void *user_data,
91
- <a class="link" href="cairo-types.html#cairo-destroy-func-t" title="cairo_destroy_func_t ()">cairo_destroy_func_t</a> destroy);
92
- void * <a class="link" href="cairo-surface.html#cairo-surface-get-user-data" title="cairo_surface_get_user_data ()">cairo_surface_get_user_data</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
93
- const <a class="link" href="cairo-types.html#cairo-user-data-key-t" title="cairo_user_data_key_t">cairo_user_data_key_t</a> *key);
94
- void <a class="link" href="cairo-surface.html#cairo-surface-copy-page" title="cairo_surface_copy_page ()">cairo_surface_copy_page</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
95
- void <a class="link" href="cairo-surface.html#cairo-surface-show-page" title="cairo_surface_show_page ()">cairo_surface_show_page</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
96
- <a class="link" href="cairo-types.html#cairo-bool-t" title="cairo_bool_t">cairo_bool_t</a> <a class="link" href="cairo-surface.html#cairo-surface-has-show-text-glyphs" title="cairo_surface_has_show_text_glyphs ()">cairo_surface_has_show_text_glyphs</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
97
- </pre>
98
- </div>
99
- <div class="refsect1" title="Description">
100
- <a name="cairo-surface.description"></a><h2>Description</h2>
101
- <p>
102
- <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> is the abstract type representing all different drawing
103
- targets that cairo can render to. The actual drawings are
104
- performed using a cairo <em class="firstterm">context</em>.
105
- </p>
106
- <p>
107
- A cairo surface is created by using <em class="firstterm">backend</em>-specific
108
- constructors, typically of the form
109
- cairo_<span class="emphasis"><em>backend</em></span><code class="function">_surface_create()</code>.
110
- </p>
111
- </div>
112
- <div class="refsect1" title="Details">
113
- <a name="cairo-surface.details"></a><h2>Details</h2>
114
- <div class="refsect2" title="cairo_surface_t">
115
- <a name="cairo-surface-t"></a><h3>cairo_surface_t</h3>
116
- <pre class="programlisting">typedef struct _cairo_surface cairo_surface_t;
117
- </pre>
118
- <p>
119
- A <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> represents an image, either as the destination
120
- of a drawing operation or as source when drawing onto another
121
- surface. To draw to a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>, create a cairo context
122
- with the surface as the target, using <a class="link" href="cairo-context.html#cairo-create" title="cairo_create ()"><code class="function">cairo_create()</code></a>.
123
- </p>
124
- <p>
125
- There are different subtypes of <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> for
126
- different drawing backends; for example, <a class="link" href="cairo-image-surface.html#cairo-image-surface-create" title="cairo_image_surface_create ()"><code class="function">cairo_image_surface_create()</code></a>
127
- creates a bitmap image in memory.
128
- The type of a surface can be queried with <a class="link" href="cairo-surface.html#cairo-surface-get-type" title="cairo_surface_get_type ()"><code class="function">cairo_surface_get_type()</code></a>.
129
- </p>
130
- <p>
131
- Memory management of <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> is done with
132
- <a class="link" href="cairo-surface.html#cairo-surface-reference" title="cairo_surface_reference ()"><code class="function">cairo_surface_reference()</code></a> and <a class="link" href="cairo-surface.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a>.</p>
133
- <p>
134
- </p>
135
- </div>
136
- <hr>
137
- <div class="refsect2" title="enum cairo_content_t">
138
- <a name="cairo-content-t"></a><h3>enum cairo_content_t</h3>
139
- <pre class="programlisting">typedef enum _cairo_content {
140
- CAIRO_CONTENT_COLOR = 0x1000,
141
- CAIRO_CONTENT_ALPHA = 0x2000,
142
- CAIRO_CONTENT_COLOR_ALPHA = 0x3000
143
- } cairo_content_t;
144
- </pre>
145
- <p>
146
- <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t"><span class="type">cairo_content_t</span></a> is used to describe the content that a surface will
147
- contain, whether color information, alpha information (translucence
148
- vs. opacity), or both.
149
- </p>
150
- <p>
151
- Note: The large values here are designed to keep <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t"><span class="type">cairo_content_t</span></a>
152
- values distinct from <a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a> values so that the
153
- implementation can detect the error if users confuse the two types.</p>
154
- <p>
155
- </p>
156
- <div class="variablelist"><table border="0">
157
- <col align="left" valign="top">
158
- <tbody>
159
- <tr>
160
- <td><p><a name="CAIRO-CONTENT-COLOR--CAPS"></a><span class="term"><code class="literal">CAIRO_CONTENT_COLOR</code></span></p></td>
161
- <td> The surface will hold color content only.
162
- </td>
163
- </tr>
164
- <tr>
165
- <td><p><a name="CAIRO-CONTENT-ALPHA--CAPS"></a><span class="term"><code class="literal">CAIRO_CONTENT_ALPHA</code></span></p></td>
166
- <td> The surface will hold alpha content only.
167
- </td>
168
- </tr>
169
- <tr>
170
- <td><p><a name="CAIRO-CONTENT-COLOR-ALPHA--CAPS"></a><span class="term"><code class="literal">CAIRO_CONTENT_COLOR_ALPHA</code></span></p></td>
171
- <td> The surface will hold color and alpha content.
172
- </td>
173
- </tr>
174
- </tbody>
175
- </table></div>
176
- </div>
177
- <hr>
178
- <div class="refsect2" title="cairo_surface_create_similar ()">
179
- <a name="cairo-surface-create-similar"></a><h3>cairo_surface_create_similar ()</h3>
180
- <pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * cairo_surface_create_similar (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *other,
181
- <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t">cairo_content_t</a> content,
182
- int width,
183
- int height);</pre>
184
- <p>
185
- Create a new surface that is as compatible as possible with an
186
- existing surface. For example the new surface will have the same
187
- fallback resolution and font options as <em class="parameter"><code>other</code></em>. Generally, the new
188
- surface will also use the same backend as <em class="parameter"><code>other</code></em>, unless that is
189
- not possible for some reason. The type of the returned surface may
190
- be examined with <a class="link" href="cairo-surface.html#cairo-surface-get-type" title="cairo_surface_get_type ()"><code class="function">cairo_surface_get_type()</code></a>.
191
- </p>
192
- <p>
193
- Initially the surface contents are all 0 (transparent if contents
194
- have transparency, black otherwise.)</p>
195
- <p>
196
- </p>
197
- <div class="variablelist"><table border="0">
198
- <col align="left" valign="top">
199
- <tbody>
200
- <tr>
201
- <td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
202
- <td> an existing surface used to select the backend of the new surface
203
- </td>
204
- </tr>
205
- <tr>
206
- <td><p><span class="term"><em class="parameter"><code>content</code></em> :</span></p></td>
207
- <td> the content for the new surface
208
- </td>
209
- </tr>
210
- <tr>
211
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
212
- <td> width of the new surface, (in device-space units)
213
- </td>
214
- </tr>
215
- <tr>
216
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
217
- <td> height of the new surface (in device-space units)
218
- </td>
219
- </tr>
220
- <tr>
221
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
222
- <td> a pointer to the newly allocated surface. The caller
223
- owns the surface and should call <a class="link" href="cairo-surface.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
224
- with it.
225
-
226
- This function always returns a valid pointer, but it will return a
227
- pointer to a "nil" surface if <em class="parameter"><code>other</code></em> is already in an error state
228
- or any other error occurs.
229
- </td>
230
- </tr>
231
- </tbody>
232
- </table></div>
233
- </div>
234
- <hr>
235
- <div class="refsect2" title="cairo_surface_reference ()">
236
- <a name="cairo-surface-reference"></a><h3>cairo_surface_reference ()</h3>
237
- <pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * cairo_surface_reference (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
238
- <p>
239
- Increases the reference count on <em class="parameter"><code>surface</code></em> by one. This prevents
240
- <em class="parameter"><code>surface</code></em> from being destroyed until a matching call to
241
- <a class="link" href="cairo-surface.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> is made.
242
- </p>
243
- <p>
244
- The number of references to a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> can be get using
245
- <a class="link" href="cairo-surface.html#cairo-surface-get-reference-count" title="cairo_surface_get_reference_count ()"><code class="function">cairo_surface_get_reference_count()</code></a>.</p>
246
- <p>
247
- </p>
248
- <div class="variablelist"><table border="0">
249
- <col align="left" valign="top">
250
- <tbody>
251
- <tr>
252
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
253
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
254
- </td>
255
- </tr>
256
- <tr>
257
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
258
- <td> the referenced <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>.
259
- </td>
260
- </tr>
261
- </tbody>
262
- </table></div>
263
- </div>
264
- <hr>
265
- <div class="refsect2" title="cairo_surface_destroy ()">
266
- <a name="cairo-surface-destroy"></a><h3>cairo_surface_destroy ()</h3>
267
- <pre class="programlisting">void cairo_surface_destroy (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
268
- <p>
269
- Decreases the reference count on <em class="parameter"><code>surface</code></em> by one. If the result is
270
- zero, then <em class="parameter"><code>surface</code></em> and all associated resources are freed. See
271
- <a class="link" href="cairo-surface.html#cairo-surface-reference" title="cairo_surface_reference ()"><code class="function">cairo_surface_reference()</code></a>.</p>
272
- <p>
273
- </p>
274
- <div class="variablelist"><table border="0">
275
- <col align="left" valign="top">
276
- <tbody><tr>
277
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
278
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
279
- </td>
280
- </tr></tbody>
281
- </table></div>
282
- </div>
283
- <hr>
284
- <div class="refsect2" title="cairo_surface_status ()">
285
- <a name="cairo-surface-status"></a><h3>cairo_surface_status ()</h3>
286
- <pre class="programlisting"><a class="link" href="cairo-error-status.html#cairo-status-t" title="enum cairo_status_t">cairo_status_t</a> cairo_surface_status (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
287
- <p>
288
- Checks whether an error has previously occurred for this
289
- surface.</p>
290
- <p>
291
- </p>
292
- <div class="variablelist"><table border="0">
293
- <col align="left" valign="top">
294
- <tbody>
295
- <tr>
296
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
297
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
298
- </td>
299
- </tr>
300
- <tr>
301
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
302
- <td> <a class="link" href="cairo-error-status.html#CAIRO-STATUS-SUCCESS--CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>, <a class="link" href="cairo-error-status.html#CAIRO-STATUS-NULL-POINTER--CAPS"><code class="literal">CAIRO_STATUS_NULL_POINTER</code></a>,
303
- <a class="link" href="cairo-error-status.html#CAIRO-STATUS-NO-MEMORY--CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>, <a class="link" href="cairo-error-status.html#CAIRO-STATUS-READ-ERROR--CAPS"><code class="literal">CAIRO_STATUS_READ_ERROR</code></a>,
304
- <a class="link" href="cairo-error-status.html#CAIRO-STATUS-INVALID-CONTENT--CAPS"><code class="literal">CAIRO_STATUS_INVALID_CONTENT</code></a>, <a class="link" href="cairo-error-status.html#CAIRO-STATUS-INVALID-FORMAT--CAPS"><code class="literal">CAIRO_STATUS_INVALID_FORMAT</code></a>, or
305
- <a class="link" href="cairo-error-status.html#CAIRO-STATUS-INVALID-VISUAL--CAPS"><code class="literal">CAIRO_STATUS_INVALID_VISUAL</code></a>.
306
- </td>
307
- </tr>
308
- </tbody>
309
- </table></div>
310
- </div>
311
- <hr>
312
- <div class="refsect2" title="cairo_surface_finish ()">
313
- <a name="cairo-surface-finish"></a><h3>cairo_surface_finish ()</h3>
314
- <pre class="programlisting">void cairo_surface_finish (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
315
- <p>
316
- This function finishes the surface and drops all references to
317
- external resources. For example, for the Xlib backend it means
318
- that cairo will no longer access the drawable, which can be freed.
319
- After calling <a class="link" href="cairo-surface.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a> the only valid operations on a
320
- surface are getting and setting user, referencing and
321
- destroying, and flushing and finishing it.
322
- Further drawing to the surface will not affect the
323
- surface but will instead trigger a <a class="link" href="cairo-error-status.html#CAIRO-STATUS-SURFACE-FINISHED--CAPS"><code class="literal">CAIRO_STATUS_SURFACE_FINISHED</code></a>
324
- error.
325
- </p>
326
- <p>
327
- When the last call to <a class="link" href="cairo-surface.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> decreases the
328
- reference count to zero, cairo will call <a class="link" href="cairo-surface.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a> if
329
- it hasn't been called already, before freeing the resources
330
- associated with the surface.</p>
331
- <p>
332
- </p>
333
- <div class="variablelist"><table border="0">
334
- <col align="left" valign="top">
335
- <tbody><tr>
336
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
337
- <td> the <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> to finish
338
- </td>
339
- </tr></tbody>
340
- </table></div>
341
- </div>
342
- <hr>
343
- <div class="refsect2" title="cairo_surface_flush ()">
344
- <a name="cairo-surface-flush"></a><h3>cairo_surface_flush ()</h3>
345
- <pre class="programlisting">void cairo_surface_flush (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
346
- <p>
347
- Do any pending drawing for the surface and also restore any
348
- temporary modification's cairo has made to the surface's
349
- state. This function must be called before switching from
350
- drawing on the surface with cairo to drawing on it directly
351
- with native APIs. If the surface doesn't support direct access,
352
- then this function does nothing.</p>
353
- <p>
354
- </p>
355
- <div class="variablelist"><table border="0">
356
- <col align="left" valign="top">
357
- <tbody><tr>
358
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
359
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
360
- </td>
361
- </tr></tbody>
362
- </table></div>
363
- </div>
364
- <hr>
365
- <div class="refsect2" title="cairo_surface_get_font_options ()">
366
- <a name="cairo-surface-get-font-options"></a><h3>cairo_surface_get_font_options ()</h3>
367
- <pre class="programlisting">void cairo_surface_get_font_options (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
368
- <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options);</pre>
369
- <p>
370
- Retrieves the default font rendering options for the surface.
371
- This allows display surfaces to report the correct subpixel order
372
- for rendering on them, print surfaces to disable hinting of
373
- metrics and so forth. The result can then be used with
374
- <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>.</p>
375
- <p>
376
- </p>
377
- <div class="variablelist"><table border="0">
378
- <col align="left" valign="top">
379
- <tbody>
380
- <tr>
381
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
382
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
383
- </td>
384
- </tr>
385
- <tr>
386
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
387
- <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
388
- the retrieved options. All existing values are overwritten
389
- </td>
390
- </tr>
391
- </tbody>
392
- </table></div>
393
- </div>
394
- <hr>
395
- <div class="refsect2" title="cairo_surface_get_content ()">
396
- <a name="cairo-surface-get-content"></a><h3>cairo_surface_get_content ()</h3>
397
- <pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t">cairo_content_t</a> cairo_surface_get_content (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
398
- <p>
399
- This function returns the content type of <em class="parameter"><code>surface</code></em> which indicates
400
- whether the surface contains color and/or alpha information. See
401
- <a class="link" href="cairo-surface.html#cairo-content-t" title="enum cairo_content_t"><span class="type">cairo_content_t</span></a>.</p>
402
- <p>
403
- </p>
404
- <div class="variablelist"><table border="0">
405
- <col align="left" valign="top">
406
- <tbody>
407
- <tr>
408
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
409
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
410
- </td>
411
- </tr>
412
- <tr>
413
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
414
- <td> The content type of <em class="parameter"><code>surface</code></em>.
415
-
416
- </td>
417
- </tr>
418
- </tbody>
419
- </table></div>
420
- <p class="since">Since 1.2</p>
421
- </div>
422
- <hr>
423
- <div class="refsect2" title="cairo_surface_mark_dirty ()">
424
- <a name="cairo-surface-mark-dirty"></a><h3>cairo_surface_mark_dirty ()</h3>
425
- <pre class="programlisting">void cairo_surface_mark_dirty (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
426
- <p>
427
- Tells cairo that drawing has been done to surface using means other
428
- than cairo, and that cairo should reread any cached areas. Note
429
- that you must call <a class="link" href="cairo-surface.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> before doing such drawing.</p>
430
- <p>
431
- </p>
432
- <div class="variablelist"><table border="0">
433
- <col align="left" valign="top">
434
- <tbody><tr>
435
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
436
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
437
- </td>
438
- </tr></tbody>
439
- </table></div>
440
- </div>
441
- <hr>
442
- <div class="refsect2" title="cairo_surface_mark_dirty_rectangle ()">
443
- <a name="cairo-surface-mark-dirty-rectangle"></a><h3>cairo_surface_mark_dirty_rectangle ()</h3>
444
- <pre class="programlisting">void cairo_surface_mark_dirty_rectangle (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
445
- int x,
446
- int y,
447
- int width,
448
- int height);</pre>
449
- <p>
450
- Like <a class="link" href="cairo-surface.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty ()"><code class="function">cairo_surface_mark_dirty()</code></a>, but drawing has been done only to
451
- the specified rectangle, so that cairo can retain cached contents
452
- for other parts of the surface.
453
- </p>
454
- <p>
455
- Any cached clip set on the surface will be reset by this function,
456
- to make sure that future cairo calls have the clip set that they
457
- expect.</p>
458
- <p>
459
- </p>
460
- <div class="variablelist"><table border="0">
461
- <col align="left" valign="top">
462
- <tbody>
463
- <tr>
464
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
465
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
466
- </td>
467
- </tr>
468
- <tr>
469
- <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
470
- <td> X coordinate of dirty rectangle
471
- </td>
472
- </tr>
473
- <tr>
474
- <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
475
- <td> Y coordinate of dirty rectangle
476
- </td>
477
- </tr>
478
- <tr>
479
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
480
- <td> width of dirty rectangle
481
- </td>
482
- </tr>
483
- <tr>
484
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
485
- <td> height of dirty rectangle
486
- </td>
487
- </tr>
488
- </tbody>
489
- </table></div>
490
- </div>
491
- <hr>
492
- <div class="refsect2" title="cairo_surface_set_device_offset ()">
493
- <a name="cairo-surface-set-device-offset"></a><h3>cairo_surface_set_device_offset ()</h3>
494
- <pre class="programlisting">void cairo_surface_set_device_offset (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
495
- double x_offset,
496
- double y_offset);</pre>
497
- <p>
498
- Sets an offset that is added to the device coordinates determined
499
- by the CTM when drawing to <em class="parameter"><code>surface</code></em>. One use case for this function
500
- is when we want to create a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> that redirects drawing
501
- for a portion of an onscreen surface to an offscreen surface in a
502
- way that is completely invisible to the user of the cairo
503
- API. Setting a transformation via <a class="link" href="cairo-transformations.html#cairo-translate" title="cairo_translate ()"><code class="function">cairo_translate()</code></a> isn't
504
- sufficient to do this, since functions like
505
- <a class="link" href="cairo-transformations.html#cairo-device-to-user" title="cairo_device_to_user ()"><code class="function">cairo_device_to_user()</code></a> will expose the hidden offset.
506
- </p>
507
- <p>
508
- Note that the offset affects drawing to the surface as well as
509
- using the surface in a source pattern.</p>
510
- <p>
511
- </p>
512
- <div class="variablelist"><table border="0">
513
- <col align="left" valign="top">
514
- <tbody>
515
- <tr>
516
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
517
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
518
- </td>
519
- </tr>
520
- <tr>
521
- <td><p><span class="term"><em class="parameter"><code>x_offset</code></em> :</span></p></td>
522
- <td> the offset in the X direction, in device units
523
- </td>
524
- </tr>
525
- <tr>
526
- <td><p><span class="term"><em class="parameter"><code>y_offset</code></em> :</span></p></td>
527
- <td> the offset in the Y direction, in device units
528
- </td>
529
- </tr>
530
- </tbody>
531
- </table></div>
532
- </div>
533
- <hr>
534
- <div class="refsect2" title="cairo_surface_get_device_offset ()">
535
- <a name="cairo-surface-get-device-offset"></a><h3>cairo_surface_get_device_offset ()</h3>
536
- <pre class="programlisting">void cairo_surface_get_device_offset (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
537
- double *x_offset,
538
- double *y_offset);</pre>
539
- <p>
540
- This function returns the previous device offset set by
541
- <a class="link" href="cairo-surface.html#cairo-surface-set-device-offset" title="cairo_surface_set_device_offset ()"><code class="function">cairo_surface_set_device_offset()</code></a>.</p>
542
- <p>
543
- </p>
544
- <div class="variablelist"><table border="0">
545
- <col align="left" valign="top">
546
- <tbody>
547
- <tr>
548
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
549
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
550
- </td>
551
- </tr>
552
- <tr>
553
- <td><p><span class="term"><em class="parameter"><code>x_offset</code></em> :</span></p></td>
554
- <td> the offset in the X direction, in device units
555
- </td>
556
- </tr>
557
- <tr>
558
- <td><p><span class="term"><em class="parameter"><code>y_offset</code></em> :</span></p></td>
559
- <td> the offset in the Y direction, in device units
560
- </td>
561
- </tr>
562
- </tbody>
563
- </table></div>
564
- <p class="since">Since 1.2</p>
565
- </div>
566
- <hr>
567
- <div class="refsect2" title="cairo_surface_set_fallback_resolution ()">
568
- <a name="cairo-surface-set-fallback-resolution"></a><h3>cairo_surface_set_fallback_resolution ()</h3>
569
- <pre class="programlisting">void cairo_surface_set_fallback_resolution
570
- (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
571
- double x_pixels_per_inch,
572
- double y_pixels_per_inch);</pre>
573
- <p>
574
- Set the horizontal and vertical resolution for image fallbacks.
575
- </p>
576
- <p>
577
- When certain operations aren't supported natively by a backend,
578
- cairo will fallback by rendering operations to an image and then
579
- overlaying that image onto the output. For backends that are
580
- natively vector-oriented, this function can be used to set the
581
- resolution used for these image fallbacks, (larger values will
582
- result in more detailed images, but also larger file sizes).
583
- </p>
584
- <p>
585
- Some examples of natively vector-oriented backends are the ps, pdf,
586
- and svg backends.
587
- </p>
588
- <p>
589
- For backends that are natively raster-oriented, image fallbacks are
590
- still possible, but they are always performed at the native
591
- device resolution. So this function has no effect on those
592
- backends.
593
- </p>
594
- <p>
595
- Note: The fallback resolution only takes effect at the time of
596
- completing a page (with <a class="link" href="cairo-context.html#cairo-show-page" title="cairo_show_page ()"><code class="function">cairo_show_page()</code></a> or <a class="link" href="cairo-context.html#cairo-copy-page" title="cairo_copy_page ()"><code class="function">cairo_copy_page()</code></a>) so
597
- there is currently no way to have more than one fallback resolution
598
- in effect on a single page.
599
- </p>
600
- <p>
601
- The default fallback resoultion is 300 pixels per inch in both
602
- dimensions.</p>
603
- <p>
604
- </p>
605
- <div class="variablelist"><table border="0">
606
- <col align="left" valign="top">
607
- <tbody>
608
- <tr>
609
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
610
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
611
- </td>
612
- </tr>
613
- <tr>
614
- <td><p><span class="term"><em class="parameter"><code>x_pixels_per_inch</code></em> :</span></p></td>
615
- <td> horizontal setting for pixels per inch
616
- </td>
617
- </tr>
618
- <tr>
619
- <td><p><span class="term"><em class="parameter"><code>y_pixels_per_inch</code></em> :</span></p></td>
620
- <td> vertical setting for pixels per inch
621
- </td>
622
- </tr>
623
- </tbody>
624
- </table></div>
625
- <p class="since">Since 1.2</p>
626
- </div>
627
- <hr>
628
- <div class="refsect2" title="cairo_surface_get_fallback_resolution ()">
629
- <a name="cairo-surface-get-fallback-resolution"></a><h3>cairo_surface_get_fallback_resolution ()</h3>
630
- <pre class="programlisting">void cairo_surface_get_fallback_resolution
631
- (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
632
- double *x_pixels_per_inch,
633
- double *y_pixels_per_inch);</pre>
634
- <p>
635
- This function returns the previous fallback resolution set by
636
- <a class="link" href="cairo-surface.html#cairo-surface-set-fallback-resolution" title="cairo_surface_set_fallback_resolution ()"><code class="function">cairo_surface_set_fallback_resolution()</code></a>, or default fallback
637
- resolution if never set.</p>
638
- <p>
639
- </p>
640
- <div class="variablelist"><table border="0">
641
- <col align="left" valign="top">
642
- <tbody>
643
- <tr>
644
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
645
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
646
- </td>
647
- </tr>
648
- <tr>
649
- <td><p><span class="term"><em class="parameter"><code>x_pixels_per_inch</code></em> :</span></p></td>
650
- <td> horizontal pixels per inch
651
- </td>
652
- </tr>
653
- <tr>
654
- <td><p><span class="term"><em class="parameter"><code>y_pixels_per_inch</code></em> :</span></p></td>
655
- <td> vertical pixels per inch
656
- </td>
657
- </tr>
658
- </tbody>
659
- </table></div>
660
- <p class="since">Since 1.8</p>
661
- </div>
662
- <hr>
663
- <div class="refsect2" title="enum cairo_surface_type_t">
664
- <a name="cairo-surface-type-t"></a><h3>enum cairo_surface_type_t</h3>
665
- <pre class="programlisting">typedef enum _cairo_surface_type {
666
- CAIRO_SURFACE_TYPE_IMAGE,
667
- CAIRO_SURFACE_TYPE_PDF,
668
- CAIRO_SURFACE_TYPE_PS,
669
- CAIRO_SURFACE_TYPE_XLIB,
670
- CAIRO_SURFACE_TYPE_XCB,
671
- CAIRO_SURFACE_TYPE_GLITZ,
672
- CAIRO_SURFACE_TYPE_QUARTZ,
673
- CAIRO_SURFACE_TYPE_WIN32,
674
- CAIRO_SURFACE_TYPE_BEOS,
675
- CAIRO_SURFACE_TYPE_DIRECTFB,
676
- CAIRO_SURFACE_TYPE_SVG,
677
- CAIRO_SURFACE_TYPE_OS2,
678
- CAIRO_SURFACE_TYPE_WIN32_PRINTING,
679
- CAIRO_SURFACE_TYPE_QUARTZ_IMAGE
680
- } cairo_surface_type_t;
681
- </pre>
682
- <p>
683
- <a class="link" href="cairo-surface.html#cairo-surface-type-t" title="enum cairo_surface_type_t"><span class="type">cairo_surface_type_t</span></a> is used to describe the type of a given
684
- surface. The surface types are also known as "backends" or "surface
685
- backends" within cairo.
686
- </p>
687
- <p>
688
- The type of a surface is determined by the function used to create
689
- it, which will generally be of the form cairo_<span class="emphasis"><em>type</em></span><code class="function">_surface_create()</code>,
690
- (though see <a class="link" href="cairo-surface.html#cairo-surface-create-similar" title="cairo_surface_create_similar ()"><code class="function">cairo_surface_create_similar()</code></a> as well).
691
- </p>
692
- <p>
693
- The surface type can be queried with <a class="link" href="cairo-surface.html#cairo-surface-get-type" title="cairo_surface_get_type ()"><code class="function">cairo_surface_get_type()</code></a>
694
- </p>
695
- <p>
696
- The various <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> functions can be used with surfaces of
697
- any type, but some backends also provide type-specific functions
698
- that must only be called with a surface of the appropriate
699
- type. These functions have names that begin with
700
- cairo_<span class="emphasis"><em>type</em></span>_surface such as <a class="link" href="cairo-image-surface.html#cairo-image-surface-get-width" title="cairo_image_surface_get_width ()"><code class="function">cairo_image_surface_get_width()</code></a>.
701
- </p>
702
- <p>
703
- The behavior of calling a type-specific function with a surface of
704
- the wrong type is undefined.
705
- </p>
706
- <p>
707
- New entries may be added in future versions.</p>
708
- <p>
709
- </p>
710
- <div class="variablelist"><table border="0">
711
- <col align="left" valign="top">
712
- <tbody>
713
- <tr>
714
- <td><p><a name="CAIRO-SURFACE-TYPE-IMAGE--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_IMAGE</code></span></p></td>
715
- <td> The surface is of type image
716
- </td>
717
- </tr>
718
- <tr>
719
- <td><p><a name="CAIRO-SURFACE-TYPE-PDF--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_PDF</code></span></p></td>
720
- <td> The surface is of type pdf
721
- </td>
722
- </tr>
723
- <tr>
724
- <td><p><a name="CAIRO-SURFACE-TYPE-PS--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_PS</code></span></p></td>
725
- <td> The surface is of type ps
726
- </td>
727
- </tr>
728
- <tr>
729
- <td><p><a name="CAIRO-SURFACE-TYPE-XLIB--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_XLIB</code></span></p></td>
730
- <td> The surface is of type xlib
731
- </td>
732
- </tr>
733
- <tr>
734
- <td><p><a name="CAIRO-SURFACE-TYPE-XCB--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_XCB</code></span></p></td>
735
- <td> The surface is of type xcb
736
- </td>
737
- </tr>
738
- <tr>
739
- <td><p><a name="CAIRO-SURFACE-TYPE-GLITZ--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_GLITZ</code></span></p></td>
740
- <td> The surface is of type glitz
741
- </td>
742
- </tr>
743
- <tr>
744
- <td><p><a name="CAIRO-SURFACE-TYPE-QUARTZ--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_QUARTZ</code></span></p></td>
745
- <td> The surface is of type quartz
746
- </td>
747
- </tr>
748
- <tr>
749
- <td><p><a name="CAIRO-SURFACE-TYPE-WIN32--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_WIN32</code></span></p></td>
750
- <td> The surface is of type win32
751
- </td>
752
- </tr>
753
- <tr>
754
- <td><p><a name="CAIRO-SURFACE-TYPE-BEOS--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_BEOS</code></span></p></td>
755
- <td> The surface is of type beos
756
- </td>
757
- </tr>
758
- <tr>
759
- <td><p><a name="CAIRO-SURFACE-TYPE-DIRECTFB--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_DIRECTFB</code></span></p></td>
760
- <td> The surface is of type directfb
761
- </td>
762
- </tr>
763
- <tr>
764
- <td><p><a name="CAIRO-SURFACE-TYPE-SVG--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_SVG</code></span></p></td>
765
- <td> The surface is of type svg
766
- </td>
767
- </tr>
768
- <tr>
769
- <td><p><a name="CAIRO-SURFACE-TYPE-OS2--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_OS2</code></span></p></td>
770
- <td> The surface is of type os2
771
- </td>
772
- </tr>
773
- <tr>
774
- <td><p><a name="CAIRO-SURFACE-TYPE-WIN32-PRINTING--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_WIN32_PRINTING</code></span></p></td>
775
- <td> The surface is a win32 printing surface
776
- </td>
777
- </tr>
778
- <tr>
779
- <td><p><a name="CAIRO-SURFACE-TYPE-QUARTZ-IMAGE--CAPS"></a><span class="term"><code class="literal">CAIRO_SURFACE_TYPE_QUARTZ_IMAGE</code></span></p></td>
780
- <td> The surface is of type quartz_image
781
- </td>
782
- </tr>
783
- </tbody>
784
- </table></div>
785
- <p class="since">Since 1.2</p>
786
- </div>
787
- <hr>
788
- <div class="refsect2" title="cairo_surface_get_type ()">
789
- <a name="cairo-surface-get-type"></a><h3>cairo_surface_get_type ()</h3>
790
- <pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-type-t" title="enum cairo_surface_type_t">cairo_surface_type_t</a> cairo_surface_get_type (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
791
- <p>
792
- This function returns the type of the backend used to create
793
- a surface. See <a class="link" href="cairo-surface.html#cairo-surface-type-t" title="enum cairo_surface_type_t"><span class="type">cairo_surface_type_t</span></a> for available types.</p>
794
- <p>
795
- </p>
796
- <div class="variablelist"><table border="0">
797
- <col align="left" valign="top">
798
- <tbody>
799
- <tr>
800
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
801
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
802
- </td>
803
- </tr>
804
- <tr>
805
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
806
- <td> The type of <em class="parameter"><code>surface</code></em>.
807
-
808
- </td>
809
- </tr>
810
- </tbody>
811
- </table></div>
812
- <p class="since">Since 1.2</p>
813
- </div>
814
- <hr>
815
- <div class="refsect2" title="cairo_surface_get_reference_count ()">
816
- <a name="cairo-surface-get-reference-count"></a><h3>cairo_surface_get_reference_count ()</h3>
817
- <pre class="programlisting">unsigned int cairo_surface_get_reference_count (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
818
- <p>
819
- Returns the current reference count of <em class="parameter"><code>surface</code></em>.</p>
820
- <p>
821
- </p>
822
- <div class="variablelist"><table border="0">
823
- <col align="left" valign="top">
824
- <tbody>
825
- <tr>
826
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
827
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
828
- </td>
829
- </tr>
830
- <tr>
831
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
832
- <td> the current reference count of <em class="parameter"><code>surface</code></em>. If the
833
- object is a nil object, 0 will be returned.
834
-
835
- </td>
836
- </tr>
837
- </tbody>
838
- </table></div>
839
- <p class="since">Since 1.4</p>
840
- </div>
841
- <hr>
842
- <div class="refsect2" title="cairo_surface_set_user_data ()">
843
- <a name="cairo-surface-set-user-data"></a><h3>cairo_surface_set_user_data ()</h3>
844
- <pre class="programlisting"><a class="link" href="cairo-error-status.html#cairo-status-t" title="enum cairo_status_t">cairo_status_t</a> cairo_surface_set_user_data (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
845
- const <a class="link" href="cairo-types.html#cairo-user-data-key-t" title="cairo_user_data_key_t">cairo_user_data_key_t</a> *key,
846
- void *user_data,
847
- <a class="link" href="cairo-types.html#cairo-destroy-func-t" title="cairo_destroy_func_t ()">cairo_destroy_func_t</a> destroy);</pre>
848
- <p>
849
- Attach user data to <em class="parameter"><code>surface</code></em>. To remove user data from a surface,
850
- call this function with the key that was used to set it and <code class="literal">NULL</code>
851
- for <em class="parameter"><code>data</code></em>.</p>
852
- <p>
853
- </p>
854
- <div class="variablelist"><table border="0">
855
- <col align="left" valign="top">
856
- <tbody>
857
- <tr>
858
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
859
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
860
- </td>
861
- </tr>
862
- <tr>
863
- <td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
864
- <td> the address of a <a class="link" href="cairo-types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> to attach the user data to
865
- </td>
866
- </tr>
867
- <tr>
868
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
869
- <td> the user data to attach to the surface
870
- </td>
871
- </tr>
872
- <tr>
873
- <td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
874
- <td> a <a class="link" href="cairo-types.html#cairo-destroy-func-t" title="cairo_destroy_func_t ()"><span class="type">cairo_destroy_func_t</span></a> which will be called when the
875
- surface is destroyed or when new user data is attached using the
876
- same key.
877
- </td>
878
- </tr>
879
- <tr>
880
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
881
- <td> <a class="link" href="cairo-error-status.html#CAIRO-STATUS-SUCCESS--CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> or <a class="link" href="cairo-error-status.html#CAIRO-STATUS-NO-MEMORY--CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a> if a
882
- slot could not be allocated for the user data.
883
- </td>
884
- </tr>
885
- </tbody>
886
- </table></div>
887
- </div>
888
- <hr>
889
- <div class="refsect2" title="cairo_surface_get_user_data ()">
890
- <a name="cairo-surface-get-user-data"></a><h3>cairo_surface_get_user_data ()</h3>
891
- <pre class="programlisting">void * cairo_surface_get_user_data (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface,
892
- const <a class="link" href="cairo-types.html#cairo-user-data-key-t" title="cairo_user_data_key_t">cairo_user_data_key_t</a> *key);</pre>
893
- <p>
894
- Return user data previously attached to <em class="parameter"><code>surface</code></em> using the specified
895
- key. If no user data has been attached with the given key this
896
- function returns <code class="literal">NULL</code>.</p>
897
- <p>
898
- </p>
899
- <div class="variablelist"><table border="0">
900
- <col align="left" valign="top">
901
- <tbody>
902
- <tr>
903
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
904
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
905
- </td>
906
- </tr>
907
- <tr>
908
- <td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
909
- <td> the address of the <a class="link" href="cairo-types.html#cairo-user-data-key-t" title="cairo_user_data_key_t"><span class="type">cairo_user_data_key_t</span></a> the user data was
910
- attached to
911
- </td>
912
- </tr>
913
- <tr>
914
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
915
- <td> the user data previously attached or <code class="literal">NULL</code>.
916
- </td>
917
- </tr>
918
- </tbody>
919
- </table></div>
920
- </div>
921
- <hr>
922
- <div class="refsect2" title="cairo_surface_copy_page ()">
923
- <a name="cairo-surface-copy-page"></a><h3>cairo_surface_copy_page ()</h3>
924
- <pre class="programlisting">void cairo_surface_copy_page (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
925
- <p>
926
- Emits the current page for backends that support multiple pages,
927
- but doesn't clear it, so that the contents of the current page will
928
- be retained for the next page. Use <a class="link" href="cairo-surface.html#cairo-surface-show-page" title="cairo_surface_show_page ()"><code class="function">cairo_surface_show_page()</code></a> if you
929
- want to get an empty page after the emission.
930
- </p>
931
- <p>
932
- There is a convenience function for this that takes a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>,
933
- namely <a class="link" href="cairo-context.html#cairo-copy-page" title="cairo_copy_page ()"><code class="function">cairo_copy_page()</code></a>.</p>
934
- <p>
935
- </p>
936
- <div class="variablelist"><table border="0">
937
- <col align="left" valign="top">
938
- <tbody><tr>
939
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
940
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
941
- </td>
942
- </tr></tbody>
943
- </table></div>
944
- <p class="since">Since 1.6</p>
945
- </div>
946
- <hr>
947
- <div class="refsect2" title="cairo_surface_show_page ()">
948
- <a name="cairo-surface-show-page"></a><h3>cairo_surface_show_page ()</h3>
949
- <pre class="programlisting">void cairo_surface_show_page (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
950
- <p>
951
- Emits and clears the current page for backends that support multiple
952
- pages. Use <a class="link" href="cairo-surface.html#cairo-surface-copy-page" title="cairo_surface_copy_page ()"><code class="function">cairo_surface_copy_page()</code></a> if you don't want to clear the page.
953
- </p>
954
- <p>
955
- There is a convenience function for this that takes a <a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a>,
956
- namely <a class="link" href="cairo-context.html#cairo-show-page" title="cairo_show_page ()"><code class="function">cairo_show_page()</code></a>.</p>
957
- <p>
958
- </p>
959
- <div class="variablelist"><table border="0">
960
- <col align="left" valign="top">
961
- <tbody><tr>
962
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
963
- <td> a <span class="type">cairo_Surface_t</span>
964
- </td>
965
- </tr></tbody>
966
- </table></div>
967
- <p class="since">Since 1.6</p>
968
- </div>
969
- <hr>
970
- <div class="refsect2" title="cairo_surface_has_show_text_glyphs ()">
971
- <a name="cairo-surface-has-show-text-glyphs"></a><h3>cairo_surface_has_show_text_glyphs ()</h3>
972
- <pre class="programlisting"><a class="link" href="cairo-types.html#cairo-bool-t" title="cairo_bool_t">cairo_bool_t</a> cairo_surface_has_show_text_glyphs (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
973
- <p>
974
- Returns whether the surface supports
975
- sophisticated <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> operations. That is,
976
- whether it actually uses the provided text and cluster data
977
- to a <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> call.
978
- </p>
979
- <p>
980
- Note: Even if this function returns <code class="literal">FALSE</code>, a
981
- <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> operation targeted at <em class="parameter"><code>surface</code></em> will
982
- still succeed. It just will
983
- act like a <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a> operation. Users can use this
984
- function to avoid computing UTF-8 text and cluster mapping if the
985
- target surface does not use it.</p>
986
- <p>
987
- </p>
988
- <div class="variablelist"><table border="0">
989
- <col align="left" valign="top">
990
- <tbody>
991
- <tr>
992
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
993
- <td> a <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
994
- </td>
995
- </tr>
996
- <tr>
997
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
998
- <td> <code class="literal">TRUE</code> if <em class="parameter"><code>surface</code></em> supports
999
- <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>, <code class="literal">FALSE</code> otherwise
1000
-
1001
- </td>
1002
- </tr>
1003
- </tbody>
1004
- </table></div>
1005
- <p class="since">Since 1.8</p>
1006
- </div>
1007
- </div>
1008
- <div class="refsect1" title="See Also">
1009
- <a name="cairo-surface.see-also"></a><h2>See Also</h2>
1010
- <p>
1011
- </p>
1012
- <div class="itemizedlist"><ul class="itemizedlist" type="disc">
1013
- <li class="listitem">#<a class="link" href="cairo-context.html#cairo-t" title="cairo_t"><code class="function">cairo_t()</code></a>
1014
- </li>
1015
- <li class="listitem">#<a class="link" href="cairo-pattern.html#cairo-pattern-t" title="cairo_pattern_t"><code class="function">cairo_pattern_t()</code></a>
1016
- </li>
1017
- </ul></div>
1018
- <p>
1019
- </p>
1020
- </div>
1021
- </div>
1022
- <div class="footer">
1023
- <hr>
1024
- Generated by GTK-Doc V1.11</div>
1025
- </body>
1026
- </html>