cairo 1.14.1-x86-mingw32 → 1.14.2-x86-mingw32

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

Potentially problematic release.


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

Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +21 -0
  3. data/Rakefile +18 -7
  4. data/ext/cairo/cairo.def +1 -0
  5. data/ext/cairo/extconf.rb +23 -10
  6. data/ext/cairo/rb_cairo.c +3 -0
  7. data/ext/cairo/rb_cairo.h +3 -3
  8. data/ext/cairo/rb_cairo_context.c +1 -1
  9. data/ext/cairo/rb_cairo_io.c +4 -0
  10. data/ext/cairo/rb_cairo_io.h +2 -0
  11. data/ext/cairo/rb_cairo_pattern.c +4 -4
  12. data/ext/cairo/rb_cairo_private.h +2 -0
  13. data/ext/cairo/rb_cairo_surface.c +64 -232
  14. data/lib/2.0/cairo.so +0 -0
  15. data/lib/2.1/cairo.so +0 -0
  16. data/lib/2.2/cairo.so +0 -0
  17. data/lib/cairo.rb +20 -19
  18. data/lib/cairo/region.rb +14 -0
  19. data/test/test_region.rb +26 -0
  20. data/vendor/local/bin/fc-cache.exe +0 -0
  21. data/vendor/local/bin/fc-cat.exe +0 -0
  22. data/vendor/local/bin/fc-list.exe +0 -0
  23. data/vendor/local/bin/fc-match.exe +0 -0
  24. data/vendor/local/bin/fc-pattern.exe +0 -0
  25. data/vendor/local/bin/fc-query.exe +0 -0
  26. data/vendor/local/bin/fc-scan.exe +0 -0
  27. data/vendor/local/bin/fc-validate.exe +0 -0
  28. data/vendor/local/bin/freetype-config +2 -2
  29. data/vendor/local/bin/libcairo-2.dll +0 -0
  30. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  31. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  32. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  33. data/vendor/local/bin/libfreetype-6.dll +0 -0
  34. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  35. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  36. data/vendor/local/bin/libpng-config +1 -1
  37. data/vendor/local/bin/libpng16-16.dll +0 -0
  38. data/vendor/local/bin/libpng16-config +1 -1
  39. data/vendor/local/bin/libstdc++-6.dll +0 -0
  40. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  41. data/vendor/local/bin/libxml2-2.dll +0 -0
  42. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  43. data/vendor/local/bin/pngfix.exe +0 -0
  44. data/vendor/local/bin/xmlcatalog.exe +0 -0
  45. data/vendor/local/bin/xmllint.exe +0 -0
  46. data/vendor/local/bin/zlib1.dll +0 -0
  47. data/vendor/local/include/cairo/cairo-version.h +1 -1
  48. data/vendor/local/include/freetype2/config/ftconfig.h +19 -2
  49. data/vendor/local/include/freetype2/config/ftheader.h +7 -5
  50. data/vendor/local/include/freetype2/config/ftoption.h +9 -22
  51. data/vendor/local/include/freetype2/config/ftstdlib.h +2 -3
  52. data/vendor/local/include/freetype2/freetype.h +38 -17
  53. data/vendor/local/include/freetype2/ft2build.h +1 -1
  54. data/vendor/local/include/freetype2/ftadvanc.h +2 -2
  55. data/vendor/local/include/freetype2/ftautoh.h +50 -2
  56. data/vendor/local/include/freetype2/ftbbox.h +1 -1
  57. data/vendor/local/include/freetype2/ftbdf.h +1 -1
  58. data/vendor/local/include/freetype2/ftbitmap.h +11 -3
  59. data/vendor/local/include/freetype2/ftbzip2.h +1 -1
  60. data/vendor/local/include/freetype2/ftcache.h +3 -3
  61. data/vendor/local/include/freetype2/ftcffdrv.h +1 -1
  62. data/vendor/local/include/freetype2/ftcid.h +2 -1
  63. data/vendor/local/include/freetype2/fterrdef.h +1 -1
  64. data/vendor/local/include/freetype2/fterrors.h +1 -1
  65. data/vendor/local/include/freetype2/{ftxf86.h → ftfntfmt.h} +22 -14
  66. data/vendor/local/include/freetype2/ftgasp.h +1 -1
  67. data/vendor/local/include/freetype2/ftglyph.h +1 -1
  68. data/vendor/local/include/freetype2/ftgxval.h +1 -1
  69. data/vendor/local/include/freetype2/ftgzip.h +1 -1
  70. data/vendor/local/include/freetype2/ftimage.h +7 -13
  71. data/vendor/local/include/freetype2/ftincrem.h +1 -1
  72. data/vendor/local/include/freetype2/ftlcdfil.h +2 -2
  73. data/vendor/local/include/freetype2/ftlist.h +1 -1
  74. data/vendor/local/include/freetype2/ftlzw.h +1 -1
  75. data/vendor/local/include/freetype2/ftmac.h +1 -1
  76. data/vendor/local/include/freetype2/ftmm.h +17 -11
  77. data/vendor/local/include/freetype2/ftmodapi.h +4 -2
  78. data/vendor/local/include/freetype2/ftmoderr.h +1 -1
  79. data/vendor/local/include/freetype2/ftotval.h +1 -1
  80. data/vendor/local/include/freetype2/ftoutln.h +1 -1
  81. data/vendor/local/include/freetype2/ftpfr.h +1 -1
  82. data/vendor/local/include/freetype2/ftrender.h +3 -8
  83. data/vendor/local/include/freetype2/ftsizes.h +1 -1
  84. data/vendor/local/include/freetype2/ftsnames.h +1 -1
  85. data/vendor/local/include/freetype2/ftstroke.h +1 -1
  86. data/vendor/local/include/freetype2/ftsynth.h +5 -3
  87. data/vendor/local/include/freetype2/ftsystem.h +10 -1
  88. data/vendor/local/include/freetype2/fttrigon.h +1 -1
  89. data/vendor/local/include/freetype2/ftttdrv.h +85 -22
  90. data/vendor/local/include/freetype2/fttypes.h +1 -1
  91. data/vendor/local/include/freetype2/ftwinfnt.h +3 -3
  92. data/vendor/local/include/freetype2/t1tables.h +4 -3
  93. data/vendor/local/include/freetype2/ttnameid.h +116 -116
  94. data/vendor/local/include/freetype2/tttables.h +2 -2
  95. data/vendor/local/include/freetype2/tttags.h +1 -1
  96. data/vendor/local/include/freetype2/ttunpat.h +1 -1
  97. data/vendor/local/include/libpng16/png.h +63 -80
  98. data/vendor/local/include/libpng16/pngconf.h +8 -30
  99. data/vendor/local/include/libpng16/pnglibconf.h +10 -4
  100. data/vendor/local/include/png.h +63 -80
  101. data/vendor/local/include/pngconf.h +8 -30
  102. data/vendor/local/include/pnglibconf.h +10 -4
  103. data/vendor/local/lib/libcairo-gobject.a +0 -0
  104. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  105. data/vendor/local/lib/libcairo-gobject.la +2 -2
  106. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  107. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  108. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  109. data/vendor/local/lib/libcairo.a +0 -0
  110. data/vendor/local/lib/libcairo.dll.a +0 -0
  111. data/vendor/local/lib/libcairo.la +2 -2
  112. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  113. data/vendor/local/lib/libfreetype.a +0 -0
  114. data/vendor/local/lib/libfreetype.dll.a +0 -0
  115. data/vendor/local/lib/libfreetype.la +4 -4
  116. data/vendor/local/lib/libpixman-1.a +0 -0
  117. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  118. data/vendor/local/lib/libpng.a +0 -0
  119. data/vendor/local/lib/libpng.dll.a +0 -0
  120. data/vendor/local/lib/libpng.la +4 -4
  121. data/vendor/local/lib/libpng16.a +0 -0
  122. data/vendor/local/lib/libpng16.dll.a +0 -0
  123. data/vendor/local/lib/libpng16.la +4 -4
  124. data/vendor/local/lib/libxml2.a +0 -0
  125. data/vendor/local/lib/libxml2.dll.a +0 -0
  126. data/vendor/local/lib/libz.a +0 -0
  127. data/vendor/local/lib/libz.dll.a +0 -0
  128. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  129. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  130. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  131. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  132. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  133. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  134. data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
  135. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  136. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  137. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  138. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
  140. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  142. data/vendor/local/share/aclocal/freetype2.m4 +1 -1
  143. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +12 -12
  144. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +12 -12
  145. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +12 -12
  146. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +13 -13
  147. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +12 -12
  148. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +35 -35
  149. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +10 -10
  150. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +11 -11
  151. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +13 -13
  152. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +294 -225
  153. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +387 -269
  154. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +432 -302
  155. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +325 -217
  156. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +298 -193
  157. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1121 -812
  158. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +513 -383
  159. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +126 -83
  160. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +172 -119
  161. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +581 -372
  162. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +179 -130
  163. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +888 -539
  164. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +287 -192
  165. data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +374 -231
  166. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +395 -219
  167. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +125 -75
  168. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +630 -464
  169. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +225 -200
  170. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +336 -214
  171. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +277 -186
  172. data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +495 -350
  173. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +557 -362
  174. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +158 -111
  175. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +655 -441
  176. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +389 -280
  177. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +667 -451
  178. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +579 -351
  179. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2006 -1545
  180. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +892 -618
  181. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1624 -1188
  182. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2903 -2104
  183. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -13
  184. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -13
  185. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +13 -13
  186. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -13
  187. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1115 -758
  188. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +419 -604
  189. data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
  190. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
  191. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +70 -70
  192. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +58 -58
  193. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +39 -39
  194. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +30 -30
  195. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +38 -38
  196. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +426 -426
  197. data/vendor/local/share/gtk-doc/html/cairo/index.html +6 -6
  198. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +234 -325
  199. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +12 -12
  200. data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
  201. data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
  202. data/vendor/local/share/gtk-doc/html/cairo/right-insensitive.png +0 -0
  203. data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
  204. data/vendor/local/share/gtk-doc/html/cairo/style.css +221 -26
  205. data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
  206. data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
  207. data/vendor/local/share/license/cairo/README +1 -1
  208. data/vendor/local/share/license/freetype/README +6 -6
  209. data/vendor/local/share/license/freetype/README.git +1 -1
  210. data/vendor/local/share/license/libpng/README +2 -2
  211. data/vendor/local/share/man/man1/freetype-config.1 +1 -1
  212. data/vendor/local/share/man/man3/libpng.3 +85 -92
  213. data/vendor/local/share/man/man3/libpngpf.3 +2 -2
  214. data/vendor/local/share/man/man5/png.5 +1 -1
  215. metadata +23 -19
@@ -2,30 +2,27 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>SVG Surfaces</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: SVG Surfaces</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="cairo-surfaces.html" title="Surfaces">
9
9
  <link rel="prev" href="cairo-Win32-Surfaces.html" title="Win32 Surfaces">
10
10
  <link rel="next" href="cairo-Quartz-Surfaces.html" title="Quartz Surfaces">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="cairo-Win32-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
21
- <td><a accesskey="n" href="cairo-Quartz-Surfaces.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#cairo-SVG-Surfaces.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-SVG-Surfaces.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
+ <a href="#cairo-SVG-Surfaces.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-SVG-Surfaces.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
+ </td>
21
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
+ <td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="cairo-Win32-Surfaces.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-Quartz-Surfaces.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
+ </tr></table>
29
26
  <div class="refentry">
30
27
  <a name="cairo-SVG-Surfaces"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,270 +30,368 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-SVG-Surfaces.top_of_page"></a>SVG Surfaces</span></h2>
34
31
  <p>SVG Surfaces — Rendering SVG documents</p>
35
32
  </td>
36
- <td valign="top" align="right"></td>
33
+ <td class="gallery_image" valign="top" align="right"></td>
37
34
  </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="cairo-SVG-Surfaces.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">#define <a class="link" href="cairo-SVG-Surfaces.html#CAIRO-HAS-SVG-SURFACE:CAPS" title="CAIRO_HAS_SVG_SURFACE">CAIRO_HAS_SVG_SURFACE</a>
41
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-create" title="cairo_svg_surface_create ()">cairo_svg_surface_create</a> (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
42
- <em class="parameter"><code><span class="type">double</span> width_in_points</code></em>,
43
- <em class="parameter"><code><span class="type">double</span> height_in_points</code></em>);
44
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-create-for-stream" title="cairo_svg_surface_create_for_stream ()">cairo_svg_surface_create_for_stream</a> (<em class="parameter"><code><a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> write_func</code></em>,
45
- <em class="parameter"><code><span class="type">void</span> *closure</code></em>,
46
- <em class="parameter"><code><span class="type">double</span> width_in_points</code></em>,
47
- <em class="parameter"><code><span class="type">double</span> height_in_points</code></em>);
48
- <span class="returnvalue">void</span> <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-restrict-to-version" title="cairo_svg_surface_restrict_to_version ()">cairo_svg_surface_restrict_to_version</a>
49
- (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
50
- <em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);
51
- enum <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t">cairo_svg_version_t</a>;
52
- <span class="returnvalue">void</span> <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()">cairo_svg_get_versions</a> (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> const **versions</code></em>,
53
- <em class="parameter"><code><span class="type">int</span> *num_versions</code></em>);
54
- const <span class="returnvalue">char</span> * <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-to-string" title="cairo_svg_version_to_string ()">cairo_svg_version_to_string</a> (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);
55
- </pre>
35
+ <div class="refsect1">
36
+ <a name="cairo-SVG-Surfaces.functions"></a><h2>Functions</h2>
37
+ <div class="informaltable"><table width="100%" border="0">
38
+ <colgroup>
39
+ <col width="150px" class="functions_return">
40
+ <col class="functions_name">
41
+ </colgroup>
42
+ <tbody>
43
+ <tr>
44
+ <td class="function_type">
45
+ <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-create" title="cairo_svg_surface_create ()">cairo_svg_surface_create</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-create-for-stream" title="cairo_svg_surface_create_for_stream ()">cairo_svg_surface_create_for_stream</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <span class="returnvalue">void</span>
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-restrict-to-version" title="cairo_svg_surface_restrict_to_version ()">cairo_svg_surface_restrict_to_version</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <span class="returnvalue">void</span>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()">cairo_svg_get_versions</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <td class="function_type">const <span class="returnvalue">char</span> *
77
+ </td>
78
+ <td class="function_name">
79
+ <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-to-string" title="cairo_svg_version_to_string ()">cairo_svg_version_to_string</a> <span class="c_punctuation">()</span>
80
+ </td>
81
+ </tr>
82
+ </tbody>
83
+ </table></div>
56
84
  </div>
57
85
  <div class="refsect1">
58
- <a name="cairo-SVG-Surfaces.description"></a><h2>Description</h2>
59
- <p>
60
- The SVG surface is used to render cairo graphics to
61
- SVG files and is a multi-page vector surface backend.
62
- </p>
86
+ <a name="cairo-SVG-Surfaces.other"></a><h2>Types and Values</h2>
87
+ <div class="informaltable"><table width="100%" border="0">
88
+ <colgroup>
89
+ <col width="150px" class="name">
90
+ <col class="description">
91
+ </colgroup>
92
+ <tbody>
93
+ <tr>
94
+ <td class="define_keyword">#define</td>
95
+ <td class="function_name"><a class="link" href="cairo-SVG-Surfaces.html#CAIRO-HAS-SVG-SURFACE:CAPS" title="CAIRO_HAS_SVG_SURFACE">CAIRO_HAS_SVG_SURFACE</a></td>
96
+ </tr>
97
+ <tr>
98
+ <td class="datatype_keyword">enum</td>
99
+ <td class="function_name"><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t">cairo_svg_version_t</a></td>
100
+ </tr>
101
+ </tbody>
102
+ </table></div>
63
103
  </div>
64
104
  <div class="refsect1">
65
- <a name="cairo-SVG-Surfaces.details"></a><h2>Details</h2>
66
- <div class="refsect2">
67
- <a name="CAIRO-HAS-SVG-SURFACE:CAPS"></a><h3>CAIRO_HAS_SVG_SURFACE</h3>
68
- <pre class="programlisting">#define CAIRO_HAS_SVG_SURFACE 1
105
+ <a name="cairo-SVG-Surfaces.object-hierarchy"></a><h2>Object Hierarchy</h2>
106
+ <pre class="screen">
69
107
  </pre>
70
- <p>
71
- Defined if the SVG surface backend is available.
72
- This macro can be used to conditionally compile backend-specific code.
73
- </p>
74
- <p class="since">Since 1.2</p>
75
108
  </div>
76
- <hr>
109
+ <div class="refsect1">
110
+ <a name="cairo-SVG-Surfaces.description"></a><h2>Description</h2>
111
+ <p>The SVG surface is used to render cairo graphics to
112
+ SVG files and is a multi-page vector surface backend.</p>
113
+ </div>
114
+ <div class="refsect1">
115
+ <a name="cairo-SVG-Surfaces.functions_details"></a><h2>Functions</h2>
77
116
  <div class="refsect2">
78
- <a name="cairo-svg-surface-create"></a><h3>cairo_svg_surface_create ()</h3>
79
- <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * cairo_svg_surface_create (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
80
- <em class="parameter"><code><span class="type">double</span> width_in_points</code></em>,
81
- <em class="parameter"><code><span class="type">double</span> height_in_points</code></em>);</pre>
82
- <p>
83
- Creates a SVG surface of the specified size in points to be written
84
- to <em class="parameter"><code>filename</code></em>.
85
- </p>
86
- <p>
87
- The SVG surface backend recognizes the following MIME types for the
88
- data attached to a surface (see <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-set-mime-data" title="cairo_surface_set_mime_data ()"><code class="function">cairo_surface_set_mime_data()</code></a>) when
117
+ <a name="cairo-svg-surface-create"></a><h3>cairo_svg_surface_create ()</h3>
118
+ <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
119
+ cairo_svg_surface_create (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
120
+ <em class="parameter"><code><span class="type">double</span> width_in_points</code></em>,
121
+ <em class="parameter"><code><span class="type">double</span> height_in_points</code></em>);</pre>
122
+ <p>Creates a SVG surface of the specified size in points to be written
123
+ to <em class="parameter"><code>filename</code></em>
124
+ .</p>
125
+ <p>The SVG surface backend recognizes the following MIME types for the
126
+ data attached to a surface (see <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-set-mime-data" title="cairo_surface_set_mime_data ()"><code class="function">cairo_surface_set_mime_data()</code></a>) when
89
127
  it is used as a source pattern for drawing on this surface:
90
128
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JPEG:CAPS" title="CAIRO_MIME_TYPE_JPEG"><code class="literal">CAIRO_MIME_TYPE_JPEG</code></a>, <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-PNG:CAPS" title="CAIRO_MIME_TYPE_PNG"><code class="literal">CAIRO_MIME_TYPE_PNG</code></a>,
91
129
  <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-URI:CAPS" title="CAIRO_MIME_TYPE_URI"><code class="literal">CAIRO_MIME_TYPE_URI</code></a>. If any of them is specified, the SVG backend
92
130
  emits a href with the content of MIME data instead of a surface
93
- snapshot (PNG, Base64-encoded) in the corresponding image tag.
94
- </p>
95
- <p>
96
- The unofficial MIME type <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-URI:CAPS" title="CAIRO_MIME_TYPE_URI"><code class="literal">CAIRO_MIME_TYPE_URI</code></a> is examined
131
+ snapshot (PNG, Base64-encoded) in the corresponding image tag.</p>
132
+ <p>The unofficial MIME type <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-URI:CAPS" title="CAIRO_MIME_TYPE_URI"><code class="literal">CAIRO_MIME_TYPE_URI</code></a> is examined
97
133
  first. If present, the URI is emitted as is: assuring the
98
- correctness of URI is left to the client code.
99
- </p>
100
- <p>
101
- If <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-URI:CAPS" title="CAIRO_MIME_TYPE_URI"><code class="literal">CAIRO_MIME_TYPE_URI</code></a> is not present, but <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JPEG:CAPS" title="CAIRO_MIME_TYPE_JPEG"><code class="literal">CAIRO_MIME_TYPE_JPEG</code></a>
134
+ correctness of URI is left to the client code.</p>
135
+ <p>If <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-URI:CAPS" title="CAIRO_MIME_TYPE_URI"><code class="literal">CAIRO_MIME_TYPE_URI</code></a> is not present, but <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-JPEG:CAPS" title="CAIRO_MIME_TYPE_JPEG"><code class="literal">CAIRO_MIME_TYPE_JPEG</code></a>
102
136
  or <a class="link" href="cairo-cairo-surface-t.html#CAIRO-MIME-TYPE-PNG:CAPS" title="CAIRO_MIME_TYPE_PNG"><code class="literal">CAIRO_MIME_TYPE_PNG</code></a> is specified, the corresponding data is
103
- Base64-encoded and emitted.
104
- </p>
105
- <div class="variablelist"><table border="0">
106
- <col align="left" valign="top">
137
+ Base64-encoded and emitted.</p>
138
+ <div class="refsect3">
139
+ <a name="id-1.5.10.7.2.8"></a><h4>Parameters</h4>
140
+ <div class="informaltable"><table width="100%" border="0">
141
+ <colgroup>
142
+ <col width="150px" class="parameters_name">
143
+ <col class="parameters_description">
144
+ <col width="200px" class="parameters_annotations">
145
+ </colgroup>
107
146
  <tbody>
108
147
  <tr>
109
- <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
110
- <td>a filename for the SVG output (must be writable), <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> may be
148
+ <td class="parameter_name"><p>filename</p></td>
149
+ <td class="parameter_description"><p>a filename for the SVG output (must be writable), <code class="literal">NULL</code> may be
111
150
  used to specify no output. This will generate a SVG surface that
112
151
  may be queried and used as a source, without generating a
113
- temporary file.</td>
114
- </tr>
115
- <tr>
116
- <td><p><span class="term"><em class="parameter"><code>width_in_points</code></em> :</span></p></td>
117
- <td>width of the surface, in points (1 point == 1/72.0 inch)</td>
152
+ temporary file.</p></td>
153
+ <td class="parameter_annotations"> </td>
118
154
  </tr>
119
155
  <tr>
120
- <td><p><span class="term"><em class="parameter"><code>height_in_points</code></em> :</span></p></td>
121
- <td>height of the surface, in points (1 point == 1/72.0 inch)</td>
156
+ <td class="parameter_name"><p>width_in_points</p></td>
157
+ <td class="parameter_description"><p>width of the surface, in points (1 point == 1/72.0 inch)</p></td>
158
+ <td class="parameter_annotations"> </td>
122
159
  </tr>
123
160
  <tr>
124
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
125
- <td>a pointer to the newly created surface. The caller
126
- owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
127
- with it.
128
- This function always returns a valid pointer, but it will return a
129
- pointer to a "nil" surface if an error such as out of memory
130
- occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</td>
161
+ <td class="parameter_name"><p>height_in_points</p></td>
162
+ <td class="parameter_description"><p>height of the surface, in points (1 point == 1/72.0 inch)</p></td>
163
+ <td class="parameter_annotations"> </td>
131
164
  </tr>
132
165
  </tbody>
133
166
  </table></div>
167
+ </div>
168
+ <div class="refsect3">
169
+ <a name="id-1.5.10.7.2.9"></a><h4>Returns</h4>
170
+ <p> a pointer to the newly created surface. The caller
171
+ owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
172
+ with it.</p>
173
+ <p>This function always returns a valid pointer, but it will return a
174
+ pointer to a "nil" surface if an error such as out of memory
175
+ occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
176
+ <p></p>
177
+ </div>
134
178
  <p class="since">Since 1.2</p>
135
179
  </div>
136
180
  <hr>
137
181
  <div class="refsect2">
138
- <a name="cairo-svg-surface-create-for-stream"></a><h3>cairo_svg_surface_create_for_stream ()</h3>
139
- <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * cairo_svg_surface_create_for_stream (<em class="parameter"><code><a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> write_func</code></em>,
140
- <em class="parameter"><code><span class="type">void</span> *closure</code></em>,
141
- <em class="parameter"><code><span class="type">double</span> width_in_points</code></em>,
142
- <em class="parameter"><code><span class="type">double</span> height_in_points</code></em>);</pre>
143
- <p>
144
- Creates a SVG surface of the specified size in points to be written
145
- incrementally to the stream represented by <em class="parameter"><code>write_func</code></em> and <em class="parameter"><code>closure</code></em>.
146
- </p>
147
- <div class="variablelist"><table border="0">
148
- <col align="left" valign="top">
182
+ <a name="cairo-svg-surface-create-for-stream"></a><h3>cairo_svg_surface_create_for_stream ()</h3>
183
+ <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
184
+ cairo_svg_surface_create_for_stream (<em class="parameter"><code><a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> write_func</code></em>,
185
+ <em class="parameter"><code><span class="type">void</span> *closure</code></em>,
186
+ <em class="parameter"><code><span class="type">double</span> width_in_points</code></em>,
187
+ <em class="parameter"><code><span class="type">double</span> height_in_points</code></em>);</pre>
188
+ <p>Creates a SVG surface of the specified size in points to be written
189
+ incrementally to the stream represented by <em class="parameter"><code>write_func</code></em>
190
+ and <em class="parameter"><code>closure</code></em>
191
+ .</p>
192
+ <div class="refsect3">
193
+ <a name="id-1.5.10.7.3.5"></a><h4>Parameters</h4>
194
+ <div class="informaltable"><table width="100%" border="0">
195
+ <colgroup>
196
+ <col width="150px" class="parameters_name">
197
+ <col class="parameters_description">
198
+ <col width="200px" class="parameters_annotations">
199
+ </colgroup>
149
200
  <tbody>
150
201
  <tr>
151
- <td><p><span class="term"><em class="parameter"><code>write_func</code></em> :</span></p></td>
152
- <td>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
153
- to indicate a no-op <em class="parameter"><code>write_func</code></em>. With a no-op <em class="parameter"><code>write_func</code></em>,
202
+ <td class="parameter_name"><p>write_func</p></td>
203
+ <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <code class="literal">NULL</code>
204
+ to indicate a no-op <em class="parameter"><code>write_func</code></em>
205
+ . With a no-op <em class="parameter"><code>write_func</code></em>
206
+ ,
154
207
  the surface may be queried or used as a source without
155
- generating any temporary files.</td>
208
+ generating any temporary files.</p></td>
209
+ <td class="parameter_annotations"> </td>
156
210
  </tr>
157
211
  <tr>
158
- <td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
159
- <td>the closure argument for <em class="parameter"><code>write_func</code></em>
160
- </td>
212
+ <td class="parameter_name"><p>closure</p></td>
213
+ <td class="parameter_description"><p>the closure argument for <em class="parameter"><code>write_func</code></em>
214
+ </p></td>
215
+ <td class="parameter_annotations"> </td>
161
216
  </tr>
162
217
  <tr>
163
- <td><p><span class="term"><em class="parameter"><code>width_in_points</code></em> :</span></p></td>
164
- <td>width of the surface, in points (1 point == 1/72.0 inch)</td>
218
+ <td class="parameter_name"><p>width_in_points</p></td>
219
+ <td class="parameter_description"><p>width of the surface, in points (1 point == 1/72.0 inch)</p></td>
220
+ <td class="parameter_annotations"> </td>
165
221
  </tr>
166
222
  <tr>
167
- <td><p><span class="term"><em class="parameter"><code>height_in_points</code></em> :</span></p></td>
168
- <td>height of the surface, in points (1 point == 1/72.0 inch)</td>
169
- </tr>
170
- <tr>
171
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
172
- <td>a pointer to the newly created surface. The caller
173
- owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
174
- with it.
175
- This function always returns a valid pointer, but it will return a
176
- pointer to a "nil" surface if an error such as out of memory
177
- occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</td>
223
+ <td class="parameter_name"><p>height_in_points</p></td>
224
+ <td class="parameter_description"><p>height of the surface, in points (1 point == 1/72.0 inch)</p></td>
225
+ <td class="parameter_annotations"> </td>
178
226
  </tr>
179
227
  </tbody>
180
228
  </table></div>
229
+ </div>
230
+ <div class="refsect3">
231
+ <a name="id-1.5.10.7.3.6"></a><h4>Returns</h4>
232
+ <p> a pointer to the newly created surface. The caller
233
+ owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
234
+ with it.</p>
235
+ <p>This function always returns a valid pointer, but it will return a
236
+ pointer to a "nil" surface if an error such as out of memory
237
+ occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
238
+ <p></p>
239
+ </div>
181
240
  <p class="since">Since 1.2</p>
182
241
  </div>
183
242
  <hr>
184
243
  <div class="refsect2">
185
- <a name="cairo-svg-surface-restrict-to-version"></a><h3>cairo_svg_surface_restrict_to_version ()</h3>
186
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_svg_surface_restrict_to_version
187
- (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
188
- <em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);</pre>
189
- <p>
190
- Restricts the generated SVG file to <em class="parameter"><code>version</code></em>. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()"><code class="function">cairo_svg_get_versions()</code></a>
191
- for a list of available version values that can be used here.
192
- </p>
193
- <p>
194
- This function should only be called before any drawing operations
244
+ <a name="cairo-svg-surface-restrict-to-version"></a><h3>cairo_svg_surface_restrict_to_version ()</h3>
245
+ <pre class="programlisting"><span class="returnvalue">void</span>
246
+ cairo_svg_surface_restrict_to_version (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
247
+ <em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);</pre>
248
+ <p>Restricts the generated SVG file to <em class="parameter"><code>version</code></em>
249
+ . See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()"><code class="function">cairo_svg_get_versions()</code></a>
250
+ for a list of available version values that can be used here.</p>
251
+ <p>This function should only be called before any drawing operations
195
252
  have been performed on the given surface. The simplest way to do
196
253
  this is to call this function immediately after creating the
197
- surface.
198
- </p>
199
- <div class="variablelist"><table border="0">
200
- <col align="left" valign="top">
254
+ surface.</p>
255
+ <div class="refsect3">
256
+ <a name="id-1.5.10.7.4.6"></a><h4>Parameters</h4>
257
+ <div class="informaltable"><table width="100%" border="0">
258
+ <colgroup>
259
+ <col width="150px" class="parameters_name">
260
+ <col class="parameters_description">
261
+ <col width="200px" class="parameters_annotations">
262
+ </colgroup>
201
263
  <tbody>
202
264
  <tr>
203
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
204
- <td>a SVG <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
205
- </td>
265
+ <td class="parameter_name"><p>surface</p></td>
266
+ <td class="parameter_description"><p>a SVG <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a></p></td>
267
+ <td class="parameter_annotations"> </td>
206
268
  </tr>
207
269
  <tr>
208
- <td><p><span class="term"><em class="parameter"><code>version</code></em> :</span></p></td>
209
- <td>SVG version</td>
270
+ <td class="parameter_name"><p>version</p></td>
271
+ <td class="parameter_description"><p>SVG version</p></td>
272
+ <td class="parameter_annotations"> </td>
210
273
  </tr>
211
274
  </tbody>
212
275
  </table></div>
276
+ </div>
213
277
  <p class="since">Since 1.2</p>
214
278
  </div>
215
279
  <hr>
216
280
  <div class="refsect2">
217
- <a name="cairo-svg-version-t"></a><h3>enum cairo_svg_version_t</h3>
218
- <pre class="programlisting">typedef enum {
219
- CAIRO_SVG_VERSION_1_1,
220
- CAIRO_SVG_VERSION_1_2
221
- } cairo_svg_version_t;
222
- </pre>
223
- <p>
224
- <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> is used to describe the version number of the SVG
225
- specification that a generated SVG file will conform to.
226
- </p>
227
- <div class="variablelist"><table border="0">
228
- <col align="left" valign="top">
281
+ <a name="cairo-svg-get-versions"></a><h3>cairo_svg_get_versions ()</h3>
282
+ <pre class="programlisting"><span class="returnvalue">void</span>
283
+ cairo_svg_get_versions (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> const **versions</code></em>,
284
+ <em class="parameter"><code><span class="type">int</span> *num_versions</code></em>);</pre>
285
+ <p>Used to retrieve the list of supported versions. See
286
+ <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-restrict-to-version" title="cairo_svg_surface_restrict_to_version ()"><code class="function">cairo_svg_surface_restrict_to_version()</code></a>.</p>
287
+ <div class="refsect3">
288
+ <a name="id-1.5.10.7.5.5"></a><h4>Parameters</h4>
289
+ <div class="informaltable"><table width="100%" border="0">
290
+ <colgroup>
291
+ <col width="150px" class="parameters_name">
292
+ <col class="parameters_description">
293
+ <col width="200px" class="parameters_annotations">
294
+ </colgroup>
229
295
  <tbody>
230
296
  <tr>
231
- <td><p><a name="CAIRO-SVG-VERSION-1-1:CAPS"></a><span class="term"><code class="literal">CAIRO_SVG_VERSION_1_1</code></span></p></td>
232
- <td>The version 1.1 of the SVG specification. (Since 1.2)
233
- </td>
297
+ <td class="parameter_name"><p>versions</p></td>
298
+ <td class="parameter_description"><p>supported version list</p></td>
299
+ <td class="parameter_annotations"> </td>
234
300
  </tr>
235
301
  <tr>
236
- <td><p><a name="CAIRO-SVG-VERSION-1-2:CAPS"></a><span class="term"><code class="literal">CAIRO_SVG_VERSION_1_2</code></span></p></td>
237
- <td>The version 1.2 of the SVG specification. (Since 1.2)
238
- </td>
302
+ <td class="parameter_name"><p>num_versions</p></td>
303
+ <td class="parameter_description"><p>list length</p></td>
304
+ <td class="parameter_annotations"> </td>
239
305
  </tr>
240
306
  </tbody>
241
307
  </table></div>
308
+ </div>
242
309
  <p class="since">Since 1.2</p>
243
310
  </div>
244
311
  <hr>
245
312
  <div class="refsect2">
246
- <a name="cairo-svg-get-versions"></a><h3>cairo_svg_get_versions ()</h3>
247
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_svg_get_versions (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> const **versions</code></em>,
248
- <em class="parameter"><code><span class="type">int</span> *num_versions</code></em>);</pre>
249
- <p>
250
- Used to retrieve the list of supported versions. See
251
- <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-surface-restrict-to-version" title="cairo_svg_surface_restrict_to_version ()"><code class="function">cairo_svg_surface_restrict_to_version()</code></a>.
252
- </p>
253
- <div class="variablelist"><table border="0">
254
- <col align="left" valign="top">
255
- <tbody>
256
- <tr>
257
- <td><p><span class="term"><em class="parameter"><code>versions</code></em> :</span></p></td>
258
- <td>supported version list</td>
259
- </tr>
260
- <tr>
261
- <td><p><span class="term"><em class="parameter"><code>num_versions</code></em> :</span></p></td>
262
- <td>list length</td>
263
- </tr>
264
- </tbody>
313
+ <a name="cairo-svg-version-to-string"></a><h3>cairo_svg_version_to_string ()</h3>
314
+ <pre class="programlisting">const <span class="returnvalue">char</span> *
315
+ cairo_svg_version_to_string (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);</pre>
316
+ <p>Get the string representation of the given <em class="parameter"><code>version</code></em>
317
+ id. This function
318
+ will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em>
319
+ isn't valid. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()"><code class="function">cairo_svg_get_versions()</code></a>
320
+ for a way to get the list of valid version ids.</p>
321
+ <div class="refsect3">
322
+ <a name="id-1.5.10.7.6.5"></a><h4>Parameters</h4>
323
+ <div class="informaltable"><table width="100%" border="0">
324
+ <colgroup>
325
+ <col width="150px" class="parameters_name">
326
+ <col class="parameters_description">
327
+ <col width="200px" class="parameters_annotations">
328
+ </colgroup>
329
+ <tbody><tr>
330
+ <td class="parameter_name"><p>version</p></td>
331
+ <td class="parameter_description"><p>a version id</p></td>
332
+ <td class="parameter_annotations"> </td>
333
+ </tr></tbody>
265
334
  </table></div>
335
+ </div>
336
+ <div class="refsect3">
337
+ <a name="id-1.5.10.7.6.6"></a><h4>Returns</h4>
338
+ <p> the string associated to given version.</p>
339
+ <p></p>
340
+ </div>
341
+ <p class="since">Since 1.2</p>
342
+ </div>
343
+ </div>
344
+ <div class="refsect1">
345
+ <a name="cairo-SVG-Surfaces.other_details"></a><h2>Types and Values</h2>
346
+ <div class="refsect2">
347
+ <a name="CAIRO-HAS-SVG-SURFACE:CAPS"></a><h3>CAIRO_HAS_SVG_SURFACE</h3>
348
+ <pre class="programlisting">#define CAIRO_HAS_SVG_SURFACE 1
349
+ </pre>
350
+ <p>Defined if the SVG surface backend is available.
351
+ This macro can be used to conditionally compile backend-specific code.</p>
266
352
  <p class="since">Since 1.2</p>
267
353
  </div>
268
354
  <hr>
269
355
  <div class="refsect2">
270
- <a name="cairo-svg-version-to-string"></a><h3>cairo_svg_version_to_string ()</h3>
271
- <pre class="programlisting">const <span class="returnvalue">char</span> * cairo_svg_version_to_string (<em class="parameter"><code><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> version</code></em>);</pre>
272
- <p>
273
- Get the string representation of the given <em class="parameter"><code>version</code></em> id. This function
274
- will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>version</code></em> isn't valid. See <a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-get-versions" title="cairo_svg_get_versions ()"><code class="function">cairo_svg_get_versions()</code></a>
275
- for a way to get the list of valid version ids.
276
- </p>
277
- <div class="variablelist"><table border="0">
278
- <col align="left" valign="top">
356
+ <a name="cairo-svg-version-t"></a><h3>enum cairo_svg_version_t</h3>
357
+ <p><a class="link" href="cairo-SVG-Surfaces.html#cairo-svg-version-t" title="enum cairo_svg_version_t"><span class="type">cairo_svg_version_t</span></a> is used to describe the version number of the SVG
358
+ specification that a generated SVG file will conform to.</p>
359
+ <div class="refsect3">
360
+ <a name="id-1.5.10.8.3.4"></a><h4>Members</h4>
361
+ <div class="informaltable"><table width="100%" border="0">
362
+ <colgroup>
363
+ <col width="300px" class="enum_members_name">
364
+ <col class="enum_members_description">
365
+ <col width="200px" class="enum_members_annotations">
366
+ </colgroup>
279
367
  <tbody>
280
368
  <tr>
281
- <td><p><span class="term"><em class="parameter"><code>version</code></em> :</span></p></td>
282
- <td>a version id</td>
369
+ <td class="enum_member_name"><p><a name="CAIRO-SVG-VERSION-1-1:CAPS"></a>CAIRO_SVG_VERSION_1_1</p></td>
370
+ <td class="enum_member_description">
371
+ <p>The version 1.1 of the SVG specification. (Since 1.2)</p>
372
+ </td>
373
+ <td class="enum_member_annotations"> </td>
283
374
  </tr>
284
375
  <tr>
285
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
286
- <td>the string associated to given version.</td>
376
+ <td class="enum_member_name"><p><a name="CAIRO-SVG-VERSION-1-2:CAPS"></a>CAIRO_SVG_VERSION_1_2</p></td>
377
+ <td class="enum_member_description">
378
+ <p>The version 1.2 of the SVG specification. (Since 1.2)</p>
379
+ </td>
380
+ <td class="enum_member_annotations"> </td>
287
381
  </tr>
288
382
  </tbody>
289
383
  </table></div>
384
+ </div>
290
385
  <p class="since">Since 1.2</p>
291
386
  </div>
292
387
  </div>
293
388
  <div class="refsect1">
294
389
  <a name="cairo-SVG-Surfaces.see-also"></a><h2>See Also</h2>
295
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
390
+ <p><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a></p>
296
391
  </div>
297
392
  </div>
298
393
  <div class="footer">
299
394
  <hr>
300
- Generated by GTK-Doc V1.18</div>
395
+ Generated by GTK-Doc V1.20</div>
301
396
  </body>
302
397
  </html>