cairo 1.15.10-x64-mingw32 → 1.15.11-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +38 -0
  3. data/Rakefile +3 -3
  4. data/ext/cairo/cairo.def +4 -0
  5. data/ext/cairo/rb_cairo.h +8 -1
  6. data/ext/cairo/rb_cairo_constants.c +43 -0
  7. data/ext/cairo/rb_cairo_surface.c +28 -1
  8. data/lib/2.2/cairo.so +0 -0
  9. data/lib/2.3/cairo.so +0 -0
  10. data/lib/2.4/cairo.so +0 -0
  11. data/test/test_pdf_surface.rb +2 -2
  12. data/test/test_recording_surface.rb +5 -1
  13. data/test/test_svg_surface.rb +9 -0
  14. data/vendor/local/bin/fc-cache.exe +0 -0
  15. data/vendor/local/bin/fc-cat.exe +0 -0
  16. data/vendor/local/bin/fc-list.exe +0 -0
  17. data/vendor/local/bin/fc-match.exe +0 -0
  18. data/vendor/local/bin/fc-pattern.exe +0 -0
  19. data/vendor/local/bin/fc-query.exe +0 -0
  20. data/vendor/local/bin/fc-scan.exe +0 -0
  21. data/vendor/local/bin/fc-validate.exe +0 -0
  22. data/vendor/local/bin/libcairo-2.dll +0 -0
  23. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  24. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  25. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  26. data/vendor/local/bin/libfreetype-6.dll +0 -0
  27. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  28. data/vendor/local/bin/libpng-config +1 -1
  29. data/vendor/local/bin/libpng16-16.dll +0 -0
  30. data/vendor/local/bin/libpng16-config +1 -1
  31. data/vendor/local/bin/libxml2-2.dll +0 -0
  32. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  33. data/vendor/local/bin/pngfix.exe +0 -0
  34. data/vendor/local/bin/xml2-config +1 -1
  35. data/vendor/local/bin/xmlcatalog.exe +0 -0
  36. data/vendor/local/bin/xmllint.exe +0 -0
  37. data/vendor/local/bin/zlib1211.dll +0 -0
  38. data/vendor/local/include/cairo/cairo-features.h +1 -0
  39. data/vendor/local/include/cairo/cairo-svg.h +47 -0
  40. data/vendor/local/include/cairo/cairo-version.h +1 -1
  41. data/vendor/local/include/cairo/cairo.h +4 -0
  42. data/vendor/local/include/libpng16/png.h +15 -13
  43. data/vendor/local/include/libpng16/pngconf.h +1 -1
  44. data/vendor/local/include/libpng16/pnglibconf.h +1 -1
  45. data/vendor/local/include/libxml2/libxml/nanoftp.h +1 -1
  46. data/vendor/local/include/libxml2/libxml/threads.h +7 -2
  47. data/vendor/local/include/libxml2/libxml/xmlversion.h +4 -4
  48. data/vendor/local/include/png.h +15 -13
  49. data/vendor/local/include/pngconf.h +1 -1
  50. data/vendor/local/include/pnglibconf.h +1 -1
  51. data/vendor/local/lib/cmake/libxml2/libxml2-config.cmake +2 -2
  52. data/vendor/local/lib/libcairo-gobject.a +0 -0
  53. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  54. data/vendor/local/lib/libcairo-gobject.la +2 -2
  55. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  56. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  57. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  58. data/vendor/local/lib/libcairo.a +0 -0
  59. data/vendor/local/lib/libcairo.dll.a +0 -0
  60. data/vendor/local/lib/libcairo.la +2 -2
  61. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  62. data/vendor/local/lib/libfreetype.a +0 -0
  63. data/vendor/local/lib/libfreetype.dll.a +0 -0
  64. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  65. data/vendor/local/lib/libpng.a +0 -0
  66. data/vendor/local/lib/libpng.dll.a +0 -0
  67. data/vendor/local/lib/libpng.la +2 -2
  68. data/vendor/local/lib/libpng16.a +0 -0
  69. data/vendor/local/lib/libpng16.dll.a +0 -0
  70. data/vendor/local/lib/libpng16.la +2 -2
  71. data/vendor/local/lib/libxml2.a +0 -0
  72. data/vendor/local/lib/libxml2.dll.a +0 -0
  73. data/vendor/local/lib/libxml2.la +1 -1
  74. data/vendor/local/lib/libz.dll.a +0 -0
  75. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  76. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  77. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  78. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  79. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  80. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  81. data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
  82. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  83. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  84. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  85. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  86. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  87. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  88. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +1 -1
  89. data/vendor/local/lib/xml2Conf.sh +1 -1
  90. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/Copyright +0 -0
  91. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/examples/testHTML.c +0 -0
  92. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/examples/testSAX.c +0 -0
  93. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/examples/testXPath.c +0 -0
  94. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/examples/xmllint.c +0 -16
  95. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/DOM.gif +0 -0
  96. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/FAQ.html +0 -0
  97. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/Libxml2-Logo-180x168.gif +0 -0
  98. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/Libxml2-Logo-90x34.gif +0 -0
  99. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/encoding.html +0 -0
  100. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/examples.xml +0 -0
  101. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/examples.xsl +0 -0
  102. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/book1.html +0 -0
  103. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/home.png +0 -0
  104. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/index.html +0 -0
  105. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/left.png +0 -0
  106. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-DOCBparser.html +0 -0
  107. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-HTMLparser.html +0 -0
  108. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-HTMLtree.html +0 -0
  109. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-SAX.html +0 -0
  110. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-SAX2.html +0 -0
  111. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-c14n.html +0 -0
  112. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-catalog.html +0 -0
  113. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-chvalid.html +0 -0
  114. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-debugXML.html +0 -0
  115. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-dict.html +0 -0
  116. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-encoding.html +0 -0
  117. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-entities.html +0 -0
  118. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-globals.html +0 -0
  119. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-hash.html +0 -0
  120. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-lib.html +0 -0
  121. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-list.html +0 -0
  122. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-nanoftp.html +0 -0
  123. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-nanohttp.html +0 -0
  124. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-parser.html +0 -0
  125. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-parserInternals.html +0 -0
  126. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-pattern.html +0 -0
  127. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-relaxng.html +0 -0
  128. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-schemasInternals.html +0 -0
  129. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-schematron.html +0 -0
  130. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-threads.html +0 -0
  131. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-tree.html +0 -0
  132. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-uri.html +0 -0
  133. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-valid.html +0 -0
  134. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xinclude.html +0 -0
  135. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xlink.html +0 -0
  136. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlIO.html +0 -0
  137. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlautomata.html +0 -0
  138. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlerror.html +0 -0
  139. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlexports.html +0 -0
  140. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlmemory.html +0 -0
  141. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlmodule.html +0 -0
  142. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlreader.html +0 -0
  143. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlregexp.html +0 -0
  144. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlsave.html +0 -0
  145. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlschemas.html +0 -0
  146. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlschemastypes.html +0 -0
  147. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlstring.html +0 -0
  148. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlunicode.html +0 -0
  149. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlversion.html +0 -0
  150. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xmlwriter.html +0 -0
  151. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xpath.html +0 -0
  152. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xpathInternals.html +0 -0
  153. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xpointer.html +0 -0
  154. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/libxml-xzlib.html +0 -0
  155. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/right.png +0 -0
  156. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/html/up.png +0 -0
  157. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/index.html +0 -0
  158. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/io1.c +0 -0
  159. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/io1.res +0 -0
  160. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/io2.c +0 -0
  161. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/io2.res +0 -0
  162. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/libxml.gif +0 -0
  163. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/parse1.c +0 -0
  164. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/parse2.c +0 -0
  165. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/parse3.c +0 -0
  166. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/parse4.c +0 -0
  167. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader1.c +0 -0
  168. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader1.res +0 -0
  169. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader2.c +0 -0
  170. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader3.c +0 -0
  171. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader3.res +0 -0
  172. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader4.c +0 -0
  173. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/reader4.res +0 -0
  174. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/redhat.gif +0 -0
  175. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/smallfootonly.gif +0 -0
  176. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/structure.gif +0 -0
  177. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/test1.xml +0 -0
  178. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/test2.xml +0 -0
  179. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/test3.xml +0 -0
  180. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/testWriter.c +0 -0
  181. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tree1.c +0 -0
  182. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tree1.res +0 -0
  183. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tree2.c +0 -0
  184. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tree2.res +0 -0
  185. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tst.xml +0 -0
  186. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/apa.html +0 -0
  187. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/apb.html +0 -0
  188. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/apc.html +0 -0
  189. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/apd.html +0 -0
  190. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ape.html +0 -0
  191. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/apf.html +0 -0
  192. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/apg.html +0 -0
  193. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/aph.html +0 -0
  194. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/api.html +0 -0
  195. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s02.html +0 -0
  196. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s03.html +0 -0
  197. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s04.html +0 -0
  198. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s05.html +0 -0
  199. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s06.html +0 -0
  200. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s07.html +0 -0
  201. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s08.html +0 -0
  202. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ar01s09.html +0 -0
  203. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/blank.png +0 -0
  204. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/1.png +0 -0
  205. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/10.png +0 -0
  206. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/2.png +0 -0
  207. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/3.png +0 -0
  208. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/4.png +0 -0
  209. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/5.png +0 -0
  210. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/6.png +0 -0
  211. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/7.png +0 -0
  212. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/8.png +0 -0
  213. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/callouts/9.png +0 -0
  214. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/caution.png +0 -0
  215. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/draft.png +0 -0
  216. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/home.png +0 -0
  217. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/important.png +0 -0
  218. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/next.png +0 -0
  219. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/note.png +0 -0
  220. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/prev.png +0 -0
  221. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/tip.png +0 -0
  222. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/toc-blank.png +0 -0
  223. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/toc-minus.png +0 -0
  224. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/toc-plus.png +0 -0
  225. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/up.png +0 -0
  226. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/images/warning.png +0 -0
  227. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/includeaddattribute.c +0 -0
  228. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/includeaddkeyword.c +0 -0
  229. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/includeconvert.c +0 -0
  230. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/includegetattribute.c +0 -0
  231. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/includekeyword.c +0 -0
  232. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/includexpath.c +0 -0
  233. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/index.html +0 -0
  234. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/ix01.html +0 -0
  235. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/tutorial/xmltutorial.pdf +0 -0
  236. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/w3c.png +0 -0
  237. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/writer.xml +0 -0
  238. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/xml.html +44 -0
  239. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/xpath1.c +0 -0
  240. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/xpath1.res +0 -0
  241. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/xpath2.c +0 -0
  242. data/vendor/local/share/doc/{libxml2-2.9.6 → libxml2-2.9.7}/html/xpath2.res +0 -0
  243. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +1 -1
  244. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +1 -1
  245. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +1 -1
  246. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +47 -6
  247. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +4 -2
  248. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +3 -3
  249. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +34 -6
  250. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +3 -3
  251. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +10 -10
  252. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +37 -12
  253. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +14 -14
  254. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +1 -1
  255. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +5 -5
  256. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +1 -1
  257. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +1 -1
  258. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +3 -3
  259. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +4 -4
  260. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +31 -31
  262. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +12 -12
  263. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +66 -13
  264. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +8 -8
  265. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +11 -11
  266. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +5 -1
  267. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
  268. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +63 -63
  269. data/vendor/local/share/gtk-doc/html/cairo/index-1.14.html +5 -5
  270. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +52 -54
  271. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +29 -29
  272. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +22 -22
  273. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +33 -33
  274. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +512 -504
  275. data/vendor/local/share/gtk-doc/html/cairo/index.html +1 -1
  276. data/vendor/local/share/license/libpng/README +1 -1
  277. data/vendor/local/share/man/man1/xmlcatalog.1 +16 -6
  278. data/vendor/local/share/man/man3/libpng.3 +23 -14
  279. data/vendor/local/share/man/man3/libpngpf.3 +1 -1
  280. metadata +174 -174
@@ -709,6 +709,50 @@ to the <a href="http://git.gnome.org/browse/libxml2/">GIT</a> code base.</p>
709
709
 
710
710
  <p>Here is the list of public releases:</p>
711
711
 
712
+ <h3>2.9.7: Nov 02 2017</h3>
713
+ <ul>
714
+ <li>Documentation:<br/>
715
+ xmlcatalog: refresh man page wrt. quering system catalog easily (Jan Pokorný)<br/>
716
+ </li>
717
+
718
+ <li>Portability:<br/>
719
+ Fix deprecated Travis compiler flag (Nick Wellnhofer),<br/>
720
+ Add declaration for DllMain (J. Peter Mugaas),<br/>
721
+ Fix preprocessor conditional in threads.h (J. Peter Mugaas),<br/>
722
+ Fix pointer comparison warnings on 64-bit Windows (J. Peter Mugaas),<br/>
723
+ Fix macro redefinition warning (J. Peter Mugaas),<br/>
724
+ Default to native threads on MinGW-w64 (Nick Wellnhofer),<br/>
725
+ Simplify Windows IO functions (Nick Wellnhofer),<br/>
726
+ Fix runtest on Windows (Nick Wellnhofer),<br/>
727
+ socklen_t is always int on Windows (Nick Wellnhofer),<br/>
728
+ Don't redefine socket error codes on Windows (Nick Wellnhofer),<br/>
729
+ Fix pointer/int cast warnings on 64-bit Windows (Nick Wellnhofer),<br/>
730
+ Fix Windows compiler warnings in xmlCanonicPath (Nick Wellnhofer)<br/>
731
+ </li>
732
+
733
+ <li>Bug Fixes:<br/>
734
+ xmlcatalog: restore ability to query system catalog easily (Jan Pokorný),<br/>
735
+ Fix comparison of nodesets to strings (Nick Wellnhofer)<br/>
736
+ </li>
737
+
738
+ <li>Improvements:<br/>
739
+ Add Makefile rules to rebuild HTML man pages (Nick Wellnhofer),<br/>
740
+ Fix mixed decls and code in timsort.h (Nick Wellnhofer),<br/>
741
+ Rework handling of return values in thread tests (Nick Wellnhofer),<br/>
742
+ Fix unused variable warnings in testrecurse (Nick Wellnhofer),<br/>
743
+ Fix -Wimplicit-fallthrough warnings (J. Peter Mugaas),<br/>
744
+ Upgrade timsort.h to latest revision (Nick Wellnhofer),<br/>
745
+ Increase warning level to /W3 under MSVC (Nick Wellnhofer),<br/>
746
+ Fix a couple of warnings in dict.c and threads.c (Nick Wellnhofer),<br/>
747
+ Update .gitignore for Windows (Nick Wellnhofer),<br/>
748
+ Fix unused variable warnings in nanohttp.c (Nick Wellnhofer),<br/>
749
+ Fix the Windows header mess (Nick Wellnhofer),<br/>
750
+ Don't include winsock2.h in xmllint.c (Nick Wellnhofer),<br/>
751
+ Remove generated file python/setup.py from version control (Nick Wellnhofer),<br/>
752
+ Use __linux__ macro in generated code (Nick Wellnhofer)<br/>
753
+ </li>
754
+
755
+ </ul>
712
756
  <h3>v2.9.6: Oct 06 2017</h3>
713
757
  <ul>
714
758
  <li>Portability:<br/>
@@ -204,7 +204,7 @@ to get a human-readable representation of an error message.</p>
204
204
  <tr>
205
205
  <td class="enum_member_name"><p><a name="CAIRO-STATUS-NULL-POINTER:CAPS"></a>CAIRO_STATUS_NULL_POINTER</p></td>
206
206
  <td class="enum_member_description">
207
- <p><code class="literal">NULL</code> pointer (Since 1.0)</p>
207
+ <p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer (Since 1.0)</p>
208
208
  </td>
209
209
  <td class="enum_member_annotations"> </td>
210
210
  </tr>
@@ -339,7 +339,7 @@ FreeType backend font face (see <a class="link" href="cairo-FreeType-Fonts.html#
339
339
  <a name="cairo-ft-scaled-font-lock-face.returns"></a><h4>Returns</h4>
340
340
  <p> The <span class="type">FT_Face</span> object for <em class="parameter"><code>font</code></em>
341
341
  , scaled appropriately,
342
- or <code class="literal">NULL</code> if <em class="parameter"><code>scaled_font</code></em>
342
+ or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>scaled_font</code></em>
343
343
  is in an error state (see
344
344
  <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a>) or there is insufficient memory.</p>
345
345
  </div>
@@ -341,7 +341,7 @@ the data is modified.</p>
341
341
  </div>
342
342
  <div class="refsect3">
343
343
  <a name="cairo-image-surface-get-data.returns"></a><h4>Returns</h4>
344
- <p> a pointer to the image data of this surface or <code class="literal">NULL</code>
344
+ <p> a pointer to the image data of this surface or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
345
345
  if <em class="parameter"><code>surface</code></em>
346
346
  is not an image surface, or if <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a>
347
347
  has been called.</p>
@@ -159,19 +159,60 @@ PDF files and is a multi-page vector surface backend.</p>
159
159
  <p>The following mime types are supported: <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JPEG:CAPS" title="CAIRO_MIME_TYPE_JPEG"><code class="literal">CAIRO_MIME_TYPE_JPEG</code></a>,
160
160
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JP2:CAPS" title="CAIRO_MIME_TYPE_JP2"><code class="literal">CAIRO_MIME_TYPE_JP2</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-UNIQUE-ID:CAPS" title="CAIRO_MIME_TYPE_UNIQUE_ID"><code class="literal">CAIRO_MIME_TYPE_UNIQUE_ID</code></a>,
161
161
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2:CAPS" title="CAIRO_MIME_TYPE_JBIG2"><code class="literal">CAIRO_MIME_TYPE_JBIG2</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL</code></a>,
162
- <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL-ID:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID</code></a>.</p>
162
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL-ID:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID</code></a>,
163
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a>.</p>
164
+ <div class="refsect2">
165
+ <a name="id-1.5.5.5.4"></a><h3>JBIG2 Images</h3>
163
166
  <p>JBIG2 data in PDF must be in the embedded format as described in
164
167
  ISO/IEC 11544. Image specific JBIG2 data must be in
165
168
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2:CAPS" title="CAIRO_MIME_TYPE_JBIG2"><code class="literal">CAIRO_MIME_TYPE_JBIG2</code></a>. Any global segments in the JBIG2 data
166
169
  (segments with page association field set to 0) must be in
167
170
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL</code></a>. The global data may be shared by
168
171
  multiple images. All images sharing the same global data must set
169
- <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL-ID:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID</code></a> to a unique identifer. At least
172
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL-ID:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID</code></a> to a unique identifier. At least
170
173
  one of the images must provide the global data using
171
174
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL</code></a>. The global data will only be
172
- embedded once but shared by all JBIG2 images with the same
175
+ embedded once and shared by all JBIG2 images with the same
173
176
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JBIG2-GLOBAL-ID:CAPS" title="CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID"><code class="literal">CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID</code></a>.</p>
174
177
  </div>
178
+ <hr>
179
+ <div class="refsect2">
180
+ <a name="ccitt"></a><h3>CCITT Fax Images</h3>
181
+ <p>The <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX</code></a> mime data requires a number of decoding
182
+ parameters These parameters are specified using <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a>.</p>
183
+ <p><a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a> mime data must contain a string of the form
184
+ "param1=value1 param2=value2 ...".</p>
185
+ <p><em class="parameter"><code>Columns</code></em>
186
+ : [required] An integer specifying the width of the image in pixels.</p>
187
+ <p><em class="parameter"><code>Rows</code></em>
188
+ : [required] An integer specifying the height of the image in scan lines.</p>
189
+ <p><em class="parameter"><code>K</code></em>
190
+ : [optional] An integer identifying the encoding scheme used. &lt; 0
191
+ is 2 dimensional Group 4, = 0 is Group3 1 dimensional, &gt; 0 is mixed 1
192
+ and 2 dimensional encoding. Default is 0.</p>
193
+ <p><em class="parameter"><code>EndOfLine</code></em>
194
+ : [optional] If true end-of-line bit patterns are present. Default is false.</p>
195
+ <p><em class="parameter"><code>EncodedByteAlign</code></em>
196
+ : [optional] If true the end of line is padded
197
+ with 0 bits so the next line begins on a byte boundary. Default is false.</p>
198
+ <p><em class="parameter"><code>EndOfBlock</code></em>
199
+ : [optional] If true the data contains an end-of-block pattern. Default is true.</p>
200
+ <p><em class="parameter"><code>BlackIs1</code></em>
201
+ : [optional] If true 1 bits are black pixels. Default is false.</p>
202
+ <p><em class="parameter"><code>DamagedRowsBeforeError</code></em>
203
+ : [optional] An integer specifying the
204
+ number of damages rows tolerated before an error occurs. Default is 0.</p>
205
+ <p>Boolean values may be "true" or "false", or 1 or 0.</p>
206
+ <p>These parameters are the same as the CCITTFaxDecode parameters in the
207
+ <a class="ulink" href="https://www.adobe.com/products/postscript/pdfs/PLRM.pdf" target="_top">PostScript Language Reference</a>
208
+ and <a class="ulink" href="https://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf" target="_top">Portable Document Format (PDF)</a>.
209
+ Refer to these documents for further details.</p>
210
+ <p>An example <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a> string is:</p>
211
+ <pre class="programlisting">
212
+ "Columns=10230 Rows=40000 K=1 EndOfLine=true EncodedByteAlign=1 BlackIs1=false"
213
+ </pre>
214
+ </div>
215
+ </div>
175
216
  <div class="refsect1">
176
217
  <a name="cairo-PDF-Surfaces.functions_details"></a><h2>Functions</h2>
177
218
  <div class="refsect2">
@@ -194,7 +235,7 @@ to <em class="parameter"><code>filename</code></em>
194
235
  <tbody>
195
236
  <tr>
196
237
  <td class="parameter_name"><p>filename</p></td>
197
- <td class="parameter_description"><p>a filename for the PDF output (must be writable), <code class="literal">NULL</code> may be
238
+ <td class="parameter_description"><p>a filename for the PDF output (must be writable), <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be
198
239
  used to specify no output. This will generate a PDF surface that
199
240
  may be queried and used as a source, without generating a
200
241
  temporary file.</p></td>
@@ -247,7 +288,7 @@ incrementally to the stream represented by <em class="parameter"><code>write_fun
247
288
  <tbody>
248
289
  <tr>
249
290
  <td class="parameter_name"><p>write_func</p></td>
250
- <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
291
+ <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
251
292
  to indicate a no-op <em class="parameter"><code>write_func</code></em>
252
293
  . With a no-op <em class="parameter"><code>write_func</code></em>
253
294
  ,
@@ -361,7 +402,7 @@ cairo_pdf_get_versions (<em class="parameter"><code><a class="link" href="cairo-
361
402
  cairo_pdf_version_to_string (<em class="parameter"><code><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-version-t" title="enum cairo_pdf_version_t"><span class="type">cairo_pdf_version_t</span></a> version</code></em>);</pre>
362
403
  <p>Get the string representation of the given <em class="parameter"><code>version</code></em>
363
404
  id. This function
364
- will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em>
405
+ will return <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>version</code></em>
365
406
  isn't valid. See <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-get-versions" title="cairo_pdf_get_versions ()"><code class="function">cairo_pdf_get_versions()</code></a>
366
407
  for a way to get the list of valid version ids.</p>
367
408
  <div class="refsect3">
@@ -133,7 +133,8 @@ given PNG file.</p>
133
133
  </colgroup>
134
134
  <tbody><tr>
135
135
  <td class="parameter_name"><p>filename</p></td>
136
- <td class="parameter_description"><p>name of PNG file to load</p></td>
136
+ <td class="parameter_description"><p>name of PNG file to load. On Windows this filename
137
+ is encoded in UTF-8.</p></td>
137
138
  <td class="parameter_annotations"> </td>
138
139
  </tr></tbody>
139
140
  </table></div>
@@ -276,7 +277,8 @@ image.</p>
276
277
  </tr>
277
278
  <tr>
278
279
  <td class="parameter_name"><p>filename</p></td>
279
- <td class="parameter_description"><p>the name of a file to write to</p></td>
280
+ <td class="parameter_description"><p>the name of a file to write to; on Windows this filename
281
+ is encoded in UTF-8.</p></td>
280
282
  <td class="parameter_annotations"> </td>
281
283
  </tr>
282
284
  </tbody>
@@ -248,7 +248,7 @@ cairo_copy_path (<em class="parameter"><code><a class="link" href="cairo-cairo-t
248
248
  <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
249
249
  over the returned data structure.</p>
250
250
  <p>This function will always return a valid pointer, but the result
251
- will have no data (<code class="literal">data==<code class="literal">NULL</code></code> and
251
+ will have no data (<code class="literal">data==<a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></code> and
252
252
  <code class="literal">num_data==0</code>), if either of the following
253
253
  conditions hold:</p>
254
254
  <div class="orderedlist"><ol class="orderedlist" type="1">
@@ -297,7 +297,7 @@ value). That is, the result is guaranteed to not have any elements
297
297
  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
298
298
  series of <a class="link" href="cairo-Paths.html#CAIRO-PATH-LINE-TO:CAPS"><code class="literal">CAIRO_PATH_LINE_TO</code></a> elements.</p>
299
299
  <p>This function will always return a valid pointer, but the result
300
- will have no data (<code class="literal">data==<code class="literal">NULL</code></code> and
300
+ will have no data (<code class="literal">data==<a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></code> and
301
301
  <code class="literal">num_data==0</code>), if either of the following
302
302
  conditions hold:</p>
303
303
  <div class="orderedlist"><ol class="orderedlist" type="1">
@@ -1051,7 +1051,7 @@ serious text-using applications. See <a class="link" href="cairo-Paths.html#cair
1051
1051
  </tr>
1052
1052
  <tr>
1053
1053
  <td class="parameter_name"><p>utf8</p></td>
1054
- <td class="parameter_description"><p>a NUL-terminated string of text encoded in UTF-8, or <code class="literal">NULL</code></p></td>
1054
+ <td class="parameter_description"><p>a NUL-terminated string of text encoded in UTF-8, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
1055
1055
  <td class="parameter_annotations"> </td>
1056
1056
  </tr>
1057
1057
  </tbody>
@@ -152,6 +152,34 @@
152
152
  <a name="cairo-PostScript-Surfaces.description"></a><h2>Description</h2>
153
153
  <p>The PostScript surface is used to render cairo graphics to Adobe
154
154
  PostScript files and is a multi-page vector surface backend.</p>
155
+ <p>The following mime types are supported: <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JPEG:CAPS" title="CAIRO_MIME_TYPE_JPEG"><code class="literal">CAIRO_MIME_TYPE_JPEG</code></a>,
156
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-UNIQUE-ID:CAPS" title="CAIRO_MIME_TYPE_UNIQUE_ID"><code class="literal">CAIRO_MIME_TYPE_UNIQUE_ID</code></a>,
157
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a>,
158
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a>,
159
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-EPS:CAPS" title="CAIRO_MIME_TYPE_EPS"><code class="literal">CAIRO_MIME_TYPE_EPS</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-EPS-PARAMS:CAPS" title="CAIRO_MIME_TYPE_EPS_PARAMS"><code class="literal">CAIRO_MIME_TYPE_EPS_PARAMS</code></a>.</p>
160
+ <p>Source surfaces used by the PostScript surface that have a
161
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-UNIQUE-ID:CAPS" title="CAIRO_MIME_TYPE_UNIQUE_ID"><code class="literal">CAIRO_MIME_TYPE_UNIQUE_ID</code></a> mime type will be stored in PostScript
162
+ printer memory for the duration of the print
163
+ job. <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-UNIQUE-ID:CAPS" title="CAIRO_MIME_TYPE_UNIQUE_ID"><code class="literal">CAIRO_MIME_TYPE_UNIQUE_ID</code></a> should only be used for small
164
+ frequently used sources.</p>
165
+ <p>The <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX</code></a> and <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-CCITT-FAX-PARAMS:CAPS" title="CAIRO_MIME_TYPE_CCITT_FAX_PARAMS"><code class="literal">CAIRO_MIME_TYPE_CCITT_FAX_PARAMS</code></a> mime types
166
+ are documented in <a class="link" href="cairo-PDF-Surfaces.html#ccitt" title="CCITT Fax Images">CCITT Fax Images</a>.</p>
167
+ <div class="refsect2">
168
+ <a name="eps"></a><h3>Embedding EPS files</h3>
169
+ <p>Encapsulated PostScript files can be embedded in the PS output by
170
+ setting the CAIRO_MIME_TYPE_EPS mime data on a surface to the EPS
171
+ data and painting the surface. The EPS will be scaled and
172
+ translated to the extents of the surface the EPS data is attached
173
+ to.</p>
174
+ <p>The <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-EPS:CAPS" title="CAIRO_MIME_TYPE_EPS"><code class="literal">CAIRO_MIME_TYPE_EPS</code></a> mime type requires the
175
+ <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-EPS-PARAMS:CAPS" title="CAIRO_MIME_TYPE_EPS_PARAMS"><code class="literal">CAIRO_MIME_TYPE_EPS_PARAMS</code></a> mime data to also be provided in order
176
+ to specify the embeddding parameters. <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-EPS-PARAMS:CAPS" title="CAIRO_MIME_TYPE_EPS_PARAMS"><code class="literal">CAIRO_MIME_TYPE_EPS_PARAMS</code></a>
177
+ mime data must contain a string of the form "bbox=[llx lly urx
178
+ ury]" that specifies the bounding box (in PS coordinates) of the
179
+ EPS graphics. The parameters are: lower left x, lower left y, upper
180
+ right x, upper right y. Normally the bbox data is identical to the
181
+ %%<code class="literal">BoundingBox</code> data in the EPS file.</p>
182
+ </div>
155
183
  </div>
156
184
  <div class="refsect1">
157
185
  <a name="cairo-PostScript-Surfaces.functions_details"></a><h2>Functions</h2>
@@ -179,7 +207,7 @@ vary. See <a class="link" href="cairo-PostScript-Surfaces.html#cairo-ps-surface-
179
207
  <tbody>
180
208
  <tr>
181
209
  <td class="parameter_name"><p>filename</p></td>
182
- <td class="parameter_description"><p>a filename for the PS output (must be writable), <code class="literal">NULL</code> may be
210
+ <td class="parameter_description"><p>a filename for the PS output (must be writable), <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be
183
211
  used to specify no output. This will generate a PS surface that
184
212
  may be queried and used as a source, without generating a
185
213
  temporary file.</p></td>
@@ -236,7 +264,7 @@ output can vary. See <a class="link" href="cairo-PostScript-Surfaces.html#cairo-
236
264
  <tbody>
237
265
  <tr>
238
266
  <td class="parameter_name"><p>write_func</p></td>
239
- <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
267
+ <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
240
268
  to indicate a no-op <em class="parameter"><code>write_func</code></em>
241
269
  . With a no-op <em class="parameter"><code>write_func</code></em>
242
270
  ,
@@ -351,7 +379,7 @@ cairo_ps_get_levels (<em class="parameter"><code><a class="link" href="cairo-Pos
351
379
  cairo_ps_level_to_string (<em class="parameter"><code><a class="link" href="cairo-PostScript-Surfaces.html#cairo-ps-level-t" title="enum cairo_ps_level_t"><span class="type">cairo_ps_level_t</span></a> level</code></em>);</pre>
352
380
  <p>Get the string representation of the given <em class="parameter"><code>level</code></em>
353
381
  id. This function
354
- will return <code class="literal">NULL</code> if <em class="parameter"><code>level</code></em>
382
+ will return <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>level</code></em>
355
383
  id isn't valid. See <a class="link" href="cairo-PostScript-Surfaces.html#cairo-ps-get-levels" title="cairo_ps_get_levels ()"><code class="function">cairo_ps_get_levels()</code></a>
356
384
  for a way to get the list of valid level ids.</p>
357
385
  <div class="refsect3">
@@ -382,7 +410,7 @@ for a way to get the list of valid level ids.</p>
382
410
  cairo_ps_surface_set_eps (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
383
411
  <em class="parameter"><code><a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="type">cairo_bool_t</span></a> eps</code></em>);</pre>
384
412
  <p>If <em class="parameter"><code>eps</code></em>
385
- is <code class="literal">TRUE</code>, the PostScript surface will output Encapsulated
413
+ is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the PostScript surface will output Encapsulated
386
414
  PostScript.</p>
387
415
  <p>This function should only be called before any drawing operations
388
416
  have been performed on the current page. The simplest way to do
@@ -405,7 +433,7 @@ than one page.</p>
405
433
  </tr>
406
434
  <tr>
407
435
  <td class="parameter_name"><p>eps</p></td>
408
- <td class="parameter_description"><p><code class="literal">TRUE</code> to output EPS format PostScript</p></td>
436
+ <td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to output EPS format PostScript</p></td>
409
437
  <td class="parameter_annotations"> </td>
410
438
  </tr>
411
439
  </tbody>
@@ -436,7 +464,7 @@ cairo_ps_surface_get_eps (<em class="parameter"><code><a class="link" href="cair
436
464
  </div>
437
465
  <div class="refsect3">
438
466
  <a name="cairo-ps-surface-get-eps.returns"></a><h4>Returns</h4>
439
- <p> <code class="literal">TRUE</code> if the surface will output Encapsulated PostScript.</p>
467
+ <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the surface will output Encapsulated PostScript.</p>
440
468
  </div>
441
469
  <p class="since">Since: 1.6</p>
442
470
  </div>
@@ -140,7 +140,7 @@ accurate replay.</p>
140
140
  </tr>
141
141
  <tr>
142
142
  <td class="parameter_name"><p>extents</p></td>
143
- <td class="parameter_description"><p>the extents to record in pixels, can be <code class="literal">NULL</code> to record
143
+ <td class="parameter_description"><p>the extents to record in pixels, can be <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to record
144
144
  unbounded operations.</p></td>
145
145
  <td class="parameter_annotations"> </td>
146
146
  </tr>
@@ -237,8 +237,8 @@ cairo_recording_surface_get_extents (<em class="parameter"><code><a class="link"
237
237
  </div>
238
238
  <div class="refsect3">
239
239
  <a name="cairo-recording-surface-get-extents.returns"></a><h4>Returns</h4>
240
- <p> <code class="literal">TRUE</code> if the surface is bounded, of recording type, and
241
- not in an error state, otherwise <code class="literal">FALSE</code></p>
240
+ <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the surface is bounded, of recording type, and
241
+ not in an error state, otherwise <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
242
242
  </div>
243
243
  <p class="since">Since: 1.12</p>
244
244
  </div>
@@ -581,8 +581,8 @@ cairo_region_is_empty (<em class="parameter"><code>const <a class="link" href="c
581
581
  </div>
582
582
  <div class="refsect3">
583
583
  <a name="cairo-region-is-empty.returns"></a><h4>Returns</h4>
584
- <p> <code class="literal">TRUE</code> if <em class="parameter"><code>region</code></em>
585
- is empty, <code class="literal">FALSE</code> if it isn't.</p>
584
+ <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>region</code></em>
585
+ is empty, <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it isn't.</p>
586
586
  </div>
587
587
  <p class="since">Since: 1.10</p>
588
588
  </div>
@@ -626,10 +626,10 @@ cairo_region_contains_point (<em class="parameter"><code>const <a class="link" h
626
626
  </div>
627
627
  <div class="refsect3">
628
628
  <a name="cairo-region-contains-point.returns"></a><h4>Returns</h4>
629
- <p> <code class="literal">TRUE</code> if (<em class="parameter"><code>x</code></em>
629
+ <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if (<em class="parameter"><code>x</code></em>
630
630
  , <em class="parameter"><code>y</code></em>
631
631
  ) is contained in <em class="parameter"><code>region</code></em>
632
- , <code class="literal">FALSE</code> if it is not.</p>
632
+ , <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it is not.</p>
633
633
  </div>
634
634
  <p class="since">Since: 1.10</p>
635
635
  </div>
@@ -685,8 +685,8 @@ is partially inside and partially outside <em class="parameter"><code>region</co
685
685
  <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>
686
686
  cairo_region_equal (<em class="parameter"><code>const <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> *a</code></em>,
687
687
  <em class="parameter"><code>const <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> *b</code></em>);</pre>
688
- <p>Compares whether region_a is equivalent to region_b. <code class="literal">NULL</code> as an argument
689
- is equal to itself, but not to any non-<code class="literal">NULL</code> region.</p>
688
+ <p>Compares whether region_a is equivalent to region_b. <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as an argument
689
+ is equal to itself, but not to any non-<a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> region.</p>
690
690
  <div class="refsect3">
691
691
  <a name="cairo-region-equal.parameters"></a><h4>Parameters</h4>
692
692
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -698,12 +698,12 @@ is equal to itself, but not to any non-<code class="literal">NULL</code> region.
698
698
  <tbody>
699
699
  <tr>
700
700
  <td class="parameter_name"><p>a</p></td>
701
- <td class="parameter_description"><p>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <code class="literal">NULL</code></p></td>
701
+ <td class="parameter_description"><p>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
702
702
  <td class="parameter_annotations"> </td>
703
703
  </tr>
704
704
  <tr>
705
705
  <td class="parameter_name"><p>b</p></td>
706
- <td class="parameter_description"><p>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <code class="literal">NULL</code></p></td>
706
+ <td class="parameter_description"><p>a <a class="link" href="cairo-Regions.html#cairo-region-t" title="cairo_region_t"><span class="type">cairo_region_t</span></a> or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
707
707
  <td class="parameter_annotations"> </td>
708
708
  </tr>
709
709
  </tbody>
@@ -711,8 +711,8 @@ is equal to itself, but not to any non-<code class="literal">NULL</code> region.
711
711
  </div>
712
712
  <div class="refsect3">
713
713
  <a name="cairo-region-equal.returns"></a><h4>Returns</h4>
714
- <p> <code class="literal">TRUE</code> if both regions contained the same coverage,
715
- <code class="literal">FALSE</code> if it is not or any region is in an error status.</p>
714
+ <p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both regions contained the same coverage,
715
+ <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it is not or any region is in an error status.</p>
716
716
  </div>
717
717
  <p class="since">Since: 1.10</p>
718
718
  </div>
@@ -129,6 +129,8 @@ correctness of URI is left to the client code.</p>
129
129
  <p>If <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-URI:CAPS" title="CAIRO_MIME_TYPE_URI"><code class="literal">CAIRO_MIME_TYPE_URI</code></a> is not present, but <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JPEG:CAPS" title="CAIRO_MIME_TYPE_JPEG"><code class="literal">CAIRO_MIME_TYPE_JPEG</code></a>
130
130
  or <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-PNG:CAPS" title="CAIRO_MIME_TYPE_PNG"><code class="literal">CAIRO_MIME_TYPE_PNG</code></a> is specified, the corresponding data is
131
131
  Base64-encoded and emitted.</p>
132
+ <p>If <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-UNIQUE-ID:CAPS" title="CAIRO_MIME_TYPE_UNIQUE_ID"><code class="literal">CAIRO_MIME_TYPE_UNIQUE_ID</code></a> is present, all surfaces with the same
133
+ unique identifier will only be embedded once.</p>
132
134
  <div class="refsect3">
133
135
  <a name="cairo-svg-surface-create.parameters"></a><h4>Parameters</h4>
134
136
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -140,7 +142,7 @@ Base64-encoded and emitted.</p>
140
142
  <tbody>
141
143
  <tr>
142
144
  <td class="parameter_name"><p>filename</p></td>
143
- <td class="parameter_description"><p>a filename for the SVG output (must be writable), <code class="literal">NULL</code> may be
145
+ <td class="parameter_description"><p>a filename for the SVG output (must be writable), <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be
144
146
  used to specify no output. This will generate a SVG surface that
145
147
  may be queried and used as a source, without generating a
146
148
  temporary file.</p></td>
@@ -193,7 +195,7 @@ incrementally to the stream represented by <em class="parameter"><code>write_fun
193
195
  <tbody>
194
196
  <tr>
195
197
  <td class="parameter_name"><p>write_func</p></td>
196
- <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
198
+ <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
197
199
  to indicate a no-op <em class="parameter"><code>write_func</code></em>
198
200
  . With a no-op <em class="parameter"><code>write_func</code></em>
199
201
  ,
@@ -307,7 +309,7 @@ cairo_svg_get_versions (<em class="parameter"><code><a class="link" href="cairo-
307
309
  cairo_svg_version_to_string (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);</pre>
308
310
  <p>Get the string representation of the given <em class="parameter"><code>version</code></em>
309
311
  id. This function
310
- will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em>
312
+ will return <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>version</code></em>
311
313
  isn't valid. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()"><code class="function">cairo_svg_get_versions()</code></a>
312
314
  for a way to get the list of valid version ids.</p>
313
315
  <div class="refsect3">
@@ -345,8 +347,35 @@ This macro can be used to conditionally compile backend-specific code.</p>
345
347
  <hr>
346
348
  <div class="refsect2">
347
349
  <a name="cairo-svg-version-t"></a><h3>enum cairo_svg_version_t</h3>
348
- <p><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> is used to describe the version number of the SVG
349
- specification that a generated SVG file will conform to.</p>
350
+ <p><em class="parameter"><code>CAIRO_SVG_UNIT_USER</code></em>
351
+ : User unit, a value in the current coordinate system.
352
+ If used in the root element for the initial coordinate systems it
353
+ corresponds to pixels. (Since 1.16)
354
+ <em class="parameter"><code>CAIRO_SVG_UNIT_EM</code></em>
355
+ : The size of the element's font. (Since 1.16)
356
+ <em class="parameter"><code>CAIRO_SVG_UNIT_EX</code></em>
357
+ : The x-height of the element’s font. (Since 1.16)
358
+ <em class="parameter"><code>CAIRO_SVG_UNIT_PX</code></em>
359
+ : Pixels (1px = 1/96th of 1in). (Since 1.16)
360
+ <em class="parameter"><code>CAIRO_SVG_UNIT_IN</code></em>
361
+ : Inches (1in = 2.54cm = 96px). (Since 1.16)
362
+ <em class="parameter"><code>CAIRO_SVG_UNIT_CM</code></em>
363
+ : Centimeters (1cm = 96px/2.54). (Since 1.16)
364
+ <em class="parameter"><code>CAIRO_SVG_UNIT_MM</code></em>
365
+ : Millimeters (1mm = 1/10th of 1cm). (Since 1.16)
366
+ <em class="parameter"><code>CAIRO_SVG_UNIT_PT</code></em>
367
+ : Points (1pt = 1/72th of 1in). (Since 1.16)
368
+ <em class="parameter"><code>CAIRO_SVG_UNIT_PC</code></em>
369
+ : Picas (1pc = 1/6th of 1in). (Since 1.16)
370
+ <em class="parameter"><code>CAIRO_SVG_UNIT_PERCENT</code></em>
371
+ : Percent, a value that is some fraction of another
372
+ reference value. (Since 1.16)</p>
373
+ <p><span class="type">cairo_svg_unit_t</span> is used to describe the units valid for coordinates and
374
+ lengths in the SVG specification.</p>
375
+ <p>See also:
376
+ https://www.w3.org/TR/SVG/coords.html<span class="type">Units</span>
377
+ https://www.w3.org/TR/SVG/types.html<span class="type">DataTypeLength</span>
378
+ https://www.w3.org/TR/css-values-3/<span class="type">lengths</span></p>
350
379
  <div class="refsect3">
351
380
  <a name="cairo-svg-version-t.members"></a><h4>Members</h4>
352
381
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -358,22 +387,18 @@ specification that a generated SVG file will conform to.</p>
358
387
  <tbody>
359
388
  <tr>
360
389
  <td class="enum_member_name"><p><a name="CAIRO-SVG-VERSION-1-1:CAPS"></a>CAIRO_SVG_VERSION_1_1</p></td>
361
- <td class="enum_member_description">
362
- <p>The version 1.1 of the SVG specification. (Since 1.2)</p>
363
- </td>
390
+ <td class="enum_member_description"> </td>
364
391
  <td class="enum_member_annotations"> </td>
365
392
  </tr>
366
393
  <tr>
367
394
  <td class="enum_member_name"><p><a name="CAIRO-SVG-VERSION-1-2:CAPS"></a>CAIRO_SVG_VERSION_1_2</p></td>
368
- <td class="enum_member_description">
369
- <p>The version 1.2 of the SVG specification. (Since 1.2)</p>
370
- </td>
395
+ <td class="enum_member_description"> </td>
371
396
  <td class="enum_member_annotations"> </td>
372
397
  </tr>
373
398
  </tbody>
374
399
  </table></div>
375
400
  </div>
376
- <p class="since">Since: 1.2</p>
401
+ <p class="since">Since: 1.16</p>
377
402
  </div>
378
403
  </div>
379
404
  <div class="refsect1">