cairo 1.6.1-x86-mswin32

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

Potentially problematic release.


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

Files changed (418) hide show
  1. data/AUTHORS +4 -0
  2. data/COPYING +59 -0
  3. data/ChangeLog +1320 -0
  4. data/GPL +340 -0
  5. data/NEWS +98 -0
  6. data/README +70 -0
  7. data/Rakefile +215 -0
  8. data/cairo/bin/libcairo-2.dll +0 -0
  9. data/cairo/bin/libpng13.dll +0 -0
  10. data/cairo/bin/zlib1.dll +0 -0
  11. data/cairo/include/cairo/cairo-deprecated.h +142 -0
  12. data/cairo/include/cairo/cairo-features.h +35 -0
  13. data/cairo/include/cairo/cairo-pdf.h +68 -0
  14. data/cairo/include/cairo/cairo-ps.h +114 -0
  15. data/cairo/include/cairo/cairo-svg.h +82 -0
  16. data/cairo/include/cairo/cairo-win32.h +104 -0
  17. data/cairo/include/cairo/cairo.h +1945 -0
  18. data/cairo/include/libpng13/png.h +3419 -0
  19. data/cairo/include/libpng13/pngconf.h +1437 -0
  20. data/cairo/lib/cairo.def +251 -0
  21. data/cairo/lib/cairo.lib +0 -0
  22. data/cairo/lib/libcairo.dll.a +0 -0
  23. data/cairo/lib/libpng.def +372 -0
  24. data/cairo/lib/libpng13.dll.a +0 -0
  25. data/cairo/lib/pkgconfig/cairo-pdf.pc +12 -0
  26. data/cairo/lib/pkgconfig/cairo-png.pc +12 -0
  27. data/cairo/lib/pkgconfig/cairo-ps.pc +12 -0
  28. data/cairo/lib/pkgconfig/cairo-svg.pc +12 -0
  29. data/cairo/lib/pkgconfig/cairo-win32-font.pc +12 -0
  30. data/cairo/lib/pkgconfig/cairo-win32.pc +12 -0
  31. data/cairo/lib/pkgconfig/cairo.pc +13 -0
  32. data/cairo/lib/pkgconfig/libpng.pc +14 -0
  33. data/cairo/lib/pkgconfig/libpng13.pc +14 -0
  34. data/cairo/make/cairo-1.6.4-1.sh +55 -0
  35. data/cairo/manifest/cairo-1.6.4-1.mft +6 -0
  36. data/cairo/manifest/cairo-dev-1.6.4-1.mft +72 -0
  37. data/cairo/manifest/libpng-dev-1.2.8.mft +7 -0
  38. data/cairo/share/doc/cairo-1.6.4-1/COPYING +32 -0
  39. data/cairo/share/doc/cairo-1.6.4-1/COPYING-LGPL-2.1 +510 -0
  40. data/cairo/share/doc/cairo-1.6.4-1/COPYING-MPL-1.1 +470 -0
  41. data/cairo/share/gtk-doc/html/cairo/Drawing.html +53 -0
  42. data/cairo/share/gtk-doc/html/cairo/Fonts.html +56 -0
  43. data/cairo/share/gtk-doc/html/cairo/Support.html +50 -0
  44. data/cairo/share/gtk-doc/html/cairo/Surfaces.html +65 -0
  45. data/cairo/share/gtk-doc/html/cairo/bindings-errors.html +128 -0
  46. data/cairo/share/gtk-doc/html/cairo/bindings-fonts.html +59 -0
  47. data/cairo/share/gtk-doc/html/cairo/bindings-memory.html +129 -0
  48. data/cairo/share/gtk-doc/html/cairo/bindings-overloading.html +127 -0
  49. data/cairo/share/gtk-doc/html/cairo/bindings-path.html +123 -0
  50. data/cairo/share/gtk-doc/html/cairo/bindings-patterns.html +63 -0
  51. data/cairo/share/gtk-doc/html/cairo/bindings-return-values.html +126 -0
  52. data/cairo/share/gtk-doc/html/cairo/bindings-streams.html +98 -0
  53. data/cairo/share/gtk-doc/html/cairo/bindings-surfaces.html +99 -0
  54. data/cairo/share/gtk-doc/html/cairo/cairo-Error-Handling.html +328 -0
  55. data/cairo/share/gtk-doc/html/cairo/cairo-Font-Options.html +720 -0
  56. data/cairo/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +297 -0
  57. data/cairo/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +484 -0
  58. data/cairo/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +246 -0
  59. data/cairo/share/gtk-doc/html/cairo/cairo-PNG-Support.html +345 -0
  60. data/cairo/share/gtk-doc/html/cairo/cairo-Paths.html +1336 -0
  61. data/cairo/share/gtk-doc/html/cairo/cairo-Patterns.html +1560 -0
  62. data/cairo/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +656 -0
  63. data/cairo/share/gtk-doc/html/cairo/cairo-Quartz-Fonts.html +161 -0
  64. data/cairo/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +232 -0
  65. data/cairo/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +337 -0
  66. data/cairo/share/gtk-doc/html/cairo/cairo-Scaled-Fonts.html +823 -0
  67. data/cairo/share/gtk-doc/html/cairo/cairo-Text.html +836 -0
  68. data/cairo/share/gtk-doc/html/cairo/cairo-Transformations.html +462 -0
  69. data/cairo/share/gtk-doc/html/cairo/cairo-Types.html +143 -0
  70. data/cairo/share/gtk-doc/html/cairo/cairo-Version-Information.html +325 -0
  71. data/cairo/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +381 -0
  72. data/cairo/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +331 -0
  73. data/cairo/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +525 -0
  74. data/cairo/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +427 -0
  75. data/cairo/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +626 -0
  76. data/cairo/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +995 -0
  77. data/cairo/share/gtk-doc/html/cairo/cairo-cairo-t.html +2795 -0
  78. data/cairo/share/gtk-doc/html/cairo/cairo.devhelp +432 -0
  79. data/cairo/share/gtk-doc/html/cairo/cairo.devhelp2 +432 -0
  80. data/cairo/share/gtk-doc/html/cairo/home.png +0 -0
  81. data/cairo/share/gtk-doc/html/cairo/index-1.2.html +137 -0
  82. data/cairo/share/gtk-doc/html/cairo/index-1.4.html +105 -0
  83. data/cairo/share/gtk-doc/html/cairo/index-1.6.html +65 -0
  84. data/cairo/share/gtk-doc/html/cairo/index.html +134 -0
  85. data/cairo/share/gtk-doc/html/cairo/index.sgml +466 -0
  86. data/cairo/share/gtk-doc/html/cairo/ix01.html +693 -0
  87. data/cairo/share/gtk-doc/html/cairo/language-bindings.html +79 -0
  88. data/cairo/share/gtk-doc/html/cairo/left.png +0 -0
  89. data/cairo/share/gtk-doc/html/cairo/right.png +0 -0
  90. data/cairo/share/gtk-doc/html/cairo/style.css +148 -0
  91. data/cairo/share/gtk-doc/html/cairo/up.png +0 -0
  92. data/doc/doc.css +91 -0
  93. data/doc/en/cairo-antialias.html +41 -0
  94. data/doc/en/cairo-antialias.rd +16 -0
  95. data/doc/en/cairo-clip-not-representable-error.html +50 -0
  96. data/doc/en/cairo-clip-not-representable-error.rd +17 -0
  97. data/doc/en/cairo-color-base.html +72 -0
  98. data/doc/en/cairo-color-base.rd +38 -0
  99. data/doc/en/cairo-color-cmyk.html +160 -0
  100. data/doc/en/cairo-color-cmyk.rd +107 -0
  101. data/doc/en/cairo-color-hsv.html +140 -0
  102. data/doc/en/cairo-color-hsv.rd +91 -0
  103. data/doc/en/cairo-color-rgb.html +145 -0
  104. data/doc/en/cairo-color-rgb.rd +95 -0
  105. data/doc/en/cairo-color-x11.html +176 -0
  106. data/doc/en/cairo-color-x11.rd +151 -0
  107. data/doc/en/cairo-color.html +241 -0
  108. data/doc/en/cairo-color.rd +213 -0
  109. data/doc/en/cairo-content.html +40 -0
  110. data/doc/en/cairo-content.rd +15 -0
  111. data/doc/en/cairo-context-blur.html +42 -0
  112. data/doc/en/cairo-context-blur.rd +15 -0
  113. data/doc/en/cairo-context-circle.html +42 -0
  114. data/doc/en/cairo-context-circle.rd +15 -0
  115. data/doc/en/cairo-context-color.html +42 -0
  116. data/doc/en/cairo-context-color.rd +15 -0
  117. data/doc/en/cairo-context-path.html +47 -0
  118. data/doc/en/cairo-context-path.rd +19 -0
  119. data/doc/en/cairo-context-rectangle.html +42 -0
  120. data/doc/en/cairo-context-rectangle.rd +15 -0
  121. data/doc/en/cairo-context-triangle.html +42 -0
  122. data/doc/en/cairo-context-triangle.rd +15 -0
  123. data/doc/en/cairo-context.html +636 -0
  124. data/doc/en/cairo-context.rd +491 -0
  125. data/doc/en/cairo-error.html +47 -0
  126. data/doc/en/cairo-error.rd +16 -0
  127. data/doc/en/cairo-extend.html +41 -0
  128. data/doc/en/cairo-extend.rd +16 -0
  129. data/doc/en/cairo-file-not-found.html +50 -0
  130. data/doc/en/cairo-file-not-found.rd +17 -0
  131. data/doc/en/cairo-fill-rule.html +39 -0
  132. data/doc/en/cairo-fill-rule.rd +14 -0
  133. data/doc/en/cairo-filter.html +43 -0
  134. data/doc/en/cairo-filter.rd +18 -0
  135. data/doc/en/cairo-font-extents.html +74 -0
  136. data/doc/en/cairo-font-extents.rd +40 -0
  137. data/doc/en/cairo-font-face.html +41 -0
  138. data/doc/en/cairo-font-face.rd +14 -0
  139. data/doc/en/cairo-font-options.html +142 -0
  140. data/doc/en/cairo-font-options.rd +94 -0
  141. data/doc/en/cairo-font-slant.html +40 -0
  142. data/doc/en/cairo-font-slant.rd +15 -0
  143. data/doc/en/cairo-font-weight.html +39 -0
  144. data/doc/en/cairo-font-weight.rd +14 -0
  145. data/doc/en/cairo-format.html +49 -0
  146. data/doc/en/cairo-format.rd +22 -0
  147. data/doc/en/cairo-glyph.html +102 -0
  148. data/doc/en/cairo-glyph.rd +62 -0
  149. data/doc/en/cairo-gradient-pattern.html +77 -0
  150. data/doc/en/cairo-gradient-pattern.rd +41 -0
  151. data/doc/en/cairo-hint-metrics.html +40 -0
  152. data/doc/en/cairo-hint-metrics.rd +15 -0
  153. data/doc/en/cairo-hint-style.html +42 -0
  154. data/doc/en/cairo-hint-style.rd +17 -0
  155. data/doc/en/cairo-image-surface.html +85 -0
  156. data/doc/en/cairo-image-surface.rd +47 -0
  157. data/doc/en/cairo-invalid-content-error.html +50 -0
  158. data/doc/en/cairo-invalid-content-error.rd +17 -0
  159. data/doc/en/cairo-invalid-dash-error.html +50 -0
  160. data/doc/en/cairo-invalid-dash-error.rd +17 -0
  161. data/doc/en/cairo-invalid-dsc-comment-error.html +50 -0
  162. data/doc/en/cairo-invalid-dsc-comment-error.rd +17 -0
  163. data/doc/en/cairo-invalid-format-error.html +50 -0
  164. data/doc/en/cairo-invalid-format-error.rd +17 -0
  165. data/doc/en/cairo-invalid-index-error.html +50 -0
  166. data/doc/en/cairo-invalid-index-error.rd +17 -0
  167. data/doc/en/cairo-invalid-matrix-error.html +50 -0
  168. data/doc/en/cairo-invalid-matrix-error.rd +17 -0
  169. data/doc/en/cairo-invalid-path-data-error.html +50 -0
  170. data/doc/en/cairo-invalid-path-data-error.rd +17 -0
  171. data/doc/en/cairo-invalid-pop-group-error.html +50 -0
  172. data/doc/en/cairo-invalid-pop-group-error.rd +17 -0
  173. data/doc/en/cairo-invalid-restore-error.html +50 -0
  174. data/doc/en/cairo-invalid-restore-error.rd +17 -0
  175. data/doc/en/cairo-invalid-status-error.html +50 -0
  176. data/doc/en/cairo-invalid-status-error.rd +17 -0
  177. data/doc/en/cairo-invalid-stride-error.html +50 -0
  178. data/doc/en/cairo-invalid-stride-error.rd +17 -0
  179. data/doc/en/cairo-invalid-string-error.html +50 -0
  180. data/doc/en/cairo-invalid-string-error.rd +17 -0
  181. data/doc/en/cairo-invalid-visual-error.html +50 -0
  182. data/doc/en/cairo-invalid-visual-error.rd +17 -0
  183. data/doc/en/cairo-line-cap.html +40 -0
  184. data/doc/en/cairo-line-cap.rd +15 -0
  185. data/doc/en/cairo-line-join.html +40 -0
  186. data/doc/en/cairo-line-join.rd +15 -0
  187. data/doc/en/cairo-linear-pattern.html +63 -0
  188. data/doc/en/cairo-linear-pattern.rd +28 -0
  189. data/doc/en/cairo-matrix.html +257 -0
  190. data/doc/en/cairo-matrix.rd +186 -0
  191. data/doc/en/cairo-no-current-point-error.html +50 -0
  192. data/doc/en/cairo-no-current-point-error.rd +17 -0
  193. data/doc/en/cairo-null-pointer-error.html +50 -0
  194. data/doc/en/cairo-null-pointer-error.rd +17 -0
  195. data/doc/en/cairo-operator.html +51 -0
  196. data/doc/en/cairo-operator.rd +26 -0
  197. data/doc/en/cairo-paper-parse-error.html +50 -0
  198. data/doc/en/cairo-paper-parse-error.rd +17 -0
  199. data/doc/en/cairo-paper-unknown-paper-name.html +69 -0
  200. data/doc/en/cairo-paper-unknown-paper-name.rd +30 -0
  201. data/doc/en/cairo-paper-unknown-unit.html +69 -0
  202. data/doc/en/cairo-paper-unknown-unit.rd +30 -0
  203. data/doc/en/cairo-paper-unrecognized-paper-description.html +69 -0
  204. data/doc/en/cairo-paper-unrecognized-paper-description.rd +30 -0
  205. data/doc/en/cairo-paper.html +187 -0
  206. data/doc/en/cairo-paper.rd +141 -0
  207. data/doc/en/cairo-path-close-path.html +52 -0
  208. data/doc/en/cairo-path-close-path.rd +21 -0
  209. data/doc/en/cairo-path-curve-to.html +52 -0
  210. data/doc/en/cairo-path-curve-to.rd +21 -0
  211. data/doc/en/cairo-path-data-type.html +41 -0
  212. data/doc/en/cairo-path-data-type.rd +16 -0
  213. data/doc/en/cairo-path-data.html +101 -0
  214. data/doc/en/cairo-path-data.rd +62 -0
  215. data/doc/en/cairo-path-line-to.html +52 -0
  216. data/doc/en/cairo-path-line-to.rd +21 -0
  217. data/doc/en/cairo-path-move-to.html +52 -0
  218. data/doc/en/cairo-path-move-to.rd +21 -0
  219. data/doc/en/cairo-path.html +158 -0
  220. data/doc/en/cairo-path.rd +109 -0
  221. data/doc/en/cairo-pattern-type-mismatch-error.html +50 -0
  222. data/doc/en/cairo-pattern-type-mismatch-error.rd +17 -0
  223. data/doc/en/cairo-pattern.html +102 -0
  224. data/doc/en/cairo-pattern.rd +62 -0
  225. data/doc/en/cairo-pdf-surface.html +60 -0
  226. data/doc/en/cairo-pdf-surface.rd +27 -0
  227. data/doc/en/cairo-point.html +77 -0
  228. data/doc/en/cairo-point.rd +42 -0
  229. data/doc/en/cairo-ps-level.html +52 -0
  230. data/doc/en/cairo-ps-level.rd +24 -0
  231. data/doc/en/cairo-ps-surface.html +95 -0
  232. data/doc/en/cairo-ps-surface.rd +55 -0
  233. data/doc/en/cairo-quartz-image-surface.html +60 -0
  234. data/doc/en/cairo-quartz-image-surface.rd +27 -0
  235. data/doc/en/cairo-quartz-surface.html +60 -0
  236. data/doc/en/cairo-quartz-surface.rd +27 -0
  237. data/doc/en/cairo-radial-pattern.html +63 -0
  238. data/doc/en/cairo-radial-pattern.rd +28 -0
  239. data/doc/en/cairo-read-error.html +50 -0
  240. data/doc/en/cairo-read-error.rd +17 -0
  241. data/doc/en/cairo-rectangle.html +92 -0
  242. data/doc/en/cairo-rectangle.rd +54 -0
  243. data/doc/en/cairo-scaled-font.html +87 -0
  244. data/doc/en/cairo-scaled-font.rd +50 -0
  245. data/doc/en/cairo-solid-pattern.html +65 -0
  246. data/doc/en/cairo-solid-pattern.rd +31 -0
  247. data/doc/en/cairo-subpixel-order.html +42 -0
  248. data/doc/en/cairo-subpixel-order.rd +17 -0
  249. data/doc/en/cairo-surface-finished-error.html +50 -0
  250. data/doc/en/cairo-surface-finished-error.rd +17 -0
  251. data/doc/en/cairo-surface-pattern.html +60 -0
  252. data/doc/en/cairo-surface-pattern.rd +27 -0
  253. data/doc/en/cairo-surface-type-mismatch-error.html +50 -0
  254. data/doc/en/cairo-surface-type-mismatch-error.rd +17 -0
  255. data/doc/en/cairo-surface.html +114 -0
  256. data/doc/en/cairo-surface.rd +72 -0
  257. data/doc/en/cairo-svg-surface.html +80 -0
  258. data/doc/en/cairo-svg-surface.rd +44 -0
  259. data/doc/en/cairo-svg-version.html +52 -0
  260. data/doc/en/cairo-svg-version.rd +24 -0
  261. data/doc/en/cairo-temp-file-error.html +50 -0
  262. data/doc/en/cairo-temp-file-error.rd +17 -0
  263. data/doc/en/cairo-text-extents.html +79 -0
  264. data/doc/en/cairo-text-extents.rd +44 -0
  265. data/doc/en/cairo-win32-printing-surface.html +60 -0
  266. data/doc/en/cairo-win32-printing-surface.rd +27 -0
  267. data/doc/en/cairo-win32-surface.html +65 -0
  268. data/doc/en/cairo-win32-surface.rd +31 -0
  269. data/doc/en/cairo-write-error.html +50 -0
  270. data/doc/en/cairo-write-error.rd +17 -0
  271. data/doc/en/cairo.html +123 -0
  272. data/doc/en/cairo.rd +95 -0
  273. data/doc/en/index.html +1080 -0
  274. data/doc/en/index.rd +1051 -0
  275. data/doc/index.html +18 -0
  276. data/doc/ja/cairo-antialias.html +57 -0
  277. data/doc/ja/cairo-clip-not-representable-error.html +56 -0
  278. data/doc/ja/cairo-color-base.html +75 -0
  279. data/doc/ja/cairo-color-cmyk.html +152 -0
  280. data/doc/ja/cairo-color-hsv.html +135 -0
  281. data/doc/ja/cairo-color-rgb.html +145 -0
  282. data/doc/ja/cairo-color-x11.html +183 -0
  283. data/doc/ja/cairo-color.html +317 -0
  284. data/doc/ja/cairo-content.html +51 -0
  285. data/doc/ja/cairo-context-blur.html +53 -0
  286. data/doc/ja/cairo-context-circle.html +54 -0
  287. data/doc/ja/cairo-context-color.html +52 -0
  288. data/doc/ja/cairo-context-path.html +77 -0
  289. data/doc/ja/cairo-context-rectangle.html +60 -0
  290. data/doc/ja/cairo-context-triangle.html +47 -0
  291. data/doc/ja/cairo-context.html +1449 -0
  292. data/doc/ja/cairo-error.html +56 -0
  293. data/doc/ja/cairo-extend.html +56 -0
  294. data/doc/ja/cairo-file-not-found.html +51 -0
  295. data/doc/ja/cairo-fill-rule.html +58 -0
  296. data/doc/ja/cairo-filter.html +43 -0
  297. data/doc/ja/cairo-font-extents.html +110 -0
  298. data/doc/ja/cairo-font-face.html +55 -0
  299. data/doc/ja/cairo-font-options.html +186 -0
  300. data/doc/ja/cairo-font-slant.html +50 -0
  301. data/doc/ja/cairo-font-weight.html +47 -0
  302. data/doc/ja/cairo-format.html +81 -0
  303. data/doc/ja/cairo-glyph.html +115 -0
  304. data/doc/ja/cairo-gradient-pattern.html +119 -0
  305. data/doc/ja/cairo-hint-metrics.html +57 -0
  306. data/doc/ja/cairo-hint-style.html +64 -0
  307. data/doc/ja/cairo-image-surface.html +131 -0
  308. data/doc/ja/cairo-invalid-content-error.html +54 -0
  309. data/doc/ja/cairo-invalid-dash-error.html +54 -0
  310. data/doc/ja/cairo-invalid-dsc-comment-error.html +54 -0
  311. data/doc/ja/cairo-invalid-format-error.html +54 -0
  312. data/doc/ja/cairo-invalid-index-error.html +54 -0
  313. data/doc/ja/cairo-invalid-matrix-error.html +54 -0
  314. data/doc/ja/cairo-invalid-path-data-error.html +54 -0
  315. data/doc/ja/cairo-invalid-pop-group-error.html +54 -0
  316. data/doc/ja/cairo-invalid-restore-error.html +55 -0
  317. data/doc/ja/cairo-invalid-status-error.html +55 -0
  318. data/doc/ja/cairo-invalid-stride-error.html +55 -0
  319. data/doc/ja/cairo-invalid-string-error.html +54 -0
  320. data/doc/ja/cairo-invalid-visual-error.html +57 -0
  321. data/doc/ja/cairo-line-cap.html +50 -0
  322. data/doc/ja/cairo-line-join.html +53 -0
  323. data/doc/ja/cairo-linear-pattern.html +87 -0
  324. data/doc/ja/cairo-matrix.html +343 -0
  325. data/doc/ja/cairo-no-current-point-error.html +54 -0
  326. data/doc/ja/cairo-null-pointer-error.html +54 -0
  327. data/doc/ja/cairo-operator.html +51 -0
  328. data/doc/ja/cairo-paper-parse-error.html +55 -0
  329. data/doc/ja/cairo-paper-unknown-paper-name.html +76 -0
  330. data/doc/ja/cairo-paper-unknown-unit.html +75 -0
  331. data/doc/ja/cairo-paper-unrecognized-paper-description.html +76 -0
  332. data/doc/ja/cairo-paper.html +357 -0
  333. data/doc/ja/cairo-path-close-path.html +57 -0
  334. data/doc/ja/cairo-path-curve-to.html +70 -0
  335. data/doc/ja/cairo-path-data-type.html +53 -0
  336. data/doc/ja/cairo-path-data.html +127 -0
  337. data/doc/ja/cairo-path-line-to.html +62 -0
  338. data/doc/ja/cairo-path-move-to.html +62 -0
  339. data/doc/ja/cairo-path.html +144 -0
  340. data/doc/ja/cairo-pattern-type-mismatch-error.html +56 -0
  341. data/doc/ja/cairo-pattern.html +128 -0
  342. data/doc/ja/cairo-pdf-surface.html +86 -0
  343. data/doc/ja/cairo-point.html +90 -0
  344. data/doc/ja/cairo-ps-level.html +62 -0
  345. data/doc/ja/cairo-ps-surface.html +214 -0
  346. data/doc/ja/cairo-quartz-image-surface.html +75 -0
  347. data/doc/ja/cairo-quartz-surface.html +93 -0
  348. data/doc/ja/cairo-radial-pattern.html +93 -0
  349. data/doc/ja/cairo-read-error.html +55 -0
  350. data/doc/ja/cairo-rectangle.html +109 -0
  351. data/doc/ja/cairo-scaled-font.html +144 -0
  352. data/doc/ja/cairo-solid-pattern.html +87 -0
  353. data/doc/ja/cairo-subpixel-order.html +57 -0
  354. data/doc/ja/cairo-surface-finished-error.html +54 -0
  355. data/doc/ja/cairo-surface-pattern.html +68 -0
  356. data/doc/ja/cairo-surface-type-mismatch-error.html +56 -0
  357. data/doc/ja/cairo-surface.html +191 -0
  358. data/doc/ja/cairo-svg-surface.html +114 -0
  359. data/doc/ja/cairo-svg-version.html +66 -0
  360. data/doc/ja/cairo-temp-file-error.html +50 -0
  361. data/doc/ja/cairo-text-extents.html +101 -0
  362. data/doc/ja/cairo-win32-printing-surface.html +80 -0
  363. data/doc/ja/cairo-win32-surface.html +100 -0
  364. data/doc/ja/cairo-write-error.html +55 -0
  365. data/doc/ja/cairo.html +148 -0
  366. data/doc/ja/index.html +1080 -0
  367. data/extconf.rb +153 -0
  368. data/misc/update-colors.rb +143 -0
  369. data/pkg-config.rb +278 -0
  370. data/samples/agg/README +4 -0
  371. data/samples/agg/aa_demo.rb +47 -0
  372. data/samples/agg/aa_test.rb +304 -0
  373. data/samples/blur.rb +47 -0
  374. data/samples/pac.rb +99 -0
  375. data/samples/pac2.rb +171 -0
  376. data/samples/png.rb +45 -0
  377. data/samples/scalable.rb +56 -0
  378. data/samples/text-on-path.rb +60 -0
  379. data/samples/text2.rb +131 -0
  380. data/src/cairo.def +96 -0
  381. data/src/cairo.so +0 -0
  382. data/src/lib/cairo.rb +141 -0
  383. data/src/lib/cairo/color.rb +255 -0
  384. data/src/lib/cairo/colors.rb +656 -0
  385. data/src/lib/cairo/constants.rb +21 -0
  386. data/src/lib/cairo/context.rb +29 -0
  387. data/src/lib/cairo/context/blur.rb +45 -0
  388. data/src/lib/cairo/context/circle.rb +9 -0
  389. data/src/lib/cairo/context/color.rb +11 -0
  390. data/src/lib/cairo/context/path.rb +116 -0
  391. data/src/lib/cairo/context/rectangle.rb +33 -0
  392. data/src/lib/cairo/context/triangle.rb +12 -0
  393. data/src/lib/cairo/paper.rb +183 -0
  394. data/src/lib/cairo/papers.rb +41 -0
  395. data/src/lib/cairo/path.rb +15 -0
  396. data/src/lib/cairo/point.rb +7 -0
  397. data/src/libruby-cairo.a +0 -0
  398. data/src/rb_cairo.c +82 -0
  399. data/src/rb_cairo.h +264 -0
  400. data/src/rb_cairo_constants.c +456 -0
  401. data/src/rb_cairo_context.c +1548 -0
  402. data/src/rb_cairo_exception.c +214 -0
  403. data/src/rb_cairo_font_extents.c +125 -0
  404. data/src/rb_cairo_font_face.c +56 -0
  405. data/src/rb_cairo_font_options.c +197 -0
  406. data/src/rb_cairo_glyph.c +159 -0
  407. data/src/rb_cairo_matrix.c +350 -0
  408. data/src/rb_cairo_path.c +459 -0
  409. data/src/rb_cairo_pattern.c +540 -0
  410. data/src/rb_cairo_private.c +78 -0
  411. data/src/rb_cairo_private.h +72 -0
  412. data/src/rb_cairo_scaled_font.c +177 -0
  413. data/src/rb_cairo_surface.c +1252 -0
  414. data/src/rb_cairo_text_extents.c +138 -0
  415. data/test/run-test.rb +15 -0
  416. data/test/test_paper.rb +81 -0
  417. data/test/test_pkg_config.rb +122 -0
  418. metadata +490 -0
data/AUTHORS ADDED
@@ -0,0 +1,4 @@
1
+ Evan Marin <martine@danga.com>
2
+ Øyvind Kolås <oeyvindk@hig.no>
3
+ MenTaLguY <mental@rydia.net>
4
+ Kouhei Sutou <kou@cozmixng.org>
data/COPYING ADDED
@@ -0,0 +1,59 @@
1
+ Rcairo is copyrighted free software by the persons listed in AUTHORS
2
+ distributed under the same conditions as ruby; which follow:
3
+
4
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
5
+ You can redistribute it and/or modify it under either the terms of the GPL
6
+ (see the file GPL), or the conditions below:
7
+
8
+ 1. You may make and give away verbatim copies of the source form of the
9
+ software without restriction, provided that you duplicate all of the
10
+ original copyright notices and associated disclaimers.
11
+
12
+ 2. You may modify your copy of the software in any way, provided that
13
+ you do at least ONE of the following:
14
+
15
+ a) place your modifications in the Public Domain or otherwise
16
+ make them Freely Available, such as by posting said
17
+ modifications to Usenet or an equivalent medium, or by allowing
18
+ the author to include your modifications in the software.
19
+
20
+ b) use the modified software only within your corporation or
21
+ organization.
22
+
23
+ c) give non-standard binaries non-standard names, with
24
+ instructions on where to get the original software distribution.
25
+
26
+ d) make other distribution arrangements with the author.
27
+
28
+ 3. You may distribute the software in object code or binary form,
29
+ provided that you do at least ONE of the following:
30
+
31
+ a) distribute the binaries and library files of the software,
32
+ together with instructions (in the manual page or equivalent)
33
+ on where to get the original distribution.
34
+
35
+ b) accompany the distribution with the machine-readable source of
36
+ the software.
37
+
38
+ c) give non-standard binaries non-standard names, with
39
+ instructions on where to get the original software distribution.
40
+
41
+ d) make other distribution arrangements with the author.
42
+
43
+ 4. You may modify and include the part of the software into any other
44
+ software (possibly commercial). But some files in the distribution
45
+ are not written by the author, so that they are not under these terms.
46
+
47
+ For the list of those files and their copying conditions, see the
48
+ file LEGAL.
49
+
50
+ 5. The scripts and library files supplied as input to or produced as
51
+ output from the software do not automatically fall under the
52
+ copyright of the software, but belong to whomever generated them,
53
+ and may be sold commercially, and may be aggregated with this
54
+ software.
55
+
56
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
57
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
58
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59
+ PURPOSE.
@@ -0,0 +1,1320 @@
1
+ 2008-04-26 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * Rakefile: fix document dependency.
4
+
5
+ 2008-04-24 Kouhei Sutou <kou@cozmixng.org>
6
+
7
+ * extconf.rb: don't substitute prefixed gcc.
8
+
9
+ * Rakefile: include libruby-cairo.a into gem for mswin32.
10
+
11
+ * index.html: update information for Windows users.
12
+
13
+ * src/rb_cairo.c: 1.6.1 -> 1.7.0.
14
+
15
+ * test/test_pkg_config.rb: update expected result.
16
+
17
+ * NEWS: update.
18
+
19
+ * Rakefile: fix platform detection.
20
+
21
+ * src/rb_cairo.c: 1.7.0 -> 1.6.1.
22
+
23
+ * Rakefile, src/lib/cairo.rb: support gem for mswin32.
24
+
25
+ * README (Windows): add.
26
+
27
+ * Rakefile: don't require 'cairo' if needless.
28
+
29
+ * pkg-config.rb (PackageConfig#guess_default_path): ignore
30
+ require 'dl/import' error.
31
+
32
+ * pkg-config.rb (PackageConfig#guess_default_path): support
33
+ PKG_CONFIG_LIBDIR.
34
+ Suggested by OBATA Akio. Thanks!!!
35
+
36
+ 2008-04-16 Kouhei Sutou <kou@cozmixng.org>
37
+
38
+ * src/rb_cairo_surface.c: fix unbelievable typos.
39
+ Reported by kimura wataru. Thanks!!!
40
+
41
+ * README: update an entry for kimura wataru.
42
+
43
+ 2008-04-11 Kouhei Sutou <kou@cozmixng.org>
44
+
45
+ * src/rb_cairo.c: 1.6.0 -> 1.7.0.
46
+
47
+ * dist.sh: include documents.
48
+
49
+ * Rakefile:
50
+ - follow the recent Hoe's changes.
51
+ - fix dependencies.
52
+
53
+ * src/rb_cairo_surface.c: implemented Cairo::PSSurface#eps?.
54
+
55
+ * samples/png.rb: use convenience notation.
56
+
57
+ * samples/pac.rb, samples/pac2.rb: use Cairo::Paper.
58
+
59
+ * src/rb_cairo_surface.c: don't change paper's unit.
60
+
61
+ * src/lib/cairo/papers.rb: add landscape papers.
62
+
63
+ * test/test_paper.rb, src/lib/cairo/paper.rb: support name parsing.
64
+
65
+ * src/lib/cairo/paper.rb: improve unit handling.
66
+
67
+ * src/rb_cairo.c:
68
+ - BINDINGS_VERSION: 1.5.2 -> 1.6.0.
69
+ - support <= 1.6.0.
70
+
71
+ * NEWS: update.
72
+
73
+ * src/lib/cairo/papers.rb: fix unit.
74
+
75
+ * src/cairo.def, src/rb_cairo.c, src/rb_cairo.h, src/lib/cairo.rb,
76
+ src/rb_cairo_surface.c: Cairo::PSSurface.new,
77
+ Cairo::PDFSurface.new, Cairo::SVGSurface.new,
78
+ Cairo::PSSurface#set_size and Cairo::PDFSurface#set_size accept
79
+ paper description that can be parsed by Cairo::Paper.parse as page
80
+ size.
81
+
82
+ * src/lib/cairo/paper.rb, test/test_paper.rb: use pt as default unit.
83
+
84
+ * src/cairo.def, src/rb_cairo.h, src/rb_cairo_surface.c: add
85
+ CRSURFACE2RVAL_WITH_DESTROY() and
86
+ rb_cairo_surface_to_ruby_object_with_destroy().
87
+
88
+ * src/rb_cairo_surface.c (cr_surface_create_similar): fix memory leak.
89
+
90
+ 2008-04-09 Kouhei Sutou <kou@cozmixng.org>
91
+
92
+ * src/lib/cairo/paper.rb, test/test_paper.rb: improve parser.
93
+
94
+ * src/lib/cairo/paper.rb, src/lib/cairo/papers.rb,
95
+ test/test_paper.rb: add.
96
+
97
+ 2008-04-04 Kouhei Sutou <kou@cozmixng.org>
98
+
99
+ * extconf.rb: cleanup libruby-cairo.a.
100
+
101
+ * extconf.rb: support building with Wine + MinGW on my Linux
102
+ environment.
103
+
104
+ * extconf.rb: use search path for nmake.
105
+
106
+ * extconf.rb: add the same directory of extconf.rb to load path.
107
+
108
+ * extconf.rb: fix IMPLIB path.
109
+
110
+ * src/rb_cairo_constants.c: define dummy
111
+ rb_cairo_ps_level_from_ruby_object() just for creating cairo.lib.
112
+
113
+ * extconf.rb: substitute DLLIB not TARGET.
114
+
115
+ * pkg-config.rb: fix substitution for MSVC.
116
+
117
+ * extconf.rb: support output option for MSVC.
118
+
119
+ * src/rb_cairo_path.c: remove garbages.
120
+
121
+ * extconf.rb: fix object file extension substitution.
122
+
123
+ * pkg-config.rb: detect MSVC environment.
124
+
125
+ * pkg-config.rb: handle DL error.
126
+
127
+ 2008-04-03 Kouhei Sutou <kou@cozmixng.org>
128
+
129
+ * pkg-config.rb, test/test_pkg_config.rb: support
130
+ --with-override-variables extconf.rb option.
131
+
132
+ 2008-04-01 Kouhei Sutou <kou@cozmixng.org>
133
+
134
+ * samples/text2.rb: don't use block variable assignment.
135
+
136
+ * src/depend (install-so): use -run instead of ftools.
137
+
138
+ 2008-03-26 Kouhei Sutou <kou@cozmixng.org>
139
+
140
+ * src/rb_cairo_surface.c: added missing HAVE_RUBY_COCOA check.
141
+ Thanks to OBATA Akio!!!
142
+ * README: added OBATA Akio to the thanks list.
143
+
144
+ 2008-03-25 Kouhei Sutou <kou@cozmixng.org>
145
+
146
+ * src/rb_cairo_context.c (cr_initialize): fixed style.
147
+
148
+ 2008-03-04 Kouhei Sutou <kou@cozmixng.org>
149
+
150
+ * pkg-config.rb: supported building with ruby 1.9.1.
151
+
152
+ 2008-03-01 Kouhei Sutou <kou@cozmixng.org>
153
+
154
+ * src/rb_cairo_surface.c, src/cairo.def: Cairo::QuartzImageSurface
155
+ will work.
156
+
157
+ * src/rb_cairo_surface.c: supported <= 1.5.12.
158
+
159
+ * pkg-config.rb: searched default path too.
160
+
161
+ 2008-02-24 Kouhei Sutou <kou@cozmixng.org>
162
+
163
+ * pkg-config.rb: implemented --cflags-only-I.
164
+ * test/: added.
165
+
166
+ * src/rb_cairo_surface.c: worked with cairo >= 1.2.0.
167
+
168
+ * src/rb_cairo_context.c: fixed declaration position.
169
+
170
+ * extconf.rb: RUBY_ -> RB_.
171
+
172
+ * pkg-config.rb: implemented pkg-config for cross compiling with Wine.
173
+
174
+ 2008-02-21 Kouhei Sutou <kou@cozmixng.org>
175
+
176
+ * src/cairo.def, src/rb_cairo.h, src/rb_cairo_surface.c:
177
+ Cairo::Win32PrintingSurface will work.
178
+
179
+ * src/: supported <= 1.5.10.
180
+
181
+ 2008-01-18 Kouhei Sutou <kou@cozmixng.org>
182
+
183
+ * src/rb_cairo_surface.c: used rbobj_to_nsobj() and
184
+ ocid_to_rbobj() instead of rbobj_get_ocid() and ocobj_s_new().
185
+ Suggested by kimura wataru. Thanks!!!
186
+
187
+ * README: added kimura wataru to Thanks list.
188
+
189
+ * src/rb_cairo_surface.c: fixed # of arguments for
190
+ Cairo::Surface#mark_dirty.
191
+
192
+ * src/rb_cairo_surface.c: improved argument error message.
193
+
194
+ * extconf.rb: detected RubyCocoa.
195
+
196
+ 2008-01-11 Kouhei Sutou <kou@cozmixng.org>
197
+
198
+ * Rakefile: added docs task dependencies.
199
+
200
+ * dist.sh: updated update host.
201
+
202
+ * src/rb_cairo.c: 1.5.1 -> 1.5.2.
203
+
204
+ * src/: Cairo::WIN32Surface -> Cairo::Win32Surface.
205
+
206
+ * NEWS: added an entry for 1.5.1.
207
+
208
+ * extconf.rb: added Quartz backend check for -framework RubyCocoa.
209
+
210
+ * src/rb_cairo.h:
211
+ - RUBY_XXX -> RB_XXX.
212
+ - added extern "C" {}.
213
+ - added rb_cCairo_QuartzSurface.
214
+
215
+ * src/cairo.def: rb_cCairo_QuartzSurface.
216
+
217
+ * src/rb_cairo_surface.c: supported Quartz backend.
218
+
219
+ 2007-12-29 Kouhei Sutou <kou@cozmixng.org>
220
+
221
+ * src/rb_cairo_context.c (cr_set_source_surface): fixed wrong type
222
+ conversion.
223
+ Reported by Binzo. Thanks!!!
224
+
225
+ * README: updated Binzo entry in Thanks list.
226
+
227
+ 2007-12-28 Kouhei Sutou <kou@cozmixng.org>
228
+
229
+ * src/rb_cairo_context.c (cr_pop_group): fixed a memory leak bug.
230
+ Reported by Binzo. Thanks!!!
231
+
232
+ * README: added Binzo to Thanks list.
233
+
234
+ 2007-06-14 Kouhei Sutou <kou@cozmixng.org>
235
+
236
+ * extconf.rb, src/rb_cairo_surface.c, src/rb_cairo_private.h: used
237
+ rb_errinfo() and RSTRING_LEN() if available for supporting ruby
238
+ 1.9. Thanks to Paul van Tilburg!!!
239
+
240
+ * README: added Paul van Tilburg to Thanks list.
241
+
242
+ 2007-06-14 Paul van Tilburg <paulvt@debian.org>
243
+
244
+ * extconf.rb: used String#each_line instead of String#each for
245
+ supporting ruby 1.9.
246
+
247
+ 2007-06-03 Kouhei Sutou <kou@cozmixng.org>
248
+
249
+ * samples/agg/aa_test.rb: fixed wrong operation.
250
+
251
+ 2007-05-29 Kouhei Sutou <kou@cozmixng.org>
252
+
253
+ * src/lib/cairo/context/path.rb: fixed typos.
254
+ Thanks to NANKI Haruo!!!
255
+ * README: added an entry for NANKI Haruo.
256
+
257
+ 2007-05-28 Kouhei Sutou <kou@cozmixng.org>
258
+
259
+ * src/lib/cairo/context.rb, src/lib/cairo/context/triangle.rb:
260
+ added a convenience method.
261
+
262
+ * samples/agg/aa_test.rb: implemented random shapes test.
263
+
264
+ 2007-05-27 Kouhei Sutou <kou@cozmixng.org>
265
+
266
+ * samples/agg/aa_test.rb: ported from AGG's example.
267
+
268
+ * README: added some links for documentation.
269
+
270
+ * src/rb_cairo.c: 1.5.0 -> 1.5.1.
271
+
272
+ * Rakefile: improved current release NEWS extraction.
273
+
274
+ * NEWS: updated.
275
+
276
+ * Rakefile: supported document update.
277
+
278
+ * src/depend (install-so): used install-so instead of install.
279
+
280
+ * src/rb_cairo_font_options.c (Cairo::FontOptions#merge): renamed
281
+ to merge! because the method is destructive.
282
+
283
+ * src/lib/cairo.rb (Cairo::FontOptions#merge): added
284
+ non-destructive version.
285
+
286
+ 2007-05-23 Kouhei Sutou <kou@cozmixng.org>
287
+
288
+ * src/lib/cairo.rb (Cairo.normalize_const_name): treated "." as
289
+ ignore character.
290
+
291
+ * src/rb_cairo.c (Cairo::BINDINGS_VERSION): 1.6.0 -> 1.5.0.
292
+
293
+ 2007-05-22 Kouhei Sutou <kou@cozmixng.org>
294
+
295
+ * src/rb_cairo_pattern.c (cr_radial_pattern_get_radial_circles):
296
+ returned [[x0, y0, r0], [x1, y1, r1]] instead of [x0, y0, r0, x1,
297
+ y1, r1].
298
+
299
+ * src/rb_cairo_path.c: used super.
300
+
301
+ * src/rb_cairo_path.c (Cairo::PathMoveTo, Cairo::PathLineTo,
302
+ Cairo::PathCurveTo, Cairo::PathClosePath): defined each path data
303
+ type as class.
304
+
305
+ 2007-05-21 Kouhei Sutou <kou@cozmixng.org>
306
+
307
+ * src/rb_cairo_matrix.c (Cairo::Matrix#transform_distance): fixed
308
+ a typo.
309
+
310
+ * src/rb_cairo_matrix.c: added accessors.
311
+
312
+ * src/rb_cairo_surface.c: supported 64bit platform. Thanks to
313
+ Yoshinao Muramatsu!
314
+
315
+ 2007-05-20 Kouhei Sutou <kou@cozmixng.org>
316
+
317
+ * src/rb_cairo_surface.c (cr_win32_surface_initialize): fixed a
318
+ typo. Thanks to Yoshinao Muramatsu!
319
+
320
+ * src/rb_cairo_font_face.c, src/lib/cairo/constants.rb: followed
321
+ up the previous commit.
322
+
323
+ * src/cairo.def, src/rb_cairo_pattern.c, src/rb_cairo_surface.c,
324
+ src/rb_cairo_font_face.c: removed needless methods XXX#type.
325
+
326
+ * src/rb_cairo.h, src/rb_cairo_pattern.c, src/rb_cairo_surface.c:
327
+ always detected surface and pattern type dynamically.
328
+ * src/rb_cairo_context.c: followed the above changes.
329
+
330
+ * src/rb_cairo.h, src/rb_cairo_surface.c: improved win32 surface
331
+ support. Thanks to Yoshinao Muramatsu!
332
+
333
+ * src/rb_cairo.h, src/cairo.def, src/rb_cairo_constants.rb:
334
+ added a module for each enum type.
335
+ * src/lib/cairo/constants.rb: kept the backward compatibility.
336
+
337
+ 2007-05-19 Kouhei Sutou <kou@cozmixng.org>
338
+
339
+ * src/lib/cairo/context/circle.rb (Cairo::Context::Circle#circle):
340
+ renamed parameter name to be more self-descriptive.
341
+
342
+ * src/rb_cairo.h, src/cairo.def, src/rb_cairo_surface.c:
343
+ supported win32 surface. Thanks to Yoshinao Muramatsu!!!
344
+
345
+ * README: added an entry for Yoshinao Muramatsu.
346
+
347
+ 2007-05-18 Kouhei Sutou <kou@cozmixng.org>
348
+
349
+ * src/rb_cairo_private.[ch] (rb_cairo__glyphs_to_array,
350
+ RB_CAIRO__GLYPHS_TO_ARRAY): fixed wrong memory allocation.
351
+ * src/rb_cairo_context.c, src/rb_cairo_scaled_font.c: used
352
+ RB_CAIRO__GLYPHS_TO_ARRAY instead of rb_cairo__glyphs_to_array().
353
+
354
+ * src/rb_cairo_context.c (cr_set_dash):
355
+ - made offset optional.
356
+ - accepted a number for dash_array.
357
+
358
+ 2007-05-15 Kouhei Sutou <kou@cozmixng.org>
359
+
360
+ * src/rb_cairo_context.c (cr_get_group_target): added NULL check.
361
+
362
+ * src/rb_cairo_context.c (cr_get_font_face): checked status of got
363
+ font face not context.
364
+
365
+ * src/rb_cairo_context.c (cr_set_font_face): accepted nil as font
366
+ face.
367
+
368
+ * src/rb_cairo_context.c (cr_copy_path, cr_copy_path_flat):
369
+ checked status of copied path not context.
370
+
371
+ 2007-05-10 Kouhei Sutou <kou@cozmixng.org>
372
+
373
+ * src/rb_cairo_surface.c (cr_surface_create_similar): retrieved
374
+ corresponding Ruby class by cairo_surface_get_type().
375
+
376
+ 2007-05-06 Kouhei Sutou <kou@cozmixng.org>
377
+
378
+ * src/rb_cairo_path.c, src/lib/cairo.rb, src/lib/cairo/path.rb:
379
+ added path related methods such as move_to, line_to and curve_to
380
+ to Cairo::Path.
381
+
382
+ * src/lib/cairo/context/path.rb
383
+ (Cairo::Context::Path#transform_path): multi-thread safe.
384
+
385
+ 2007-05-03 Kouhei Sutou <kou@cozmixng.org>
386
+
387
+ * src/rb_cairo_path.c
388
+ (Cairo::PathData#move_to?, Cairo::PathData#line_to?,
389
+ Cairo::PathData#curve_to?, Cairo::PathData#close_path?): added.
390
+
391
+ * src/rb_cairo_private.h
392
+ (CBOOL2RVAL, RVAL2CBOOL): added.
393
+ (rb_cairo__is_kind_of): added.
394
+ * src/*.c: used rb_cairo__is_kind_of() instead of
395
+ RTEST(rb_obj_is_kind_of(...)).
396
+
397
+ * src/rb_cairo_path.c
398
+ (Cairo::Path#size, Cairo::Path#length, Cairo::Path#empty?): added.
399
+ (Cairo::Path#[]): supported negative index.
400
+
401
+ * src/rb_cairo_path.c (Cairo::PathData#each): added.
402
+
403
+ * src/rb_cairo.h, src/rb_cairo_path.c: added Cairo::Point and
404
+ Cairo::PathData.
405
+
406
+ * src/lib/cairo/point.rb (Cairo::Point#distance): moved from
407
+ Cairo::Context::Path::Point.
408
+ * src/lib/cairo/context/path.rb (Cairo::Context::Path::Point):
409
+ removed.
410
+ * src/lib/cairo.rb, src/lib/cairo/context/path.rb: used Cairo::Point.
411
+
412
+ 2007-05-01 Kouhei Sutou <kou@cozmixng.org>
413
+
414
+ * src/rb_cairo_pattern.c
415
+ (cr_gradient_pattern_get_color_stop_color): cleanup.
416
+
417
+ * src/rb_cairo.[ch]: exported Cairo::Color and Cairo::Color::Base.
418
+ * src/lib/cairo.rb: require cairo/color before cairo.so to export
419
+ Cairo::Color to cairo.so.
420
+
421
+ * src/rb_cairo_pattern.c: implemented src/lib/cairo/pattern.rb
422
+ methods in C.
423
+ * src/lib/cairo/pattern.rb: removed.
424
+ * src/lib/cairo.rb: removed cairo/pattern.
425
+
426
+ * src/rb_cairo_private.[ch] (rb_cairo__const_get,
427
+ Init_cairo_private): added.
428
+ * src/rb_cairo.c: moved Init_* declarations to rb_cairo_private.h.
429
+ * src/rb_cairo_constants.c: supported abbrev notation for constant
430
+ name. We can write just like
431
+ context.antialias = :none
432
+ instead of
433
+ context.antialias = Cairo::ANTIALIAS_NONE
434
+
435
+ * src/lib/cairo.rb (Cairo.normalize_const_name): added.
436
+ * src/lib/cairo/color.rb: used Cairo.normalize_const_name.
437
+
438
+ 2007-04-30 Kouhei Sutou <kou@cozmixng.org>
439
+
440
+ * src/lib/cairo/context.rb, src/lib/cairo/context/quad.rb: moved
441
+ quadratic Bézier curve support to ...
442
+ * src/rb_cairo_context.c: ... here.
443
+
444
+ * src/lib/cairo/context/path.rb
445
+ (Cairo::Context::Path#map_path_onto): fixed a boundary value bug.
446
+
447
+ 2007-04-19 Kouhei Sutou <kou@cozmixng.org>
448
+
449
+ * src/rb_cairo_context.c (Cairo::Context#stroke,
450
+ Cairo::Context#fill, Cairo::Context#clip): accept 'preserve' option
451
+ to change XXX and XXX_preserve.
452
+ * src/lib/cairo/context.rb (Cairo::Context#stroke_preserve,
453
+ Cairo::Context#fill_preserve, Cairo::Context#clip_preserve): moved
454
+ from src/rb_cairo_context.c.
455
+
456
+ 2007-04-18 Kouhei Sutou <kou@cozmixng.org>
457
+
458
+ * src/lib/cairo/color.rb (Cairo::Color.parse):
459
+ - supported :hsv and :hsva.
460
+ - added robust parse mode.
461
+
462
+ * samples/blur.rb: used convenience interface of Cairo::ImageSurface.new.
463
+
464
+ * src/lib/cairo/color.rb: supported HSV.
465
+
466
+ 2007-04-16 Kouhei Sutou <kou@cozmixng.org>
467
+
468
+ * src/lib/cairo/color.rb, src/lib/cairo/pattern.rb,
469
+ src/lib/cairo/context/color.rb, src/rb_cairo_pattern.c: improved
470
+ Cairo::Color interface.
471
+
472
+ * sample/: used Cairo::Color.
473
+
474
+ * src/lib/cairo/color.rb: added validation.
475
+
476
+ * misc/update-colors.rb: supported X11 color names.
477
+ * src/lib/cairo/colors.rb: updated.
478
+
479
+ * misc/update-colors.rb: added colors.rb generator that extracts
480
+ popular colors from Wikipedia:List_of_colors page.
481
+
482
+ * src/lib/cairo/colors.rb: added popular colors generated by
483
+ updated-colors.rb.
484
+
485
+ * src/lib/cairo/color.rb: added high-level color class including
486
+ CMYK support.
487
+
488
+ * src/rb_cairo_pattern.c, src/lib/cairo.rb,
489
+ src/lib/cairo/context.rb, src/lib/cairo/pattern.rb: supported
490
+ Cairo::Color.
491
+
492
+ 2007-04-15 Kouhei Sutou <kou@cozmixng.org>
493
+
494
+ * src/rb_cairo_context.c
495
+ (cr_push_group): added error handling.
496
+ (cr_pop_group_to_source): updated source class.
497
+
498
+ * src/lib/cairo/context.rb, src/lib/cairo/context/blur.rb: added
499
+ Cairo::Context#pseudo_blur.
500
+
501
+ * samples/blur.rb: added a sample script for Cairo::Context#pseudo_blur.
502
+
503
+ * src/rb_cairo_context.c
504
+ (cr_pop_group): returned pattern.
505
+ (cr_push_group): returned popped pattern if not pop_to_source.
506
+
507
+ 2007-04-13 Kouhei Sutou <kou@cozmixng.org>
508
+
509
+ * Rakefile: supported 'rake release'.
510
+
511
+ * extconf.rb, Rakefile: supported RubyGems.
512
+
513
+ 2007-04-08 Kouhei Sutou <kou@cozmixng.org>
514
+
515
+ * src/rb_cairo_surface.c (yield_and_finish):
516
+ - renamed from ensure_finish_proc().
517
+ - don't use ensure.
518
+
519
+ * src/rb_cairo_surface.c (ensure_finish_proc): supported
520
+ Cairo::Surface.new with block. If block is exited, a surface is
521
+ finished automatically.
522
+
523
+ * sample/*.rb: followed the above change.
524
+
525
+ 2007-03-10 Kouhei Sutou <kou@cozmixng.org>
526
+
527
+ * src/rb_cairo.c (Cairo::BINDINGS_VERSION): 1.4.1 -> 1.6.0.
528
+
529
+ 2007-03-10 Kouhei Sutou <kou@cozmixng.org>
530
+
531
+ * NEWS: added 1.4.1 entry.
532
+
533
+ * pkg-config.rb: re-added.
534
+
535
+ * src/rb_cairo.c (Cairo::BINDINGS_VERSION): 1.6.0 -> 1.4.1 for
536
+ releasing 1.4.1.
537
+
538
+ 2007-03-06 Kouhei Sutou <kou@cozmixng.org>
539
+
540
+ * src/rb_cairo.c (Cairo::BINDINGS_VERSION): 1.4.0 -> 1.6.0.
541
+
542
+ * dist.sh: added release script.
543
+
544
+ * NEWS: added 1.4.0 entry.
545
+
546
+ * src/rb_cairo_context.c (cr_get_scaled_font): checked cairo
547
+ version.
548
+
549
+ * setup.rb: removed dependency on setup.rb. used Ruby-GNOME2
550
+ style.
551
+
552
+ * extconf.rb: moved from packages/cairo/ext/.
553
+
554
+ * packages/cairo/ext: move to ...
555
+ * src/: ... here.
556
+
557
+ * packages/cairo/lib: move to ...
558
+ * src/lib: ... here.
559
+
560
+ * README, samples/: followed the changes.
561
+
562
+ 2007-03-03 Kouhei Sutou <kou@cozmixng.org>
563
+
564
+ * packages/cairo/ext/rb_cairo_context.c: supported cairo 1.3.16.
565
+
566
+ * packages/cairo/ext/rb_cairo.h: cleanup.
567
+
568
+ * packages/cairo/ext/rb_cairo_scaled_font.c
569
+ (rb_cairo_scaled_font_to_ruby_object): fixed a conversion bug.
570
+
571
+ * packages/cairo/ext/rb_cairo_constants.c
572
+ (Cairo::SURFACE_TYPE_OS2): added.
573
+
574
+ 2007-02-25 Kouhei Sutou <kou@cozmixng.org>
575
+
576
+ * packages/cairo/lib/cairo.rb: supported Ruby-GNOME2 GUI Installer
577
+ for Win32.
578
+ Thanks to Masao Mutoh!
579
+
580
+ 2007-02-04 Kouhei Sutou <kou@cozmixng.org>
581
+
582
+ * packages/cairo/ext/rb_cairo_surface.c: the first argument of
583
+ Cairo::ImageSurface#initialize, cairo_format_t, is optional.
584
+ * samples/*.rb: followed the change.
585
+
586
+ 2007-01-21 Kouhei Sutou <kou@cozmixng.org>
587
+
588
+ * packages/cairo/ext/rb_cairo_context.c: supported cairo 1.3.12.
589
+
590
+ 2007-01-08 Kouhei Sutou <kou@cozmixng.org>
591
+
592
+ * samples/text2.rb (render_layout): used
593
+ Pango::LayoutIter#line_extents and Pango::LayoutIter#line_yrange.
594
+
595
+ 2007-01-02 Kouhei Sutou <kou@cozmixng.org>
596
+
597
+ * packages/cairo/ext/rb_cairo_context.c: cached Ruby object for
598
+ source.
599
+
600
+ 2007-01-01 Kouhei Sutou <kou@cozmixng.org>
601
+
602
+ * samples/text2.rb: used Pango::LayoutIter.
603
+
604
+ 2006-12-30 Kouhei Sutou <kou@cozmixng.org>
605
+
606
+ * packages/cairo/ext/rb_cairo_pattern.c: Cairo::GradientPattern#[]
607
+ -> Cairo::GradientPattern#get_color_stop.
608
+
609
+ 2006-12-29 Kouhei Sutou <kou@cozmixng.org>
610
+
611
+ * packages/cairo/ext/rb_cairo_context.c: keep reference of Ruby
612
+ object for the surface in the context.
613
+
614
+ * packages/cairo/ext/rb_cairo_surface.c:
615
+ - use file output functions provided by cairo.
616
+ - hold output target reference in surface.
617
+
618
+ 2006-12-28 Kouhei Sutou <kou@cozmixng.org>
619
+
620
+ * packages/cairo/ext/rb_cairo.c (Cairo::BINDINGS_VERSION):
621
+ 1.2.0 -> 1.4.0.
622
+
623
+ 2006-12-22 Kouhei Sutou <kou@cozmixng.org>
624
+
625
+ * packages/cairo/ext/rb_cairo_context.c,
626
+ packages/cairo/ext/rb_cairo_surface.c,
627
+ packages/cairo/ext/rb_cairo_pattern.c,
628
+ packages/cairo/ext/rb_cairo_exception.c,
629
+ packages/cairo/ext/rb_cairo_constants.c,
630
+ packages/cairo/ext/rb_cairo_pattern.c,
631
+ packages/cairo/ext/rb_cairo_private.h: supported cairo 1.3.8.
632
+
633
+ 2006-12-19 Kouhei Sutou <kou@cozmixng.org>
634
+
635
+ * packages/cairo/ext/rb_cairo_pattern.c:
636
+ - moved Cairo::SurfacePattern#{extend,filter}{,=} to
637
+ Cairo::Pattern. I can't remember why I defined them in
638
+ Cairo::SurfacePattern...
639
+ - defined Cairo::Pattern#__extend__ as alias of Object#extend to
640
+ avoid discarding.
641
+
642
+ 2006-12-15 Kouhei Sutou <kou@cozmixng.org>
643
+
644
+ * packages/cairo/lib/cairo/context/path.rb: ported Pango's
645
+ cairotwisted example as library.
646
+ * samples/text-on-path.rb: ported Pango's cairotwisted example by
647
+ using the library.
648
+
649
+ 2006-11-27 Kouhei Sutou <kou@cozmixng.org>
650
+
651
+ * packages/cairo/ext/rb_cairo.h (CAIRO_CHECK_VERSION): added.
652
+
653
+ * packages/cairo/ext/rb_cairo_surface.c: moved #write_to_png to
654
+ Cairo::Surface from Cairo::ImageSurface.
655
+
656
+ 2006-11-09 Kouhei Sutou <kou@cozmixng.org>
657
+
658
+ * packages/cairo/lib/cairo.rb, packages/cairo/lib/cairo/context/,
659
+ packages/cairo/lib/cairo/context.rb: split Cairo::Context
660
+ extensions with each file under packages/cairo/lib/cairo/context/
661
+ directory.
662
+
663
+ 2006-10-25 Kouhei Sutou <kou@cozmixng.org>
664
+
665
+ * packages/cairo/ext/rb_cairo_context.c (cr_clip)
666
+ (cr_clip_preserve): supported block.
667
+
668
+ 2006-10-22 NANKI Haruo <nanki@dotswitch.net>
669
+
670
+ * packages/cairo/ext/rb_cairo_path.c (cr_path_each): fixed
671
+ a conversion bug.
672
+
673
+ 2006-10-20 Kouhei Sutou <kou@cozmixng.org>
674
+
675
+ * packages/cairo/ext/rb_cairo_context.c (cr_select_font_face):
676
+ made slang and weight arguments of Cairo::Context#select_font_face
677
+ optional.
678
+
679
+ * samples/text2.rb: added --fade-out option.
680
+
681
+ 2006-10-15 Kouhei Sutou <kou@cozmixng.org>
682
+
683
+ * packages/cairo/ext/rb_cairo.c (Cairo::BINDINGS_VERSION): moved
684
+ from ...
685
+ * packages/cairo/lib/cairo.rb: ... here.
686
+
687
+ * packages/cairo/lib/cairo.rb: moved Cairo.__add_one_arg_setter
688
+ call to ...
689
+ * packages/cairo/ext/rb_cairo.c, packages/cairo/ext/rb_cairo.h,
690
+ packages/cairo/ext/rb_cairo_context.c,
691
+ packages/cairo/ext/rb_cairo_font_options.c,
692
+ packages/cairo/ext/rb_cairo_glyph.c,
693
+ packages/cairo/ext/rb_cairo_matrix.c,
694
+ packages/cairo/ext/rb_cairo_pattern.c,
695
+ packages/cairo/ext/rb_cairo_surface.c: ... here.
696
+
697
+ 2006-10-15 Mathieu Blondel <mathieu@mblondel.org>
698
+
699
+ * packages/cairo/lib/cairo.rb (Cairo::Context#quad_to,
700
+ Cairo::Context#rel_quad_to): followed the current API:
701
+ get_point -> current_point.
702
+
703
+ 2006-07-11 Kouhei Sutou <kou@cozmixng.org>
704
+
705
+ * packages/cairo/ext/rb_cairo_constants.c: added a check whether
706
+ SVG surface is available or not.
707
+
708
+ 2006-07-01 Kouhei Sutou <kou@cozmixng.org>
709
+
710
+ * NEWS: added 1.2.0 entry.
711
+
712
+ 2006-07-01 Kouhei Sutou <kou@cozmixng.org>
713
+
714
+ * README: supported only 1.2.0 or higher.
715
+ * packages/cairo/ext/extconf.rb: ditto.
716
+
717
+ * packages/cairo/ext/cairo.def: added
718
+ rb_cairo_svg_version_from_ruby_object().
719
+
720
+ * packages/cairo/ext/rb_cairo.c (Init_cairo): initialize constants
721
+ before other modules.
722
+
723
+ * packages/cairo/ext/rb_cairo.h:
724
+ - include all available header files.
725
+ - supported cairo_svg_version_t.
726
+
727
+ * packages/cairo/ext/rb_cairo_constants.c: supported
728
+ cairo_svg_surface_t.
729
+
730
+ * packages/cairo/ext/rb_cairo_surface.c: supported missing
731
+ functions in cairo-ps.h, cairo-pdf.h and cairo-svg.h.
732
+
733
+ * packages/cairo/lib/cairo.rb
734
+ (Cairo::SVGSurface.versions_as_string): added convenience method.
735
+
736
+ 2006-06-27 Kouhei Sutou <kou@cozmixng.org>
737
+
738
+ * packages/cairo/ext/rb_cairo_surface.c: use cairo_surface_type_t
739
+ for Ruby <-> C surface conversion.
740
+
741
+ * packages/cairo/ext/rb_cairo_context.c (cr_push_group): changed
742
+ default arguments handling to
743
+ push_group(content=nil, pop_to_source=true)
744
+ from
745
+ push_group(content=nil, pop_to_source=false)
746
+
747
+ * packages/cairo/ext/rb_cairo.c: fixed Cairo::VERSION.
748
+
749
+ 2006-06-25 Kouhei Sutou <kou@cozmixng.org>
750
+
751
+ * README, packages/cairo/ext/extconf.rb: supported only 1.1.10 or
752
+ higher.
753
+
754
+ * packages/cairo/ext/rb_cairo_constants.c: supported
755
+ CAIRO_FORMAT_RGB16_565.
756
+
757
+ * packages/cairo/ext/rb_cairo_surface.c:
758
+ - supported cairo_surface_get_content(),
759
+ cairo_surface_set_fallback_resolution(),
760
+ cairo_image_surface_get_data(),
761
+ cairo_image_surface_get_format() and
762
+ cairo_image_surface_get_stride().
763
+ - removed cairo_ps_surface_set_dpi(),
764
+ cairo_pdf_surface_set_dpi() and cairo_svg_surface_set_dpi()
765
+ support.
766
+
767
+ * samples/png.rb: added Cairo::ImageSurface#data sample.
768
+
769
+ 2006-06-01 Kouhei Sutou <kou@cozmixng.org>
770
+
771
+ * samples/text2.rb: added an example that output PS/PDF/SVG for
772
+ input text.
773
+
774
+ 2006-05-31 Kouhei Sutou <kou@cozmixng.org>
775
+
776
+ * README, packages/cairo/ext/extconf.rb: supported only 1.1.6 or
777
+ higher.
778
+
779
+ * packages/cairo/ext/rb_cairo_context.c: supported
780
+ cairo_push_group(), cairo_push_group_with_content(),
781
+ cairo_pop_group(), cairo_pop_group_to_source() and
782
+ cairo_get_group_target().
783
+
784
+ * packages/cairo/ext/rb_cairo_exception.c: supported
785
+ CAIRO_STATUS_INVALID_DSC_COMMENT.
786
+
787
+ * packages/cairo/ext/rb_cairo_surface.c: supported
788
+ cairo_surface_get_device_offset().
789
+
790
+ 2006-05-11 Kouhei Sutou <kou@cozmixng.org>
791
+
792
+ * packages/cairo/lib/cairo.rb: fixed typo.
793
+
794
+ 2006-05-02 Kouhei Sutou <kou@cozmixng.org>
795
+
796
+ * packages/cairo/ext/rb_cairo.c (Cairo::MINOR_VERSION): fixed
797
+ cairo_version() decoding bug.
798
+
799
+ * README, packages/cairo/ext/extconf.rb: supported only 1.1.2 or
800
+ higher.
801
+
802
+ * packages/cairo/ext/rb_cairo_surface.c: supported
803
+ cairo_surface_get_type().
804
+
805
+ * packages/cairo/ext/rb_cairo_scaled_font.c: supported
806
+ cairo_scaled_font_get_type(), cairo_scaled_font_text_extents(),
807
+ cairo_scaled_font_get_font_face(),
808
+ cairo_scaled_font_get_font_matrix(),
809
+ cairo_scaled_font_get_ctm() and
810
+ cairo_scaled_Font_get_font_options().
811
+
812
+ * packages/cairo/ext/rb_cairo_pattern.c: supported
813
+ cairo_pattern_get_type().
814
+
815
+ * packages/cairo/ext/rb_cairo_font_face.c: supported
816
+ cairo_font_face_get_type().
817
+
818
+ * packages/cairo/ext/rb_cairo_context.c: supported
819
+ cairo_new_sub_path() and cr_set_scaled_font().
820
+
821
+ * packages/cairo/ext/rb_cairo_constants.c: supported new enums.
822
+ - cairo_font_type_t
823
+ - cairo_surface_type_t
824
+ - cairo_pattern_type_t
825
+ - CAIRO_EXTEND_PAD
826
+
827
+ 2006-05-01 Kouhei Sutou <kou@cozmixng.org>
828
+
829
+ * packages/cairo/ext/rb_cairo_surface.c: supported
830
+ Cairo::SVGSurface.
831
+
832
+ * samples/scalable.rb:
833
+ - created by merging ps.rb, ps2.rb, pdf.rb and pdf2.rb.
834
+ - added Cairo::SVGSurface example.
835
+ * samples/ps.rb, samples/ps2.rb, samples/pdf.rb, samples/pdf2.rb:
836
+ merged into scalable.rb.
837
+
838
+ * samples/pac.rb, samples/pac2.rb: added Cairo::SVGSurface
839
+ example.
840
+
841
+ 2005-12-18 Kouhei Sutou <kou@cozmixng.org>
842
+
843
+ * packages/cairo/lib/cairo.rb (Cairo::Context#rounded_rectangle):
844
+ processed h and height same as the one of
845
+ Cairo::Context#rectangle.
846
+
847
+ * samples/pac1.rb, samples/pac2.rb: followed the above change.
848
+
849
+ 2005-10-18 Kouhei Sutou <kou@cozmixng.org>
850
+
851
+ * packages/cairo/ext/rb_cairo_surface.c: Not compile cr_closure
852
+ functions if PS/PDF surface isn't supported.
853
+
854
+ * samples/pac.rb: Use Cairo::Context#fill_preserve.
855
+ * samples/pac2.rb: ditto.
856
+
857
+ 2005-10-17 Kouhei Sutou <kou@cozmixng.org>
858
+
859
+ * packages/cairo/lib/cairo.rb
860
+ (Cairo::Context#rounded_rectangle, Cairo::Context#circle):
861
+ Added convenience methods.
862
+
863
+ * samples/pac.rb: Port PDF::Writer sample.
864
+ * samples/pac2.rb: ditto.
865
+
866
+ * packages/cairo/ext/rb_cairo_context.c: Fixed wrong number of
867
+ argument of Cairo::Context#identity_matrix.
868
+
869
+ 2005-10-16 Ilmari Heikkinen <kig@misfiring.net>
870
+
871
+ * packages/cairo/ext/rb_cairo_context.c (cr_get_font_options):
872
+ Fixed segmentation fault. Use cairo_font_options_create().
873
+ * packages/cairo/ext/rb_cairo_surface.c
874
+ (cr_surface_get_font_options): ditto.
875
+
876
+ * packages/cairo/ext/rb_cairo_constants.c: Fixed
877
+ typo. ANTIALIAS_NONO -> ANTIALIAS_NONE.
878
+
879
+ 2005-10-16 Kouhei Sutou <kou@cozmixng.org>
880
+
881
+ * NEWS: Added release 1.0.0.
882
+
883
+ 2005-10-15 Kouhei Sutou <kou@cozmixng.org>
884
+
885
+ * packages/cairo/ext/rb_cairo_context.c: Use StringValuePtr
886
+ instead of STR2CSTR.
887
+
888
+ * packages/cairo/ext/rb_cairo_surface.c: Supported PS/PDF surface.
889
+ * samples/ps.rb, samples/ps2.rb: Added PS surface sample.
890
+ * samples/pdf.rb, samples/pdf2.rb: Added PDF surface sample.
891
+
892
+ 2005-10-13 Kouhei Sutou <kou@cozmixng.org>
893
+
894
+ * packages/cairo/ext/rb_cairo_surface.c: Fixed a SEGV bug caused
895
+ by Ruby's GC.
896
+ (cr_image_surface_create_from_png_generic): Fixed a memory leak
897
+ bug.
898
+
899
+ * packages/cairo/ext/rb_cairo_pattern.c: Added
900
+ Cairo::GradientPattern#add_color_stop_rgb and
901
+ Cairo::GradientPattern#add_color_stop for convenience.
902
+
903
+ 2005-10-12 Kouhei Sutou <kou@cozmixng.org>
904
+
905
+ * samples/png.rb: Use Cairo::Context#set_source_rgb instead of
906
+ Cairo::Context#set_source.
907
+
908
+ * packages/cairo/ext/rb_cairo_context.c (cr_set_source_rgb):
909
+ Re-implemented for backward compatibility.
910
+
911
+ * samples/png.rb: Use Cairo::Context#set_source_rgba instead of
912
+ Cairo::Context#set_source.
913
+
914
+ * packages/cairo/ext/rb_cairo_surface.c
915
+ (cr_image_surface_create_from_png_generic): Set class of the
916
+ surface.
917
+
918
+ * packages/cairo/ext/rb_cairo_context.c (cr_set_source_generic):
919
+ Fixed wrong variable name.
920
+
921
+ 2005-10-11 Kouhei Sutou <kou@cozmixng.org>
922
+
923
+ * packages/cairo/ext/rb_cairo_context.c: Provided
924
+ Cairo::Context#set_soruce_rgba.
925
+ (cr_arc_negative, cr_arc): cx -> xc and cy -> yc.
926
+
927
+ * packages/cairo/ext: Extracted Ruby object -> enum type codes.
928
+
929
+ * packages/cairo/ext/rb_cairo_pattern.c
930
+ (cr_gradient_pattern_add_color_stop_rgba): Renamed from
931
+ cr_gradient_pattern_add_color_stop.
932
+
933
+ 2005-10-10 Øyvind Kolås <pippin@gimp.org>
934
+
935
+ * packages/cairo/ext/rb_cairo_pattern.c:
936
+ (cr_gradient_pattern_add_color_stop): Make the code work when not
937
+ passing the color as an array as well.
938
+
939
+ 2005-10-11 Kouhei Sutou <kou@cozmixng.org>
940
+
941
+ * packages/cairo/ext/rb_cairo.c: Added cairo version info.
942
+
943
+ * packages/cairo/lib/cairo.rb: Added bindings version info as
944
+ 1.0.0-beta.
945
+
946
+ * samples/canvas: Removed.
947
+
948
+ * packages/cairo/ext/: Added CVS keywords.
949
+
950
+ * packages/cairo/ext/rb_cairo_context.c: Renamed 'xform'.
951
+ * packages/cairo/ext/rb_cairo_font_face.c: ditto.
952
+ * packages/cairo/ext/rb_cairo_glyph.c: ditto.
953
+ * packages/cairo/ext/rb_cairo_matrix.c: ditto.
954
+
955
+ * packages/cairo/ext/rb_cairo_private.c: Changed prefix to
956
+ 'rb_cairo__' from 'cr__'.
957
+ * packages/cairo/ext/rb_cairo_matrix.c: ditto.
958
+ * packages/cairo/ext/rb_cairo_context.c: ditto.
959
+ * packages/cairo/ext/rb_cairo_private.h: ditto.
960
+
961
+ * packages/cairo/ext/rb_cairo_glyph.c:
962
+ - Use Cairo::Glyph#initialize instead of Cairo::Glyph.new.
963
+ - Added Cairo::Glyph#to_s.
964
+
965
+ * packages/cairo/ext/rb_cairo_font_extents.c:
966
+ - Removed Cairo::FontExtents.new.
967
+ - Added Cairo::FontExtents#to_s.
968
+
969
+ * packages/cairo/ext/rb_cairo_text_extents.c:
970
+ - Removed Cairo::TextExtents.new.
971
+ - Added Cairo::TextExtents#to_s.
972
+
973
+ 2005-10-10 Kouhei Sutou <kou@cozmixng.org>
974
+
975
+ * packages/cairo/ext/rb_cairo_constants.c: Supported all constants.
976
+
977
+ * packages/cairo/ext/rb_cairo_matrix.c: Added a utility method.
978
+
979
+ * packages/cairo/lib/cairo.rb: Remove deprecated API.
980
+
981
+ * packages/cairo/ext/rb_cairo_matrix.c: Tidied cairo_matrix_t.
982
+ * packages/cairo/lib/cairo.rb: ditto.
983
+
984
+ 2005-10-09 Kouhei Sutou <kou@cozmixng.org>
985
+
986
+ * packages/cairo/ext/rb_cairo_context.c,
987
+ packages/cairo/ext/rb_cairo_matrix.c: Moved duplicated
988
+ functions to ...
989
+ * packages/cairo/ext/rb_cairo_private.h: ... here.
990
+ * packages/cairo/ext/rb_cairo_private.c: ditto.
991
+
992
+ * packages/cairo/ext/rb_cairo_scaled_font.c: Implemented
993
+ cairo_scaled_font_t.
994
+ * packages/cairo/ext/cairo.def: ditto.
995
+ * packages/cairo/ext/rb_cairo.c: ditto.
996
+ * packages/cairo/ext/rb_cairo.h: ditto.
997
+
998
+ * packages/cairo/lib/cairo.rb: Removed deprecated wrapper API.
999
+
1000
+ * packages/cairo/ext/rb_cairo_surface.c:
1001
+ - Implemented File I/O API by Ruby.
1002
+ - SurfaceXXX -> XXXSurface.
1003
+
1004
+ * packages/cairo/ext/rb_cairo_exception.c: Tidied exceptions.
1005
+ * packages/cairo/ext/cairo.def: ditto.
1006
+ * packages/cairo/ext/rb_cairo.h: ditto.
1007
+ * packages/cairo/ext/rb_cairo_context.c: ditto.
1008
+ * packages/cairo/ext/rb_cairo_font_options.c: ditto.
1009
+ * packages/cairo/ext/rb_cairo_matrix.c: ditto.
1010
+ * packages/cairo/ext/rb_cairo_pattern.c: ditto.
1011
+ * packages/cairo/ext/rb_cairo_surface.c: ditto.
1012
+
1013
+ * packages/cairo/ext/rb_cairo_pattern.c: Implemented
1014
+ cairo_pattern_t.
1015
+ * packages/cairo/ext/rb_cairo.c: ditto.
1016
+ * packages/cairo/ext/rb_cairo.h: ditto.
1017
+ * packages/cairo/ext/cairo.def: ditto.
1018
+ * packages/cairo/lib/cairo.rb: ditto.
1019
+ * packages/cairo/ext/rb_cairo_context.c: Followed the avobe changes.
1020
+
1021
+ * packages/cairo/ext/rb_cairo_surface.c
1022
+ (cr_surface_write_to_png): Don't use rb_need_block() for ruby <=
1023
+ 1.8.2.
1024
+
1025
+ 2005-10-08 Kouhei Sutou <kou@cozmixng.org>
1026
+
1027
+ * packages/cairo/ext/rb_cairo_context.c: Supported all API for
1028
+ cairo_t.
1029
+ * samples/png.rb: Followed the avobe changes.
1030
+
1031
+ * packages/cairo/ext/rb_cairo_path.c: Implemented cairo_path_t.
1032
+ * packages/cairo/ext/rb_cairo.c: ditto.
1033
+ * packages/cairo/ext/rb_cairo.h: ditto.
1034
+ * packages/cairo/ext/cairo.def: ditto.
1035
+
1036
+ * packages/cairo/ext/rb_cairo_font_options.c: Fixed a typo.
1037
+
1038
+ * setup.rb: Added workaround for an error on Win32 platform.
1039
+ Patch from Masao Mutoh <mutoh@highway.ne.jp>. Thanks!
1040
+
1041
+ * packages/cairo/ext/rb_cairo_font_options.c: Implemented
1042
+ cairo_font_options_t.
1043
+ * packages/cairo/ext/rb_cairo_surface.c: ditto.
1044
+ * packages/cairo/ext/rb_cairo.c: ditto.
1045
+ * packages/cairo/ext/rb_cairo.h: ditto.
1046
+ * packages/cairo/ext/cairo.def: ditto.
1047
+ * packages/cairo/lib/cairo.rb: ditto.
1048
+
1049
+ 2005-10-07 Kouhei Sutou <kou@cozmixng.org>
1050
+
1051
+ * packages/cairo/ext: Added c-mode style configuration header for
1052
+ Emacs.
1053
+
1054
+ * samples/png.rb: Use Cairo::SurfaceImage instead of
1055
+ Cairo::Surface.
1056
+
1057
+ * packages/cairo/ext/rb_cairo_surface.c: Implemented
1058
+ cairo_surface_t.
1059
+
1060
+ * packages/cairo/ext/rb_cairo_exception.c: Sorted "case" in the
1061
+ order of declaration cairo_status_t in cairo.h.
1062
+
1063
+ 2005-10-06 Kouhei Sutou <kou@cozmixng.org>
1064
+
1065
+ * packages/cairo/ext/extconf.rb: Fixed Win32 platform problem.
1066
+ Patch from Masao Mutoh <mutoh@highway.ne.jp>. Thanks!
1067
+
1068
+ 2005-10-04 Kouhei Sutou <kou@cozmixng.org>
1069
+
1070
+ * packages/cairo/ext/rb_cairo.h: Support Win32 platform.
1071
+
1072
+ * packages/cairo/ext/extconf.rb: ditto.
1073
+
1074
+ * packages/cairo/ext/cairo.def: Added.
1075
+
1076
+ * packages/cairo/ext/pkg-config.rb: Added. This file is from
1077
+ Ruby/GLib.
1078
+
1079
+ 2005-10-01 Kouhei Sutou <kou@cozmixng.org>
1080
+
1081
+ * setup.rb: update to 3.4.0.
1082
+
1083
+ 2005-09-30 Kouhei Sutou <kou@cozmixng.org>
1084
+
1085
+ * packages/cairo/lib/cairo.rb: change indentation style to
1086
+ style of ruby-mode.el.
1087
+
1088
+ * README: update dependencies.
1089
+
1090
+ * packages/gtkcairo, packages/svgcairo: remove.
1091
+
1092
+ * setup.rb: update to 3.3.1.
1093
+
1094
+ 2005-09-29 Kouhei Sutou <kou@cozmixng.org>
1095
+
1096
+ * packages/cairo/ext/extconf.rb: check modversion.
1097
+ * packages/svgcairo/ext/extconf.rb: ditto.
1098
+
1099
+ 2005-09-13 Øyvind Kolås <pippin@gimp.org>
1100
+
1101
+ Patch from Kouhei Sutou
1102
+
1103
+ * packages/cairo/ext:
1104
+ - add (or rename) internal (static) functions to 'cr_XXX' prefix.
1105
+ - XXX_v -> rb_XXX
1106
+ - get_XXX -> XXX
1107
+ - remove needless RUBY_METHOD_FUNC cast.
1108
+ - call rb_obj_call_init() in new method.
1109
+
1110
+ * packages/cairo/ext/rb_cairo_font_face.c
1111
+ (rb_cairo_font_extents, rb_cairo_font_glyph_extents):
1112
+ move to ...
1113
+
1114
+ * packages/cairo/ext/rb_cairo_context.c:
1115
+ - ... here.
1116
+ - add some status checks.
1117
+
1118
+ * packages/cairo/ext/rb_cairo_context.c,
1119
+ packages/cairo/ext/rb_cairo.h:
1120
+ - rb_cairo_{from,to}_ruby_object ->
1121
+ rb_cairo_context_{from,to}_ruby_object
1122
+
1123
+ * packages/cairo/lib/cairo.rb: auto-generate XXX=.
1124
+ (Cairo::Context#save: move to the C-side.
1125
+
1126
+ 2005-09-10 Øyvind Kolås <pippin@gimp.org>
1127
+
1128
+ * AUTHORS: added Kouhei Sutou
1129
+
1130
+ 2005-09-10 Øyvind Kolås <pippin@gimp.org>
1131
+
1132
+ Patch from Kouhei Sutou <kou@cozmixng.org>.
1133
+
1134
+ Hiding free functions, cleanup of ruby <-> C conversion functions.
1135
+
1136
+ - rename ruby <-> C convert functions name.
1137
+ ruby -> C: rb_cairo_XXX_from_ruby_object().
1138
+ C -> ruby: rb_cairo_XXX_to_ruby_object().
1139
+
1140
+ - provide ruby <-> C convert macros.
1141
+ ruby -> C: RVAL2CRXXX()
1142
+ C -> ruby: CRXXX2RVAL()
1143
+
1144
+ - _SELF use RVAL2CRXXX()
1145
+ - rb_cairo_XXX_from_ruby_object() uses rb_obj_is_kind_of()
1146
+ instead of 'CLASS_OF() !=3D rb_cCairo_XXX'.
1147
+ - add 'static' or remove free functions.
1148
+
1149
+ 2005-09-09 Øyvind Kolås <pippin@freedesktop.org>
1150
+
1151
+ Missed a couple of files when applying the previous patch.
1152
+
1153
+ * packages/cairo/ext/rb_cairo_font_extents.h: removed.
1154
+ * packages/cairo/ext/post-install.rb: added.
1155
+
1156
+ 2005-09-09 Øyvind Kolås <pippin@freedesktop.org>
1157
+
1158
+ Header cleanup patch from Kouhei Sutou <kou@cozmixng.org>.
1159
+
1160
+ * packages/cairo/ext/rb_cairo_*.h: removed. The
1161
+ contents of packages/cairo/ext/rb_cairo_*.h are moved to
1162
+ packages/cairo/ext/rb_cairo.h.
1163
+ * packages/cairo/ext/rb_cairo_*.c: include rb_cairo.h instead of
1164
+ rb_cairo_*.h, Init_*() declarations are moved ...
1165
+ * packages/cairo/ext/rb_cairo.c: ... here.
1166
+
1167
+ 2005-09-08 Øyvind Kolås <pippin@freedesktop.org>
1168
+
1169
+ Integrated patch from Kouhei Sutou <kou@cozmixng.org>.
1170
+
1171
+ * packages/cairo/ext/rb_cairo_exception.h:
1172
+ * packages/cairo/ext/rb_cairo_exception.c:
1173
+ (rb_cairo_raise_exception),
1174
+ (Init_cairo_exception): Added new error types, made exception
1175
+ retrieve the status string itself.
1176
+ * packages/cairo/ext/rb_cairo_context.c:
1177
+ (check_context_status): Simplified exception raising.
1178
+ * packages/cairo/ext/rb_cairo_matrix.c:
1179
+ (rb_cairo_matrix_copy): create a new matrix when copying.
1180
+ (rb_cairo_matrix_invert): do status checking.
1181
+ (Init_cairo_matrix): register invert! method.
1182
+
1183
+ 2005-06-23 Øyvind Kolås <pippin@freedesktop.org>
1184
+
1185
+ API shakeup, watch out for falling parts.
1186
+
1187
+ * packages/cairo/ext/*.c: large changes, and regressions.
1188
+ * packages/cairo/ext/rb_cairo_font.[ch]: removed
1189
+ * packages/cairo/ext/rb_cairo_font_face.[ch]: added
1190
+ * packages/cairo/lib/cairo.rb:
1191
+ * samples/*.rb: removed
1192
+ * samples/png.rb: initial test case for new API.
1193
+ * README: fixed spelling error.
1194
+ * AUTHORS: added Ilmari Heikkinen.
1195
+
1196
+ 2005-03-21 Øyvind Kolås <pippin@freedesktop.org>
1197
+
1198
+ * packages/cairo/ext/rb_cairo_context.c: Rename methods to eliminate
1199
+ abbreviations (following changes in cairo.h):
1200
+ cairo_concat_matrix -> cairo_transform
1201
+ cairo_transform_point -> cairo_user_to_device
1202
+ cairo_transform_distance -> cairo_user_to_device_distance
1203
+ cairo_inverse_transform_point -> cairo_device_to_user
1204
+ cairo_inverse_transform_distance-> cairo_device_to_user_distance
1205
+ cairo_init_clip -> cairo_reset_clip
1206
+
1207
+
1208
+ 2005-03-20 Øyvind Kolås <pippin@freedesktop.org>
1209
+
1210
+ * README: reworked, borrowing ideas and style from pycairo README.
1211
+ * COPYING,
1212
+ * GPL,
1213
+ * AUTHORS: added.
1214
+
1215
+
1216
+ 2005-03-17 Øyvind Kolås <pippin@freedesktop.org>
1217
+
1218
+ * packages/cairo/ext/rb_cairo_exception.c: added WriteError and
1219
+ SurfaceFinishedError.
1220
+ * packages/cairo/ext/rb_cairo_surface.c:
1221
+ added finish method.
1222
+ fixed typo in define, that mistook define for PDF as PS.
1223
+ * packages/cairo/ext/rb_cairo_*:
1224
+ search and replace to use rb_cairo_exception_raise instead
1225
+ of cairo_raise_exception
1226
+ * samples/pdf.rb: removed
1227
+ * samples/pdf-a4_grid.rb: added
1228
+
1229
+
1230
+ 2005-03-15 Øyvind Kolås <pippin@freedesktop.org>
1231
+
1232
+ * packages/cairo/ext/rb_cairo_context.c:
1233
+ * packages/cairo/lib/cairo.rb: Following API shakeup in cairo,
1234
+ s/cairo_current_foo/cairo_get_foo/ .
1235
+
1236
+
1237
+ 2005-02-15 Øyvind Kolås <pippin@freedesktop.org>
1238
+
1239
+ * packages/cairo/ext/rb_cairo.c: added initialization of pattern.
1240
+ * packages/cairo/ext/rb_cairo_constants.c: added filter and extend
1241
+ enums.
1242
+ * packages/cairo/ext/rb_cairo_context.c: added pattern setting and
1243
+ getting, rewrote current_matrix to use rb_cairo_matrix_wrap.
1244
+ * packages/cairo/ext/rb_cairo_matrix.c: convenience function to
1245
+ wrap a cairo_matrix_t.
1246
+ * packages/cairo/ext/rb_cairo_pattern.c: added implementation for
1247
+ surface and linear/radial gradients.
1248
+ * packages/cairo/lib/cairo.rb: syntactic sugar for initializing
1249
+ gradient patterns with blocks.
1250
+ * samples/gradients.rb: sample showing the syntax of gradients.
1251
+
1252
+
1253
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
1254
+
1255
+ * packages/cairo/lib/cairo.rb: added optional 'handler' parameters to
1256
+ Context::current_path and Context#current_path_flat.
1257
+ patch from <mental@rydia.net>
1258
+
1259
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
1260
+
1261
+ * packages/cairo/lib/cairo.rb: made save_internal private,
1262
+ patch from <mental@rydia.net>
1263
+
1264
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
1265
+
1266
+ * packages/svgcairo/ext/rb_svgcairo.c: added error handling.
1267
+ usage of a port for passing FILE stream to the parser.
1268
+ * packages/svgcairo/ext/extconf.rb: added -W to the compile flags.
1269
+
1270
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
1271
+
1272
+ * packages/svgcairo/ext: added initial binding for libsvg-cairo,
1273
+ without error checking, and good integration with the ruby file
1274
+ handling.
1275
+
1276
+ 005-02-09 Øyvind Kolås <pippin@freedesktop.org>
1277
+
1278
+ * packages/cairo/lib/cairo.rb: Fixed naming of Transform class to be
1279
+ Matrix.
1280
+
1281
+ 2005-02-09 Øyvind Kolås <pippin@freedesktop.org>
1282
+
1283
+ * packages/cairo/lib/cairo.rb: Added the ability for save to
1284
+ take a block.
1285
+
1286
+ 2005-02-07 Øyvind Kolås <pippin@freedesktop.org>
1287
+
1288
+ * splitted into seperate files for classes
1289
+ * made use of _SELF macro for more direct access
1290
+ * unified under a rb_ namespace
1291
+ * added font handling and extents
1292
+
1293
+ 2005-02-06 Øyvind Kolås <pippin@freedesktop.org>
1294
+
1295
+ * imported mental guys ruby binding to my local tree
1296
+ * added ps and pdf surfaces
1297
+ * reindented according to GNU coding style
1298
+ * made stroke, fill, in_stroke, in_fill, fill_extents and
1299
+ stroke_extents accept blocks that define the path, in spirit
1300
+ of the previous binding.
1301
+ * added show_text, text_path, select_font, scale_font and
1302
+ transform_font
1303
+ * made to work with gtkcairo
1304
+
1305
+
1306
+ 2005-02-06 Øyvind Kolås <pippin@freedesktop.org>
1307
+
1308
+ * packages/cairo/cairo.c: add new headers
1309
+ * packages/cairo/gen-Cairo.c: remove unneeded hack to force
1310
+ unit size on newly set font.
1311
+
1312
+ 2004-11-19 Øyvind Kolås <pippin@freedesktop.org>
1313
+
1314
+ * packages/canvas/lib/canvas.rb Labal.width: access extents by atom
1315
+ instead of string.
1316
+
1317
+ 2004-11-19 Øyvind Kolås <pipipn@freedesktop.org>
1318
+
1319
+ * packages/cairo/ext/*.[ch]: reformatted code.
1320
+ * packages/gtkcairo/ext/*.[ch]: reformatted code.