cairo 1.15.3-x64-mingw32 → 1.15.4-x64-mingw32

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

Potentially problematic release.


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

Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +24 -0
  3. data/Rakefile +3 -3
  4. data/ext/cairo/rb_cairo.h +11 -1
  5. data/ext/cairo/rb_cairo_constants.c +56 -1
  6. data/ext/cairo/rb_cairo_context.c +100 -1
  7. data/ext/cairo/rb_cairo_exception.c +45 -0
  8. data/ext/cairo/rb_cairo_surface.c +126 -1
  9. data/lib/2.2/cairo.so +0 -0
  10. data/lib/2.3/cairo.so +0 -0
  11. data/lib/2.4/cairo.so +0 -0
  12. data/lib/cairo.rb +2 -0
  13. data/samples/link.rb +19 -0
  14. data/test/cairo-test-utils.rb +1 -0
  15. data/test/test_context.rb +22 -0
  16. data/test/test_pdf_surface.rb +131 -0
  17. data/vendor/local/bin/fc-cache.exe +0 -0
  18. data/vendor/local/bin/fc-cat.exe +0 -0
  19. data/vendor/local/bin/fc-list.exe +0 -0
  20. data/vendor/local/bin/fc-match.exe +0 -0
  21. data/vendor/local/bin/fc-pattern.exe +0 -0
  22. data/vendor/local/bin/fc-query.exe +0 -0
  23. data/vendor/local/bin/fc-scan.exe +0 -0
  24. data/vendor/local/bin/fc-validate.exe +0 -0
  25. data/vendor/local/bin/libcairo-2.dll +0 -0
  26. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  27. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  28. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  29. data/vendor/local/bin/libfreetype-6.dll +0 -0
  30. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  31. data/vendor/local/bin/libpng-config +1 -1
  32. data/vendor/local/bin/libpng16-16.dll +0 -0
  33. data/vendor/local/bin/libpng16-config +1 -1
  34. data/vendor/local/bin/libxml2-2.dll +0 -0
  35. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  36. data/vendor/local/bin/pngfix.exe +0 -0
  37. data/vendor/local/bin/xmlcatalog.exe +0 -0
  38. data/vendor/local/bin/xmllint.exe +0 -0
  39. data/vendor/local/bin/zlib1.dll +0 -0
  40. data/vendor/local/include/cairo/cairo-pdf.h +68 -0
  41. data/vendor/local/include/cairo/cairo-version.h +1 -1
  42. data/vendor/local/include/cairo/cairo.h +19 -0
  43. data/vendor/local/include/libpng16/png.h +13 -12
  44. data/vendor/local/include/libpng16/pngconf.h +1 -1
  45. data/vendor/local/include/libpng16/pnglibconf.h +1 -1
  46. data/vendor/local/include/png.h +13 -12
  47. data/vendor/local/include/pngconf.h +1 -1
  48. data/vendor/local/include/pnglibconf.h +1 -1
  49. data/vendor/local/lib/libcairo-gobject.a +0 -0
  50. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  51. data/vendor/local/lib/libcairo-gobject.la +2 -2
  52. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  53. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  54. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  55. data/vendor/local/lib/libcairo.a +0 -0
  56. data/vendor/local/lib/libcairo.dll.a +0 -0
  57. data/vendor/local/lib/libcairo.la +2 -2
  58. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  59. data/vendor/local/lib/libfreetype.a +0 -0
  60. data/vendor/local/lib/libfreetype.dll.a +0 -0
  61. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  62. data/vendor/local/lib/libpng.a +0 -0
  63. data/vendor/local/lib/libpng.dll.a +0 -0
  64. data/vendor/local/lib/libpng.la +2 -2
  65. data/vendor/local/lib/libpng16.a +0 -0
  66. data/vendor/local/lib/libpng16.dll.a +0 -0
  67. data/vendor/local/lib/libpng16.la +2 -2
  68. data/vendor/local/lib/libxml2.dll.a +0 -0
  69. data/vendor/local/lib/libz.dll.a +0 -0
  70. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  71. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  72. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  73. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  74. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  75. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  76. data/vendor/local/lib/pkgconfig/cairo-script.pc +2 -2
  77. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  78. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  79. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  80. data/vendor/local/lib/pkgconfig/cairo.pc +2 -2
  81. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  82. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  83. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +30 -2
  84. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +1 -1
  85. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +1 -1
  86. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +343 -4
  87. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +8 -4
  88. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +3 -3
  89. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +6 -6
  90. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +2 -2
  91. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +3 -3
  92. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +10 -10
  93. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +3 -3
  94. data/vendor/local/share/gtk-doc/html/cairo/cairo-Tags-and-Links.html +415 -0
  95. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +14 -14
  96. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +1 -1
  97. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +5 -5
  98. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +1 -1
  99. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +1 -1
  100. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +5 -5
  101. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +6 -6
  102. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +2 -2
  103. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +35 -35
  104. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +14 -14
  105. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +14 -14
  106. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +10 -10
  107. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +3 -0
  108. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +2 -2
  109. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +11 -11
  110. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +15 -0
  111. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +22 -0
  112. data/vendor/local/share/gtk-doc/html/cairo/index.html +4 -1
  113. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +22 -0
  114. data/vendor/local/share/license/libpng/README +1 -1
  115. data/vendor/local/share/man/man3/libpng.3 +9 -9
  116. data/vendor/local/share/man/man3/libpngpf.3 +2 -2
  117. data/vendor/local/share/man/man5/png.5 +1 -1
  118. metadata +9 -3
@@ -1,7 +1,7 @@
1
1
 
2
2
  /* pngconf.h - machine configurable file for libpng
3
3
  *
4
- * libpng version 1.6.26, October 20, 2016
4
+ * libpng version 1.6.27, December 29, 2016
5
5
  *
6
6
  * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
7
7
  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.26, October 20, 2016 */
3
+ /* libpng version 1.6.27, December 29, 2016 */
4
4
 
5
5
  /* Copyright (c) 1998-2016 Glenn Randers-Pehrson */
6
6
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  /* png.h - header file for PNG reference library
3
3
  *
4
- * libpng version 1.6.26, October 20, 2016
4
+ * libpng version 1.6.27, December 29, 2016
5
5
  *
6
6
  * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
7
7
  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -12,7 +12,7 @@
12
12
  * Authors and maintainers:
13
13
  * libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
14
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
15
- * libpng versions 0.97, January 1998, through 1.6.26, October 20, 2016:
15
+ * libpng versions 0.97, January 1998, through 1.6.27, December 29, 2016:
16
16
  * Glenn Randers-Pehrson.
17
17
  * See also "Contributing Authors", below.
18
18
  */
@@ -29,7 +29,7 @@
29
29
  * files that are distributed with libpng have other copyright owners and
30
30
  * are released under other open source licenses.
31
31
  *
32
- * libpng versions 1.0.7, July 1, 2000 through 1.6.26, October 20, 2016 are
32
+ * libpng versions 1.0.7, July 1, 2000 through 1.6.27, December 29, 2016 are
33
33
  * Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
34
34
  * derived from libpng-1.0.6, and are distributed according to the same
35
35
  * disclaimer and license as libpng-1.0.6 with the following individuals
@@ -218,7 +218,7 @@
218
218
  * ...
219
219
  * 1.5.27 15 10527 15.so.15.27[.0]
220
220
  * ...
221
- * 1.6.26 16 10626 16.so.16.26[.0]
221
+ * 1.6.27 16 10627 16.so.16.27[.0]
222
222
  *
223
223
  * Henceforth the source version will match the shared-library major
224
224
  * and minor numbers; the shared-library major version number will be
@@ -246,13 +246,13 @@
246
246
  * Y2K compliance in libpng:
247
247
  * =========================
248
248
  *
249
- * October 20, 2016
249
+ * December 29, 2016
250
250
  *
251
251
  * Since the PNG Development group is an ad-hoc body, we can't make
252
252
  * an official declaration.
253
253
  *
254
254
  * This is your unofficial assurance that libpng from version 0.71 and
255
- * upward through 1.6.26 are Y2K compliant. It is my belief that
255
+ * upward through 1.6.27 are Y2K compliant. It is my belief that
256
256
  * earlier versions were also Y2K compliant.
257
257
  *
258
258
  * Libpng only has two year fields. One is a 2-byte unsigned integer
@@ -314,8 +314,8 @@
314
314
  */
315
315
 
316
316
  /* Version information for png.h - this should match the version in png.c */
317
- #define PNG_LIBPNG_VER_STRING "1.6.26"
318
- #define PNG_HEADER_VERSION_STRING " libpng version 1.6.26 - October 20, 2016\n"
317
+ #define PNG_LIBPNG_VER_STRING "1.6.27"
318
+ #define PNG_HEADER_VERSION_STRING " libpng version 1.6.27 - December 29, 2016\n"
319
319
 
320
320
  #define PNG_LIBPNG_VER_SONUM 16
321
321
  #define PNG_LIBPNG_VER_DLLNUM 16
@@ -323,7 +323,7 @@
323
323
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
324
324
  #define PNG_LIBPNG_VER_MAJOR 1
325
325
  #define PNG_LIBPNG_VER_MINOR 6
326
- #define PNG_LIBPNG_VER_RELEASE 26
326
+ #define PNG_LIBPNG_VER_RELEASE 27
327
327
 
328
328
  /* This should match the numeric part of the final component of
329
329
  * PNG_LIBPNG_VER_STRING, omitting any leading zero:
@@ -354,7 +354,7 @@
354
354
  * version 1.0.0 was mis-numbered 100 instead of 10000). From
355
355
  * version 1.0.1 it's xxyyzz, where x=major, y=minor, z=release
356
356
  */
357
- #define PNG_LIBPNG_VER 10626 /* 1.6.26 */
357
+ #define PNG_LIBPNG_VER 10627 /* 1.6.27 */
358
358
 
359
359
  /* Library configuration: these options cannot be changed after
360
360
  * the library has been built.
@@ -464,7 +464,7 @@ extern "C" {
464
464
  /* This triggers a compiler error in png.c, if png.c and png.h
465
465
  * do not agree upon the version number.
466
466
  */
467
- typedef char* png_libpng_version_1_6_26;
467
+ typedef char* png_libpng_version_1_6_27;
468
468
 
469
469
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
470
470
  *
@@ -3230,7 +3230,8 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
3230
3230
  #ifdef PNG_MIPS_MSA_API_SUPPORTED
3231
3231
  # define PNG_MIPS_MSA 6 /* HARDWARE: MIPS Msa SIMD instructions supported */
3232
3232
  #endif
3233
- #define PNG_OPTION_NEXT 8 /* Next option - numbers must be even */
3233
+ #define PNG_IGNORE_ADLER32 8
3234
+ #define PNG_OPTION_NEXT 10 /* Next option - numbers must be even */
3234
3235
 
3235
3236
  /* Return values: NOTE: there are four values and 'off' is *not* zero */
3236
3237
  #define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
@@ -1,7 +1,7 @@
1
1
 
2
2
  /* pngconf.h - machine configurable file for libpng
3
3
  *
4
- * libpng version 1.6.26, October 20, 2016
4
+ * libpng version 1.6.27, December 29, 2016
5
5
  *
6
6
  * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
7
7
  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.26, October 20, 2016 */
3
+ /* libpng version 1.6.27, December 29, 2016 */
4
4
 
5
5
  /* Copyright (c) 1998-2016 Glenn Randers-Pehrson */
6
6
 
@@ -23,8 +23,8 @@ dependency_libs=' -R/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/ho
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libcairo-gobject.
26
- current=11504
27
- age=11502
26
+ current=11506
27
+ age=11504
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
@@ -23,8 +23,8 @@ dependency_libs=' -L/home/vagrant/rcairo.win64/vendor/local/lib /home/vagrant/rc
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libcairo-script-interpreter.
26
- current=11504
27
- age=11502
26
+ current=11506
27
+ age=11504
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
Binary file
@@ -23,8 +23,8 @@ dependency_libs=' -L/home/vagrant/rcairo.win64/vendor/local/lib -lpthread /home/
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libcairo.
26
- current=11504
27
- age=11502
26
+ current=11506
27
+ age=11504
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
Binary file
@@ -23,8 +23,8 @@ dependency_libs=' -L/home/vagrant/rcairo.win64/vendor/local/lib -lz'
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libpng16.
26
- current=42
27
- age=26
26
+ current=43
27
+ age=27
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
Binary file
@@ -23,8 +23,8 @@ dependency_libs=' -L/home/vagrant/rcairo.win64/vendor/local/lib -lz'
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libpng16.
26
- current=42
27
- age=26
26
+ current=43
27
+ age=27
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
Binary file
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-fc
7
7
  Description: Fontconfig font backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo fontconfig >= 2.2.95
11
11
  Libs:
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-ft
7
7
  Description: FreeType font backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo freetype2 >= 9.7.3
11
11
  Libs:
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-gobject
7
7
  Description: gobject functions for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo gobject-2.0 glib-2.0 >= 2.14
11
11
  Libs: -L${libdir} -lcairo-gobject
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-pdf
7
7
  Description: PDF surface backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo
11
11
  Libs: -lz
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-png
7
7
  Description: PNG functions for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo libpng
11
11
  Libs:
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-ps
7
7
  Description: PostScript surface backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo
11
11
  Libs: -lz
@@ -5,8 +5,8 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-script
7
7
  Description: script surface backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo
11
- Libs:
11
+ Libs: -lz
12
12
  Cflags: -I${includedir}/cairo
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-svg
7
7
  Description: SVG surface backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo
11
11
  Libs:
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-win32-font
7
7
  Description: Microsoft Windows font backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo
11
11
  Libs:
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo-win32
7
7
  Description: Microsoft Windows surface backend for cairo graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires: cairo
11
11
  Libs:
@@ -5,9 +5,9 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: cairo
7
7
  Description: Multi-platform 2D graphics library
8
- Version: 1.15.2
8
+ Version: 1.15.4
9
9
 
10
10
  Requires.private: gobject-2.0 glib-2.0 >= 2.14 pixman-1 >= 0.30.0 fontconfig >= 2.2.95 freetype2 >= 9.7.3 libpng
11
11
  Libs: -L${libdir} -lcairo
12
- Libs.private: -lz -lz
12
+ Libs.private: -lz -lz -lz
13
13
  Cflags: -I${includedir}/cairo
@@ -5,7 +5,7 @@ includedir=${prefix}/include/libpng16
5
5
 
6
6
  Name: libpng
7
7
  Description: Loads and saves PNG files
8
- Version: 1.6.26
8
+ Version: 1.6.27
9
9
  Libs: -L${libdir} -lpng16
10
10
  Libs.private: -lz
11
11
  Cflags: -I${includedir}
@@ -5,7 +5,7 @@ includedir=${prefix}/include/libpng16
5
5
 
6
6
  Name: libpng
7
7
  Description: Loads and saves PNG files
8
- Version: 1.6.26
8
+ Version: 1.6.27
9
9
  Libs: -L${libdir} -lpng16
10
10
  Libs.private: -lz
11
11
  Cflags: -I${includedir}
@@ -211,7 +211,7 @@ to get a human-readable representation of an error message.</p>
211
211
  <tr>
212
212
  <td class="enum_member_name"><p><a name="CAIRO-STATUS-NULL-POINTER:CAPS"></a>CAIRO_STATUS_NULL_POINTER</p></td>
213
213
  <td class="enum_member_description">
214
- <p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer (Since 1.0)</p>
214
+ <p><code class="literal">NULL</code> pointer (Since 1.0)</p>
215
215
  </td>
216
216
  <td class="enum_member_annotations"> </td>
217
217
  </tr>
@@ -437,6 +437,34 @@ to get a human-readable representation of an error message.</p>
437
437
  <td class="enum_member_annotations"> </td>
438
438
  </tr>
439
439
  <tr>
440
+ <td class="enum_member_name"><p><a name="CAIRO-STATUS-PNG-ERROR:CAPS"></a>CAIRO_STATUS_PNG_ERROR</p></td>
441
+ <td class="enum_member_description">
442
+ <p>error occurred in libpng while reading from or writing to a PNG file (Since 1.16)</p>
443
+ </td>
444
+ <td class="enum_member_annotations"> </td>
445
+ </tr>
446
+ <tr>
447
+ <td class="enum_member_name"><p><a name="CAIRO-STATUS-FREETYPE-ERROR:CAPS"></a>CAIRO_STATUS_FREETYPE_ERROR</p></td>
448
+ <td class="enum_member_description">
449
+ <p>error occurred in libfreetype (Since 1.16)</p>
450
+ </td>
451
+ <td class="enum_member_annotations"> </td>
452
+ </tr>
453
+ <tr>
454
+ <td class="enum_member_name"><p><a name="CAIRO-STATUS-WIN32-GDI-ERROR:CAPS"></a>CAIRO_STATUS_WIN32_GDI_ERROR</p></td>
455
+ <td class="enum_member_description">
456
+ <p>error occurred in the Windows Graphics Device Interface (Since 1.16)</p>
457
+ </td>
458
+ <td class="enum_member_annotations"> </td>
459
+ </tr>
460
+ <tr>
461
+ <td class="enum_member_name"><p><a name="CAIRO-STATUS-TAG-ERROR:CAPS"></a>CAIRO_STATUS_TAG_ERROR</p></td>
462
+ <td class="enum_member_description">
463
+ <p>invalid tag name, attributes, or nesting (Since 1.16)</p>
464
+ </td>
465
+ <td class="enum_member_annotations"> </td>
466
+ </tr>
467
+ <tr>
440
468
  <td class="enum_member_name"><p><a name="CAIRO-STATUS-LAST-STATUS:CAPS"></a>CAIRO_STATUS_LAST_STATUS</p></td>
441
469
  <td class="enum_member_description">
442
470
  <p>this is a special value indicating the number of
@@ -455,7 +483,7 @@ to get a human-readable representation of an error message.</p>
455
483
  <div class="refsect1">
456
484
  <a name="cairo-Error-handling.see-also"></a><h2>See Also</h2>
457
485
  <p>cairo_status(), <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a>, <a class="link" href="cairo-cairo-pattern-t.html#cairo-pattern-status" title="cairo_pattern_status ()"><code class="function">cairo_pattern_status()</code></a>,
458
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-status" title="cairo_font_face_status ()"><code class="function">cairo_font_face_status()</code></a>, <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a>,
486
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-status" title="cairo_font_face_status ()"><code class="function">cairo_font_face_status()</code></a>, <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a>,
459
487
  <a class="link" href="cairo-Regions.html#cairo-region-status" title="cairo_region_status ()"><code class="function">cairo_region_status()</code></a></p>
460
488
  </div>
461
489
  </div>
@@ -347,7 +347,7 @@ FreeType backend font face (see <a class="link" href="cairo-FreeType-Fonts.html#
347
347
  <a name="id-1.4.5.7.5.7"></a><h4>Returns</h4>
348
348
  <p> The <span class="type">FT_Face</span> object for <em class="parameter"><code>font</code></em>
349
349
  , scaled appropriately,
350
- or <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>scaled_font</code></em>
350
+ or <code class="literal">NULL</code> if <em class="parameter"><code>scaled_font</code></em>
351
351
  is in an error state (see
352
352
  <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a>) or there is insufficient memory.</p>
353
353
  <p></p>
@@ -350,7 +350,7 @@ the data is modified.</p>
350
350
  </div>
351
351
  <div class="refsect3">
352
352
  <a name="id-1.5.4.7.5.7"></a><h4>Returns</h4>
353
- <p> a pointer to the image data of this surface or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
353
+ <p> a pointer to the image data of this surface or <code class="literal">NULL</code>
354
354
  if <em class="parameter"><code>surface</code></em>
355
355
  is not an image surface, or if <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a>
356
356
  has been called.</p>
@@ -87,6 +87,38 @@
87
87
  <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-set-size" title="cairo_pdf_surface_set_size ()">cairo_pdf_surface_set_size</a> <span class="c_punctuation">()</span>
88
88
  </td>
89
89
  </tr>
90
+ <tr>
91
+ <td class="function_type">
92
+ <span class="returnvalue">int</span>
93
+ </td>
94
+ <td class="function_name">
95
+ <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-add-outline" title="cairo_pdf_surface_add_outline ()">cairo_pdf_surface_add_outline</a> <span class="c_punctuation">()</span>
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td class="function_type">
100
+ <span class="returnvalue">void</span>
101
+ </td>
102
+ <td class="function_name">
103
+ <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-set-metadata" title="cairo_pdf_surface_set_metadata ()">cairo_pdf_surface_set_metadata</a> <span class="c_punctuation">()</span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="function_type">
108
+ <span class="returnvalue">void</span>
109
+ </td>
110
+ <td class="function_name">
111
+ <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-set-page-label" title="cairo_pdf_surface_set_page_label ()">cairo_pdf_surface_set_page_label</a> <span class="c_punctuation">()</span>
112
+ </td>
113
+ </tr>
114
+ <tr>
115
+ <td class="function_type">
116
+ <span class="returnvalue">void</span>
117
+ </td>
118
+ <td class="function_name">
119
+ <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-set-thumbnail-size" title="cairo_pdf_surface_set_thumbnail_size ()">cairo_pdf_surface_set_thumbnail_size</a> <span class="c_punctuation">()</span>
120
+ </td>
121
+ </tr>
90
122
  </tbody>
91
123
  </table></div>
92
124
  </div>
@@ -103,6 +135,18 @@
103
135
  <td class="function_name"><a class="link" href="cairo-PDF-Surfaces.html#CAIRO-HAS-PDF-SURFACE:CAPS" title="CAIRO_HAS_PDF_SURFACE">CAIRO_HAS_PDF_SURFACE</a></td>
104
136
  </tr>
105
137
  <tr>
138
+ <td class="define_keyword">#define</td>
139
+ <td class="function_name"><a class="link" href="cairo-PDF-Surfaces.html#CAIRO-PDF-OUTLINE-ROOT:CAPS" title="CAIRO_PDF_OUTLINE_ROOT">CAIRO_PDF_OUTLINE_ROOT</a></td>
140
+ </tr>
141
+ <tr>
142
+ <td class="datatype_keyword">enum</td>
143
+ <td class="function_name"><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-outline-flags-t" title="enum cairo_pdf_outline_flags_t">cairo_pdf_outline_flags_t</a></td>
144
+ </tr>
145
+ <tr>
146
+ <td class="datatype_keyword">enum</td>
147
+ <td class="function_name"><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-metadata-t" title="enum cairo_pdf_metadata_t">cairo_pdf_metadata_t</a></td>
148
+ </tr>
149
+ <tr>
106
150
  <td class="datatype_keyword">enum</td>
107
151
  <td class="function_name"><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-version-t" title="enum cairo_pdf_version_t">cairo_pdf_version_t</a></td>
108
152
  </tr>
@@ -156,7 +200,7 @@ to <em class="parameter"><code>filename</code></em>
156
200
  <tbody>
157
201
  <tr>
158
202
  <td class="parameter_name"><p>filename</p></td>
159
- <td class="parameter_description"><p>a filename for the PDF 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
203
+ <td class="parameter_description"><p>a filename for the PDF output (must be writable), <code class="literal">NULL</code> may be
160
204
  used to specify no output. This will generate a PDF surface that
161
205
  may be queried and used as a source, without generating a
162
206
  temporary file.</p></td>
@@ -210,7 +254,7 @@ incrementally to the stream represented by <em class="parameter"><code>write_fun
210
254
  <tbody>
211
255
  <tr>
212
256
  <td class="parameter_name"><p>write_func</p></td>
213
- <td class="parameter_description"><p>a <a class="link" href="cairo-PNG-Support.html#cairo-write-func-t" title="cairo_write_func_t ()"><span class="type">cairo_write_func_t</span></a> to accept the output data, may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
257
+ <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>
214
258
  to indicate a no-op <em class="parameter"><code>write_func</code></em>
215
259
  . With a no-op <em class="parameter"><code>write_func</code></em>
216
260
  ,
@@ -325,7 +369,7 @@ cairo_pdf_get_versions (<em class="parameter"><code><a class="link" href="cairo-
325
369
  cairo_pdf_version_to_string (<em class="parameter"><code><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-version-t" title="enum cairo_pdf_version_t"><span class="type">cairo_pdf_version_t</span></a> version</code></em>);</pre>
326
370
  <p>Get the string representation of the given <em class="parameter"><code>version</code></em>
327
371
  id. This function
328
- 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>
372
+ will return <code class="literal">NULL</code> if <em class="parameter"><code>version</code></em>
329
373
  isn't valid. See <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-get-versions" title="cairo_pdf_get_versions ()"><code class="function">cairo_pdf_get_versions()</code></a>
330
374
  for a way to get the list of valid version ids.</p>
331
375
  <div class="refsect3">
@@ -393,6 +437,183 @@ surface or immediately after completing a page with either
393
437
  </div>
394
438
  <p class="since">Since 1.2</p>
395
439
  </div>
440
+ <hr>
441
+ <div class="refsect2">
442
+ <a name="cairo-pdf-surface-add-outline"></a><h3>cairo_pdf_surface_add_outline ()</h3>
443
+ <pre class="programlisting"><span class="returnvalue">int</span>
444
+ cairo_pdf_surface_add_outline (<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>,
445
+ <em class="parameter"><code><span class="type">int</span> parent_id</code></em>,
446
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>,
447
+ <em class="parameter"><code>const <span class="type">char</span> *dest</code></em>,
448
+ <em class="parameter"><code><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-outline-flags-t" title="enum cairo_pdf_outline_flags_t"><span class="type">cairo_pdf_outline_flags_t</span></a> flags</code></em>);</pre>
449
+ <p>Add an item to the document outline hierarchy with the name <em class="parameter"><code>utf8</code></em>
450
+ that links to the
451
+ destinaton <em class="parameter"><code>dest</code></em>
452
+ . Destinations are created using
453
+ <a class="link" href="cairo-Tags-and-Links.html#cairo-tag-begin" title="cairo_tag_begin ()"><code class="function">cairo_tag_begin()</code></a>/<a class="link" href="cairo-Tags-and-Links.html#cairo-tag-end" title="cairo_tag_end ()"><code class="function">cairo_tag_end()</code></a> with the
454
+ <a class="link" href="cairo-Tags-and-Links.html#CAIRO-TAG-DEST:CAPS" title="CAIRO_TAG_DEST"><code class="literal">CAIRO_TAG_DEST</code></a>. The item will be a child of the item with id <em class="parameter"><code>parent_id</code></em>
455
+ . Use <a class="link" href="cairo-PDF-Surfaces.html#CAIRO-PDF-OUTLINE-ROOT:CAPS" title="CAIRO_PDF_OUTLINE_ROOT"><code class="literal">CAIRO_PDF_OUTLINE_ROOT</code></a>
456
+ as the parent id of top level items.</p>
457
+ <div class="refsect3">
458
+ <a name="id-1.5.5.7.8.5"></a><h4>Parameters</h4>
459
+ <div class="informaltable"><table width="100%" border="0">
460
+ <colgroup>
461
+ <col width="150px" class="parameters_name">
462
+ <col class="parameters_description">
463
+ <col width="200px" class="parameters_annotations">
464
+ </colgroup>
465
+ <tbody>
466
+ <tr>
467
+ <td class="parameter_name"><p>surface</p></td>
468
+ <td class="parameter_description"><p>a PDF <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>
469
+ <td class="parameter_annotations"> </td>
470
+ </tr>
471
+ <tr>
472
+ <td class="parameter_name"><p>parent_id</p></td>
473
+ <td class="parameter_description"><p>the id of the parent item or <a class="link" href="cairo-PDF-Surfaces.html#CAIRO-PDF-OUTLINE-ROOT:CAPS" title="CAIRO_PDF_OUTLINE_ROOT"><code class="literal">CAIRO_PDF_OUTLINE_ROOT</code></a> if this is a top level item.</p></td>
474
+ <td class="parameter_annotations"> </td>
475
+ </tr>
476
+ <tr>
477
+ <td class="parameter_name"><p>utf8</p></td>
478
+ <td class="parameter_description"><p>the name of the outline</p></td>
479
+ <td class="parameter_annotations"> </td>
480
+ </tr>
481
+ <tr>
482
+ <td class="parameter_name"><p>dest</p></td>
483
+ <td class="parameter_description"><p>the name of the destination</p></td>
484
+ <td class="parameter_annotations"> </td>
485
+ </tr>
486
+ <tr>
487
+ <td class="parameter_name"><p>flags</p></td>
488
+ <td class="parameter_description"><p>outline item flags</p></td>
489
+ <td class="parameter_annotations"> </td>
490
+ </tr>
491
+ </tbody>
492
+ </table></div>
493
+ </div>
494
+ <div class="refsect3">
495
+ <a name="id-1.5.5.7.8.6"></a><h4>Returns</h4>
496
+ <p> the id for the added item.</p>
497
+ <p></p>
498
+ </div>
499
+ <p class="since">Since 1.16</p>
500
+ </div>
501
+ <hr>
502
+ <div class="refsect2">
503
+ <a name="cairo-pdf-surface-set-metadata"></a><h3>cairo_pdf_surface_set_metadata ()</h3>
504
+ <pre class="programlisting"><span class="returnvalue">void</span>
505
+ cairo_pdf_surface_set_metadata (<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>,
506
+ <em class="parameter"><code><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-metadata-t" title="enum cairo_pdf_metadata_t"><span class="type">cairo_pdf_metadata_t</span></a> metadata</code></em>,
507
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);</pre>
508
+ <p>Set document metadata. The <a class="link" href="cairo-PDF-Surfaces.html#CAIRO-PDF-METADATA-CREATE-DATE:CAPS"><code class="literal">CAIRO_PDF_METADATA_CREATE_DATE</code></a> and
509
+ <a class="link" href="cairo-PDF-Surfaces.html#CAIRO-PDF-METADATA-MOD-DATE:CAPS"><code class="literal">CAIRO_PDF_METADATA_MOD_DATE</code></a> values must be in ISO-8601 format:
510
+ YYYY-MM-DDThh:mm:ss. An optional timezone of the form "[+/-]hh:mm"
511
+ or "Z" for UTC time can be appended. All other metadata values can be any UTF-8
512
+ string.</p>
513
+ <p>For example:</p>
514
+ <div class="informalexample"><pre class="programlisting">
515
+ cairo_pdf_surface_set_metadata (surface, CAIRO_PDF_METADATA_TITLE, "My Document");
516
+ cairo_pdf_surface_set_metadata (surface, CAIRO_PDF_METADATA_CREATE_DATE, "2015-12-31T23:59+02:00");
517
+ </pre></div>
518
+ <div class="refsect3">
519
+ <a name="id-1.5.5.7.9.7"></a><h4>Parameters</h4>
520
+ <div class="informaltable"><table width="100%" border="0">
521
+ <colgroup>
522
+ <col width="150px" class="parameters_name">
523
+ <col class="parameters_description">
524
+ <col width="200px" class="parameters_annotations">
525
+ </colgroup>
526
+ <tbody>
527
+ <tr>
528
+ <td class="parameter_name"><p>surface</p></td>
529
+ <td class="parameter_description"><p>a PDF <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>
530
+ <td class="parameter_annotations"> </td>
531
+ </tr>
532
+ <tr>
533
+ <td class="parameter_name"><p>metadata</p></td>
534
+ <td class="parameter_description"><p>The metadata item to set.</p></td>
535
+ <td class="parameter_annotations"> </td>
536
+ </tr>
537
+ <tr>
538
+ <td class="parameter_name"><p>utf8</p></td>
539
+ <td class="parameter_description"><p>metadata value</p></td>
540
+ <td class="parameter_annotations"> </td>
541
+ </tr>
542
+ </tbody>
543
+ </table></div>
544
+ </div>
545
+ <p class="since">Since 1.16</p>
546
+ </div>
547
+ <hr>
548
+ <div class="refsect2">
549
+ <a name="cairo-pdf-surface-set-page-label"></a><h3>cairo_pdf_surface_set_page_label ()</h3>
550
+ <pre class="programlisting"><span class="returnvalue">void</span>
551
+ cairo_pdf_surface_set_page_label (<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>,
552
+ <em class="parameter"><code>const <span class="type">char</span> *utf8</code></em>);</pre>
553
+ <p>Set page label for the current page.</p>
554
+ <div class="refsect3">
555
+ <a name="id-1.5.5.7.10.5"></a><h4>Parameters</h4>
556
+ <div class="informaltable"><table width="100%" border="0">
557
+ <colgroup>
558
+ <col width="150px" class="parameters_name">
559
+ <col class="parameters_description">
560
+ <col width="200px" class="parameters_annotations">
561
+ </colgroup>
562
+ <tbody>
563
+ <tr>
564
+ <td class="parameter_name"><p>surface</p></td>
565
+ <td class="parameter_description"><p>a PDF <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>
566
+ <td class="parameter_annotations"> </td>
567
+ </tr>
568
+ <tr>
569
+ <td class="parameter_name"><p>utf8</p></td>
570
+ <td class="parameter_description"><p>The page label.</p></td>
571
+ <td class="parameter_annotations"> </td>
572
+ </tr>
573
+ </tbody>
574
+ </table></div>
575
+ </div>
576
+ <p class="since">Since 1.16</p>
577
+ </div>
578
+ <hr>
579
+ <div class="refsect2">
580
+ <a name="cairo-pdf-surface-set-thumbnail-size"></a><h3>cairo_pdf_surface_set_thumbnail_size ()</h3>
581
+ <pre class="programlisting"><span class="returnvalue">void</span>
582
+ cairo_pdf_surface_set_thumbnail_size (<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>,
583
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
584
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
585
+ <p>Set the thumbnail image size for the current and all subsequent
586
+ pages. Setting a width or height of 0 disables thumbnails for the
587
+ current and subsequent pages.</p>
588
+ <div class="refsect3">
589
+ <a name="id-1.5.5.7.11.5"></a><h4>Parameters</h4>
590
+ <div class="informaltable"><table width="100%" border="0">
591
+ <colgroup>
592
+ <col width="150px" class="parameters_name">
593
+ <col class="parameters_description">
594
+ <col width="200px" class="parameters_annotations">
595
+ </colgroup>
596
+ <tbody>
597
+ <tr>
598
+ <td class="parameter_name"><p>surface</p></td>
599
+ <td class="parameter_description"><p>a PDF <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>
600
+ <td class="parameter_annotations"> </td>
601
+ </tr>
602
+ <tr>
603
+ <td class="parameter_name"><p>width</p></td>
604
+ <td class="parameter_description"><p>Thumbnail width.</p></td>
605
+ <td class="parameter_annotations"> </td>
606
+ </tr>
607
+ <tr>
608
+ <td class="parameter_name"><p>height</p></td>
609
+ <td class="parameter_description"><p>Thumbnail height</p></td>
610
+ <td class="parameter_annotations"> </td>
611
+ </tr>
612
+ </tbody>
613
+ </table></div>
614
+ </div>
615
+ <p class="since">Since 1.16</p>
616
+ </div>
396
617
  </div>
397
618
  <div class="refsect1">
398
619
  <a name="cairo-PDF-Surfaces.other_details"></a><h2>Types and Values</h2>
@@ -406,11 +627,129 @@ This macro can be used to conditionally compile backend-specific code.</p>
406
627
  </div>
407
628
  <hr>
408
629
  <div class="refsect2">
630
+ <a name="CAIRO-PDF-OUTLINE-ROOT:CAPS"></a><h3>CAIRO_PDF_OUTLINE_ROOT</h3>
631
+ <pre class="programlisting">#define CAIRO_PDF_OUTLINE_ROOT 0
632
+ </pre>
633
+ <p>The root outline item in <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-add-outline" title="cairo_pdf_surface_add_outline ()"><code class="function">cairo_pdf_surface_add_outline()</code></a>.</p>
634
+ <p class="since">Since 1.16</p>
635
+ </div>
636
+ <hr>
637
+ <div class="refsect2">
638
+ <a name="cairo-pdf-outline-flags-t"></a><h3>enum cairo_pdf_outline_flags_t</h3>
639
+ <p><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-outline-flags-t" title="enum cairo_pdf_outline_flags_t"><span class="type">cairo_pdf_outline_flags_t</span></a> is used by the
640
+ <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-add-outline" title="cairo_pdf_surface_add_outline ()"><code class="function">cairo_pdf_surface_add_outline()</code></a> function specify the attributes of
641
+ an outline item. These flags may be bitwise-or'd to produce any
642
+ combination of flags.</p>
643
+ <div class="refsect3">
644
+ <a name="id-1.5.5.8.4.4"></a><h4>Members</h4>
645
+ <div class="informaltable"><table width="100%" border="0">
646
+ <colgroup>
647
+ <col width="300px" class="enum_members_name">
648
+ <col class="enum_members_description">
649
+ <col width="200px" class="enum_members_annotations">
650
+ </colgroup>
651
+ <tbody>
652
+ <tr>
653
+ <td class="enum_member_name"><p><a name="CAIRO-BOOKMARK-FLAG-OPEN:CAPS"></a>CAIRO_BOOKMARK_FLAG_OPEN</p></td>
654
+ <td class="enum_member_description">
655
+ <p>The outline item defaults to open in the PDF viewer (Since 1.16)</p>
656
+ </td>
657
+ <td class="enum_member_annotations"> </td>
658
+ </tr>
659
+ <tr>
660
+ <td class="enum_member_name"><p><a name="CAIRO-BOOKMARK-FLAG-BOLD:CAPS"></a>CAIRO_BOOKMARK_FLAG_BOLD</p></td>
661
+ <td class="enum_member_description">
662
+ <p>The outline item is displayed by the viewer in bold text (Since 1.16)</p>
663
+ </td>
664
+ <td class="enum_member_annotations"> </td>
665
+ </tr>
666
+ <tr>
667
+ <td class="enum_member_name"><p><a name="CAIRO-BOOKMARK-FLAG-ITALIC:CAPS"></a>CAIRO_BOOKMARK_FLAG_ITALIC</p></td>
668
+ <td class="enum_member_description">
669
+ <p>The outline item is displayed by the viewer in italic text (Since 1.16)</p>
670
+ </td>
671
+ <td class="enum_member_annotations"> </td>
672
+ </tr>
673
+ </tbody>
674
+ </table></div>
675
+ </div>
676
+ <p class="since">Since 1.16</p>
677
+ </div>
678
+ <hr>
679
+ <div class="refsect2">
680
+ <a name="cairo-pdf-metadata-t"></a><h3>enum cairo_pdf_metadata_t</h3>
681
+ <p><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-metadata-t" title="enum cairo_pdf_metadata_t"><span class="type">cairo_pdf_metadata_t</span></a> is used by the
682
+ <a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-surface-set-metadata" title="cairo_pdf_surface_set_metadata ()"><code class="function">cairo_pdf_surface_set_metadata()</code></a> function specify the metadata to set.</p>
683
+ <div class="refsect3">
684
+ <a name="id-1.5.5.8.5.4"></a><h4>Members</h4>
685
+ <div class="informaltable"><table width="100%" border="0">
686
+ <colgroup>
687
+ <col width="300px" class="enum_members_name">
688
+ <col class="enum_members_description">
689
+ <col width="200px" class="enum_members_annotations">
690
+ </colgroup>
691
+ <tbody>
692
+ <tr>
693
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-TITLE:CAPS"></a>CAIRO_PDF_METADATA_TITLE</p></td>
694
+ <td class="enum_member_description">
695
+ <p>The document title (Since 1.16)</p>
696
+ </td>
697
+ <td class="enum_member_annotations"> </td>
698
+ </tr>
699
+ <tr>
700
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-AUTHOR:CAPS"></a>CAIRO_PDF_METADATA_AUTHOR</p></td>
701
+ <td class="enum_member_description">
702
+ <p>The document author (Since 1.16)</p>
703
+ </td>
704
+ <td class="enum_member_annotations"> </td>
705
+ </tr>
706
+ <tr>
707
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-SUBJECT:CAPS"></a>CAIRO_PDF_METADATA_SUBJECT</p></td>
708
+ <td class="enum_member_description">
709
+ <p>The document subject (Since 1.16)</p>
710
+ </td>
711
+ <td class="enum_member_annotations"> </td>
712
+ </tr>
713
+ <tr>
714
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-KEYWORDS:CAPS"></a>CAIRO_PDF_METADATA_KEYWORDS</p></td>
715
+ <td class="enum_member_description">
716
+ <p>The document keywords (Since 1.16)</p>
717
+ </td>
718
+ <td class="enum_member_annotations"> </td>
719
+ </tr>
720
+ <tr>
721
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-CREATOR:CAPS"></a>CAIRO_PDF_METADATA_CREATOR</p></td>
722
+ <td class="enum_member_description">
723
+ <p>The document creator (Since 1.16)</p>
724
+ </td>
725
+ <td class="enum_member_annotations"> </td>
726
+ </tr>
727
+ <tr>
728
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-CREATE-DATE:CAPS"></a>CAIRO_PDF_METADATA_CREATE_DATE</p></td>
729
+ <td class="enum_member_description">
730
+ <p>The document creation date (Since 1.16)</p>
731
+ </td>
732
+ <td class="enum_member_annotations"> </td>
733
+ </tr>
734
+ <tr>
735
+ <td class="enum_member_name"><p><a name="CAIRO-PDF-METADATA-MOD-DATE:CAPS"></a>CAIRO_PDF_METADATA_MOD_DATE</p></td>
736
+ <td class="enum_member_description">
737
+ <p>The document modification date (Since 1.16)</p>
738
+ </td>
739
+ <td class="enum_member_annotations"> </td>
740
+ </tr>
741
+ </tbody>
742
+ </table></div>
743
+ </div>
744
+ <p class="since">Since 1.16</p>
745
+ </div>
746
+ <hr>
747
+ <div class="refsect2">
409
748
  <a name="cairo-pdf-version-t"></a><h3>enum cairo_pdf_version_t</h3>
410
749
  <p><a class="link" href="cairo-PDF-Surfaces.html#cairo-pdf-version-t" title="enum cairo_pdf_version_t"><span class="type">cairo_pdf_version_t</span></a> is used to describe the version number of the PDF
411
750
  specification that a generated PDF file will conform to.</p>
412
751
  <div class="refsect3">
413
- <a name="id-1.5.5.8.3.4"></a><h4>Members</h4>
752
+ <a name="id-1.5.5.8.6.4"></a><h4>Members</h4>
414
753
  <div class="informaltable"><table width="100%" border="0">
415
754
  <colgroup>
416
755
  <col width="300px" class="enum_members_name">