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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9842651100d20901318ea528bd64fcfd538cb05
4
- data.tar.gz: 659ae87499b2cec88ab043b0d5502395e88396f8
3
+ metadata.gz: 9c0b9e0fc03bcce6e928d7f01daf970c5aaaed6b
4
+ data.tar.gz: 81fe03be490554ef20550d17927b1560a7176858
5
5
  SHA512:
6
- metadata.gz: 3105c9ddf41febe4223b5bde59ee9c2939e0c0ec6a85e0137056255544c12092d702e483553fcd87e23abf22c9e832c60cc4802c64889a0f65651007d2655b01
7
- data.tar.gz: 782be3215eb7420f47c6b3f193bfaf6a9591709ce1ca76b8745dacf9f7bba59433a101767f0faf47e0fd8afc6844023394be79f6137d5c502ddb9395303dc7c5
6
+ metadata.gz: b8a97d72eb0a94877b01ad8a315001825111a1207ada931cfe2ac11223d4d56c35364df2829f989a56d80d2cda5cf8cb0057f75838c9f662fa63516b2565b0da
7
+ data.tar.gz: 3eb73fe95ec94dfc7dbc81d6cff704c6457a0c09244a26463a892da3925c40f280a05a96ef5e781e04184d0f6426d1c214f59db06a8c5f526535c478437a76fa
data/NEWS CHANGED
@@ -1,3 +1,41 @@
1
+ Release 1.15.11 (2017-12-14) Kouhei Sutou <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Added cairo 1.15.10 support.
8
+
9
+ * Added Cairo::SVGUnit
10
+
11
+ * Added Cairo::SVGSurface#document_unit
12
+
13
+ * Added Cairo::SVGSurface#document_unit=
14
+
15
+ * Added Cairo::MIMEType::CCITT_FAX
16
+
17
+ * Added Cairo::MIMEType::CCITT_FAX_PARAMS
18
+
19
+ * Added Cairo::MIMEType::EPS
20
+
21
+ * Added Cairo::MIMEType::EPS_PARAMS
22
+
23
+ * test: Updated expected value for cairo 1.15.
24
+ [GitHub#50][Reported by Mamoru TASAKA]
25
+
26
+ * Windows: Updated bundled libraries:
27
+
28
+ * libpng: 1.6.32 -> 1.6.34
29
+
30
+ * libxml2: 2.9.6 -> 2.9.7
31
+
32
+ * cairo: 1.15.8 -> 1.15.10
33
+
34
+ Thanks
35
+ ------
36
+
37
+ * Mamoru TASAKA
38
+
1
39
  Release 1.15.10 (2017-10-15) Kouhei Sutou <kou@cozmixng.org>
2
40
  ============================================================
3
41
 
data/Rakefile CHANGED
@@ -444,7 +444,7 @@ end
444
444
 
445
445
  windows_task = WindowsTask.new(spec) do |task|
446
446
  zlib_version = "1.2.11"
447
- libpng_version = "1.6.32"
447
+ libpng_version = "1.6.34"
448
448
  freetype_version = "2.8.1"
449
449
  task.packages = [
450
450
  {
@@ -477,7 +477,7 @@ windows_task = WindowsTask.new(spec) do |task|
477
477
  },
478
478
  {
479
479
  :name => "libxml2",
480
- :version => "2.9.6",
480
+ :version => "2.9.7",
481
481
  :download_base_url => "ftp://xmlsoft.org/libxml2",
482
482
  :compression_method => "gz",
483
483
  :windows => {
@@ -511,7 +511,7 @@ windows_task = WindowsTask.new(spec) do |task|
511
511
  },
512
512
  {
513
513
  :name => "cairo",
514
- :version => "1.15.8",
514
+ :version => "1.15.10",
515
515
  :download_site => :cairo_snapshots,
516
516
  :windows => {
517
517
  :built_file => "bin/libcairo-2.dll",
@@ -85,6 +85,10 @@ EXPORTS
85
85
  rb_mCairo_TextClusterFlag DATA
86
86
  rb_mCairo_ScriptMode DATA
87
87
  rb_mCairo_MimeType DATA
88
+ rb_mCairo_RegionOverlap DATA
89
+ rb_mCairo_PDFOutlineFlags DATA
90
+ rb_mCairo_PDFMetadata DATA
91
+ rb_mCairo_SVGUnit DATA
88
92
 
89
93
  rb_mCairo_Color DATA
90
94
  rb_cCairo_Color_Base DATA
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 15
76
- #define RB_CAIRO_VERSION_MICRO 10
76
+ #define RB_CAIRO_VERSION_MICRO 11
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -163,6 +163,7 @@ RB_CAIRO_VAR VALUE rb_mCairo_MimeType;
163
163
  RB_CAIRO_VAR VALUE rb_mCairo_RegionOverlap;
164
164
  RB_CAIRO_VAR VALUE rb_mCairo_PDFOutlineFlags;
165
165
  RB_CAIRO_VAR VALUE rb_mCairo_PDFMetadata;
166
+ RB_CAIRO_VAR VALUE rb_mCairo_SVGUnit;
166
167
  RB_CAIRO_VAR VALUE rb_mCairo_Color;
167
168
  RB_CAIRO_VAR VALUE rb_cCairo_Color_Base;
168
169
  RB_CAIRO_VAR VALUE rb_cCairo_Paper;
@@ -305,6 +306,9 @@ VALUE rb_cairo_device_to_ruby_object (cairo_device_t *de
305
306
  #define RVAL2CRPDFOUTLINEFLAGS(obj) (rb_cairo_pdf_outline_flags_from_ruby_object(obj))
306
307
  #define RVAL2CRPDFMETADATA(obj) (rb_cairo_pdf_metadata_from_ruby_object(obj))
307
308
  #endif
309
+ #if CAIRO_CHECK_VERSION(1, 15, 10)
310
+ #define RVAL2CRSVGUNIT(obj) (rb_cairo_svg_unit_from_ruby_object(obj))
311
+ #endif
308
312
 
309
313
  cairo_operator_t rb_cairo_operator_from_ruby_object (VALUE obj);
310
314
  cairo_antialias_t rb_cairo_antialias_from_ruby_object (VALUE obj);
@@ -347,6 +351,9 @@ cairo_region_overlap_t rb_cairo_region_overlap_from_ruby_object(VALUE obj);
347
351
  cairo_pdf_outline_flags_t rb_cairo_pdf_outline_flags_from_ruby_object(VALUE obj);
348
352
  cairo_pdf_metadata_t rb_cairo_pdf_metadata_from_ruby_object(VALUE obj);
349
353
  #endif
354
+ #if CAIRO_CHECK_VERSION(1, 15, 10)
355
+ cairo_svg_unit_t rb_cairo_svg_unit_from_ruby_object(VALUE obj);
356
+ #endif
350
357
 
351
358
  void rb_cairo_check_status (cairo_status_t status);
352
359
  void rb_cairo_surface_check_status (cairo_surface_t *surface);
@@ -41,6 +41,7 @@ VALUE rb_mCairo_MimeType = Qnil;
41
41
  VALUE rb_mCairo_RegionOverlap = Qnil;
42
42
  VALUE rb_mCairo_PDFOutlineFlags = Qnil;
43
43
  VALUE rb_mCairo_PDFMetadata = Qnil;
44
+ VALUE rb_mCairo_SVGUnit = Qnil;
44
45
 
45
46
  #define CAIRO_OPERATOR_MIN CAIRO_OPERATOR_CLEAR
46
47
  #if CAIRO_CHECK_VERSION(1, 10, 0)
@@ -138,6 +139,9 @@ VALUE rb_mCairo_PDFMetadata = Qnil;
138
139
  #define CAIRO_PDF_METADATA_MIN CAIRO_PDF_METADATA_TITLE
139
140
  #define CAIRO_PDF_METADATA_MAX CAIRO_PDF_METADATA_MOD_DATE
140
141
 
142
+ #define CAIRO_SVG_UNIT_MIN CAIRO_SVG_UNIT_USER
143
+ #define CAIRO_SVG_UNIT_MAX CAIRO_SVG_UNIT_PERCENT
144
+
141
145
  #define DEFINE_RVAL2ENUM(name, const_name) \
142
146
  cairo_ ## name ## _t \
143
147
  rb_cairo_ ## name ## _from_ruby_object (VALUE rb_ ## name) \
@@ -212,6 +216,10 @@ DEFINE_RVAL2ENUM(pdf_outline_flags, PDF_OUTLINE_FLAGS)
212
216
  DEFINE_RVAL2ENUM(pdf_metadata, PDF_METADATA)
213
217
  #endif
214
218
 
219
+ #if CAIRO_CHECK_VERSION(1, 15, 10)
220
+ DEFINE_RVAL2ENUM(svg_unit, SVG_UNIT)
221
+ #endif
222
+
215
223
  #if defined(RB_CAIRO_PLATFORM_WIN32) && !defined(PS_LEVEL_ENUM_DEFINED)
216
224
  void
217
225
  rb_cairo_ps_level_from_ruby_object (VALUE rb_ps_level)
@@ -677,6 +685,16 @@ Init_cairo_constants (void)
677
685
  rb_define_const (rb_mCairo_MimeType, "JBIG2_GLOBAL_ID",
678
686
  rb_str_new2 (CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID));
679
687
  #endif
688
+ #if CAIRO_CHECK_VERSION(1, 15, 10)
689
+ rb_define_const (rb_mCairo_MimeType, "CCITT_FAX",
690
+ rb_str_new_cstr (CAIRO_MIME_TYPE_CCITT_FAX));
691
+ rb_define_const (rb_mCairo_MimeType, "CCITT_FAX_PARAMS",
692
+ rb_str_new_cstr (CAIRO_MIME_TYPE_CCITT_FAX_PARAMS));
693
+ rb_define_const (rb_mCairo_MimeType, "EPS",
694
+ rb_str_new_cstr (CAIRO_MIME_TYPE_EPS));
695
+ rb_define_const (rb_mCairo_MimeType, "EPS_PARAMS",
696
+ rb_str_new_cstr (CAIRO_MIME_TYPE_EPS_PARAMS));
697
+ #endif
680
698
 
681
699
  #if CAIRO_CHECK_VERSION(1, 10, 0)
682
700
  rb_mCairo_RegionOverlap = rb_define_module_under (rb_mCairo, "RegionOverlap");
@@ -725,4 +743,29 @@ Init_cairo_constants (void)
725
743
  rb_define_const (rb_mCairo_PDFMetadata, "MOD_DATE",
726
744
  INT2NUM (CAIRO_PDF_METADATA_MOD_DATE));
727
745
  #endif
746
+
747
+ #if CAIRO_CHECK_VERSION(1, 15, 10)
748
+ rb_mCairo_SVGUnit =
749
+ rb_define_module_under (rb_mCairo, "SVGUnit");
750
+ rb_define_const (rb_mCairo_SVGUnit, "USER",
751
+ INT2NUM (CAIRO_SVG_UNIT_USER));
752
+ rb_define_const (rb_mCairo_SVGUnit, "EM",
753
+ INT2NUM (CAIRO_SVG_UNIT_EM));
754
+ rb_define_const (rb_mCairo_SVGUnit, "EX",
755
+ INT2NUM (CAIRO_SVG_UNIT_EX));
756
+ rb_define_const (rb_mCairo_SVGUnit, "PX",
757
+ INT2NUM (CAIRO_SVG_UNIT_PX));
758
+ rb_define_const (rb_mCairo_SVGUnit, "IN",
759
+ INT2NUM (CAIRO_SVG_UNIT_IN));
760
+ rb_define_const (rb_mCairo_SVGUnit, "CM",
761
+ INT2NUM (CAIRO_SVG_UNIT_CM));
762
+ rb_define_const (rb_mCairo_SVGUnit, "MM",
763
+ INT2NUM (CAIRO_SVG_UNIT_MM));
764
+ rb_define_const (rb_mCairo_SVGUnit, "PT",
765
+ INT2NUM (CAIRO_SVG_UNIT_PT));
766
+ rb_define_const (rb_mCairo_SVGUnit, "PC",
767
+ INT2NUM (CAIRO_SVG_UNIT_PC));
768
+ rb_define_const (rb_mCairo_SVGUnit, "PERCENT",
769
+ INT2NUM (CAIRO_SVG_UNIT_PERCENT));
770
+ #endif
728
771
  }
@@ -1443,7 +1443,7 @@ cr_win32_surface_initialize (int argc, VALUE *argv, VALUE self)
1443
1443
  format = arg2;
1444
1444
  width = arg3;
1445
1445
  height = arg4;
1446
- win32_hdc = NIL_P (hdc) ? NULL : (HDC) NUM2UINT (hdc);
1446
+ win32_hdc = NIL_P (hdc) ? NULL : (HDC) (UINT_PTR) NUM2UINT (hdc);
1447
1447
  surface = cairo_win32_surface_create_with_ddb (win32_hdc,
1448
1448
  RVAL2CRFORMAT (format),
1449
1449
  NUM2INT (width),
@@ -1504,6 +1504,27 @@ cr_svg_surface_restrict_to_version (VALUE self, VALUE version)
1504
1504
  rb_cairo_surface_check_status (_SELF);
1505
1505
  return Qnil;
1506
1506
  }
1507
+
1508
+ # if CAIRO_CHECK_VERSION(1, 15, 10)
1509
+ static VALUE
1510
+ cr_svg_surface_get_document_unit (VALUE self)
1511
+ {
1512
+ cairo_svg_unit_t unit;
1513
+ unit = cairo_svg_surface_get_document_unit (_SELF);
1514
+ rb_cairo_surface_check_status (_SELF);
1515
+ return INT2NUM (unit);
1516
+ }
1517
+
1518
+ static VALUE
1519
+ cr_svg_surface_set_document_unit (VALUE self, VALUE rb_unit)
1520
+ {
1521
+ cairo_svg_unit_t unit;
1522
+ unit = RVAL2CRSVGUNIT (rb_unit);
1523
+ cairo_svg_surface_set_document_unit (_SELF, unit);
1524
+ rb_cairo_surface_check_status (_SELF);
1525
+ return Qnil;
1526
+ }
1527
+ # endif
1507
1528
  #endif
1508
1529
 
1509
1530
  #ifdef RB_CAIRO_HAS_WIN32_PRINTING_SURFACE
@@ -2180,6 +2201,12 @@ Init_cairo_surface (void)
2180
2201
  cr_svg_surface_initialize, -1);
2181
2202
  rb_define_method (rb_cCairo_SVGSurface, "restrict_to_version",
2182
2203
  cr_svg_surface_restrict_to_version, 1);
2204
+ # if CAIRO_CHECK_VERSION(1, 15, 10)
2205
+ rb_define_method (rb_cCairo_SVGSurface, "document_unit",
2206
+ cr_svg_surface_get_document_unit, 0);
2207
+ rb_define_method (rb_cCairo_SVGSurface, "set_document_unit",
2208
+ cr_svg_surface_set_document_unit, 1);
2209
+ # endif
2183
2210
 
2184
2211
  RB_CAIRO_DEF_SETTERS (rb_cCairo_SVGSurface);
2185
2212
  #endif
Binary file
Binary file
Binary file
@@ -25,11 +25,11 @@ class PDFSurfaceTest < Test::Unit::TestCase
25
25
  end
26
26
  id = surface.add_outline(Cairo::PDFOutline::ROOT,
27
27
  "top-level",
28
- "destination",
28
+ "dest='destination'",
29
29
  Cairo::PDFOutlineFlags::OPEN)
30
30
  sub_id = surface.add_outline(sub_id,
31
31
  "sub",
32
- "destination",
32
+ "dest='destination'",
33
33
  Cairo::PDFOutlineFlags::OPEN)
34
34
  assert_equal(2, sub_id)
35
35
  end
@@ -15,6 +15,10 @@ class RecordingSurfaceTest < Test::Unit::TestCase
15
15
  context.line_to(80, 100)
16
16
  context.stroke
17
17
  end
18
- assert_equal([10.0, 20.0, 61.0, 61.0], surface.ink_extents)
18
+ if Cairo.satisfied_version?(1, 15)
19
+ assert_equal([14.0, 29.0, 67.0, 72.0], surface.ink_extents)
20
+ else
21
+ assert_equal([10.0, 20.0, 61.0, 61.0], surface.ink_extents)
22
+ end
19
23
  end
20
24
  end
@@ -5,4 +5,13 @@ class SVGSurfaceTest < Test::Unit::TestCase
5
5
  surface = Cairo::SVGSurface.new(nil, 10, 20)
6
6
  surface.finish
7
7
  end
8
+
9
+ def test_unit
10
+ only_cairo_version(1, 15, 10)
11
+ output = StringIO.new
12
+ surface = Cairo::SVGSurface.new(output, 10, 20)
13
+ assert_equal(Cairo::SVGUnit::PT, surface.document_unit)
14
+ surface.document_unit = Cairo::SVGUnit::CM
15
+ assert_equal(Cairo::SVGUnit::CM, surface.document_unit)
16
+ end
8
17
  end
Binary file
Binary file
Binary file
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Modeled after libxml-config.
13
13
 
14
- version="1.6.32"
14
+ version="1.6.34"
15
15
  prefix="/home/vagrant/rcairo.win64/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
@@ -11,7 +11,7 @@
11
11
 
12
12
  # Modeled after libxml-config.
13
13
 
14
- version="1.6.32"
14
+ version="1.6.34"
15
15
  prefix="/home/vagrant/rcairo.win64/vendor/local"
16
16
  exec_prefix="${prefix}"
17
17
  libdir="${exec_prefix}/lib"
Binary file
@@ -58,7 +58,7 @@ while test $# -gt 0; do
58
58
  ;;
59
59
 
60
60
  --version)
61
- echo 2.9.6
61
+ echo 2.9.7
62
62
  exit 0
63
63
  ;;
64
64
 
Binary file
@@ -25,6 +25,7 @@
25
25
  /*#undef CAIRO_HAS_EGL_FUNCTIONS */
26
26
  /*#undef CAIRO_HAS_GALLIUM_SURFACE */
27
27
  /*#undef CAIRO_HAS_GLESV2_SURFACE */
28
+ /*#undef CAIRO_HAS_GLESV3_SURFACE */
28
29
  /*#undef CAIRO_HAS_GLX_FUNCTIONS */
29
30
  /*#undef CAIRO_HAS_GL_SURFACE */
30
31
  /*#undef CAIRO_HAS_OS2_SURFACE */
@@ -53,6 +53,46 @@ typedef enum _cairo_svg_version {
53
53
  CAIRO_SVG_VERSION_1_2
54
54
  } cairo_svg_version_t;
55
55
 
56
+ /**
57
+ * cairo_svg_version_t:
58
+ *
59
+ * @CAIRO_SVG_UNIT_USER: User unit, a value in the current coordinate system.
60
+ * If used in the root element for the initial coordinate systems it
61
+ * corresponds to pixels. (Since 1.16)
62
+ * @CAIRO_SVG_UNIT_EM: The size of the element's font. (Since 1.16)
63
+ * @CAIRO_SVG_UNIT_EX: The x-height of the element’s font. (Since 1.16)
64
+ * @CAIRO_SVG_UNIT_PX: Pixels (1px = 1/96th of 1in). (Since 1.16)
65
+ * @CAIRO_SVG_UNIT_IN: Inches (1in = 2.54cm = 96px). (Since 1.16)
66
+ * @CAIRO_SVG_UNIT_CM: Centimeters (1cm = 96px/2.54). (Since 1.16)
67
+ * @CAIRO_SVG_UNIT_MM: Millimeters (1mm = 1/10th of 1cm). (Since 1.16)
68
+ * @CAIRO_SVG_UNIT_PT: Points (1pt = 1/72th of 1in). (Since 1.16)
69
+ * @CAIRO_SVG_UNIT_PC: Picas (1pc = 1/6th of 1in). (Since 1.16)
70
+ * @CAIRO_SVG_UNIT_PERCENT: Percent, a value that is some fraction of another
71
+ * reference value. (Since 1.16)
72
+ *
73
+ * #cairo_svg_unit_t is used to describe the units valid for coordinates and
74
+ * lengths in the SVG specification.
75
+ *
76
+ * See also:
77
+ * https://www.w3.org/TR/SVG/coords.html#Units
78
+ * https://www.w3.org/TR/SVG/types.html#DataTypeLength
79
+ * https://www.w3.org/TR/css-values-3/#lengths
80
+ *
81
+ * Since: 1.16
82
+ **/
83
+ typedef enum _cairo_svg_unit {
84
+ CAIRO_SVG_UNIT_USER = 0,
85
+ CAIRO_SVG_UNIT_EM,
86
+ CAIRO_SVG_UNIT_EX,
87
+ CAIRO_SVG_UNIT_PX,
88
+ CAIRO_SVG_UNIT_IN,
89
+ CAIRO_SVG_UNIT_CM,
90
+ CAIRO_SVG_UNIT_MM,
91
+ CAIRO_SVG_UNIT_PT,
92
+ CAIRO_SVG_UNIT_PC,
93
+ CAIRO_SVG_UNIT_PERCENT
94
+ } cairo_svg_unit_t;
95
+
56
96
  cairo_public cairo_surface_t *
57
97
  cairo_svg_surface_create (const char *filename,
58
98
  double width_in_points,
@@ -75,6 +115,13 @@ cairo_svg_get_versions (cairo_svg_version_t const **versions,
75
115
  cairo_public const char *
76
116
  cairo_svg_version_to_string (cairo_svg_version_t version);
77
117
 
118
+ cairo_public void
119
+ cairo_svg_surface_set_document_unit (cairo_surface_t *surface,
120
+ cairo_svg_unit_t unit);
121
+
122
+ cairo_public cairo_svg_unit_t
123
+ cairo_svg_surface_get_document_unit (cairo_surface_t *surface);
124
+
78
125
  CAIRO_END_DECLS
79
126
 
80
127
  #else /* CAIRO_HAS_SVG_SURFACE */
@@ -3,6 +3,6 @@
3
3
 
4
4
  #define CAIRO_VERSION_MAJOR 1
5
5
  #define CAIRO_VERSION_MINOR 15
6
- #define CAIRO_VERSION_MICRO 8
6
+ #define CAIRO_VERSION_MICRO 10
7
7
 
8
8
  #endif