cairo 1.14.0-x64-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 (636) hide show
  1. checksums.yaml +7 -0
  2. data/AUTHORS +7 -0
  3. data/COPYING +59 -0
  4. data/GPL +340 -0
  5. data/Gemfile +5 -0
  6. data/NEWS +429 -0
  7. data/README.rdoc +120 -0
  8. data/Rakefile +620 -0
  9. data/ext/cairo/cairo.def +140 -0
  10. data/ext/cairo/depend +3 -0
  11. data/ext/cairo/extconf.rb +202 -0
  12. data/ext/cairo/rb_cairo.c +111 -0
  13. data/ext/cairo/rb_cairo.h +348 -0
  14. data/ext/cairo/rb_cairo_constants.c +673 -0
  15. data/ext/cairo/rb_cairo_context.c +1741 -0
  16. data/ext/cairo/rb_cairo_device.c +475 -0
  17. data/ext/cairo/rb_cairo_exception.c +446 -0
  18. data/ext/cairo/rb_cairo_font_extents.c +200 -0
  19. data/ext/cairo/rb_cairo_font_face.c +726 -0
  20. data/ext/cairo/rb_cairo_font_options.c +197 -0
  21. data/ext/cairo/rb_cairo_glyph.c +161 -0
  22. data/ext/cairo/rb_cairo_io.c +166 -0
  23. data/ext/cairo/rb_cairo_io.h +44 -0
  24. data/ext/cairo/rb_cairo_matrix.c +366 -0
  25. data/ext/cairo/rb_cairo_path.c +459 -0
  26. data/ext/cairo/rb_cairo_pattern.c +1192 -0
  27. data/ext/cairo/rb_cairo_private.c +255 -0
  28. data/ext/cairo/rb_cairo_private.h +129 -0
  29. data/ext/cairo/rb_cairo_rectangle.c +83 -0
  30. data/ext/cairo/rb_cairo_region.c +385 -0
  31. data/ext/cairo/rb_cairo_scaled_font.c +235 -0
  32. data/ext/cairo/rb_cairo_surface.c +2284 -0
  33. data/ext/cairo/rb_cairo_text_cluster.c +151 -0
  34. data/ext/cairo/rb_cairo_text_extents.c +221 -0
  35. data/lib/2.0/cairo.so +0 -0
  36. data/lib/2.1/cairo.so +0 -0
  37. data/lib/2.2/cairo.so +0 -0
  38. data/lib/cairo.rb +154 -0
  39. data/lib/cairo/color.rb +267 -0
  40. data/lib/cairo/colors.rb +656 -0
  41. data/lib/cairo/constants.rb +24 -0
  42. data/lib/cairo/context.rb +29 -0
  43. data/lib/cairo/context/blur.rb +45 -0
  44. data/lib/cairo/context/circle.rb +9 -0
  45. data/lib/cairo/context/color.rb +11 -0
  46. data/lib/cairo/context/path.rb +117 -0
  47. data/lib/cairo/context/rectangle.rb +33 -0
  48. data/lib/cairo/context/triangle.rb +12 -0
  49. data/lib/cairo/device.rb +13 -0
  50. data/lib/cairo/paper.rb +183 -0
  51. data/lib/cairo/papers.rb +65 -0
  52. data/lib/cairo/path.rb +15 -0
  53. data/lib/cairo/pattern.rb +12 -0
  54. data/lib/cairo/point.rb +7 -0
  55. data/lib/cairo/surface.rb +13 -0
  56. data/samples/agg/aa_test.rb +304 -0
  57. data/samples/blur.rb +46 -0
  58. data/samples/pac-nomralize.rb +170 -0
  59. data/samples/pac-tee.rb +170 -0
  60. data/samples/pac.rb +98 -0
  61. data/samples/png.rb +44 -0
  62. data/samples/scalable.rb +55 -0
  63. data/samples/text-on-path.rb +59 -0
  64. data/samples/text2.rb +130 -0
  65. data/test/cairo-test-utils.rb +44 -0
  66. data/test/run-test.rb +29 -0
  67. data/test/test_color.rb +17 -0
  68. data/test/test_constants.rb +27 -0
  69. data/test/test_context.rb +105 -0
  70. data/test/test_exception.rb +36 -0
  71. data/test/test_font_extents.rb +36 -0
  72. data/test/test_font_face.rb +257 -0
  73. data/test/test_font_options.rb +13 -0
  74. data/test/test_image_surface.rb +28 -0
  75. data/test/test_paper.rb +81 -0
  76. data/test/test_quartz_image_surface.rb +13 -0
  77. data/test/test_raster_source_pattern.rb +162 -0
  78. data/test/test_recording_surface.rb +19 -0
  79. data/test/test_region.rb +102 -0
  80. data/test/test_scaled_font.rb +34 -0
  81. data/test/test_script_device.rb +46 -0
  82. data/test/test_script_surface.rb +13 -0
  83. data/test/test_surface.rb +61 -0
  84. data/test/test_tee_surface.rb +32 -0
  85. data/test/test_text_cluster.rb +32 -0
  86. data/test/test_text_extents.rb +40 -0
  87. data/test/test_text_to_glyphs_data.rb +51 -0
  88. data/test/test_xml_device.rb +22 -0
  89. data/test/test_xml_surface.rb +34 -0
  90. data/vendor/local/bin/fc-cache.exe +0 -0
  91. data/vendor/local/bin/fc-cat.exe +0 -0
  92. data/vendor/local/bin/fc-list.exe +0 -0
  93. data/vendor/local/bin/fc-match.exe +0 -0
  94. data/vendor/local/bin/fc-pattern.exe +0 -0
  95. data/vendor/local/bin/fc-query.exe +0 -0
  96. data/vendor/local/bin/fc-scan.exe +0 -0
  97. data/vendor/local/bin/fc-validate.exe +0 -0
  98. data/vendor/local/bin/freetype-config +163 -0
  99. data/vendor/local/bin/libcairo-2.dll +0 -0
  100. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  101. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  102. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  103. data/vendor/local/bin/libfreetype-6.dll +0 -0
  104. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  105. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  106. data/vendor/local/bin/libpng-config +127 -0
  107. data/vendor/local/bin/libpng16-16.dll +0 -0
  108. data/vendor/local/bin/libpng16-config +127 -0
  109. data/vendor/local/bin/libstdc++-6.dll +0 -0
  110. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  111. data/vendor/local/bin/libxml2-2.dll +0 -0
  112. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  113. data/vendor/local/bin/pngfix.exe +0 -0
  114. data/vendor/local/bin/xml2-config +106 -0
  115. data/vendor/local/bin/xmlcatalog.exe +0 -0
  116. data/vendor/local/bin/xmllint.exe +0 -0
  117. data/vendor/local/bin/zlib1.dll +0 -0
  118. data/vendor/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf +81 -0
  119. data/vendor/local/etc/fonts/conf.d/20-unhint-small-vera.conf +48 -0
  120. data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +546 -0
  121. data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +24 -0
  122. data/vendor/local/etc/fonts/conf.d/40-nonlatin.conf +231 -0
  123. data/vendor/local/etc/fonts/conf.d/45-latin.conf +189 -0
  124. data/vendor/local/etc/fonts/conf.d/49-sansserif.conf +21 -0
  125. data/vendor/local/etc/fonts/conf.d/50-user.conf +15 -0
  126. data/vendor/local/etc/fonts/conf.d/51-local.conf +6 -0
  127. data/vendor/local/etc/fonts/conf.d/60-latin.conf +70 -0
  128. data/vendor/local/etc/fonts/conf.d/65-fonts-persian.conf +419 -0
  129. data/vendor/local/etc/fonts/conf.d/65-nonlatin.conf +196 -0
  130. data/vendor/local/etc/fonts/conf.d/69-unifont.conf +28 -0
  131. data/vendor/local/etc/fonts/conf.d/80-delicious.conf +19 -0
  132. data/vendor/local/etc/fonts/conf.d/90-synthetic.conf +64 -0
  133. data/vendor/local/etc/fonts/conf.d/README +23 -0
  134. data/vendor/local/etc/fonts/fonts.conf +155 -0
  135. data/vendor/local/include/cairo/cairo-deprecated.h +123 -0
  136. data/vendor/local/include/cairo/cairo-features.h +31 -0
  137. data/vendor/local/include/cairo/cairo-ft.h +118 -0
  138. data/vendor/local/include/cairo/cairo-gobject.h +192 -0
  139. data/vendor/local/include/cairo/cairo-pdf.h +94 -0
  140. data/vendor/local/include/cairo/cairo-ps.h +116 -0
  141. data/vendor/local/include/cairo/cairo-script-interpreter.h +124 -0
  142. data/vendor/local/include/cairo/cairo-script.h +98 -0
  143. data/vendor/local/include/cairo/cairo-svg.h +84 -0
  144. data/vendor/local/include/cairo/cairo-version.h +8 -0
  145. data/vendor/local/include/cairo/cairo-win32.h +112 -0
  146. data/vendor/local/include/cairo/cairo.h +3153 -0
  147. data/vendor/local/include/fontconfig/fcfreetype.h +59 -0
  148. data/vendor/local/include/fontconfig/fcprivate.h +124 -0
  149. data/vendor/local/include/fontconfig/fontconfig.h +1010 -0
  150. data/vendor/local/include/freetype2/config/ftconfig.h +706 -0
  151. data/vendor/local/include/freetype2/config/ftheader.h +832 -0
  152. data/vendor/local/include/freetype2/config/ftmodule.h +20 -0
  153. data/vendor/local/include/freetype2/config/ftoption.h +846 -0
  154. data/vendor/local/include/freetype2/config/ftstdlib.h +174 -0
  155. data/vendor/local/include/freetype2/freetype.h +4076 -0
  156. data/vendor/local/include/freetype2/ft2build.h +42 -0
  157. data/vendor/local/include/freetype2/ftadvanc.h +182 -0
  158. data/vendor/local/include/freetype2/ftautoh.h +402 -0
  159. data/vendor/local/include/freetype2/ftbbox.h +102 -0
  160. data/vendor/local/include/freetype2/ftbdf.h +210 -0
  161. data/vendor/local/include/freetype2/ftbitmap.h +227 -0
  162. data/vendor/local/include/freetype2/ftbzip2.h +102 -0
  163. data/vendor/local/include/freetype2/ftcache.h +1057 -0
  164. data/vendor/local/include/freetype2/ftcffdrv.h +254 -0
  165. data/vendor/local/include/freetype2/ftchapters.h +121 -0
  166. data/vendor/local/include/freetype2/ftcid.h +166 -0
  167. data/vendor/local/include/freetype2/fterrdef.h +249 -0
  168. data/vendor/local/include/freetype2/fterrors.h +198 -0
  169. data/vendor/local/include/freetype2/ftgasp.h +128 -0
  170. data/vendor/local/include/freetype2/ftglyph.h +620 -0
  171. data/vendor/local/include/freetype2/ftgxval.h +358 -0
  172. data/vendor/local/include/freetype2/ftgzip.h +149 -0
  173. data/vendor/local/include/freetype2/ftimage.h +1322 -0
  174. data/vendor/local/include/freetype2/ftincrem.h +353 -0
  175. data/vendor/local/include/freetype2/ftlcdfil.h +251 -0
  176. data/vendor/local/include/freetype2/ftlist.h +277 -0
  177. data/vendor/local/include/freetype2/ftlzw.h +99 -0
  178. data/vendor/local/include/freetype2/ftmac.h +274 -0
  179. data/vendor/local/include/freetype2/ftmm.h +377 -0
  180. data/vendor/local/include/freetype2/ftmodapi.h +641 -0
  181. data/vendor/local/include/freetype2/ftmoderr.h +194 -0
  182. data/vendor/local/include/freetype2/ftotval.h +203 -0
  183. data/vendor/local/include/freetype2/ftoutln.h +572 -0
  184. data/vendor/local/include/freetype2/ftpfr.h +172 -0
  185. data/vendor/local/include/freetype2/ftrender.h +238 -0
  186. data/vendor/local/include/freetype2/ftsizes.h +159 -0
  187. data/vendor/local/include/freetype2/ftsnames.h +200 -0
  188. data/vendor/local/include/freetype2/ftstroke.h +751 -0
  189. data/vendor/local/include/freetype2/ftsynth.h +81 -0
  190. data/vendor/local/include/freetype2/ftsystem.h +347 -0
  191. data/vendor/local/include/freetype2/fttrigon.h +350 -0
  192. data/vendor/local/include/freetype2/ftttdrv.h +170 -0
  193. data/vendor/local/include/freetype2/fttypes.h +598 -0
  194. data/vendor/local/include/freetype2/ftwinfnt.h +275 -0
  195. data/vendor/local/include/freetype2/ftxf86.h +83 -0
  196. data/vendor/local/include/freetype2/t1tables.h +662 -0
  197. data/vendor/local/include/freetype2/ttnameid.h +1237 -0
  198. data/vendor/local/include/freetype2/tttables.h +787 -0
  199. data/vendor/local/include/freetype2/tttags.h +111 -0
  200. data/vendor/local/include/freetype2/ttunpat.h +59 -0
  201. data/vendor/local/include/libpng16/png.h +3276 -0
  202. data/vendor/local/include/libpng16/pngconf.h +644 -0
  203. data/vendor/local/include/libpng16/pnglibconf.h +208 -0
  204. data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
  205. data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
  206. data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
  207. data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
  208. data/vendor/local/include/libxml2/libxml/SAX2.h +178 -0
  209. data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
  210. data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
  211. data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
  212. data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
  213. data/vendor/local/include/libxml2/libxml/dict.h +80 -0
  214. data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
  215. data/vendor/local/include/libxml2/libxml/entities.h +151 -0
  216. data/vendor/local/include/libxml2/libxml/globals.h +509 -0
  217. data/vendor/local/include/libxml2/libxml/hash.h +233 -0
  218. data/vendor/local/include/libxml2/libxml/list.h +137 -0
  219. data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
  220. data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
  221. data/vendor/local/include/libxml2/libxml/parser.h +1241 -0
  222. data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
  223. data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
  224. data/vendor/local/include/libxml2/libxml/relaxng.h +217 -0
  225. data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
  226. data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
  227. data/vendor/local/include/libxml2/libxml/threads.h +84 -0
  228. data/vendor/local/include/libxml2/libxml/tree.h +1310 -0
  229. data/vendor/local/include/libxml2/libxml/uri.h +94 -0
  230. data/vendor/local/include/libxml2/libxml/valid.h +458 -0
  231. data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
  232. data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
  233. data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
  234. data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
  235. data/vendor/local/include/libxml2/libxml/xmlerror.h +945 -0
  236. data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
  237. data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
  238. data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
  239. data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
  240. data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
  241. data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
  242. data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
  243. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
  244. data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
  245. data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
  246. data/vendor/local/include/libxml2/libxml/xmlversion.h +489 -0
  247. data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
  248. data/vendor/local/include/libxml2/libxml/xpath.h +557 -0
  249. data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
  250. data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
  251. data/vendor/local/include/pixman-1/pixman-version.h +50 -0
  252. data/vendor/local/include/pixman-1/pixman.h +1111 -0
  253. data/vendor/local/include/png.h +3276 -0
  254. data/vendor/local/include/pngconf.h +644 -0
  255. data/vendor/local/include/pnglibconf.h +208 -0
  256. data/vendor/local/include/zconf.h +511 -0
  257. data/vendor/local/include/zlib.h +1768 -0
  258. data/vendor/local/lib/cmake/libxml2/libxml2-config.cmake +50 -0
  259. data/vendor/local/lib/fontconfig.def +207 -0
  260. data/vendor/local/lib/libcairo-gobject.a +0 -0
  261. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  262. data/vendor/local/lib/libcairo-gobject.la +41 -0
  263. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  264. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  265. data/vendor/local/lib/libcairo-script-interpreter.la +41 -0
  266. data/vendor/local/lib/libcairo.a +0 -0
  267. data/vendor/local/lib/libcairo.dll.a +0 -0
  268. data/vendor/local/lib/libcairo.la +41 -0
  269. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  270. data/vendor/local/lib/libfontconfig.la +41 -0
  271. data/vendor/local/lib/libfreetype.a +0 -0
  272. data/vendor/local/lib/libfreetype.dll.a +0 -0
  273. data/vendor/local/lib/libfreetype.la +41 -0
  274. data/vendor/local/lib/libpixman-1.a +0 -0
  275. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  276. data/vendor/local/lib/libpixman-1.la +41 -0
  277. data/vendor/local/lib/libpng.a +0 -0
  278. data/vendor/local/lib/libpng.dll.a +0 -0
  279. data/vendor/local/lib/libpng.la +41 -0
  280. data/vendor/local/lib/libpng16.a +0 -0
  281. data/vendor/local/lib/libpng16.dll.a +0 -0
  282. data/vendor/local/lib/libpng16.la +41 -0
  283. data/vendor/local/lib/libxml2.a +0 -0
  284. data/vendor/local/lib/libxml2.dll.a +0 -0
  285. data/vendor/local/lib/libxml2.la +41 -0
  286. data/vendor/local/lib/libz.a +0 -0
  287. data/vendor/local/lib/libz.dll.a +0 -0
  288. data/vendor/local/lib/pkgconfig/cairo-fc.pc +12 -0
  289. data/vendor/local/lib/pkgconfig/cairo-ft.pc +12 -0
  290. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +12 -0
  291. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +12 -0
  292. data/vendor/local/lib/pkgconfig/cairo-png.pc +12 -0
  293. data/vendor/local/lib/pkgconfig/cairo-ps.pc +12 -0
  294. data/vendor/local/lib/pkgconfig/cairo-script.pc +12 -0
  295. data/vendor/local/lib/pkgconfig/cairo-svg.pc +12 -0
  296. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +12 -0
  297. data/vendor/local/lib/pkgconfig/cairo-win32.pc +12 -0
  298. data/vendor/local/lib/pkgconfig/cairo.pc +13 -0
  299. data/vendor/local/lib/pkgconfig/fontconfig.pc +18 -0
  300. data/vendor/local/lib/pkgconfig/freetype2.pc +14 -0
  301. data/vendor/local/lib/pkgconfig/libpng.pc +11 -0
  302. data/vendor/local/lib/pkgconfig/libpng16.pc +11 -0
  303. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
  304. data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
  305. data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
  306. data/vendor/local/lib/xml2Conf.sh +8 -0
  307. data/vendor/local/share/aclocal/freetype2.m4 +194 -0
  308. data/vendor/local/share/aclocal/libxml.m4 +188 -0
  309. data/vendor/local/share/doc/libxml2-2.9.2/Copyright +23 -0
  310. data/vendor/local/share/doc/libxml2-2.9.2/examples/testHTML.c +880 -0
  311. data/vendor/local/share/doc/libxml2-2.9.2/examples/testSAX.c +1198 -0
  312. data/vendor/local/share/doc/libxml2-2.9.2/examples/testXPath.c +229 -0
  313. data/vendor/local/share/doc/libxml2-2.9.2/examples/xmllint.c +3801 -0
  314. data/vendor/local/share/doc/libxml2-2.9.2/html/DOM.gif +0 -0
  315. data/vendor/local/share/doc/libxml2-2.9.2/html/FAQ.html +299 -0
  316. data/vendor/local/share/doc/libxml2-2.9.2/html/Libxml2-Logo-180x168.gif +0 -0
  317. data/vendor/local/share/doc/libxml2-2.9.2/html/Libxml2-Logo-90x34.gif +0 -0
  318. data/vendor/local/share/doc/libxml2-2.9.2/html/encoding.html +217 -0
  319. data/vendor/local/share/doc/libxml2-2.9.2/html/examples.xml +751 -0
  320. data/vendor/local/share/doc/libxml2-2.9.2/html/examples.xsl +174 -0
  321. data/vendor/local/share/doc/libxml2-2.9.2/html/html/book1.html +13 -0
  322. data/vendor/local/share/doc/libxml2-2.9.2/html/html/home.png +0 -0
  323. data/vendor/local/share/doc/libxml2-2.9.2/html/html/index.html +13 -0
  324. data/vendor/local/share/doc/libxml2-2.9.2/html/html/left.png +0 -0
  325. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-DOCBparser.html +51 -0
  326. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-HTMLparser.html +184 -0
  327. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-HTMLtree.html +73 -0
  328. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-SAX.html +125 -0
  329. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-SAX2.html +128 -0
  330. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-c14n.html +38 -0
  331. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-catalog.html +142 -0
  332. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-chvalid.html +72 -0
  333. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-debugXML.html +120 -0
  334. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-dict.html +58 -0
  335. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-encoding.html +124 -0
  336. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-entities.html +79 -0
  337. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-globals.html +152 -0
  338. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-hash.html +116 -0
  339. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-lib.html +13 -0
  340. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-list.html +120 -0
  341. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-nanoftp.html +94 -0
  342. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-nanohttp.html +65 -0
  343. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-parser.html +559 -0
  344. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-parserInternals.html +322 -0
  345. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-pattern.html +76 -0
  346. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-relaxng.html +162 -0
  347. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-schemasInternals.html +373 -0
  348. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-schematron.html +81 -0
  349. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-threads.html +72 -0
  350. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-tree.html +990 -0
  351. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-uri.html +73 -0
  352. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-valid.html +289 -0
  353. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xinclude.html +59 -0
  354. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xlink.html +82 -0
  355. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlIO.html +212 -0
  356. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlautomata.html +85 -0
  357. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlerror.html +865 -0
  358. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlexports.html +20 -0
  359. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlmemory.html +107 -0
  360. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlmodule.html +38 -0
  361. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlreader.html +330 -0
  362. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlregexp.html +143 -0
  363. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlsave.html +60 -0
  364. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlschemas.html +185 -0
  365. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlschemastypes.html +123 -0
  366. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlstring.html +108 -0
  367. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlunicode.html +512 -0
  368. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlversion.html +63 -0
  369. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xmlwriter.html +261 -0
  370. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xpath.html +316 -0
  371. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xpathInternals.html +394 -0
  372. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xpointer.html +83 -0
  373. data/vendor/local/share/doc/libxml2-2.9.2/html/html/libxml-xzlib.html +16 -0
  374. data/vendor/local/share/doc/libxml2-2.9.2/html/html/right.png +0 -0
  375. data/vendor/local/share/doc/libxml2-2.9.2/html/html/up.png +0 -0
  376. data/vendor/local/share/doc/libxml2-2.9.2/html/index.html +14 -0
  377. data/vendor/local/share/doc/libxml2-2.9.2/html/io1.c +166 -0
  378. data/vendor/local/share/doc/libxml2-2.9.2/html/io1.res +5 -0
  379. data/vendor/local/share/doc/libxml2-2.9.2/html/io2.c +58 -0
  380. data/vendor/local/share/doc/libxml2-2.9.2/html/io2.res +2 -0
  381. data/vendor/local/share/doc/libxml2-2.9.2/html/libxml.gif +0 -0
  382. data/vendor/local/share/doc/libxml2-2.9.2/html/parse1.c +56 -0
  383. data/vendor/local/share/doc/libxml2-2.9.2/html/parse2.c +72 -0
  384. data/vendor/local/share/doc/libxml2-2.9.2/html/parse3.c +60 -0
  385. data/vendor/local/share/doc/libxml2-2.9.2/html/parse4.c +143 -0
  386. data/vendor/local/share/doc/libxml2-2.9.2/html/reader1.c +107 -0
  387. data/vendor/local/share/doc/libxml2-2.9.2/html/reader1.res +14 -0
  388. data/vendor/local/share/doc/libxml2-2.9.2/html/reader2.c +122 -0
  389. data/vendor/local/share/doc/libxml2-2.9.2/html/reader3.c +120 -0
  390. data/vendor/local/share/doc/libxml2-2.9.2/html/reader3.res +13 -0
  391. data/vendor/local/share/doc/libxml2-2.9.2/html/reader4.c +122 -0
  392. data/vendor/local/share/doc/libxml2-2.9.2/html/reader4.res +3 -0
  393. data/vendor/local/share/doc/libxml2-2.9.2/html/redhat.gif +0 -0
  394. data/vendor/local/share/doc/libxml2-2.9.2/html/smallfootonly.gif +0 -0
  395. data/vendor/local/share/doc/libxml2-2.9.2/html/structure.gif +0 -0
  396. data/vendor/local/share/doc/libxml2-2.9.2/html/test1.xml +1 -0
  397. data/vendor/local/share/doc/libxml2-2.9.2/html/test2.xml +13 -0
  398. data/vendor/local/share/doc/libxml2-2.9.2/html/test3.xml +39 -0
  399. data/vendor/local/share/doc/libxml2-2.9.2/html/testWriter.c +1198 -0
  400. data/vendor/local/share/doc/libxml2-2.9.2/html/tree1.c +94 -0
  401. data/vendor/local/share/doc/libxml2-2.9.2/html/tree1.res +4 -0
  402. data/vendor/local/share/doc/libxml2-2.9.2/html/tree2.c +118 -0
  403. data/vendor/local/share/doc/libxml2-2.9.2/html/tree2.res +18 -0
  404. data/vendor/local/share/doc/libxml2-2.9.2/html/tst.xml +7 -0
  405. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apa.html +8 -0
  406. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apb.html +14 -0
  407. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apc.html +82 -0
  408. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apd.html +76 -0
  409. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ape.html +78 -0
  410. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apf.html +67 -0
  411. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/apg.html +75 -0
  412. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/aph.html +76 -0
  413. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/api.html +4 -0
  414. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s02.html +14 -0
  415. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s03.html +47 -0
  416. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s04.html +54 -0
  417. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s05.html +55 -0
  418. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s06.html +35 -0
  419. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s07.html +30 -0
  420. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s08.html +38 -0
  421. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ar01s09.html +63 -0
  422. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/blank.png +0 -0
  423. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/1.png +0 -0
  424. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/10.png +0 -0
  425. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/2.png +0 -0
  426. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/3.png +0 -0
  427. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/4.png +0 -0
  428. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/5.png +0 -0
  429. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/6.png +0 -0
  430. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/7.png +0 -0
  431. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/8.png +0 -0
  432. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/callouts/9.png +0 -0
  433. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/caution.png +0 -0
  434. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/draft.png +0 -0
  435. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/home.png +0 -0
  436. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/important.png +0 -0
  437. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/next.png +0 -0
  438. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/note.png +0 -0
  439. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/prev.png +0 -0
  440. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/tip.png +0 -0
  441. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/toc-blank.png +0 -0
  442. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/toc-minus.png +0 -0
  443. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/toc-plus.png +0 -0
  444. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/up.png +0 -0
  445. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/images/warning.png +0 -0
  446. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includeaddattribute.c +64 -0
  447. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includeaddkeyword.c +75 -0
  448. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includeconvert.c +73 -0
  449. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includegetattribute.c +72 -0
  450. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includekeyword.c +79 -0
  451. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/includexpath.c +74 -0
  452. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/index.html +14 -0
  453. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/ix01.html +1 -0
  454. data/vendor/local/share/doc/libxml2-2.9.2/html/tutorial/xmltutorial.pdf +1336 -0
  455. data/vendor/local/share/doc/libxml2-2.9.2/html/w3c.png +0 -0
  456. data/vendor/local/share/doc/libxml2-2.9.2/html/writer.xml +2 -0
  457. data/vendor/local/share/doc/libxml2-2.9.2/html/xml.html +5995 -0
  458. data/vendor/local/share/doc/libxml2-2.9.2/html/xpath1.c +250 -0
  459. data/vendor/local/share/doc/libxml2-2.9.2/html/xpath1.res +5 -0
  460. data/vendor/local/share/doc/libxml2-2.9.2/html/xpath2.c +190 -0
  461. data/vendor/local/share/doc/libxml2-2.9.2/html/xpath2.res +30 -0
  462. data/vendor/local/share/fontconfig/conf.avail/10-autohint.conf +14 -0
  463. data/vendor/local/share/fontconfig/conf.avail/10-no-sub-pixel.conf +14 -0
  464. data/vendor/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf +81 -0
  465. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf +14 -0
  466. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf +14 -0
  467. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf +14 -0
  468. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf +14 -0
  469. data/vendor/local/share/fontconfig/conf.avail/10-unhinted.conf +14 -0
  470. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-default.conf +16 -0
  471. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf +16 -0
  472. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-light.conf +16 -0
  473. data/vendor/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf +48 -0
  474. data/vendor/local/share/fontconfig/conf.avail/25-unhint-nonlatin.conf +128 -0
  475. data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +546 -0
  476. data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +24 -0
  477. data/vendor/local/share/fontconfig/conf.avail/40-nonlatin.conf +231 -0
  478. data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +189 -0
  479. data/vendor/local/share/fontconfig/conf.avail/49-sansserif.conf +21 -0
  480. data/vendor/local/share/fontconfig/conf.avail/50-user.conf +15 -0
  481. data/vendor/local/share/fontconfig/conf.avail/51-local.conf +6 -0
  482. data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +70 -0
  483. data/vendor/local/share/fontconfig/conf.avail/65-fonts-persian.conf +419 -0
  484. data/vendor/local/share/fontconfig/conf.avail/65-khmer.conf +16 -0
  485. data/vendor/local/share/fontconfig/conf.avail/65-nonlatin.conf +196 -0
  486. data/vendor/local/share/fontconfig/conf.avail/69-unifont.conf +28 -0
  487. data/vendor/local/share/fontconfig/conf.avail/70-no-bitmaps.conf +12 -0
  488. data/vendor/local/share/fontconfig/conf.avail/70-yes-bitmaps.conf +12 -0
  489. data/vendor/local/share/fontconfig/conf.avail/80-delicious.conf +19 -0
  490. data/vendor/local/share/fontconfig/conf.avail/90-synthetic.conf +64 -0
  491. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +122 -0
  492. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +53 -0
  493. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +123 -0
  494. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +121 -0
  495. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +117 -0
  496. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +75 -0
  497. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +120 -0
  498. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +92 -0
  499. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +93 -0
  500. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +397 -0
  501. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +428 -0
  502. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +452 -0
  503. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +342 -0
  504. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +315 -0
  505. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1194 -0
  506. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +577 -0
  507. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +129 -0
  508. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +197 -0
  509. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +600 -0
  510. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +226 -0
  511. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +810 -0
  512. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +302 -0
  513. data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +360 -0
  514. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +394 -0
  515. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +156 -0
  516. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +677 -0
  517. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +342 -0
  518. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +326 -0
  519. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +280 -0
  520. data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +527 -0
  521. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +535 -0
  522. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +170 -0
  523. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +636 -0
  524. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +380 -0
  525. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +653 -0
  526. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +559 -0
  527. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2231 -0
  528. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +956 -0
  529. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1637 -0
  530. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2695 -0
  531. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +53 -0
  532. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +53 -0
  533. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +44 -0
  534. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +74 -0
  535. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1138 -0
  536. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +747 -0
  537. data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
  538. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +177 -0
  539. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +193 -0
  540. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +179 -0
  541. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +123 -0
  542. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +107 -0
  543. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +128 -0
  544. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +1122 -0
  545. data/vendor/local/share/gtk-doc/html/cairo/index.html +157 -0
  546. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +833 -0
  547. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +73 -0
  548. data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
  549. data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
  550. data/vendor/local/share/gtk-doc/html/cairo/style.css +266 -0
  551. data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
  552. data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
  553. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  554. data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
  555. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  556. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
  557. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
  558. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
  559. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
  560. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
  561. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
  562. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
  563. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
  564. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
  565. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
  566. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
  567. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
  568. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
  569. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
  570. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
  571. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
  572. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
  573. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
  574. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
  575. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
  576. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
  577. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
  578. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
  579. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
  580. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1597 -0
  581. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
  582. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
  583. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
  584. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
  585. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
  586. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
  587. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +953 -0
  588. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
  589. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
  590. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
  591. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
  592. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
  593. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
  594. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
  595. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
  596. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
  597. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
  598. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +292 -0
  599. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
  600. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +542 -0
  601. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
  602. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
  603. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3573 -0
  604. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  605. data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
  606. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  607. data/vendor/local/share/license/cairo/AUTHORS +115 -0
  608. data/vendor/local/share/license/cairo/COPYING +33 -0
  609. data/vendor/local/share/license/cairo/COPYING-LGPL-2.1 +510 -0
  610. data/vendor/local/share/license/cairo/COPYING-MPL-1.1 +470 -0
  611. data/vendor/local/share/license/cairo/README +204 -0
  612. data/vendor/local/share/license/cairo/README.win32 +66 -0
  613. data/vendor/local/share/license/fontconfig/AUTHORS +3 -0
  614. data/vendor/local/share/license/fontconfig/COPYING +28 -0
  615. data/vendor/local/share/license/fontconfig/README +1484 -0
  616. data/vendor/local/share/license/freetype/README +83 -0
  617. data/vendor/local/share/license/freetype/README.git +50 -0
  618. data/vendor/local/share/license/libpng/README +215 -0
  619. data/vendor/local/share/license/libxml2/AUTHORS +5 -0
  620. data/vendor/local/share/license/libxml2/COPYING +23 -0
  621. data/vendor/local/share/license/libxml2/README +39 -0
  622. data/vendor/local/share/license/libxml2/README.tests +39 -0
  623. data/vendor/local/share/license/pixman/AUTHORS +0 -0
  624. data/vendor/local/share/license/pixman/COPYING +42 -0
  625. data/vendor/local/share/license/pixman/README +116 -0
  626. data/vendor/local/share/license/zlib/README +115 -0
  627. data/vendor/local/share/man/man1/freetype-config.1 +108 -0
  628. data/vendor/local/share/man/man1/xml2-config.1 +30 -0
  629. data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
  630. data/vendor/local/share/man/man1/xmllint.1 +647 -0
  631. data/vendor/local/share/man/man3/libpng.3 +6217 -0
  632. data/vendor/local/share/man/man3/libpngpf.3 +18 -0
  633. data/vendor/local/share/man/man3/libxml.3 +71 -0
  634. data/vendor/local/share/man/man5/png.5 +74 -0
  635. data/vendor/local/share/xml/fontconfig/fonts.dtd +233 -0
  636. metadata +774 -0
@@ -0,0 +1,1194 @@
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>Paths</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
+ <link rel="up" href="cairo-drawing.html" title="Drawing">
9
+ <link rel="prev" href="cairo-cairo-t.html" title="cairo_t">
10
+ <link rel="next" href="cairo-cairo-pattern-t.html" title="cairo_pattern_t">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="cairo-cairo-t.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="cairo-drawing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
21
+ <td><a accesskey="n" href="cairo-cairo-pattern-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#cairo-Paths.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#cairo-Paths.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="cairo-Paths"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="cairo-Paths.top_of_page"></a>Paths</span></h2>
34
+ <p>Paths — Creating paths and manipulating path data</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="cairo-Paths.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis"> <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t">cairo_path_t</a>;
41
+ union <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t">cairo_path_data_t</a>;
42
+ enum <a class="link" href="cairo-Paths.html#cairo-path-data-type-t" title="enum cairo_path_data_type_t">cairo_path_data_type_t</a>;
43
+ <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="returnvalue">cairo_path_t</span></a> * <a class="link" href="cairo-Paths.html#cairo-copy-path" title="cairo_copy_path ()">cairo_copy_path</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>);
44
+ <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="returnvalue">cairo_path_t</span></a> * <a class="link" href="cairo-Paths.html#cairo-copy-path-flat" title="cairo_copy_path_flat ()">cairo_copy_path_flat</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>);
45
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-path-destroy" title="cairo_path_destroy ()">cairo_path_destroy</a> (<em class="parameter"><code><a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a> *path</code></em>);
46
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-append-path" title="cairo_append_path ()">cairo_append_path</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>,
47
+ <em class="parameter"><code>const <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a> *path</code></em>);
48
+ <a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a> <a class="link" href="cairo-Paths.html#cairo-has-current-point" title="cairo_has_current_point ()">cairo_has_current_point</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>);
49
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-get-current-point" title="cairo_get_current_point ()">cairo_get_current_point</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> *x</code></em>,
51
+ <em class="parameter"><code><span class="type">double</span> *y</code></em>);
52
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-new-path" title="cairo_new_path ()">cairo_new_path</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>);
53
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-new-sub-path" title="cairo_new_sub_path ()">cairo_new_sub_path</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
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-close-path" title="cairo_close_path ()">cairo_close_path</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>);
55
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-arc" title="cairo_arc ()">cairo_arc</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><span class="type">double</span> xc</code></em>,
57
+ <em class="parameter"><code><span class="type">double</span> yc</code></em>,
58
+ <em class="parameter"><code><span class="type">double</span> radius</code></em>,
59
+ <em class="parameter"><code><span class="type">double</span> angle1</code></em>,
60
+ <em class="parameter"><code><span class="type">double</span> angle2</code></em>);
61
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-arc-negative" title="cairo_arc_negative ()">cairo_arc_negative</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
+ <em class="parameter"><code><span class="type">double</span> xc</code></em>,
63
+ <em class="parameter"><code><span class="type">double</span> yc</code></em>,
64
+ <em class="parameter"><code><span class="type">double</span> radius</code></em>,
65
+ <em class="parameter"><code><span class="type">double</span> angle1</code></em>,
66
+ <em class="parameter"><code><span class="type">double</span> angle2</code></em>);
67
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-curve-to" title="cairo_curve_to ()">cairo_curve_to</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><span class="type">double</span> x1</code></em>,
69
+ <em class="parameter"><code><span class="type">double</span> y1</code></em>,
70
+ <em class="parameter"><code><span class="type">double</span> x2</code></em>,
71
+ <em class="parameter"><code><span class="type">double</span> y2</code></em>,
72
+ <em class="parameter"><code><span class="type">double</span> x3</code></em>,
73
+ <em class="parameter"><code><span class="type">double</span> y3</code></em>);
74
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()">cairo_line_to</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>,
75
+ <em class="parameter"><code><span class="type">double</span> x</code></em>,
76
+ <em class="parameter"><code><span class="type">double</span> y</code></em>);
77
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()">cairo_move_to</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>,
78
+ <em class="parameter"><code><span class="type">double</span> x</code></em>,
79
+ <em class="parameter"><code><span class="type">double</span> y</code></em>);
80
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-rectangle" title="cairo_rectangle ()">cairo_rectangle</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><span class="type">double</span> x</code></em>,
82
+ <em class="parameter"><code><span class="type">double</span> y</code></em>,
83
+ <em class="parameter"><code><span class="type">double</span> width</code></em>,
84
+ <em class="parameter"><code><span class="type">double</span> height</code></em>);
85
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-glyph-path" title="cairo_glyph_path ()">cairo_glyph_path</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>,
86
+ <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>,
87
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);
88
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-text-path" title="cairo_text_path ()">cairo_text_path</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>,
89
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);
90
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-rel-curve-to" title="cairo_rel_curve_to ()">cairo_rel_curve_to</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>,
91
+ <em class="parameter"><code><span class="type">double</span> dx1</code></em>,
92
+ <em class="parameter"><code><span class="type">double</span> dy1</code></em>,
93
+ <em class="parameter"><code><span class="type">double</span> dx2</code></em>,
94
+ <em class="parameter"><code><span class="type">double</span> dy2</code></em>,
95
+ <em class="parameter"><code><span class="type">double</span> dx3</code></em>,
96
+ <em class="parameter"><code><span class="type">double</span> dy3</code></em>);
97
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-rel-line-to" title="cairo_rel_line_to ()">cairo_rel_line_to</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>,
98
+ <em class="parameter"><code><span class="type">double</span> dx</code></em>,
99
+ <em class="parameter"><code><span class="type">double</span> dy</code></em>);
100
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-rel-move-to" title="cairo_rel_move_to ()">cairo_rel_move_to</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>,
101
+ <em class="parameter"><code><span class="type">double</span> dx</code></em>,
102
+ <em class="parameter"><code><span class="type">double</span> dy</code></em>);
103
+ <span class="returnvalue">void</span> <a class="link" href="cairo-Paths.html#cairo-path-extents" title="cairo_path_extents ()">cairo_path_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>,
104
+ <em class="parameter"><code><span class="type">double</span> *x1</code></em>,
105
+ <em class="parameter"><code><span class="type">double</span> *y1</code></em>,
106
+ <em class="parameter"><code><span class="type">double</span> *x2</code></em>,
107
+ <em class="parameter"><code><span class="type">double</span> *y2</code></em>);
108
+ </pre>
109
+ </div>
110
+ <div class="refsect1">
111
+ <a name="cairo-Paths.description"></a><h2>Description</h2>
112
+ <p>
113
+ Paths are the most basic drawing tools and are primarily used to implicitly
114
+ generate simple masks.
115
+ </p>
116
+ </div>
117
+ <div class="refsect1">
118
+ <a name="cairo-Paths.details"></a><h2>Details</h2>
119
+ <div class="refsect2">
120
+ <a name="cairo-path-t"></a><h3>cairo_path_t</h3>
121
+ <pre class="programlisting">typedef struct {
122
+ cairo_status_t status;
123
+ cairo_path_data_t *data;
124
+ int num_data;
125
+ } cairo_path_t;
126
+ </pre>
127
+ <p>
128
+ A data structure for holding a path. This data structure serves as
129
+ the return value for <a class="link" href="cairo-Paths.html#cairo-copy-path" title="cairo_copy_path ()"><code class="function">cairo_copy_path()</code></a> and
130
+ <a class="link" href="cairo-Paths.html#cairo-copy-path-flat" title="cairo_copy_path_flat ()"><code class="function">cairo_copy_path_flat()</code></a> as well the input value for
131
+ <a class="link" href="cairo-Paths.html#cairo-append-path" title="cairo_append_path ()"><code class="function">cairo_append_path()</code></a>.
132
+ </p>
133
+ <p>
134
+ See <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> for hints on how to iterate over the
135
+ actual data within the path.
136
+ </p>
137
+ <p>
138
+ The num_data member gives the number of elements in the data
139
+ array. This number is larger than the number of independent path
140
+ portions (defined in <a class="link" href="cairo-Paths.html#cairo-path-data-type-t" title="enum cairo_path_data_type_t"><span class="type">cairo_path_data_type_t</span></a>), since the data
141
+ includes both headers and coordinates for each portion.
142
+ </p>
143
+ <div class="variablelist"><table border="0">
144
+ <col align="left" valign="top">
145
+ <tbody>
146
+ <tr>
147
+ <td><p><span class="term"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="type">cairo_status_t</span></a> <em class="structfield"><code><a name="cairo-path-t.status"></a>status</code></em>;</span></p></td>
148
+ <td>the current error status</td>
149
+ </tr>
150
+ <tr>
151
+ <td><p><span class="term"><a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> *<em class="structfield"><code><a name="cairo-path-t.data"></a>data</code></em>;</span></p></td>
152
+ <td>the elements in the path</td>
153
+ </tr>
154
+ <tr>
155
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="cairo-path-t.num-data"></a>num_data</code></em>;</span></p></td>
156
+ <td>the number of elements in the data array</td>
157
+ </tr>
158
+ </tbody>
159
+ </table></div>
160
+ <p class="since">Since 1.0</p>
161
+ </div>
162
+ <hr>
163
+ <div class="refsect2">
164
+ <a name="cairo-path-data-t"></a><h3>union cairo_path_data_t</h3>
165
+ <pre class="programlisting">union _cairo_path_data_t {
166
+ struct {
167
+ cairo_path_data_type_t type;
168
+ int length;
169
+ } header;
170
+ struct {
171
+ double x, y;
172
+ } point;
173
+ };
174
+ </pre>
175
+ <p>
176
+ <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> is used to represent the path data inside a
177
+ <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a>.
178
+ </p>
179
+ <p>
180
+ The data structure is designed to try to balance the demands of
181
+ efficiency and ease-of-use. A path is represented as an array of
182
+ <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a>, which is a union of headers and points.
183
+ </p>
184
+ <p>
185
+ Each portion of the path is represented by one or more elements in
186
+ the array, (one header followed by 0 or more points). The length
187
+ value of the header is the number of array elements for the current
188
+ portion including the header, (ie. length == 1 + # of points), and
189
+ where the number of points for each element type is as follows:
190
+ </p>
191
+ <p>
192
+ </p>
193
+ <pre class="programlisting">
194
+ %CAIRO_PATH_MOVE_TO: 1 point
195
+ %CAIRO_PATH_LINE_TO: 1 point
196
+ %CAIRO_PATH_CURVE_TO: 3 points
197
+ %CAIRO_PATH_CLOSE_PATH: 0 points
198
+ </pre>
199
+ <p>
200
+ </p>
201
+ <p>
202
+ The semantics and ordering of the coordinate values are consistent
203
+ with <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a>, <a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()"><code class="function">cairo_line_to()</code></a>, <a class="link" href="cairo-Paths.html#cairo-curve-to" title="cairo_curve_to ()"><code class="function">cairo_curve_to()</code></a>, and
204
+ <a class="link" href="cairo-Paths.html#cairo-close-path" title="cairo_close_path ()"><code class="function">cairo_close_path()</code></a>.
205
+ </p>
206
+ <p>
207
+ Here is sample code for iterating through a <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a>:
208
+ </p>
209
+ <p>
210
+ </p>
211
+ <div class="informalexample"><pre class="programlisting">
212
+ int i;
213
+ cairo_path_t *path;
214
+ cairo_path_data_t *data;
215
+  
216
+ path = cairo_copy_path (cr);
217
+  
218
+ for (i=0; i &lt; path-&gt;num_data; i += path-&gt;data[i].header.length) {
219
+ data = &amp;path-&gt;data[i];
220
+ switch (data-&gt;header.type) {
221
+ case CAIRO_PATH_MOVE_TO:
222
+ do_move_to_things (data[1].point.x, data[1].point.y);
223
+ break;
224
+ case CAIRO_PATH_LINE_TO:
225
+ do_line_to_things (data[1].point.x, data[1].point.y);
226
+ break;
227
+ case CAIRO_PATH_CURVE_TO:
228
+ do_curve_to_things (data[1].point.x, data[1].point.y,
229
+ data[2].point.x, data[2].point.y,
230
+ data[3].point.x, data[3].point.y);
231
+ break;
232
+ case CAIRO_PATH_CLOSE_PATH:
233
+ do_close_path_things ();
234
+ break;
235
+ }
236
+ }
237
+ cairo_path_destroy (path);
238
+ </pre></div>
239
+ <p>
240
+ </p>
241
+ <p>
242
+ As of cairo 1.4, cairo does not mind if there are more elements in
243
+ a portion of the path than needed. Such elements can be used by
244
+ users of the cairo API to hold extra values in the path data
245
+ structure. For this reason, it is recommended that applications
246
+ always use <code class="literal">data-&gt;header.length</code> to
247
+ iterate over the path data, instead of hardcoding the number of
248
+ elements for each element type.
249
+ </p>
250
+ <p class="since">Since 1.0</p>
251
+ </div>
252
+ <hr>
253
+ <div class="refsect2">
254
+ <a name="cairo-path-data-type-t"></a><h3>enum cairo_path_data_type_t</h3>
255
+ <pre class="programlisting">typedef enum {
256
+ CAIRO_PATH_MOVE_TO,
257
+ CAIRO_PATH_LINE_TO,
258
+ CAIRO_PATH_CURVE_TO,
259
+ CAIRO_PATH_CLOSE_PATH
260
+ } cairo_path_data_type_t;
261
+ </pre>
262
+ <p>
263
+ <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> is used to describe the type of one portion
264
+ of a path when represented as a <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a>.
265
+ See <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> for details.
266
+ </p>
267
+ <div class="variablelist"><table border="0">
268
+ <col align="left" valign="top">
269
+ <tbody>
270
+ <tr>
271
+ <td><p><a name="CAIRO-PATH-MOVE-TO:CAPS"></a><span class="term"><code class="literal">CAIRO_PATH_MOVE_TO</code></span></p></td>
272
+ <td>A move-to operation, since 1.0
273
+ </td>
274
+ </tr>
275
+ <tr>
276
+ <td><p><a name="CAIRO-PATH-LINE-TO:CAPS"></a><span class="term"><code class="literal">CAIRO_PATH_LINE_TO</code></span></p></td>
277
+ <td>A line-to operation, since 1.0
278
+ </td>
279
+ </tr>
280
+ <tr>
281
+ <td><p><a name="CAIRO-PATH-CURVE-TO:CAPS"></a><span class="term"><code class="literal">CAIRO_PATH_CURVE_TO</code></span></p></td>
282
+ <td>A curve-to operation, since 1.0
283
+ </td>
284
+ </tr>
285
+ <tr>
286
+ <td><p><a name="CAIRO-PATH-CLOSE-PATH:CAPS"></a><span class="term"><code class="literal">CAIRO_PATH_CLOSE_PATH</code></span></p></td>
287
+ <td>A close-path operation, since 1.0
288
+ </td>
289
+ </tr>
290
+ </tbody>
291
+ </table></div>
292
+ <p class="since">Since 1.0</p>
293
+ </div>
294
+ <hr>
295
+ <div class="refsect2">
296
+ <a name="cairo-copy-path"></a><h3>cairo_copy_path ()</h3>
297
+ <pre class="programlisting"><a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="returnvalue">cairo_path_t</span></a> * cairo_copy_path (<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>
298
+ <p>
299
+ Creates a copy of the current path and returns it to the user as a
300
+ <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a>. See <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> for hints on how to iterate
301
+ over the returned data structure.
302
+ </p>
303
+ <p>
304
+ This function will always return a valid pointer, but the result
305
+ will have no data (<code class="literal">data==<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></code> and
306
+ <code class="literal">num_data==0</code>), if either of the following
307
+ conditions hold:
308
+ </p>
309
+ <p>
310
+ </p>
311
+ <div class="orderedlist"><ol class="orderedlist" type="1">
312
+ <li class="listitem">If there is insufficient memory to copy the path. In this
313
+ case <code class="literal">path-&gt;status</code> will be set to
314
+ <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>.</li>
315
+ <li class="listitem">If <em class="parameter"><code>cr</code></em> is already in an error state. In this case
316
+ <code class="literal">path-&gt;status</code> will contain the same status that
317
+ would be returned by <a class="link" href="cairo-cairo-t.html#cairo-status" title="cairo_status ()"><code class="function">cairo_status()</code></a>.</li>
318
+ </ol></div>
319
+ <p>
320
+ </p>
321
+ <div class="variablelist"><table border="0">
322
+ <col align="left" valign="top">
323
+ <tbody>
324
+ <tr>
325
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
326
+ <td>a cairo context</td>
327
+ </tr>
328
+ <tr>
329
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
330
+ <td>the copy of the current path. The caller owns the
331
+ returned object and should call <a class="link" href="cairo-Paths.html#cairo-path-destroy" title="cairo_path_destroy ()"><code class="function">cairo_path_destroy()</code></a> when finished
332
+ with it.</td>
333
+ </tr>
334
+ </tbody>
335
+ </table></div>
336
+ <p class="since">Since 1.0</p>
337
+ </div>
338
+ <hr>
339
+ <div class="refsect2">
340
+ <a name="cairo-copy-path-flat"></a><h3>cairo_copy_path_flat ()</h3>
341
+ <pre class="programlisting"><a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="returnvalue">cairo_path_t</span></a> * cairo_copy_path_flat (<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>
342
+ <p>
343
+ Gets a flattened copy of the current path and returns it to the
344
+ user as a <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a>. See <a class="link" href="cairo-Paths.html#cairo-path-data-t" title="union cairo_path_data_t"><span class="type">cairo_path_data_t</span></a> for hints on
345
+ how to iterate over the returned data structure.
346
+ </p>
347
+ <p>
348
+ This function is like <a class="link" href="cairo-Paths.html#cairo-copy-path" title="cairo_copy_path ()"><code class="function">cairo_copy_path()</code></a> except that any curves
349
+ in the path will be approximated with piecewise-linear
350
+ approximations, (accurate to within the current tolerance
351
+ value). That is, the result is guaranteed to not have any elements
352
+ of type <a class="link" href="cairo-Paths.html#CAIRO-PATH-CURVE-TO:CAPS"><code class="literal">CAIRO_PATH_CURVE_TO</code></a> which will instead be replaced by a
353
+ series of <a class="link" href="cairo-Paths.html#CAIRO-PATH-LINE-TO:CAPS"><code class="literal">CAIRO_PATH_LINE_TO</code></a> elements.
354
+ </p>
355
+ <p>
356
+ This function will always return a valid pointer, but the result
357
+ will have no data (<code class="literal">data==<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></code> and
358
+ <code class="literal">num_data==0</code>), if either of the following
359
+ conditions hold:
360
+ </p>
361
+ <p>
362
+ </p>
363
+ <div class="orderedlist"><ol class="orderedlist" type="1">
364
+ <li class="listitem">If there is insufficient memory to copy the path. In this
365
+ case <code class="literal">path-&gt;status</code> will be set to
366
+ <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>.</li>
367
+ <li class="listitem">If <em class="parameter"><code>cr</code></em> is already in an error state. In this case
368
+ <code class="literal">path-&gt;status</code> will contain the same status that
369
+ would be returned by <a class="link" href="cairo-cairo-t.html#cairo-status" title="cairo_status ()"><code class="function">cairo_status()</code></a>.</li>
370
+ </ol></div>
371
+ <p>
372
+ </p>
373
+ <div class="variablelist"><table border="0">
374
+ <col align="left" valign="top">
375
+ <tbody>
376
+ <tr>
377
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
378
+ <td>a cairo context</td>
379
+ </tr>
380
+ <tr>
381
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
382
+ <td>the copy of the current path. The caller owns the
383
+ returned object and should call <a class="link" href="cairo-Paths.html#cairo-path-destroy" title="cairo_path_destroy ()"><code class="function">cairo_path_destroy()</code></a> when finished
384
+ with it.</td>
385
+ </tr>
386
+ </tbody>
387
+ </table></div>
388
+ <p class="since">Since 1.0</p>
389
+ </div>
390
+ <hr>
391
+ <div class="refsect2">
392
+ <a name="cairo-path-destroy"></a><h3>cairo_path_destroy ()</h3>
393
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_path_destroy (<em class="parameter"><code><a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a> *path</code></em>);</pre>
394
+ <p>
395
+ Immediately releases all memory associated with <em class="parameter"><code>path</code></em>. After a call
396
+ to <a class="link" href="cairo-Paths.html#cairo-path-destroy" title="cairo_path_destroy ()"><code class="function">cairo_path_destroy()</code></a> the <em class="parameter"><code>path</code></em> pointer is no longer valid and
397
+ should not be used further.
398
+ </p>
399
+ <p>
400
+ Note: <a class="link" href="cairo-Paths.html#cairo-path-destroy" title="cairo_path_destroy ()"><code class="function">cairo_path_destroy()</code></a> should only be called with a
401
+ pointer to a <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a> returned by a cairo function. Any path
402
+ that is created manually (ie. outside of cairo) should be destroyed
403
+ manually as well.
404
+ </p>
405
+ <div class="variablelist"><table border="0">
406
+ <col align="left" valign="top">
407
+ <tbody><tr>
408
+ <td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
409
+ <td>a path previously returned by either <a class="link" href="cairo-Paths.html#cairo-copy-path" title="cairo_copy_path ()"><code class="function">cairo_copy_path()</code></a> or
410
+ <a class="link" href="cairo-Paths.html#cairo-copy-path-flat" title="cairo_copy_path_flat ()"><code class="function">cairo_copy_path_flat()</code></a>.</td>
411
+ </tr></tbody>
412
+ </table></div>
413
+ <p class="since">Since 1.0</p>
414
+ </div>
415
+ <hr>
416
+ <div class="refsect2">
417
+ <a name="cairo-append-path"></a><h3>cairo_append_path ()</h3>
418
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_append_path (<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>,
419
+ <em class="parameter"><code>const <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a> *path</code></em>);</pre>
420
+ <p>
421
+ Append the <em class="parameter"><code>path</code></em> onto the current path. The <em class="parameter"><code>path</code></em> may be either the
422
+ return value from one of <a class="link" href="cairo-Paths.html#cairo-copy-path" title="cairo_copy_path ()"><code class="function">cairo_copy_path()</code></a> or
423
+ <a class="link" href="cairo-Paths.html#cairo-copy-path-flat" title="cairo_copy_path_flat ()"><code class="function">cairo_copy_path_flat()</code></a> or it may be constructed manually. See
424
+ <a class="link" href="cairo-Paths.html#cairo-path-t" title="cairo_path_t"><span class="type">cairo_path_t</span></a> for details on how the path data structure should be
425
+ initialized, and note that <code class="literal">path-&gt;status</code> must be
426
+ initialized to <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a>.
427
+ </p>
428
+ <div class="variablelist"><table border="0">
429
+ <col align="left" valign="top">
430
+ <tbody>
431
+ <tr>
432
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
433
+ <td>a cairo context</td>
434
+ </tr>
435
+ <tr>
436
+ <td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
437
+ <td>path to be appended</td>
438
+ </tr>
439
+ </tbody>
440
+ </table></div>
441
+ <p class="since">Since 1.0</p>
442
+ </div>
443
+ <hr>
444
+ <div class="refsect2">
445
+ <a name="cairo-has-current-point"></a><h3>cairo_has_current_point ()</h3>
446
+ <pre class="programlisting"><a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a> cairo_has_current_point (<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>
447
+ <p>
448
+ Returns whether a current point is defined on the current path.
449
+ See <a class="link" href="cairo-Paths.html#cairo-get-current-point" title="cairo_get_current_point ()"><code class="function">cairo_get_current_point()</code></a> for details on the current point.
450
+ </p>
451
+ <div class="variablelist"><table border="0">
452
+ <col align="left" valign="top">
453
+ <tbody>
454
+ <tr>
455
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
456
+ <td>a cairo context</td>
457
+ </tr>
458
+ <tr>
459
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
460
+ <td>whether a current point is defined.</td>
461
+ </tr>
462
+ </tbody>
463
+ </table></div>
464
+ <p class="since">Since 1.6</p>
465
+ </div>
466
+ <hr>
467
+ <div class="refsect2">
468
+ <a name="cairo-get-current-point"></a><h3>cairo_get_current_point ()</h3>
469
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_get_current_point (<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>,
470
+ <em class="parameter"><code><span class="type">double</span> *x</code></em>,
471
+ <em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
472
+ <p>
473
+ Gets the current point of the current path, which is
474
+ conceptually the final point reached by the path so far.
475
+ </p>
476
+ <p>
477
+ The current point is returned in the user-space coordinate
478
+ system. If there is no defined current point or if <em class="parameter"><code>cr</code></em> is in an
479
+ error status, <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> will both be set to 0.0. It is possible to
480
+ check this in advance with <a class="link" href="cairo-Paths.html#cairo-has-current-point" title="cairo_has_current_point ()"><code class="function">cairo_has_current_point()</code></a>.
481
+ </p>
482
+ <p>
483
+ Most path construction functions alter the current point. See the
484
+ following for details on how they affect the current point:
485
+ <a class="link" href="cairo-Paths.html#cairo-new-path" title="cairo_new_path ()"><code class="function">cairo_new_path()</code></a>, <a class="link" href="cairo-Paths.html#cairo-new-sub-path" title="cairo_new_sub_path ()"><code class="function">cairo_new_sub_path()</code></a>,
486
+ <a class="link" href="cairo-Paths.html#cairo-append-path" title="cairo_append_path ()"><code class="function">cairo_append_path()</code></a>, <a class="link" href="cairo-Paths.html#cairo-close-path" title="cairo_close_path ()"><code class="function">cairo_close_path()</code></a>,
487
+ <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a>, <a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()"><code class="function">cairo_line_to()</code></a>, <a class="link" href="cairo-Paths.html#cairo-curve-to" title="cairo_curve_to ()"><code class="function">cairo_curve_to()</code></a>,
488
+ <a class="link" href="cairo-Paths.html#cairo-rel-move-to" title="cairo_rel_move_to ()"><code class="function">cairo_rel_move_to()</code></a>, <a class="link" href="cairo-Paths.html#cairo-rel-line-to" title="cairo_rel_line_to ()"><code class="function">cairo_rel_line_to()</code></a>, <a class="link" href="cairo-Paths.html#cairo-rel-curve-to" title="cairo_rel_curve_to ()"><code class="function">cairo_rel_curve_to()</code></a>,
489
+ <a class="link" href="cairo-Paths.html#cairo-arc" title="cairo_arc ()"><code class="function">cairo_arc()</code></a>, <a class="link" href="cairo-Paths.html#cairo-arc-negative" title="cairo_arc_negative ()"><code class="function">cairo_arc_negative()</code></a>, <a class="link" href="cairo-Paths.html#cairo-rectangle" title="cairo_rectangle ()"><code class="function">cairo_rectangle()</code></a>,
490
+ <a class="link" href="cairo-Paths.html#cairo-text-path" title="cairo_text_path ()"><code class="function">cairo_text_path()</code></a>, <a class="link" href="cairo-Paths.html#cairo-glyph-path" title="cairo_glyph_path ()"><code class="function">cairo_glyph_path()</code></a>, <code class="function">cairo_stroke_to_path()</code>.
491
+ </p>
492
+ <p>
493
+ Some functions use and alter the current point but do not
494
+ otherwise change current path:
495
+ <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>.
496
+ </p>
497
+ <p>
498
+ Some functions unset the current path and as a result, current point:
499
+ <a class="link" href="cairo-cairo-t.html#cairo-fill" title="cairo_fill ()"><code class="function">cairo_fill()</code></a>, <a class="link" href="cairo-cairo-t.html#cairo-stroke" title="cairo_stroke ()"><code class="function">cairo_stroke()</code></a>.
500
+ </p>
501
+ <div class="variablelist"><table border="0">
502
+ <col align="left" valign="top">
503
+ <tbody>
504
+ <tr>
505
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
506
+ <td>a cairo context</td>
507
+ </tr>
508
+ <tr>
509
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
510
+ <td>return value for X coordinate of the current point</td>
511
+ </tr>
512
+ <tr>
513
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
514
+ <td>return value for Y coordinate of the current point</td>
515
+ </tr>
516
+ </tbody>
517
+ </table></div>
518
+ <p class="since">Since 1.0</p>
519
+ </div>
520
+ <hr>
521
+ <div class="refsect2">
522
+ <a name="cairo-new-path"></a><h3>cairo_new_path ()</h3>
523
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_new_path (<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>
524
+ <p>
525
+ Clears the current path. After this call there will be no path and
526
+ no current point.
527
+ </p>
528
+ <div class="variablelist"><table border="0">
529
+ <col align="left" valign="top">
530
+ <tbody><tr>
531
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
532
+ <td>a cairo context</td>
533
+ </tr></tbody>
534
+ </table></div>
535
+ <p class="since">Since 1.0</p>
536
+ </div>
537
+ <hr>
538
+ <div class="refsect2">
539
+ <a name="cairo-new-sub-path"></a><h3>cairo_new_sub_path ()</h3>
540
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_new_sub_path (<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>
541
+ <p>
542
+ Begin a new sub-path. Note that the existing path is not
543
+ affected. After this call there will be no current point.
544
+ </p>
545
+ <p>
546
+ In many cases, this call is not needed since new sub-paths are
547
+ frequently started with <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a>.
548
+ </p>
549
+ <p>
550
+ A call to <a class="link" href="cairo-Paths.html#cairo-new-sub-path" title="cairo_new_sub_path ()"><code class="function">cairo_new_sub_path()</code></a> is particularly useful when
551
+ beginning a new sub-path with one of the <a class="link" href="cairo-Paths.html#cairo-arc" title="cairo_arc ()"><code class="function">cairo_arc()</code></a> calls. This
552
+ makes things easier as it is no longer necessary to manually
553
+ compute the arc's initial coordinates for a call to
554
+ <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a>.
555
+ </p>
556
+ <div class="variablelist"><table border="0">
557
+ <col align="left" valign="top">
558
+ <tbody><tr>
559
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
560
+ <td>a cairo context</td>
561
+ </tr></tbody>
562
+ </table></div>
563
+ <p class="since">Since 1.2</p>
564
+ </div>
565
+ <hr>
566
+ <div class="refsect2">
567
+ <a name="cairo-close-path"></a><h3>cairo_close_path ()</h3>
568
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_close_path (<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>
569
+ <p>
570
+ Adds a line segment to the path from the current point to the
571
+ beginning of the current sub-path, (the most recent point passed to
572
+ <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a>), and closes this sub-path. After this call the
573
+ current point will be at the joined endpoint of the sub-path.
574
+ </p>
575
+ <p>
576
+ The behavior of <a class="link" href="cairo-Paths.html#cairo-close-path" title="cairo_close_path ()"><code class="function">cairo_close_path()</code></a> is distinct from simply calling
577
+ <a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()"><code class="function">cairo_line_to()</code></a> with the equivalent coordinate in the case of
578
+ stroking. When a closed sub-path is stroked, there are no caps on
579
+ the ends of the sub-path. Instead, there is a line join connecting
580
+ the final and initial segments of the sub-path.
581
+ </p>
582
+ <p>
583
+ If there is no current point before the call to <a class="link" href="cairo-Paths.html#cairo-close-path" title="cairo_close_path ()"><code class="function">cairo_close_path()</code></a>,
584
+ this function will have no effect.
585
+ </p>
586
+ <p>
587
+ Note: As of cairo version 1.2.4 any call to <a class="link" href="cairo-Paths.html#cairo-close-path" title="cairo_close_path ()"><code class="function">cairo_close_path()</code></a> will
588
+ place an explicit MOVE_TO element into the path immediately after
589
+ the CLOSE_PATH element, (which can be seen in <a class="link" href="cairo-Paths.html#cairo-copy-path" title="cairo_copy_path ()"><code class="function">cairo_copy_path()</code></a> for
590
+ example). This can simplify path processing in some cases as it may
591
+ not be necessary to save the "last move_to point" during processing
592
+ as the MOVE_TO immediately after the CLOSE_PATH will provide that
593
+ point.
594
+ </p>
595
+ <div class="variablelist"><table border="0">
596
+ <col align="left" valign="top">
597
+ <tbody><tr>
598
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
599
+ <td>a cairo context</td>
600
+ </tr></tbody>
601
+ </table></div>
602
+ <p class="since">Since 1.0</p>
603
+ </div>
604
+ <hr>
605
+ <div class="refsect2">
606
+ <a name="cairo-arc"></a><h3>cairo_arc ()</h3>
607
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_arc (<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>,
608
+ <em class="parameter"><code><span class="type">double</span> xc</code></em>,
609
+ <em class="parameter"><code><span class="type">double</span> yc</code></em>,
610
+ <em class="parameter"><code><span class="type">double</span> radius</code></em>,
611
+ <em class="parameter"><code><span class="type">double</span> angle1</code></em>,
612
+ <em class="parameter"><code><span class="type">double</span> angle2</code></em>);</pre>
613
+ <p>
614
+ Adds a circular arc of the given <em class="parameter"><code>radius</code></em> to the current path. The
615
+ arc is centered at (<em class="parameter"><code>xc</code></em>, <em class="parameter"><code>yc</code></em>), begins at <em class="parameter"><code>angle1</code></em> and proceeds in
616
+ the direction of increasing angles to end at <em class="parameter"><code>angle2</code></em>. If <em class="parameter"><code>angle2</code></em> is
617
+ less than <em class="parameter"><code>angle1</code></em> it will be progressively increased by
618
+ <code class="literal">2*M_PI</code> until it is greater than <em class="parameter"><code>angle1</code></em>.
619
+ </p>
620
+ <p>
621
+ If there is a current point, an initial line segment will be added
622
+ to the path to connect the current point to the beginning of the
623
+ arc. If this initial line is undesired, it can be avoided by
624
+ calling <a class="link" href="cairo-Paths.html#cairo-new-sub-path" title="cairo_new_sub_path ()"><code class="function">cairo_new_sub_path()</code></a> before calling <a class="link" href="cairo-Paths.html#cairo-arc" title="cairo_arc ()"><code class="function">cairo_arc()</code></a>.
625
+ </p>
626
+ <p>
627
+ Angles are measured in radians. An angle of 0.0 is in the direction
628
+ of the positive X axis (in user space). An angle of
629
+ <code class="literal">M_PI/2.0</code> radians (90 degrees) is in the
630
+ direction of the positive Y axis (in user space). Angles increase
631
+ in the direction from the positive X axis toward the positive Y
632
+ axis. So with the default transformation matrix, angles increase in
633
+ a clockwise direction.
634
+ </p>
635
+ <p>
636
+ (To convert from degrees to radians, use <code class="literal">degrees * (M_PI /
637
+ 180.)</code>.)
638
+ </p>
639
+ <p>
640
+ This function gives the arc in the direction of increasing angles;
641
+ see <a class="link" href="cairo-Paths.html#cairo-arc-negative" title="cairo_arc_negative ()"><code class="function">cairo_arc_negative()</code></a> to get the arc in the direction of
642
+ decreasing angles.
643
+ </p>
644
+ <p>
645
+ The arc is circular in user space. To achieve an elliptical arc,
646
+ you can scale the current transformation matrix by different
647
+ amounts in the X and Y directions. For example, to draw an ellipse
648
+ in the box given by <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>, <em class="parameter"><code>width</code></em>, <em class="parameter"><code>height</code></em>:
649
+ </p>
650
+ <p>
651
+ </p>
652
+ <div class="informalexample"><pre class="programlisting">
653
+ cairo_save (cr);
654
+ cairo_translate (cr, x + width / 2., y + height / 2.);
655
+ cairo_scale (cr, width / 2., height / 2.);
656
+ cairo_arc (cr, 0., 0., 1., 0., 2 * M_PI);
657
+ cairo_restore (cr);
658
+ </pre></div>
659
+ <p>
660
+ </p>
661
+ <div class="variablelist"><table border="0">
662
+ <col align="left" valign="top">
663
+ <tbody>
664
+ <tr>
665
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
666
+ <td>a cairo context</td>
667
+ </tr>
668
+ <tr>
669
+ <td><p><span class="term"><em class="parameter"><code>xc</code></em> :</span></p></td>
670
+ <td>X position of the center of the arc</td>
671
+ </tr>
672
+ <tr>
673
+ <td><p><span class="term"><em class="parameter"><code>yc</code></em> :</span></p></td>
674
+ <td>Y position of the center of the arc</td>
675
+ </tr>
676
+ <tr>
677
+ <td><p><span class="term"><em class="parameter"><code>radius</code></em> :</span></p></td>
678
+ <td>the radius of the arc</td>
679
+ </tr>
680
+ <tr>
681
+ <td><p><span class="term"><em class="parameter"><code>angle1</code></em> :</span></p></td>
682
+ <td>the start angle, in radians</td>
683
+ </tr>
684
+ <tr>
685
+ <td><p><span class="term"><em class="parameter"><code>angle2</code></em> :</span></p></td>
686
+ <td>the end angle, in radians</td>
687
+ </tr>
688
+ </tbody>
689
+ </table></div>
690
+ <p class="since">Since 1.0</p>
691
+ </div>
692
+ <hr>
693
+ <div class="refsect2">
694
+ <a name="cairo-arc-negative"></a><h3>cairo_arc_negative ()</h3>
695
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_arc_negative (<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>,
696
+ <em class="parameter"><code><span class="type">double</span> xc</code></em>,
697
+ <em class="parameter"><code><span class="type">double</span> yc</code></em>,
698
+ <em class="parameter"><code><span class="type">double</span> radius</code></em>,
699
+ <em class="parameter"><code><span class="type">double</span> angle1</code></em>,
700
+ <em class="parameter"><code><span class="type">double</span> angle2</code></em>);</pre>
701
+ <p>
702
+ Adds a circular arc of the given <em class="parameter"><code>radius</code></em> to the current path. The
703
+ arc is centered at (<em class="parameter"><code>xc</code></em>, <em class="parameter"><code>yc</code></em>), begins at <em class="parameter"><code>angle1</code></em> and proceeds in
704
+ the direction of decreasing angles to end at <em class="parameter"><code>angle2</code></em>. If <em class="parameter"><code>angle2</code></em> is
705
+ greater than <em class="parameter"><code>angle1</code></em> it will be progressively decreased by
706
+ <code class="literal">2*M_PI</code> until it is less than <em class="parameter"><code>angle1</code></em>.
707
+ </p>
708
+ <p>
709
+ See <a class="link" href="cairo-Paths.html#cairo-arc" title="cairo_arc ()"><code class="function">cairo_arc()</code></a> for more details. This function differs only in the
710
+ direction of the arc between the two angles.
711
+ </p>
712
+ <div class="variablelist"><table border="0">
713
+ <col align="left" valign="top">
714
+ <tbody>
715
+ <tr>
716
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
717
+ <td>a cairo context</td>
718
+ </tr>
719
+ <tr>
720
+ <td><p><span class="term"><em class="parameter"><code>xc</code></em> :</span></p></td>
721
+ <td>X position of the center of the arc</td>
722
+ </tr>
723
+ <tr>
724
+ <td><p><span class="term"><em class="parameter"><code>yc</code></em> :</span></p></td>
725
+ <td>Y position of the center of the arc</td>
726
+ </tr>
727
+ <tr>
728
+ <td><p><span class="term"><em class="parameter"><code>radius</code></em> :</span></p></td>
729
+ <td>the radius of the arc</td>
730
+ </tr>
731
+ <tr>
732
+ <td><p><span class="term"><em class="parameter"><code>angle1</code></em> :</span></p></td>
733
+ <td>the start angle, in radians</td>
734
+ </tr>
735
+ <tr>
736
+ <td><p><span class="term"><em class="parameter"><code>angle2</code></em> :</span></p></td>
737
+ <td>the end angle, in radians</td>
738
+ </tr>
739
+ </tbody>
740
+ </table></div>
741
+ <p class="since">Since 1.0</p>
742
+ </div>
743
+ <hr>
744
+ <div class="refsect2">
745
+ <a name="cairo-curve-to"></a><h3>cairo_curve_to ()</h3>
746
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_curve_to (<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>,
747
+ <em class="parameter"><code><span class="type">double</span> x1</code></em>,
748
+ <em class="parameter"><code><span class="type">double</span> y1</code></em>,
749
+ <em class="parameter"><code><span class="type">double</span> x2</code></em>,
750
+ <em class="parameter"><code><span class="type">double</span> y2</code></em>,
751
+ <em class="parameter"><code><span class="type">double</span> x3</code></em>,
752
+ <em class="parameter"><code><span class="type">double</span> y3</code></em>);</pre>
753
+ <p>
754
+ Adds a cubic Bézier spline to the path from the current point to
755
+ position (<em class="parameter"><code>x3</code></em>, <em class="parameter"><code>y3</code></em>) in user-space coordinates, using (<em class="parameter"><code>x1</code></em>, <em class="parameter"><code>y1</code></em>) and
756
+ (<em class="parameter"><code>x2</code></em>, <em class="parameter"><code>y2</code></em>) as the control points. After this call the current point
757
+ will be (<em class="parameter"><code>x3</code></em>, <em class="parameter"><code>y3</code></em>).
758
+ </p>
759
+ <p>
760
+ If there is no current point before the call to <a class="link" href="cairo-Paths.html#cairo-curve-to" title="cairo_curve_to ()"><code class="function">cairo_curve_to()</code></a>
761
+ this function will behave as if preceded by a call to
762
+ cairo_move_to(<em class="parameter"><code>cr</code></em>, <em class="parameter"><code>x1</code></em>, <em class="parameter"><code>y1</code></em>).
763
+ </p>
764
+ <div class="variablelist"><table border="0">
765
+ <col align="left" valign="top">
766
+ <tbody>
767
+ <tr>
768
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
769
+ <td>a cairo context</td>
770
+ </tr>
771
+ <tr>
772
+ <td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
773
+ <td>the X coordinate of the first control point</td>
774
+ </tr>
775
+ <tr>
776
+ <td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
777
+ <td>the Y coordinate of the first control point</td>
778
+ </tr>
779
+ <tr>
780
+ <td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
781
+ <td>the X coordinate of the second control point</td>
782
+ </tr>
783
+ <tr>
784
+ <td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
785
+ <td>the Y coordinate of the second control point</td>
786
+ </tr>
787
+ <tr>
788
+ <td><p><span class="term"><em class="parameter"><code>x3</code></em> :</span></p></td>
789
+ <td>the X coordinate of the end of the curve</td>
790
+ </tr>
791
+ <tr>
792
+ <td><p><span class="term"><em class="parameter"><code>y3</code></em> :</span></p></td>
793
+ <td>the Y coordinate of the end of the curve</td>
794
+ </tr>
795
+ </tbody>
796
+ </table></div>
797
+ <p class="since">Since 1.0</p>
798
+ </div>
799
+ <hr>
800
+ <div class="refsect2">
801
+ <a name="cairo-line-to"></a><h3>cairo_line_to ()</h3>
802
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_line_to (<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>,
803
+ <em class="parameter"><code><span class="type">double</span> x</code></em>,
804
+ <em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
805
+ <p>
806
+ Adds a line to the path from the current point to position (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>)
807
+ in user-space coordinates. After this call the current point
808
+ will be (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).
809
+ </p>
810
+ <p>
811
+ If there is no current point before the call to <a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()"><code class="function">cairo_line_to()</code></a>
812
+ this function will behave as cairo_move_to(<em class="parameter"><code>cr</code></em>, <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).
813
+ </p>
814
+ <div class="variablelist"><table border="0">
815
+ <col align="left" valign="top">
816
+ <tbody>
817
+ <tr>
818
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
819
+ <td>a cairo context</td>
820
+ </tr>
821
+ <tr>
822
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
823
+ <td>the X coordinate of the end of the new line</td>
824
+ </tr>
825
+ <tr>
826
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
827
+ <td>the Y coordinate of the end of the new line</td>
828
+ </tr>
829
+ </tbody>
830
+ </table></div>
831
+ <p class="since">Since 1.0</p>
832
+ </div>
833
+ <hr>
834
+ <div class="refsect2">
835
+ <a name="cairo-move-to"></a><h3>cairo_move_to ()</h3>
836
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_move_to (<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>,
837
+ <em class="parameter"><code><span class="type">double</span> x</code></em>,
838
+ <em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
839
+ <p>
840
+ Begin a new sub-path. After this call the current point will be (<em class="parameter"><code>x</code></em>,
841
+ <em class="parameter"><code>y</code></em>).
842
+ </p>
843
+ <div class="variablelist"><table border="0">
844
+ <col align="left" valign="top">
845
+ <tbody>
846
+ <tr>
847
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
848
+ <td>a cairo context</td>
849
+ </tr>
850
+ <tr>
851
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
852
+ <td>the X coordinate of the new position</td>
853
+ </tr>
854
+ <tr>
855
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
856
+ <td>the Y coordinate of the new position</td>
857
+ </tr>
858
+ </tbody>
859
+ </table></div>
860
+ <p class="since">Since 1.0</p>
861
+ </div>
862
+ <hr>
863
+ <div class="refsect2">
864
+ <a name="cairo-rectangle"></a><h3>cairo_rectangle ()</h3>
865
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_rectangle (<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>,
866
+ <em class="parameter"><code><span class="type">double</span> x</code></em>,
867
+ <em class="parameter"><code><span class="type">double</span> y</code></em>,
868
+ <em class="parameter"><code><span class="type">double</span> width</code></em>,
869
+ <em class="parameter"><code><span class="type">double</span> height</code></em>);</pre>
870
+ <p>
871
+ Adds a closed sub-path rectangle of the given size to the current
872
+ path at position (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) in user-space coordinates.
873
+ </p>
874
+ <p>
875
+ This function is logically equivalent to:
876
+ </p>
877
+ <div class="informalexample"><pre class="programlisting">
878
+ cairo_move_to (cr, x, y);
879
+ cairo_rel_line_to (cr, width, 0);
880
+ cairo_rel_line_to (cr, 0, height);
881
+ cairo_rel_line_to (cr, -width, 0);
882
+ cairo_close_path (cr);
883
+ </pre></div>
884
+ <p>
885
+ </p>
886
+ <div class="variablelist"><table border="0">
887
+ <col align="left" valign="top">
888
+ <tbody>
889
+ <tr>
890
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
891
+ <td>a cairo context</td>
892
+ </tr>
893
+ <tr>
894
+ <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
895
+ <td>the X coordinate of the top left corner of the rectangle</td>
896
+ </tr>
897
+ <tr>
898
+ <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
899
+ <td>the Y coordinate to the top left corner of the rectangle</td>
900
+ </tr>
901
+ <tr>
902
+ <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
903
+ <td>the width of the rectangle</td>
904
+ </tr>
905
+ <tr>
906
+ <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
907
+ <td>the height of the rectangle</td>
908
+ </tr>
909
+ </tbody>
910
+ </table></div>
911
+ <p class="since">Since 1.0</p>
912
+ </div>
913
+ <hr>
914
+ <div class="refsect2">
915
+ <a name="cairo-glyph-path"></a><h3>cairo_glyph_path ()</h3>
916
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_glyph_path (<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>,
917
+ <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>,
918
+ <em class="parameter"><code><span class="type">int</span> num_glyphs</code></em>);</pre>
919
+ <p>
920
+ Adds closed paths for the glyphs to the current path. The generated
921
+ path if filled, achieves an effect similar to that of
922
+ <a class="link" href="cairo-text.html#cairo-show-glyphs" title="cairo_show_glyphs ()"><code class="function">cairo_show_glyphs()</code></a>.
923
+ </p>
924
+ <div class="variablelist"><table border="0">
925
+ <col align="left" valign="top">
926
+ <tbody>
927
+ <tr>
928
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
929
+ <td>a cairo context</td>
930
+ </tr>
931
+ <tr>
932
+ <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
933
+ <td>array of glyphs to show</td>
934
+ </tr>
935
+ <tr>
936
+ <td><p><span class="term"><em class="parameter"><code>num_glyphs</code></em> :</span></p></td>
937
+ <td>number of glyphs to show</td>
938
+ </tr>
939
+ </tbody>
940
+ </table></div>
941
+ <p class="since">Since 1.0</p>
942
+ </div>
943
+ <hr>
944
+ <div class="refsect2">
945
+ <a name="cairo-text-path"></a><h3>cairo_text_path ()</h3>
946
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_text_path (<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>,
947
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);</pre>
948
+ <p>
949
+ Adds closed paths for text to the current path. The generated
950
+ path if filled, achieves an effect similar to that of
951
+ <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>.
952
+ </p>
953
+ <p>
954
+ Text conversion and positioning is done similar to <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>.
955
+ </p>
956
+ <p>
957
+ Like <a class="link" href="cairo-text.html#cairo-show-text" title="cairo_show_text ()"><code class="function">cairo_show_text()</code></a>, After this call the current point is
958
+ moved to the origin of where the next glyph would be placed in
959
+ this same progression. That is, the current point will be at
960
+ the origin of the final glyph offset by its advance values.
961
+ This allows for chaining multiple calls to to <a class="link" href="cairo-Paths.html#cairo-text-path" title="cairo_text_path ()"><code class="function">cairo_text_path()</code></a>
962
+ without having to set current point in between.
963
+ </p>
964
+ <p>
965
+ Note: The <a class="link" href="cairo-Paths.html#cairo-text-path" title="cairo_text_path ()"><code class="function">cairo_text_path()</code></a> function call is part of what the cairo
966
+ designers call the "toy" text API. It is convenient for short demos
967
+ and simple programs, but it is not expected to be adequate for
968
+ serious text-using applications. See <a class="link" href="cairo-Paths.html#cairo-glyph-path" title="cairo_glyph_path ()"><code class="function">cairo_glyph_path()</code></a> for the
969
+ "real" text path API in cairo.
970
+ </p>
971
+ <div class="variablelist"><table border="0">
972
+ <col align="left" valign="top">
973
+ <tbody>
974
+ <tr>
975
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
976
+ <td>a cairo context</td>
977
+ </tr>
978
+ <tr>
979
+ <td><p><span class="term"><em class="parameter"><code>utf8</code></em> :</span></p></td>
980
+ <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>
981
+ </td>
982
+ </tr>
983
+ </tbody>
984
+ </table></div>
985
+ <p class="since">Since 1.0</p>
986
+ </div>
987
+ <hr>
988
+ <div class="refsect2">
989
+ <a name="cairo-rel-curve-to"></a><h3>cairo_rel_curve_to ()</h3>
990
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_rel_curve_to (<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>,
991
+ <em class="parameter"><code><span class="type">double</span> dx1</code></em>,
992
+ <em class="parameter"><code><span class="type">double</span> dy1</code></em>,
993
+ <em class="parameter"><code><span class="type">double</span> dx2</code></em>,
994
+ <em class="parameter"><code><span class="type">double</span> dy2</code></em>,
995
+ <em class="parameter"><code><span class="type">double</span> dx3</code></em>,
996
+ <em class="parameter"><code><span class="type">double</span> dy3</code></em>);</pre>
997
+ <p>
998
+ Relative-coordinate version of <a class="link" href="cairo-Paths.html#cairo-curve-to" title="cairo_curve_to ()"><code class="function">cairo_curve_to()</code></a>. All offsets are
999
+ relative to the current point. Adds a cubic Bézier spline to the
1000
+ path from the current point to a point offset from the current
1001
+ point by (<em class="parameter"><code>dx3</code></em>, <em class="parameter"><code>dy3</code></em>), using points offset by (<em class="parameter"><code>dx1</code></em>, <em class="parameter"><code>dy1</code></em>) and
1002
+ (<em class="parameter"><code>dx2</code></em>, <em class="parameter"><code>dy2</code></em>) as the control points. After this call the current
1003
+ point will be offset by (<em class="parameter"><code>dx3</code></em>, <em class="parameter"><code>dy3</code></em>).
1004
+ </p>
1005
+ <p>
1006
+ Given a current point of (x, y), cairo_rel_curve_to(<em class="parameter"><code>cr</code></em>, <em class="parameter"><code>dx1</code></em>,
1007
+ <em class="parameter"><code>dy1</code></em>, <em class="parameter"><code>dx2</code></em>, <em class="parameter"><code>dy2</code></em>, <em class="parameter"><code>dx3</code></em>, <em class="parameter"><code>dy3</code></em>) is logically equivalent to
1008
+ cairo_curve_to(<em class="parameter"><code>cr</code></em>, x+<em class="parameter"><code>dx1</code></em>, y+<em class="parameter"><code>dy1</code></em>, x+<em class="parameter"><code>dx2</code></em>, y+<em class="parameter"><code>dy2</code></em>, x+<em class="parameter"><code>dx3</code></em>, y+<em class="parameter"><code>dy3</code></em>).
1009
+ </p>
1010
+ <p>
1011
+ It is an error to call this function with no current point. Doing
1012
+ so will cause <em class="parameter"><code>cr</code></em> to shutdown with a status of
1013
+ <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-CURRENT-POINT:CAPS"><code class="literal">CAIRO_STATUS_NO_CURRENT_POINT</code></a>.
1014
+ </p>
1015
+ <div class="variablelist"><table border="0">
1016
+ <col align="left" valign="top">
1017
+ <tbody>
1018
+ <tr>
1019
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1020
+ <td>a cairo context</td>
1021
+ </tr>
1022
+ <tr>
1023
+ <td><p><span class="term"><em class="parameter"><code>dx1</code></em> :</span></p></td>
1024
+ <td>the X offset to the first control point</td>
1025
+ </tr>
1026
+ <tr>
1027
+ <td><p><span class="term"><em class="parameter"><code>dy1</code></em> :</span></p></td>
1028
+ <td>the Y offset to the first control point</td>
1029
+ </tr>
1030
+ <tr>
1031
+ <td><p><span class="term"><em class="parameter"><code>dx2</code></em> :</span></p></td>
1032
+ <td>the X offset to the second control point</td>
1033
+ </tr>
1034
+ <tr>
1035
+ <td><p><span class="term"><em class="parameter"><code>dy2</code></em> :</span></p></td>
1036
+ <td>the Y offset to the second control point</td>
1037
+ </tr>
1038
+ <tr>
1039
+ <td><p><span class="term"><em class="parameter"><code>dx3</code></em> :</span></p></td>
1040
+ <td>the X offset to the end of the curve</td>
1041
+ </tr>
1042
+ <tr>
1043
+ <td><p><span class="term"><em class="parameter"><code>dy3</code></em> :</span></p></td>
1044
+ <td>the Y offset to the end of the curve</td>
1045
+ </tr>
1046
+ </tbody>
1047
+ </table></div>
1048
+ <p class="since">Since 1.0</p>
1049
+ </div>
1050
+ <hr>
1051
+ <div class="refsect2">
1052
+ <a name="cairo-rel-line-to"></a><h3>cairo_rel_line_to ()</h3>
1053
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_rel_line_to (<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>,
1054
+ <em class="parameter"><code><span class="type">double</span> dx</code></em>,
1055
+ <em class="parameter"><code><span class="type">double</span> dy</code></em>);</pre>
1056
+ <p>
1057
+ Relative-coordinate version of <a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()"><code class="function">cairo_line_to()</code></a>. Adds a line to the
1058
+ path from the current point to a point that is offset from the
1059
+ current point by (<em class="parameter"><code>dx</code></em>, <em class="parameter"><code>dy</code></em>) in user space. After this call the
1060
+ current point will be offset by (<em class="parameter"><code>dx</code></em>, <em class="parameter"><code>dy</code></em>).
1061
+ </p>
1062
+ <p>
1063
+ Given a current point of (x, y), cairo_rel_line_to(<em class="parameter"><code>cr</code></em>, <em class="parameter"><code>dx</code></em>, <em class="parameter"><code>dy</code></em>)
1064
+ is logically equivalent to cairo_line_to(<em class="parameter"><code>cr</code></em>, x + <em class="parameter"><code>dx</code></em>, y + <em class="parameter"><code>dy</code></em>).
1065
+ </p>
1066
+ <p>
1067
+ It is an error to call this function with no current point. Doing
1068
+ so will cause <em class="parameter"><code>cr</code></em> to shutdown with a status of
1069
+ <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-CURRENT-POINT:CAPS"><code class="literal">CAIRO_STATUS_NO_CURRENT_POINT</code></a>.
1070
+ </p>
1071
+ <div class="variablelist"><table border="0">
1072
+ <col align="left" valign="top">
1073
+ <tbody>
1074
+ <tr>
1075
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1076
+ <td>a cairo context</td>
1077
+ </tr>
1078
+ <tr>
1079
+ <td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
1080
+ <td>the X offset to the end of the new line</td>
1081
+ </tr>
1082
+ <tr>
1083
+ <td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
1084
+ <td>the Y offset to the end of the new line</td>
1085
+ </tr>
1086
+ </tbody>
1087
+ </table></div>
1088
+ <p class="since">Since 1.0</p>
1089
+ </div>
1090
+ <hr>
1091
+ <div class="refsect2">
1092
+ <a name="cairo-rel-move-to"></a><h3>cairo_rel_move_to ()</h3>
1093
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_rel_move_to (<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>,
1094
+ <em class="parameter"><code><span class="type">double</span> dx</code></em>,
1095
+ <em class="parameter"><code><span class="type">double</span> dy</code></em>);</pre>
1096
+ <p>
1097
+ Begin a new sub-path. After this call the current point will offset
1098
+ by (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).
1099
+ </p>
1100
+ <p>
1101
+ Given a current point of (x, y), cairo_rel_move_to(<em class="parameter"><code>cr</code></em>, <em class="parameter"><code>dx</code></em>, <em class="parameter"><code>dy</code></em>)
1102
+ is logically equivalent to cairo_move_to(<em class="parameter"><code>cr</code></em>, x + <em class="parameter"><code>dx</code></em>, y + <em class="parameter"><code>dy</code></em>).
1103
+ </p>
1104
+ <p>
1105
+ It is an error to call this function with no current point. Doing
1106
+ so will cause <em class="parameter"><code>cr</code></em> to shutdown with a status of
1107
+ <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-CURRENT-POINT:CAPS"><code class="literal">CAIRO_STATUS_NO_CURRENT_POINT</code></a>.
1108
+ </p>
1109
+ <div class="variablelist"><table border="0">
1110
+ <col align="left" valign="top">
1111
+ <tbody>
1112
+ <tr>
1113
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1114
+ <td>a cairo context</td>
1115
+ </tr>
1116
+ <tr>
1117
+ <td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
1118
+ <td>the X offset</td>
1119
+ </tr>
1120
+ <tr>
1121
+ <td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
1122
+ <td>the Y offset</td>
1123
+ </tr>
1124
+ </tbody>
1125
+ </table></div>
1126
+ <p class="since">Since 1.0</p>
1127
+ </div>
1128
+ <hr>
1129
+ <div class="refsect2">
1130
+ <a name="cairo-path-extents"></a><h3>cairo_path_extents ()</h3>
1131
+ <pre class="programlisting"><span class="returnvalue">void</span> cairo_path_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>,
1132
+ <em class="parameter"><code><span class="type">double</span> *x1</code></em>,
1133
+ <em class="parameter"><code><span class="type">double</span> *y1</code></em>,
1134
+ <em class="parameter"><code><span class="type">double</span> *x2</code></em>,
1135
+ <em class="parameter"><code><span class="type">double</span> *y2</code></em>);</pre>
1136
+ <p>
1137
+ Computes a bounding box in user-space coordinates covering the
1138
+ points on the current path. If the current path is empty, returns
1139
+ an empty rectangle ((0,0), (0,0)). Stroke parameters, fill rule,
1140
+ surface dimensions and clipping are not taken into account.
1141
+ </p>
1142
+ <p>
1143
+ Contrast with <a class="link" href="cairo-cairo-t.html#cairo-fill-extents" title="cairo_fill_extents ()"><code class="function">cairo_fill_extents()</code></a> and <a class="link" href="cairo-cairo-t.html#cairo-stroke-extents" title="cairo_stroke_extents ()"><code class="function">cairo_stroke_extents()</code></a> which
1144
+ return the extents of only the area that would be "inked" by
1145
+ the corresponding drawing operations.
1146
+ </p>
1147
+ <p>
1148
+ The result of <a class="link" href="cairo-Paths.html#cairo-path-extents" title="cairo_path_extents ()"><code class="function">cairo_path_extents()</code></a> is defined as equivalent to the
1149
+ limit of <a class="link" href="cairo-cairo-t.html#cairo-stroke-extents" title="cairo_stroke_extents ()"><code class="function">cairo_stroke_extents()</code></a> with <a class="link" href="cairo-cairo-t.html#CAIRO-LINE-CAP-ROUND:CAPS"><code class="literal">CAIRO_LINE_CAP_ROUND</code></a> as the
1150
+ line width approaches 0.0, (but never reaching the empty-rectangle
1151
+ returned by <a class="link" href="cairo-cairo-t.html#cairo-stroke-extents" title="cairo_stroke_extents ()"><code class="function">cairo_stroke_extents()</code></a> for a line width of 0.0).
1152
+ </p>
1153
+ <p>
1154
+ Specifically, this means that zero-area sub-paths such as
1155
+ <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a>;<a class="link" href="cairo-Paths.html#cairo-line-to" title="cairo_line_to ()"><code class="function">cairo_line_to()</code></a> segments, (even degenerate cases
1156
+ where the coordinates to both calls are identical), will be
1157
+ considered as contributing to the extents. However, a lone
1158
+ <a class="link" href="cairo-Paths.html#cairo-move-to" title="cairo_move_to ()"><code class="function">cairo_move_to()</code></a> will not contribute to the results of
1159
+ <a class="link" href="cairo-Paths.html#cairo-path-extents" title="cairo_path_extents ()"><code class="function">cairo_path_extents()</code></a>.
1160
+ </p>
1161
+ <div class="variablelist"><table border="0">
1162
+ <col align="left" valign="top">
1163
+ <tbody>
1164
+ <tr>
1165
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1166
+ <td>a cairo context</td>
1167
+ </tr>
1168
+ <tr>
1169
+ <td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
1170
+ <td>left of the resulting extents</td>
1171
+ </tr>
1172
+ <tr>
1173
+ <td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
1174
+ <td>top of the resulting extents</td>
1175
+ </tr>
1176
+ <tr>
1177
+ <td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
1178
+ <td>right of the resulting extents</td>
1179
+ </tr>
1180
+ <tr>
1181
+ <td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
1182
+ <td>bottom of the resulting extents</td>
1183
+ </tr>
1184
+ </tbody>
1185
+ </table></div>
1186
+ <p class="since">Since 1.6</p>
1187
+ </div>
1188
+ </div>
1189
+ </div>
1190
+ <div class="footer">
1191
+ <hr>
1192
+ Generated by GTK-Doc V1.18</div>
1193
+ </body>
1194
+ </html>