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>Quartz (CGFont) Fonts</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: Quartz (CGFont) Fonts</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-fonts.html" title="Fonts">
9
9
  <link rel="prev" href="cairo-Win32-Fonts.html" title="Win32 Fonts">
10
10
  <link rel="next" href="cairo-User-Fonts.html" title="User Fonts">
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-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="cairo-fonts.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-User-Fonts.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-Quartz-(CGFont)-Fonts.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-Quartz-(CGFont)-Fonts.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-Quartz-(CGFont)-Fonts.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-Quartz-(CGFont)-Fonts.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-fonts.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="cairo-Win32-Fonts.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-User-Fonts.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-Quartz-(CGFont)-Fonts"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,97 +30,143 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-Quartz-(CGFont)-Fonts.top_of_page"></a>Quartz (CGFont) Fonts</span></h2>
34
31
  <p>Quartz (CGFont) Fonts — Font support via CGFont on OS X</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-Quartz-(CGFont)-Fonts.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">#define <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#CAIRO-HAS-QUARTZ-FONT:CAPS" title="CAIRO_HAS_QUARTZ_FONT">CAIRO_HAS_QUARTZ_FONT</a>
41
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#cairo-quartz-font-face-create-for-cgfont" title="cairo_quartz_font_face_create_for_cgfont ()">cairo_quartz_font_face_create_for_cgfont</a>
42
- (<em class="parameter"><code><span class="type">CGFontRef</span> font</code></em>);
43
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#cairo-quartz-font-face-create-for-atsu-font-id" title="cairo_quartz_font_face_create_for_atsu_font_id ()">cairo_quartz_font_face_create_for_atsu_font_id</a>
44
- (<em class="parameter"><code><span class="type">ATSUFontID</span> font_id</code></em>);
35
+ <div class="refsect1">
36
+ <a name="cairo-Quartz-(CGFont)-Fonts.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-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#cairo-quartz-font-face-create-for-cgfont" title="cairo_quartz_font_face_create_for_cgfont ()">cairo_quartz_font_face_create_for_cgfont</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#cairo-quartz-font-face-create-for-atsu-font-id" title="cairo_quartz_font_face_create_for_atsu_font_id ()">cairo_quartz_font_face_create_for_atsu_font_id</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ </tbody>
60
+ </table></div>
61
+ </div>
62
+ <div class="refsect1">
63
+ <a name="cairo-Quartz-(CGFont)-Fonts.other"></a><h2>Types and Values</h2>
64
+ <div class="informaltable"><table width="100%" border="0">
65
+ <colgroup>
66
+ <col width="150px" class="name">
67
+ <col class="description">
68
+ </colgroup>
69
+ <tbody><tr>
70
+ <td class="define_keyword">#define</td>
71
+ <td class="function_name"><a class="link" href="cairo-Quartz-(CGFont)-Fonts.html#CAIRO-HAS-QUARTZ-FONT:CAPS" title="CAIRO_HAS_QUARTZ_FONT">CAIRO_HAS_QUARTZ_FONT</a></td>
72
+ </tr></tbody>
73
+ </table></div>
74
+ </div>
75
+ <div class="refsect1">
76
+ <a name="cairo-Quartz-(CGFont)-Fonts.object-hierarchy"></a><h2>Object Hierarchy</h2>
77
+ <pre class="screen">
45
78
  </pre>
46
79
  </div>
47
80
  <div class="refsect1">
48
81
  <a name="cairo-Quartz-(CGFont)-Fonts.description"></a><h2>Description</h2>
49
- <p>
50
- The Quartz font backend is primarily used to render text on Apple
82
+ <p>The Quartz font backend is primarily used to render text on Apple
51
83
  MacOS X systems. The CGFont API is used for the internal
52
- implementation of the font backend methods.
53
- </p>
84
+ implementation of the font backend methods.</p>
54
85
  </div>
55
86
  <div class="refsect1">
56
- <a name="cairo-Quartz-(CGFont)-Fonts.details"></a><h2>Details</h2>
57
- <div class="refsect2">
58
- <a name="CAIRO-HAS-QUARTZ-FONT:CAPS"></a><h3>CAIRO_HAS_QUARTZ_FONT</h3>
59
- <pre class="programlisting">#define CAIRO_HAS_QUARTZ_FONT 1
60
- </pre>
61
- <p>
62
- Defined if the Quartz font backend is available.
63
- This macro can be used to conditionally compile backend-specific code.
64
- </p>
65
- <p class="since">Since 1.6</p>
66
- </div>
67
- <hr>
87
+ <a name="cairo-Quartz-(CGFont)-Fonts.functions_details"></a><h2>Functions</h2>
68
88
  <div class="refsect2">
69
- <a name="cairo-quartz-font-face-create-for-cgfont"></a><h3>cairo_quartz_font_face_create_for_cgfont ()</h3>
70
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_quartz_font_face_create_for_cgfont
71
- (<em class="parameter"><code><span class="type">CGFontRef</span> font</code></em>);</pre>
72
- <p>
73
- Creates a new font for the Quartz font backend based on a
89
+ <a name="cairo-quartz-font-face-create-for-cgfont"></a><h3>cairo_quartz_font_face_create_for_cgfont ()</h3>
90
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
91
+ cairo_quartz_font_face_create_for_cgfont
92
+ (<em class="parameter"><code><span class="type">CGFontRef</span> font</code></em>);</pre>
93
+ <p>Creates a new font for the Quartz font backend based on a
74
94
  <span class="type">CGFontRef</span>. This font can then be used with
75
- <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
76
- </p>
77
- <div class="variablelist"><table border="0">
78
- <col align="left" valign="top">
79
- <tbody>
80
- <tr>
81
- <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
82
- <td>a <span class="type">CGFontRef</span> obtained through a method external to cairo.</td>
83
- </tr>
84
- <tr>
85
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
86
- <td>a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
87
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</td>
88
- </tr>
89
- </tbody>
95
+ <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.</p>
96
+ <div class="refsect3">
97
+ <a name="id-1.4.7.7.2.5"></a><h4>Parameters</h4>
98
+ <div class="informaltable"><table width="100%" border="0">
99
+ <colgroup>
100
+ <col width="150px" class="parameters_name">
101
+ <col class="parameters_description">
102
+ <col width="200px" class="parameters_annotations">
103
+ </colgroup>
104
+ <tbody><tr>
105
+ <td class="parameter_name"><p>font</p></td>
106
+ <td class="parameter_description"><p>a <span class="type">CGFontRef</span> obtained through a method external to cairo.</p></td>
107
+ <td class="parameter_annotations"> </td>
108
+ </tr></tbody>
90
109
  </table></div>
110
+ </div>
111
+ <div class="refsect3">
112
+ <a name="id-1.4.7.7.2.6"></a><h4>Returns</h4>
113
+ <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
114
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p>
115
+ <p></p>
116
+ </div>
91
117
  <p class="since">Since 1.6</p>
92
118
  </div>
93
119
  <hr>
94
120
  <div class="refsect2">
95
- <a name="cairo-quartz-font-face-create-for-atsu-font-id"></a><h3>cairo_quartz_font_face_create_for_atsu_font_id ()</h3>
96
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_quartz_font_face_create_for_atsu_font_id
97
- (<em class="parameter"><code><span class="type">ATSUFontID</span> font_id</code></em>);</pre>
98
- <p>
99
- Creates a new font for the Quartz font backend based on an
121
+ <a name="cairo-quartz-font-face-create-for-atsu-font-id"></a><h3>cairo_quartz_font_face_create_for_atsu_font_id ()</h3>
122
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
123
+ cairo_quartz_font_face_create_for_atsu_font_id
124
+ (<em class="parameter"><code><span class="type">ATSUFontID</span> font_id</code></em>);</pre>
125
+ <p>Creates a new font for the Quartz font backend based on an
100
126
  <span class="type">ATSUFontID</span>. This font can then be used with
101
- <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
102
- </p>
103
- <div class="variablelist"><table border="0">
104
- <col align="left" valign="top">
105
- <tbody>
106
- <tr>
107
- <td><p><span class="term"><em class="parameter"><code>font_id</code></em> :</span></p></td>
108
- <td>an ATSUFontID for the font.</td>
109
- </tr>
110
- <tr>
111
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
112
- <td>a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
113
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</td>
114
- </tr>
115
- </tbody>
127
+ <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.</p>
128
+ <div class="refsect3">
129
+ <a name="id-1.4.7.7.3.5"></a><h4>Parameters</h4>
130
+ <div class="informaltable"><table width="100%" border="0">
131
+ <colgroup>
132
+ <col width="150px" class="parameters_name">
133
+ <col class="parameters_description">
134
+ <col width="200px" class="parameters_annotations">
135
+ </colgroup>
136
+ <tbody><tr>
137
+ <td class="parameter_name"><p>font_id</p></td>
138
+ <td class="parameter_description"><p>an ATSUFontID for the font.</p></td>
139
+ <td class="parameter_annotations"> </td>
140
+ </tr></tbody>
116
141
  </table></div>
142
+ </div>
143
+ <div class="refsect3">
144
+ <a name="id-1.4.7.7.3.6"></a><h4>Returns</h4>
145
+ <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
146
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p>
147
+ <p></p>
148
+ </div>
149
+ <p class="since">Since 1.6</p>
150
+ </div>
151
+ </div>
152
+ <div class="refsect1">
153
+ <a name="cairo-Quartz-(CGFont)-Fonts.other_details"></a><h2>Types and Values</h2>
154
+ <div class="refsect2">
155
+ <a name="CAIRO-HAS-QUARTZ-FONT:CAPS"></a><h3>CAIRO_HAS_QUARTZ_FONT</h3>
156
+ <pre class="programlisting">#define CAIRO_HAS_QUARTZ_FONT 1
157
+ </pre>
158
+ <p>Defined if the Quartz font backend is available.
159
+ This macro can be used to conditionally compile backend-specific code.</p>
117
160
  <p class="since">Since 1.6</p>
118
161
  </div>
119
162
  </div>
120
163
  <div class="refsect1">
121
164
  <a name="cairo-Quartz-(CGFont)-Fonts.see-also"></a><h2>See Also</h2>
122
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>
165
+ <p><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a></p>
123
166
  </div>
124
167
  </div>
125
168
  <div class="footer">
126
169
  <hr>
127
- Generated by GTK-Doc V1.18</div>
170
+ Generated by GTK-Doc V1.20</div>
128
171
  </body>
129
172
  </html>
@@ -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>Quartz Surfaces</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: Quartz 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-SVG-Surfaces.html" title="SVG Surfaces">
10
10
  <link rel="next" href="cairo-XCB-Surfaces.html" title="XCB 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-SVG-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-XCB-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-Quartz-Surfaces.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-Quartz-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-Quartz-Surfaces.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-Quartz-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-SVG-Surfaces.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-XCB-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-Quartz-Surfaces"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,165 +30,221 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-Quartz-Surfaces.top_of_page"></a>Quartz Surfaces</span></h2>
34
31
  <p>Quartz Surfaces — Rendering to Quartz surfaces</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-Quartz-Surfaces.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">#define <a class="link" href="cairo-Quartz-Surfaces.html#CAIRO-HAS-QUARTZ-SURFACE:CAPS" title="CAIRO_HAS_QUARTZ_SURFACE">CAIRO_HAS_QUARTZ_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-Quartz-Surfaces.html#cairo-quartz-surface-create" title="cairo_quartz_surface_create ()">cairo_quartz_surface_create</a> (<em class="parameter"><code><a class="link" href="cairo-Image-Surfaces.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a> format</code></em>,
42
- <em class="parameter"><code>unsigned <span class="type">int</span> width</code></em>,
43
- <em class="parameter"><code>unsigned <span class="type">int</span> height</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-Quartz-Surfaces.html#cairo-quartz-surface-create-for-cg-context" title="cairo_quartz_surface_create_for_cg_context ()">cairo_quartz_surface_create_for_cg_context</a>
45
- (<em class="parameter"><code><span class="type">CGContextRef</span> cgContext</code></em>,
46
- <em class="parameter"><code>unsigned <span class="type">int</span> width</code></em>,
47
- <em class="parameter"><code>unsigned <span class="type">int</span> height</code></em>);
48
- <span class="returnvalue">CGContextRef</span> <a class="link" href="cairo-Quartz-Surfaces.html#cairo-quartz-surface-get-cg-context" title="cairo_quartz_surface_get_cg_context ()">cairo_quartz_surface_get_cg_context</a> (<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>);
49
- </pre>
35
+ <div class="refsect1">
36
+ <a name="cairo-Quartz-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-Quartz-Surfaces.html#cairo-quartz-surface-create" title="cairo_quartz_surface_create ()">cairo_quartz_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-Quartz-Surfaces.html#cairo-quartz-surface-create-for-cg-context" title="cairo_quartz_surface_create_for_cg_context ()">cairo_quartz_surface_create_for_cg_context</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <span class="returnvalue">CGContextRef</span>
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="cairo-Quartz-Surfaces.html#cairo-quartz-surface-get-cg-context" title="cairo_quartz_surface_get_cg_context ()">cairo_quartz_surface_get_cg_context</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ </tbody>
68
+ </table></div>
50
69
  </div>
51
70
  <div class="refsect1">
52
- <a name="cairo-Quartz-Surfaces.description"></a><h2>Description</h2>
53
- <p>
54
- The Quartz surface is used to render cairo graphics targeting the
55
- Apple OS X Quartz rendering system.
56
- </p>
71
+ <a name="cairo-Quartz-Surfaces.other"></a><h2>Types and Values</h2>
72
+ <div class="informaltable"><table width="100%" border="0">
73
+ <colgroup>
74
+ <col width="150px" class="name">
75
+ <col class="description">
76
+ </colgroup>
77
+ <tbody><tr>
78
+ <td class="define_keyword">#define</td>
79
+ <td class="function_name"><a class="link" href="cairo-Quartz-Surfaces.html#CAIRO-HAS-QUARTZ-SURFACE:CAPS" title="CAIRO_HAS_QUARTZ_SURFACE">CAIRO_HAS_QUARTZ_SURFACE</a></td>
80
+ </tr></tbody>
81
+ </table></div>
57
82
  </div>
58
83
  <div class="refsect1">
59
- <a name="cairo-Quartz-Surfaces.details"></a><h2>Details</h2>
60
- <div class="refsect2">
61
- <a name="CAIRO-HAS-QUARTZ-SURFACE:CAPS"></a><h3>CAIRO_HAS_QUARTZ_SURFACE</h3>
62
- <pre class="programlisting">#define CAIRO_HAS_QUARTZ_SURFACE 1
84
+ <a name="cairo-Quartz-Surfaces.object-hierarchy"></a><h2>Object Hierarchy</h2>
85
+ <pre class="screen">
63
86
  </pre>
64
- <p>
65
- Defined if the Quartz surface backend is available.
66
- This macro can be used to conditionally compile backend-specific code.
67
- </p>
68
- <p class="since">Since 1.6</p>
69
87
  </div>
70
- <hr>
88
+ <div class="refsect1">
89
+ <a name="cairo-Quartz-Surfaces.description"></a><h2>Description</h2>
90
+ <p>The Quartz surface is used to render cairo graphics targeting the
91
+ Apple OS X Quartz rendering system.</p>
92
+ </div>
93
+ <div class="refsect1">
94
+ <a name="cairo-Quartz-Surfaces.functions_details"></a><h2>Functions</h2>
71
95
  <div class="refsect2">
72
- <a name="cairo-quartz-surface-create"></a><h3>cairo_quartz_surface_create ()</h3>
73
- <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_quartz_surface_create (<em class="parameter"><code><a class="link" href="cairo-Image-Surfaces.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a> format</code></em>,
74
- <em class="parameter"><code>unsigned <span class="type">int</span> width</code></em>,
75
- <em class="parameter"><code>unsigned <span class="type">int</span> height</code></em>);</pre>
76
- <p>
77
- Creates a Quartz surface backed by a CGBitmap. The surface is
96
+ <a name="cairo-quartz-surface-create"></a><h3>cairo_quartz_surface_create ()</h3>
97
+ <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> *
98
+ cairo_quartz_surface_create (<em class="parameter"><code><a class="link" href="cairo-Image-Surfaces.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a> format</code></em>,
99
+ <em class="parameter"><code>unsigned <span class="type">int</span> width</code></em>,
100
+ <em class="parameter"><code>unsigned <span class="type">int</span> height</code></em>);</pre>
101
+ <p>Creates a Quartz surface backed by a CGBitmap. The surface is
78
102
  created using the Device RGB (or Device Gray, for A8) color space.
79
103
  All Cairo operations, including those that require software
80
- rendering, will succeed on this surface.
81
- </p>
82
- <div class="variablelist"><table border="0">
83
- <col align="left" valign="top">
104
+ rendering, will succeed on this surface.</p>
105
+ <div class="refsect3">
106
+ <a name="id-1.5.11.7.2.5"></a><h4>Parameters</h4>
107
+ <div class="informaltable"><table width="100%" border="0">
108
+ <colgroup>
109
+ <col width="150px" class="parameters_name">
110
+ <col class="parameters_description">
111
+ <col width="200px" class="parameters_annotations">
112
+ </colgroup>
84
113
  <tbody>
85
114
  <tr>
86
- <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
87
- <td>format of pixels in the surface to create</td>
115
+ <td class="parameter_name"><p>format</p></td>
116
+ <td class="parameter_description"><p>format of pixels in the surface to create</p></td>
117
+ <td class="parameter_annotations"> </td>
88
118
  </tr>
89
119
  <tr>
90
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
91
- <td>width of the surface, in pixels</td>
120
+ <td class="parameter_name"><p>width</p></td>
121
+ <td class="parameter_description"><p>width of the surface, in pixels</p></td>
122
+ <td class="parameter_annotations"> </td>
92
123
  </tr>
93
124
  <tr>
94
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
95
- <td>height of the surface, in pixels</td>
96
- </tr>
97
- <tr>
98
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
99
- <td>the newly created surface.</td>
125
+ <td class="parameter_name"><p>height</p></td>
126
+ <td class="parameter_description"><p>height of the surface, in pixels</p></td>
127
+ <td class="parameter_annotations"> </td>
100
128
  </tr>
101
129
  </tbody>
102
130
  </table></div>
131
+ </div>
132
+ <div class="refsect3">
133
+ <a name="id-1.5.11.7.2.6"></a><h4>Returns</h4>
134
+ <p> the newly created surface.</p>
135
+ <p></p>
136
+ </div>
103
137
  <p class="since">Since 1.6</p>
104
138
  </div>
105
139
  <hr>
106
140
  <div class="refsect2">
107
- <a name="cairo-quartz-surface-create-for-cg-context"></a><h3>cairo_quartz_surface_create_for_cg_context ()</h3>
108
- <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_quartz_surface_create_for_cg_context
109
- (<em class="parameter"><code><span class="type">CGContextRef</span> cgContext</code></em>,
110
- <em class="parameter"><code>unsigned <span class="type">int</span> width</code></em>,
111
- <em class="parameter"><code>unsigned <span class="type">int</span> height</code></em>);</pre>
112
- <p>
113
- Creates a Quartz surface that wraps the given CGContext. The
141
+ <a name="cairo-quartz-surface-create-for-cg-context"></a><h3>cairo_quartz_surface_create_for_cg_context ()</h3>
142
+ <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> *
143
+ cairo_quartz_surface_create_for_cg_context
144
+ (<em class="parameter"><code><span class="type">CGContextRef</span> cgContext</code></em>,
145
+ <em class="parameter"><code>unsigned <span class="type">int</span> width</code></em>,
146
+ <em class="parameter"><code>unsigned <span class="type">int</span> height</code></em>);</pre>
147
+ <p>Creates a Quartz surface that wraps the given CGContext. The
114
148
  CGContext is assumed to be in the standard Cairo coordinate space
115
149
  (that is, with the origin at the upper left and the Y axis
116
150
  increasing downward). If the CGContext is in the Quartz coordinate
117
151
  space (with the origin at the bottom left), then it should be
118
152
  flipped before this function is called. The flip can be accomplished
119
- using a translate and a scale; for example:
120
- </p>
121
- <p>
122
- </p>
153
+ using a translate and a scale; for example:</p>
123
154
  <div class="informalexample"><pre class="programlisting">
124
155
  CGContextTranslateCTM (cgContext, 0.0, height);
125
156
  CGContextScaleCTM (cgContext, 1.0, -1.0);
126
157
  </pre></div>
127
- <p>
128
- </p>
129
- <p>
130
- All Cairo operations are implemented in terms of Quartz operations,
131
- as long as Quartz-compatible elements are used (such as Quartz fonts).
132
- </p>
133
- <div class="variablelist"><table border="0">
134
- <col align="left" valign="top">
158
+ <p>All Cairo operations are implemented in terms of Quartz operations,
159
+ as long as Quartz-compatible elements are used (such as Quartz fonts).</p>
160
+ <div class="refsect3">
161
+ <a name="id-1.5.11.7.3.7"></a><h4>Parameters</h4>
162
+ <div class="informaltable"><table width="100%" border="0">
163
+ <colgroup>
164
+ <col width="150px" class="parameters_name">
165
+ <col class="parameters_description">
166
+ <col width="200px" class="parameters_annotations">
167
+ </colgroup>
135
168
  <tbody>
136
169
  <tr>
137
- <td><p><span class="term"><em class="parameter"><code>cgContext</code></em> :</span></p></td>
138
- <td>the existing CGContext for which to create the surface</td>
170
+ <td class="parameter_name"><p>cgContext</p></td>
171
+ <td class="parameter_description"><p>the existing CGContext for which to create the surface</p></td>
172
+ <td class="parameter_annotations"> </td>
139
173
  </tr>
140
174
  <tr>
141
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
142
- <td>width of the surface, in pixels</td>
175
+ <td class="parameter_name"><p>width</p></td>
176
+ <td class="parameter_description"><p>width of the surface, in pixels</p></td>
177
+ <td class="parameter_annotations"> </td>
143
178
  </tr>
144
179
  <tr>
145
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
146
- <td>height of the surface, in pixels</td>
147
- </tr>
148
- <tr>
149
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
150
- <td>the newly created Cairo surface.</td>
180
+ <td class="parameter_name"><p>height</p></td>
181
+ <td class="parameter_description"><p>height of the surface, in pixels</p></td>
182
+ <td class="parameter_annotations"> </td>
151
183
  </tr>
152
184
  </tbody>
153
185
  </table></div>
186
+ </div>
187
+ <div class="refsect3">
188
+ <a name="id-1.5.11.7.3.8"></a><h4>Returns</h4>
189
+ <p> the newly created Cairo surface.</p>
190
+ <p></p>
191
+ </div>
154
192
  <p class="since">Since 1.6</p>
155
193
  </div>
156
194
  <hr>
157
195
  <div class="refsect2">
158
- <a name="cairo-quartz-surface-get-cg-context"></a><h3>cairo_quartz_surface_get_cg_context ()</h3>
159
- <pre class="programlisting"><span class="returnvalue">CGContextRef</span> cairo_quartz_surface_get_cg_context (<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>);</pre>
160
- <p>
161
- Returns the CGContextRef that the given Quartz surface is backed
162
- by.
163
- </p>
164
- <p>
165
- A call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> is required before using the
196
+ <a name="cairo-quartz-surface-get-cg-context"></a><h3>cairo_quartz_surface_get_cg_context ()</h3>
197
+ <pre class="programlisting"><span class="returnvalue">CGContextRef</span>
198
+ cairo_quartz_surface_get_cg_context (<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>);</pre>
199
+ <p>Returns the CGContextRef that the given Quartz surface is backed
200
+ by.</p>
201
+ <p>A call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> is required before using the
166
202
  CGContextRef to ensure that all pending drawing operations are
167
203
  finished and to restore any temporary modification cairo has made
168
- to its state. A call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty ()"><code class="function">cairo_surface_mark_dirty()</code></a> is required
204
+ to its state. A call to <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-mark-dirty" title="cairo_surface_mark_dirty ()"><code class="function">cairo_surface_mark_dirty()</code></a> is required
169
205
  after the state or the content of the CGContextRef has been
170
- modified.
171
- </p>
172
- <div class="variablelist"><table border="0">
173
- <col align="left" valign="top">
174
- <tbody>
175
- <tr>
176
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
177
- <td>the Cairo Quartz surface</td>
178
- </tr>
179
- <tr>
180
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
181
- <td>the CGContextRef for the given surface.</td>
182
- </tr>
183
- </tbody>
206
+ modified.</p>
207
+ <div class="refsect3">
208
+ <a name="id-1.5.11.7.4.6"></a><h4>Parameters</h4>
209
+ <div class="informaltable"><table width="100%" border="0">
210
+ <colgroup>
211
+ <col width="150px" class="parameters_name">
212
+ <col class="parameters_description">
213
+ <col width="200px" class="parameters_annotations">
214
+ </colgroup>
215
+ <tbody><tr>
216
+ <td class="parameter_name"><p>surface</p></td>
217
+ <td class="parameter_description"><p>the Cairo Quartz surface</p></td>
218
+ <td class="parameter_annotations"> </td>
219
+ </tr></tbody>
184
220
  </table></div>
221
+ </div>
222
+ <div class="refsect3">
223
+ <a name="id-1.5.11.7.4.7"></a><h4>Returns</h4>
224
+ <p> the CGContextRef for the given surface.</p>
225
+ <p></p>
226
+ </div>
227
+ <p class="since">Since 1.6</p>
228
+ </div>
229
+ </div>
230
+ <div class="refsect1">
231
+ <a name="cairo-Quartz-Surfaces.other_details"></a><h2>Types and Values</h2>
232
+ <div class="refsect2">
233
+ <a name="CAIRO-HAS-QUARTZ-SURFACE:CAPS"></a><h3>CAIRO_HAS_QUARTZ_SURFACE</h3>
234
+ <pre class="programlisting">#define CAIRO_HAS_QUARTZ_SURFACE 1
235
+ </pre>
236
+ <p>Defined if the Quartz surface backend is available.
237
+ This macro can be used to conditionally compile backend-specific code.</p>
185
238
  <p class="since">Since 1.6</p>
186
239
  </div>
187
240
  </div>
188
241
  <div class="refsect1">
189
242
  <a name="cairo-Quartz-Surfaces.see-also"></a><h2>See Also</h2>
190
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
243
+ <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>
191
244
  </div>
192
245
  </div>
193
246
  <div class="footer">
194
247
  <hr>
195
- Generated by GTK-Doc V1.18</div>
248
+ Generated by GTK-Doc V1.20</div>
196
249
  </body>
197
250
  </html>