cairo 1.14.1-x64-mingw32 → 1.14.2-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 (215) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +21 -0
  3. data/Rakefile +17 -6
  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_seh-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>cairo_font_options_t</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: cairo_font_options_t</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-cairo-scaled-font-t.html" title="cairo_scaled_font_t">
10
10
  <link rel="next" href="cairo-FreeType-Fonts.html" title="FreeType 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-cairo-scaled-font-t.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-FreeType-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-cairo-font-options-t.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-cairo-font-options-t.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-cairo-font-options-t.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-cairo-font-options-t.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-cairo-scaled-font-t.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-FreeType-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-cairo-font-options-t"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,621 +30,840 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-cairo-font-options-t.top_of_page"></a>cairo_font_options_t</span></h2>
34
31
  <p>cairo_font_options_t — How a font should be rendered</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-cairo-font-options-t.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">typedef <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a>;
41
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> * <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-create" title="cairo_font_options_create ()">cairo_font_options_create</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
42
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> * <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-copy" title="cairo_font_options_copy ()">cairo_font_options_copy</a> (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *original</code></em>);
43
- <span class="returnvalue">void</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-destroy" title="cairo_font_options_destroy ()">cairo_font_options_destroy</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
44
- <a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-status" title="cairo_font_options_status ()">cairo_font_options_status</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
45
- <span class="returnvalue">void</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-merge" title="cairo_font_options_merge ()">cairo_font_options_merge</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
46
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *other</code></em>);
47
- unsigned <span class="returnvalue">long</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-hash" title="cairo_font_options_hash ()">cairo_font_options_hash</a> (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
48
- <a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-equal" title="cairo_font_options_equal ()">cairo_font_options_equal</a> (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
49
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *other</code></em>);
50
- <span class="returnvalue">void</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-antialias" title="cairo_font_options_set_antialias ()">cairo_font_options_set_antialias</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
51
- <em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="type">cairo_antialias_t</span></a> antialias</code></em>);
52
- <a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="returnvalue">cairo_antialias_t</span></a> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-antialias" title="cairo_font_options_get_antialias ()">cairo_font_options_get_antialias</a> (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
53
- enum <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t">cairo_subpixel_order_t</a>;
54
- <span class="returnvalue">void</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-subpixel-order" title="cairo_font_options_set_subpixel_order ()">cairo_font_options_set_subpixel_order</a>
55
- (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
56
- <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> subpixel_order</code></em>);
57
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="returnvalue">cairo_subpixel_order_t</span></a> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-subpixel-order" title="cairo_font_options_get_subpixel_order ()">cairo_font_options_get_subpixel_order</a>
58
- (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
59
- enum <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t">cairo_hint_style_t</a>;
60
- <span class="returnvalue">void</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-hint-style" title="cairo_font_options_set_hint_style ()">cairo_font_options_set_hint_style</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
61
- <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> hint_style</code></em>);
62
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="returnvalue">cairo_hint_style_t</span></a> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-hint-style" title="cairo_font_options_get_hint_style ()">cairo_font_options_get_hint_style</a> (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
63
- enum <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t">cairo_hint_metrics_t</a>;
64
- <span class="returnvalue">void</span> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-hint-metrics" title="cairo_font_options_set_hint_metrics ()">cairo_font_options_set_hint_metrics</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
65
- <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> hint_metrics</code></em>);
66
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="returnvalue">cairo_hint_metrics_t</span></a> <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-hint-metrics" title="cairo_font_options_get_hint_metrics ()">cairo_font_options_get_hint_metrics</a>
67
- (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
35
+ <div class="refsect1">
36
+ <a name="cairo-cairo-font-options-t.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-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-create" title="cairo_font_options_create ()">cairo_font_options_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-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-copy" title="cairo_font_options_copy ()">cairo_font_options_copy</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <span class="returnvalue">void</span>
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-destroy" title="cairo_font_options_destroy ()">cairo_font_options_destroy</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-status" title="cairo_font_options_status ()">cairo_font_options_status</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <td class="function_type">
77
+ <span class="returnvalue">void</span>
78
+ </td>
79
+ <td class="function_name">
80
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-merge" title="cairo_font_options_merge ()">cairo_font_options_merge</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">unsigned <span class="returnvalue">long</span>
85
+ </td>
86
+ <td class="function_name">
87
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-hash" title="cairo_font_options_hash ()">cairo_font_options_hash</a> <span class="c_punctuation">()</span>
88
+ </td>
89
+ </tr>
90
+ <tr>
91
+ <td class="function_type">
92
+ <a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a>
93
+ </td>
94
+ <td class="function_name">
95
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-equal" title="cairo_font_options_equal ()">cairo_font_options_equal</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-cairo-font-options-t.html#cairo-font-options-set-antialias" title="cairo_font_options_set_antialias ()">cairo_font_options_set_antialias</a> <span class="c_punctuation">()</span>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="function_type">
108
+ <a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="returnvalue">cairo_antialias_t</span></a>
109
+ </td>
110
+ <td class="function_name">
111
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-antialias" title="cairo_font_options_get_antialias ()">cairo_font_options_get_antialias</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-cairo-font-options-t.html#cairo-font-options-set-subpixel-order" title="cairo_font_options_set_subpixel_order ()">cairo_font_options_set_subpixel_order</a> <span class="c_punctuation">()</span>
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td class="function_type">
124
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="returnvalue">cairo_subpixel_order_t</span></a>
125
+ </td>
126
+ <td class="function_name">
127
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-subpixel-order" title="cairo_font_options_get_subpixel_order ()">cairo_font_options_get_subpixel_order</a> <span class="c_punctuation">()</span>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td class="function_type">
132
+ <span class="returnvalue">void</span>
133
+ </td>
134
+ <td class="function_name">
135
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-hint-style" title="cairo_font_options_set_hint_style ()">cairo_font_options_set_hint_style</a> <span class="c_punctuation">()</span>
136
+ </td>
137
+ </tr>
138
+ <tr>
139
+ <td class="function_type">
140
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="returnvalue">cairo_hint_style_t</span></a>
141
+ </td>
142
+ <td class="function_name">
143
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-hint-style" title="cairo_font_options_get_hint_style ()">cairo_font_options_get_hint_style</a> <span class="c_punctuation">()</span>
144
+ </td>
145
+ </tr>
146
+ <tr>
147
+ <td class="function_type">
148
+ <span class="returnvalue">void</span>
149
+ </td>
150
+ <td class="function_name">
151
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-hint-metrics" title="cairo_font_options_set_hint_metrics ()">cairo_font_options_set_hint_metrics</a> <span class="c_punctuation">()</span>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td class="function_type">
156
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="returnvalue">cairo_hint_metrics_t</span></a>
157
+ </td>
158
+ <td class="function_name">
159
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-hint-metrics" title="cairo_font_options_get_hint_metrics ()">cairo_font_options_get_hint_metrics</a> <span class="c_punctuation">()</span>
160
+ </td>
161
+ </tr>
162
+ </tbody>
163
+ </table></div>
164
+ </div>
165
+ <div class="refsect1">
166
+ <a name="cairo-cairo-font-options-t.other"></a><h2>Types and Values</h2>
167
+ <div class="informaltable"><table width="100%" border="0">
168
+ <colgroup>
169
+ <col width="150px" class="name">
170
+ <col class="description">
171
+ </colgroup>
172
+ <tbody>
173
+ <tr>
174
+ <td class="typedef_keyword">typedef</td>
175
+ <td class="function_name"><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a></td>
176
+ </tr>
177
+ <tr>
178
+ <td class="datatype_keyword">enum</td>
179
+ <td class="function_name"><a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t">cairo_subpixel_order_t</a></td>
180
+ </tr>
181
+ <tr>
182
+ <td class="datatype_keyword">enum</td>
183
+ <td class="function_name"><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t">cairo_hint_style_t</a></td>
184
+ </tr>
185
+ <tr>
186
+ <td class="datatype_keyword">enum</td>
187
+ <td class="function_name"><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t">cairo_hint_metrics_t</a></td>
188
+ </tr>
189
+ </tbody>
190
+ </table></div>
191
+ </div>
192
+ <div class="refsect1">
193
+ <a name="cairo-cairo-font-options-t.object-hierarchy"></a><h2>Object Hierarchy</h2>
194
+ <pre class="screen">
68
195
  </pre>
69
196
  </div>
70
197
  <div class="refsect1">
71
198
  <a name="cairo-cairo-font-options-t.description"></a><h2>Description</h2>
72
- <p>
73
- The font options specify how fonts should be rendered. Most of the
199
+ <p>The font options specify how fonts should be rendered. Most of the
74
200
  time the font options implied by a surface are just right and do not
75
201
  need any changes, but for pixel-based targets tweaking font options
76
- may result in superior output on a particular display.
77
- </p>
202
+ may result in superior output on a particular display.</p>
78
203
  </div>
79
204
  <div class="refsect1">
80
- <a name="cairo-cairo-font-options-t.details"></a><h2>Details</h2>
205
+ <a name="cairo-cairo-font-options-t.functions_details"></a><h2>Functions</h2>
81
206
  <div class="refsect2">
82
- <a name="cairo-font-options-t"></a><h3>cairo_font_options_t</h3>
83
- <pre class="programlisting">typedef struct _cairo_font_options cairo_font_options_t;
84
- </pre>
85
- <p>
86
- An opaque structure holding all options that are used when
87
- rendering fonts.
88
- </p>
89
- <p>
90
- Individual features of a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> can be set or
91
- accessed using functions named
92
- <code class="function">cairo_font_options_set_<span class="emphasis"><em>feature_name</em></span>()</code> and
93
- <code class="function">cairo_font_options_get_<span class="emphasis"><em>feature_name</em></span>()</code>, like
94
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-antialias" title="cairo_font_options_set_antialias ()"><code class="function">cairo_font_options_set_antialias()</code></a> and
95
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-antialias" title="cairo_font_options_get_antialias ()"><code class="function">cairo_font_options_get_antialias()</code></a>.
96
- </p>
97
- <p>
98
- New features may be added to a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> in the
99
- future. For this reason, <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-copy" title="cairo_font_options_copy ()"><code class="function">cairo_font_options_copy()</code></a>,
100
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-equal" title="cairo_font_options_equal ()"><code class="function">cairo_font_options_equal()</code></a>, <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-merge" title="cairo_font_options_merge ()"><code class="function">cairo_font_options_merge()</code></a>, and
101
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-hash" title="cairo_font_options_hash ()"><code class="function">cairo_font_options_hash()</code></a> should be used to copy, check
102
- for equality, merge, or compute a hash value of
103
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> objects.
104
- </p>
207
+ <a name="cairo-font-options-create"></a><h3>cairo_font_options_create ()</h3>
208
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> *
209
+ cairo_font_options_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
210
+ <p>Allocates a new font options object with all options initialized
211
+ to default values.</p>
212
+ <div class="refsect3">
213
+ <a name="id-1.4.4.7.2.5"></a><h4>Returns</h4>
214
+ <p> a newly allocated <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>. Free with
215
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-destroy" title="cairo_font_options_destroy ()"><code class="function">cairo_font_options_destroy()</code></a>. This function always returns a
216
+ valid pointer; if memory cannot be allocated, then a special
217
+ error object is returned where all operations on the object do nothing.
218
+ You can check for this with <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-status" title="cairo_font_options_status ()"><code class="function">cairo_font_options_status()</code></a>.</p>
219
+ <p></p>
220
+ </div>
105
221
  <p class="since">Since 1.0</p>
106
222
  </div>
107
223
  <hr>
108
224
  <div class="refsect2">
109
- <a name="cairo-font-options-create"></a><h3>cairo_font_options_create ()</h3>
110
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> * cairo_font_options_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
111
- <p>
112
- Allocates a new font options object with all options initialized
113
- to default values.
114
- </p>
115
- <div class="variablelist"><table border="0">
116
- <col align="left" valign="top">
225
+ <a name="cairo-font-options-copy"></a><h3>cairo_font_options_copy ()</h3>
226
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> *
227
+ cairo_font_options_copy (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *original</code></em>);</pre>
228
+ <p>Allocates a new font options object copying the option values from
229
+ <em class="parameter"><code>original</code></em>
230
+ .</p>
231
+ <div class="refsect3">
232
+ <a name="id-1.4.4.7.3.5"></a><h4>Parameters</h4>
233
+ <div class="informaltable"><table width="100%" border="0">
234
+ <colgroup>
235
+ <col width="150px" class="parameters_name">
236
+ <col class="parameters_description">
237
+ <col width="200px" class="parameters_annotations">
238
+ </colgroup>
117
239
  <tbody><tr>
118
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
119
- <td>a newly allocated <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>. Free with
120
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-destroy" title="cairo_font_options_destroy ()"><code class="function">cairo_font_options_destroy()</code></a>. This function always returns a
240
+ <td class="parameter_name"><p>original</p></td>
241
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
242
+ <td class="parameter_annotations"> </td>
243
+ </tr></tbody>
244
+ </table></div>
245
+ </div>
246
+ <div class="refsect3">
247
+ <a name="id-1.4.4.7.3.6"></a><h4>Returns</h4>
248
+ <p> a newly allocated <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>. Free with
249
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-destroy" title="cairo_font_options_destroy ()"><code class="function">cairo_font_options_destroy()</code></a>. This function always returns a
121
250
  valid pointer; if memory cannot be allocated, then a special
122
251
  error object is returned where all operations on the object do nothing.
123
- You can check for this with <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-status" title="cairo_font_options_status ()"><code class="function">cairo_font_options_status()</code></a>.</td>
252
+ You can check for this with <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-status" title="cairo_font_options_status ()"><code class="function">cairo_font_options_status()</code></a>.</p>
253
+ <p></p>
254
+ </div>
255
+ <p class="since">Since 1.0</p>
256
+ </div>
257
+ <hr>
258
+ <div class="refsect2">
259
+ <a name="cairo-font-options-destroy"></a><h3>cairo_font_options_destroy ()</h3>
260
+ <pre class="programlisting"><span class="returnvalue">void</span>
261
+ cairo_font_options_destroy (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
262
+ <p>Destroys a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> object created with
263
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-create" title="cairo_font_options_create ()"><code class="function">cairo_font_options_create()</code></a> or <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-copy" title="cairo_font_options_copy ()"><code class="function">cairo_font_options_copy()</code></a>.</p>
264
+ <div class="refsect3">
265
+ <a name="id-1.4.4.7.4.5"></a><h4>Parameters</h4>
266
+ <div class="informaltable"><table width="100%" border="0">
267
+ <colgroup>
268
+ <col width="150px" class="parameters_name">
269
+ <col class="parameters_description">
270
+ <col width="200px" class="parameters_annotations">
271
+ </colgroup>
272
+ <tbody><tr>
273
+ <td class="parameter_name"><p>options</p></td>
274
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
275
+ <td class="parameter_annotations"> </td>
276
+ </tr></tbody>
277
+ </table></div>
278
+ </div>
279
+ <p class="since">Since 1.0</p>
280
+ </div>
281
+ <hr>
282
+ <div class="refsect2">
283
+ <a name="cairo-font-options-status"></a><h3>cairo_font_options_status ()</h3>
284
+ <pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a>
285
+ cairo_font_options_status (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
286
+ <p>Checks whether an error has previously occurred for this
287
+ font options object</p>
288
+ <div class="refsect3">
289
+ <a name="id-1.4.4.7.5.5"></a><h4>Parameters</h4>
290
+ <div class="informaltable"><table width="100%" border="0">
291
+ <colgroup>
292
+ <col width="150px" class="parameters_name">
293
+ <col class="parameters_description">
294
+ <col width="200px" class="parameters_annotations">
295
+ </colgroup>
296
+ <tbody><tr>
297
+ <td class="parameter_name"><p>options</p></td>
298
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
299
+ <td class="parameter_annotations"> </td>
124
300
  </tr></tbody>
125
301
  </table></div>
302
+ </div>
303
+ <div class="refsect3">
304
+ <a name="id-1.4.4.7.5.6"></a><h4>Returns</h4>
305
+ <p> <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a></p>
306
+ <p></p>
307
+ </div>
126
308
  <p class="since">Since 1.0</p>
127
309
  </div>
128
310
  <hr>
129
311
  <div class="refsect2">
130
- <a name="cairo-font-options-copy"></a><h3>cairo_font_options_copy ()</h3>
131
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="returnvalue">cairo_font_options_t</span></a> * cairo_font_options_copy (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *original</code></em>);</pre>
132
- <p>
133
- Allocates a new font options object copying the option values from
134
- <em class="parameter"><code>original</code></em>.
135
- </p>
136
- <div class="variablelist"><table border="0">
137
- <col align="left" valign="top">
312
+ <a name="cairo-font-options-merge"></a><h3>cairo_font_options_merge ()</h3>
313
+ <pre class="programlisting"><span class="returnvalue">void</span>
314
+ cairo_font_options_merge (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
315
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *other</code></em>);</pre>
316
+ <p>Merges non-default options from <em class="parameter"><code>other</code></em>
317
+ into <em class="parameter"><code>options</code></em>
318
+ , replacing
319
+ existing values. This operation can be thought of as somewhat
320
+ similar to compositing <em class="parameter"><code>other</code></em>
321
+ onto <em class="parameter"><code>options</code></em>
322
+ with the operation
323
+ of <a class="link" href="cairo-cairo-t.html#CAIRO-OPERATOR-OVER:CAPS"><code class="literal">CAIRO_OPERATOR_OVER</code></a>.</p>
324
+ <div class="refsect3">
325
+ <a name="id-1.4.4.7.6.5"></a><h4>Parameters</h4>
326
+ <div class="informaltable"><table width="100%" border="0">
327
+ <colgroup>
328
+ <col width="150px" class="parameters_name">
329
+ <col class="parameters_description">
330
+ <col width="200px" class="parameters_annotations">
331
+ </colgroup>
138
332
  <tbody>
139
333
  <tr>
140
- <td><p><span class="term"><em class="parameter"><code>original</code></em> :</span></p></td>
141
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
142
- </td>
334
+ <td class="parameter_name"><p>options</p></td>
335
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
336
+ <td class="parameter_annotations"> </td>
143
337
  </tr>
144
338
  <tr>
145
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
146
- <td>a newly allocated <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>. Free with
147
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-destroy" title="cairo_font_options_destroy ()"><code class="function">cairo_font_options_destroy()</code></a>. This function always returns a
148
- valid pointer; if memory cannot be allocated, then a special
149
- error object is returned where all operations on the object do nothing.
150
- You can check for this with <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-status" title="cairo_font_options_status ()"><code class="function">cairo_font_options_status()</code></a>.</td>
339
+ <td class="parameter_name"><p>other</p></td>
340
+ <td class="parameter_description"><p>another <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
341
+ <td class="parameter_annotations"> </td>
151
342
  </tr>
152
343
  </tbody>
153
344
  </table></div>
345
+ </div>
154
346
  <p class="since">Since 1.0</p>
155
347
  </div>
156
348
  <hr>
157
349
  <div class="refsect2">
158
- <a name="cairo-font-options-destroy"></a><h3>cairo_font_options_destroy ()</h3>
159
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_options_destroy (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
160
- <p>
161
- Destroys a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> object created with
162
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-create" title="cairo_font_options_create ()"><code class="function">cairo_font_options_create()</code></a> or <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-copy" title="cairo_font_options_copy ()"><code class="function">cairo_font_options_copy()</code></a>.
163
- </p>
164
- <div class="variablelist"><table border="0">
165
- <col align="left" valign="top">
350
+ <a name="cairo-font-options-hash"></a><h3>cairo_font_options_hash ()</h3>
351
+ <pre class="programlisting">unsigned <span class="returnvalue">long</span>
352
+ cairo_font_options_hash (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
353
+ <p>Compute a hash for the font options object; this value will
354
+ be useful when storing an object containing a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
355
+ in a hash table.</p>
356
+ <div class="refsect3">
357
+ <a name="id-1.4.4.7.7.5"></a><h4>Parameters</h4>
358
+ <div class="informaltable"><table width="100%" border="0">
359
+ <colgroup>
360
+ <col width="150px" class="parameters_name">
361
+ <col class="parameters_description">
362
+ <col width="200px" class="parameters_annotations">
363
+ </colgroup>
166
364
  <tbody><tr>
167
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
168
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
169
- </td>
365
+ <td class="parameter_name"><p>options</p></td>
366
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
367
+ <td class="parameter_annotations"> </td>
170
368
  </tr></tbody>
171
369
  </table></div>
370
+ </div>
371
+ <div class="refsect3">
372
+ <a name="id-1.4.4.7.7.6"></a><h4>Returns</h4>
373
+ <p> the hash value for the font options object.
374
+ The return value can be cast to a 32-bit type if a
375
+ 32-bit hash value is needed.</p>
376
+ <p></p>
377
+ </div>
172
378
  <p class="since">Since 1.0</p>
173
379
  </div>
174
380
  <hr>
175
381
  <div class="refsect2">
176
- <a name="cairo-font-options-status"></a><h3>cairo_font_options_status ()</h3>
177
- <pre class="programlisting"><a class="link" href="cairo-Error-handling.html#cairo-status-t" title="enum cairo_status_t"><span class="returnvalue">cairo_status_t</span></a> cairo_font_options_status (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
178
- <p>
179
- Checks whether an error has previously occurred for this
180
- font options object
181
- </p>
182
- <div class="variablelist"><table border="0">
183
- <col align="left" valign="top">
382
+ <a name="cairo-font-options-equal"></a><h3>cairo_font_options_equal ()</h3>
383
+ <pre class="programlisting"><a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a>
384
+ cairo_font_options_equal (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
385
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *other</code></em>);</pre>
386
+ <p>Compares two font options objects for equality.</p>
387
+ <div class="refsect3">
388
+ <a name="id-1.4.4.7.8.5"></a><h4>Parameters</h4>
389
+ <div class="informaltable"><table width="100%" border="0">
390
+ <colgroup>
391
+ <col width="150px" class="parameters_name">
392
+ <col class="parameters_description">
393
+ <col width="200px" class="parameters_annotations">
394
+ </colgroup>
184
395
  <tbody>
185
396
  <tr>
186
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
187
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
188
- </td>
397
+ <td class="parameter_name"><p>options</p></td>
398
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
399
+ <td class="parameter_annotations"> </td>
189
400
  </tr>
190
401
  <tr>
191
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
192
- <td>
193
- <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> or <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a>
194
- </td>
402
+ <td class="parameter_name"><p>other</p></td>
403
+ <td class="parameter_description"><p>another <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
404
+ <td class="parameter_annotations"> </td>
195
405
  </tr>
196
406
  </tbody>
197
407
  </table></div>
408
+ </div>
409
+ <div class="refsect3">
410
+ <a name="id-1.4.4.7.8.6"></a><h4>Returns</h4>
411
+ <p> <code class="literal">TRUE</code> if all fields of the two font options objects match.
412
+ Note that this function will return <code class="literal">FALSE</code> if either object is in
413
+ error.</p>
414
+ <p></p>
415
+ </div>
198
416
  <p class="since">Since 1.0</p>
199
417
  </div>
200
418
  <hr>
201
419
  <div class="refsect2">
202
- <a name="cairo-font-options-merge"></a><h3>cairo_font_options_merge ()</h3>
203
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_options_merge (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
204
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *other</code></em>);</pre>
205
- <p>
206
- Merges non-default options from <em class="parameter"><code>other</code></em> into <em class="parameter"><code>options</code></em>, replacing
207
- existing values. This operation can be thought of as somewhat
208
- similar to compositing <em class="parameter"><code>other</code></em> onto <em class="parameter"><code>options</code></em> with the operation
209
- of <a class="link" href="cairo-cairo-t.html#CAIRO-OPERATOR-OVER:CAPS"><code class="literal">CAIRO_OPERATOR_OVER</code></a>.
210
- </p>
211
- <div class="variablelist"><table border="0">
212
- <col align="left" valign="top">
420
+ <a name="cairo-font-options-set-antialias"></a><h3>cairo_font_options_set_antialias ()</h3>
421
+ <pre class="programlisting"><span class="returnvalue">void</span>
422
+ cairo_font_options_set_antialias (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
423
+ <em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="type">cairo_antialias_t</span></a> antialias</code></em>);</pre>
424
+ <p>Sets the antialiasing mode for the font options object. This
425
+ specifies the type of antialiasing to do when rendering text.</p>
426
+ <div class="refsect3">
427
+ <a name="id-1.4.4.7.9.5"></a><h4>Parameters</h4>
428
+ <div class="informaltable"><table width="100%" border="0">
429
+ <colgroup>
430
+ <col width="150px" class="parameters_name">
431
+ <col class="parameters_description">
432
+ <col width="200px" class="parameters_annotations">
433
+ </colgroup>
213
434
  <tbody>
214
435
  <tr>
215
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
216
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
217
- </td>
436
+ <td class="parameter_name"><p>options</p></td>
437
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
438
+ <td class="parameter_annotations"> </td>
218
439
  </tr>
219
440
  <tr>
220
- <td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
221
- <td>another <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
222
- </td>
441
+ <td class="parameter_name"><p>antialias</p></td>
442
+ <td class="parameter_description"><p>the new antialiasing mode</p></td>
443
+ <td class="parameter_annotations"> </td>
223
444
  </tr>
224
445
  </tbody>
225
446
  </table></div>
447
+ </div>
226
448
  <p class="since">Since 1.0</p>
227
449
  </div>
228
450
  <hr>
229
451
  <div class="refsect2">
230
- <a name="cairo-font-options-hash"></a><h3>cairo_font_options_hash ()</h3>
231
- <pre class="programlisting">unsigned <span class="returnvalue">long</span> cairo_font_options_hash (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
232
- <p>
233
- Compute a hash for the font options object; this value will
234
- be useful when storing an object containing a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
235
- in a hash table.
236
- </p>
237
- <div class="variablelist"><table border="0">
238
- <col align="left" valign="top">
239
- <tbody>
240
- <tr>
241
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
242
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
243
- </td>
244
- </tr>
245
- <tr>
246
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
247
- <td>the hash value for the font options object.
248
- The return value can be cast to a 32-bit type if a
249
- 32-bit hash value is needed.</td>
250
- </tr>
251
- </tbody>
452
+ <a name="cairo-font-options-get-antialias"></a><h3>cairo_font_options_get_antialias ()</h3>
453
+ <pre class="programlisting"><a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="returnvalue">cairo_antialias_t</span></a>
454
+ cairo_font_options_get_antialias (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
455
+ <p>Gets the antialiasing mode for the font options object.</p>
456
+ <div class="refsect3">
457
+ <a name="id-1.4.4.7.10.5"></a><h4>Parameters</h4>
458
+ <div class="informaltable"><table width="100%" border="0">
459
+ <colgroup>
460
+ <col width="150px" class="parameters_name">
461
+ <col class="parameters_description">
462
+ <col width="200px" class="parameters_annotations">
463
+ </colgroup>
464
+ <tbody><tr>
465
+ <td class="parameter_name"><p>options</p></td>
466
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
467
+ <td class="parameter_annotations"> </td>
468
+ </tr></tbody>
252
469
  </table></div>
470
+ </div>
471
+ <div class="refsect3">
472
+ <a name="id-1.4.4.7.10.6"></a><h4>Returns</h4>
473
+ <p> the antialiasing mode</p>
474
+ <p></p>
475
+ </div>
253
476
  <p class="since">Since 1.0</p>
254
477
  </div>
255
478
  <hr>
256
479
  <div class="refsect2">
257
- <a name="cairo-font-options-equal"></a><h3>cairo_font_options_equal ()</h3>
258
- <pre class="programlisting"><a class="link" href="cairo-Types.html#cairo-bool-t" title="cairo_bool_t"><span class="returnvalue">cairo_bool_t</span></a> cairo_font_options_equal (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
259
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *other</code></em>);</pre>
260
- <p>
261
- Compares two font options objects for equality.
262
- </p>
263
- <div class="variablelist"><table border="0">
264
- <col align="left" valign="top">
480
+ <a name="cairo-font-options-set-subpixel-order"></a><h3>cairo_font_options_set_subpixel_order ()</h3>
481
+ <pre class="programlisting"><span class="returnvalue">void</span>
482
+ cairo_font_options_set_subpixel_order (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
483
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> subpixel_order</code></em>);</pre>
484
+ <p>Sets the subpixel order for the font options object. The subpixel
485
+ order specifies the order of color elements within each pixel on
486
+ the display device when rendering with an antialiasing mode of
487
+ <a class="link" href="cairo-cairo-t.html#CAIRO-ANTIALIAS-SUBPIXEL:CAPS"><code class="literal">CAIRO_ANTIALIAS_SUBPIXEL</code></a>. See the documentation for
488
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> for full details.</p>
489
+ <div class="refsect3">
490
+ <a name="id-1.4.4.7.11.5"></a><h4>Parameters</h4>
491
+ <div class="informaltable"><table width="100%" border="0">
492
+ <colgroup>
493
+ <col width="150px" class="parameters_name">
494
+ <col class="parameters_description">
495
+ <col width="200px" class="parameters_annotations">
496
+ </colgroup>
265
497
  <tbody>
266
498
  <tr>
267
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
268
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
269
- </td>
270
- </tr>
271
- <tr>
272
- <td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
273
- <td>another <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
274
- </td>
499
+ <td class="parameter_name"><p>options</p></td>
500
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
501
+ <td class="parameter_annotations"> </td>
275
502
  </tr>
276
503
  <tr>
277
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
278
- <td>
279
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if all fields of the two font options objects match.
280
- Note that this function will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if either object is in
281
- error.</td>
504
+ <td class="parameter_name"><p>subpixel_order</p></td>
505
+ <td class="parameter_description"><p>the new subpixel order</p></td>
506
+ <td class="parameter_annotations"> </td>
282
507
  </tr>
283
508
  </tbody>
284
509
  </table></div>
510
+ </div>
285
511
  <p class="since">Since 1.0</p>
286
512
  </div>
287
513
  <hr>
288
514
  <div class="refsect2">
289
- <a name="cairo-font-options-set-antialias"></a><h3>cairo_font_options_set_antialias ()</h3>
290
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_options_set_antialias (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
291
- <em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="type">cairo_antialias_t</span></a> antialias</code></em>);</pre>
292
- <p>
293
- Sets the antialiasing mode for the font options object. This
294
- specifies the type of antialiasing to do when rendering text.
295
- </p>
296
- <div class="variablelist"><table border="0">
297
- <col align="left" valign="top">
515
+ <a name="cairo-font-options-get-subpixel-order"></a><h3>cairo_font_options_get_subpixel_order ()</h3>
516
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="returnvalue">cairo_subpixel_order_t</span></a>
517
+ cairo_font_options_get_subpixel_order (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
518
+ <p>Gets the subpixel order for the font options object.
519
+ See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> for full details.</p>
520
+ <div class="refsect3">
521
+ <a name="id-1.4.4.7.12.5"></a><h4>Parameters</h4>
522
+ <div class="informaltable"><table width="100%" border="0">
523
+ <colgroup>
524
+ <col width="150px" class="parameters_name">
525
+ <col class="parameters_description">
526
+ <col width="200px" class="parameters_annotations">
527
+ </colgroup>
528
+ <tbody><tr>
529
+ <td class="parameter_name"><p>options</p></td>
530
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
531
+ <td class="parameter_annotations"> </td>
532
+ </tr></tbody>
533
+ </table></div>
534
+ </div>
535
+ <div class="refsect3">
536
+ <a name="id-1.4.4.7.12.6"></a><h4>Returns</h4>
537
+ <p> the subpixel order for the font options object</p>
538
+ <p></p>
539
+ </div>
540
+ <p class="since">Since 1.0</p>
541
+ </div>
542
+ <hr>
543
+ <div class="refsect2">
544
+ <a name="cairo-font-options-set-hint-style"></a><h3>cairo_font_options_set_hint_style ()</h3>
545
+ <pre class="programlisting"><span class="returnvalue">void</span>
546
+ cairo_font_options_set_hint_style (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
547
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> hint_style</code></em>);</pre>
548
+ <p>Sets the hint style for font outlines for the font options object.
549
+ This controls whether to fit font outlines to the pixel grid,
550
+ and if so, whether to optimize for fidelity or contrast.
551
+ See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> for full details.</p>
552
+ <div class="refsect3">
553
+ <a name="id-1.4.4.7.13.5"></a><h4>Parameters</h4>
554
+ <div class="informaltable"><table width="100%" border="0">
555
+ <colgroup>
556
+ <col width="150px" class="parameters_name">
557
+ <col class="parameters_description">
558
+ <col width="200px" class="parameters_annotations">
559
+ </colgroup>
298
560
  <tbody>
299
561
  <tr>
300
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
301
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
302
- </td>
562
+ <td class="parameter_name"><p>options</p></td>
563
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
564
+ <td class="parameter_annotations"> </td>
303
565
  </tr>
304
566
  <tr>
305
- <td><p><span class="term"><em class="parameter"><code>antialias</code></em> :</span></p></td>
306
- <td>the new antialiasing mode</td>
567
+ <td class="parameter_name"><p>hint_style</p></td>
568
+ <td class="parameter_description"><p>the new hint style</p></td>
569
+ <td class="parameter_annotations"> </td>
307
570
  </tr>
308
571
  </tbody>
309
572
  </table></div>
573
+ </div>
310
574
  <p class="since">Since 1.0</p>
311
575
  </div>
312
576
  <hr>
313
577
  <div class="refsect2">
314
- <a name="cairo-font-options-get-antialias"></a><h3>cairo_font_options_get_antialias ()</h3>
315
- <pre class="programlisting"><a class="link" href="cairo-cairo-t.html#cairo-antialias-t" title="enum cairo_antialias_t"><span class="returnvalue">cairo_antialias_t</span></a> cairo_font_options_get_antialias (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
316
- <p>
317
- Gets the antialiasing mode for the font options object.
318
- </p>
319
- <div class="variablelist"><table border="0">
320
- <col align="left" valign="top">
578
+ <a name="cairo-font-options-get-hint-style"></a><h3>cairo_font_options_get_hint_style ()</h3>
579
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="returnvalue">cairo_hint_style_t</span></a>
580
+ cairo_font_options_get_hint_style (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
581
+ <p>Gets the hint style for font outlines for the font options object.
582
+ See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> for full details.</p>
583
+ <div class="refsect3">
584
+ <a name="id-1.4.4.7.14.5"></a><h4>Parameters</h4>
585
+ <div class="informaltable"><table width="100%" border="0">
586
+ <colgroup>
587
+ <col width="150px" class="parameters_name">
588
+ <col class="parameters_description">
589
+ <col width="200px" class="parameters_annotations">
590
+ </colgroup>
591
+ <tbody><tr>
592
+ <td class="parameter_name"><p>options</p></td>
593
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
594
+ <td class="parameter_annotations"> </td>
595
+ </tr></tbody>
596
+ </table></div>
597
+ </div>
598
+ <div class="refsect3">
599
+ <a name="id-1.4.4.7.14.6"></a><h4>Returns</h4>
600
+ <p> the hint style for the font options object</p>
601
+ <p></p>
602
+ </div>
603
+ <p class="since">Since 1.0</p>
604
+ </div>
605
+ <hr>
606
+ <div class="refsect2">
607
+ <a name="cairo-font-options-set-hint-metrics"></a><h3>cairo_font_options_set_hint_metrics ()</h3>
608
+ <pre class="programlisting"><span class="returnvalue">void</span>
609
+ cairo_font_options_set_hint_metrics (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
610
+ <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> hint_metrics</code></em>);</pre>
611
+ <p>Sets the metrics hinting mode for the font options object. This
612
+ controls whether metrics are quantized to integer values in
613
+ device units.
614
+ See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> for full details.</p>
615
+ <div class="refsect3">
616
+ <a name="id-1.4.4.7.15.5"></a><h4>Parameters</h4>
617
+ <div class="informaltable"><table width="100%" border="0">
618
+ <colgroup>
619
+ <col width="150px" class="parameters_name">
620
+ <col class="parameters_description">
621
+ <col width="200px" class="parameters_annotations">
622
+ </colgroup>
321
623
  <tbody>
322
624
  <tr>
323
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
324
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
325
- </td>
625
+ <td class="parameter_name"><p>options</p></td>
626
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
627
+ <td class="parameter_annotations"> </td>
326
628
  </tr>
327
629
  <tr>
328
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
329
- <td>the antialiasing mode</td>
630
+ <td class="parameter_name"><p>hint_metrics</p></td>
631
+ <td class="parameter_description"><p>the new metrics hinting mode</p></td>
632
+ <td class="parameter_annotations"> </td>
330
633
  </tr>
331
634
  </tbody>
332
635
  </table></div>
636
+ </div>
333
637
  <p class="since">Since 1.0</p>
334
638
  </div>
335
639
  <hr>
336
640
  <div class="refsect2">
337
- <a name="cairo-subpixel-order-t"></a><h3>enum cairo_subpixel_order_t</h3>
338
- <pre class="programlisting">typedef enum {
339
- CAIRO_SUBPIXEL_ORDER_DEFAULT,
340
- CAIRO_SUBPIXEL_ORDER_RGB,
341
- CAIRO_SUBPIXEL_ORDER_BGR,
342
- CAIRO_SUBPIXEL_ORDER_VRGB,
343
- CAIRO_SUBPIXEL_ORDER_VBGR
344
- } cairo_subpixel_order_t;
641
+ <a name="cairo-font-options-get-hint-metrics"></a><h3>cairo_font_options_get_hint_metrics ()</h3>
642
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="returnvalue">cairo_hint_metrics_t</span></a>
643
+ cairo_font_options_get_hint_metrics (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
644
+ <p>Gets the metrics hinting mode for the font options object.
645
+ See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> for full details.</p>
646
+ <div class="refsect3">
647
+ <a name="id-1.4.4.7.16.5"></a><h4>Parameters</h4>
648
+ <div class="informaltable"><table width="100%" border="0">
649
+ <colgroup>
650
+ <col width="150px" class="parameters_name">
651
+ <col class="parameters_description">
652
+ <col width="200px" class="parameters_annotations">
653
+ </colgroup>
654
+ <tbody><tr>
655
+ <td class="parameter_name"><p>options</p></td>
656
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a></p></td>
657
+ <td class="parameter_annotations"> </td>
658
+ </tr></tbody>
659
+ </table></div>
660
+ </div>
661
+ <div class="refsect3">
662
+ <a name="id-1.4.4.7.16.6"></a><h4>Returns</h4>
663
+ <p> the metrics hinting mode for the font options object</p>
664
+ <p></p>
665
+ </div>
666
+ <p class="since">Since 1.0</p>
667
+ </div>
668
+ </div>
669
+ <div class="refsect1">
670
+ <a name="cairo-cairo-font-options-t.other_details"></a><h2>Types and Values</h2>
671
+ <div class="refsect2">
672
+ <a name="cairo-font-options-t"></a><h3>cairo_font_options_t</h3>
673
+ <pre class="programlisting">typedef struct _cairo_font_options cairo_font_options_t;
345
674
  </pre>
346
- <p>
347
- The subpixel order specifies the order of color elements within
675
+ <p>An opaque structure holding all options that are used when
676
+ rendering fonts.</p>
677
+ <p>Individual features of a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> can be set or
678
+ accessed using functions named
679
+ <code class="function">cairo_font_options_set_<span class="emphasis"><em>feature_name</em></span>()</code> and
680
+ <code class="function">cairo_font_options_get_<span class="emphasis"><em>feature_name</em></span>()</code>, like
681
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-set-antialias" title="cairo_font_options_set_antialias ()"><code class="function">cairo_font_options_set_antialias()</code></a> and
682
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-get-antialias" title="cairo_font_options_get_antialias ()"><code class="function">cairo_font_options_get_antialias()</code></a>.</p>
683
+ <p>New features may be added to a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> in the
684
+ future. For this reason, <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-copy" title="cairo_font_options_copy ()"><code class="function">cairo_font_options_copy()</code></a>,
685
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-equal" title="cairo_font_options_equal ()"><code class="function">cairo_font_options_equal()</code></a>, <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-merge" title="cairo_font_options_merge ()"><code class="function">cairo_font_options_merge()</code></a>, and
686
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-hash" title="cairo_font_options_hash ()"><code class="function">cairo_font_options_hash()</code></a> should be used to copy, check
687
+ for equality, merge, or compute a hash value of
688
+ <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> objects.</p>
689
+ <p class="since">Since 1.0</p>
690
+ </div>
691
+ <hr>
692
+ <div class="refsect2">
693
+ <a name="cairo-subpixel-order-t"></a><h3>enum cairo_subpixel_order_t</h3>
694
+ <p>The subpixel order specifies the order of color elements within
348
695
  each pixel on the display device when rendering with an
349
- antialiasing mode of <a class="link" href="cairo-cairo-t.html#CAIRO-ANTIALIAS-SUBPIXEL:CAPS"><code class="literal">CAIRO_ANTIALIAS_SUBPIXEL</code></a>.
350
- </p>
351
- <div class="variablelist"><table border="0">
352
- <col align="left" valign="top">
696
+ antialiasing mode of <a class="link" href="cairo-cairo-t.html#CAIRO-ANTIALIAS-SUBPIXEL:CAPS"><code class="literal">CAIRO_ANTIALIAS_SUBPIXEL</code></a>.</p>
697
+ <div class="refsect3">
698
+ <a name="id-1.4.4.8.3.4"></a><h4>Members</h4>
699
+ <div class="informaltable"><table width="100%" border="0">
700
+ <colgroup>
701
+ <col width="300px" class="enum_members_name">
702
+ <col class="enum_members_description">
703
+ <col width="200px" class="enum_members_annotations">
704
+ </colgroup>
353
705
  <tbody>
354
706
  <tr>
355
- <td><p><a name="CAIRO-SUBPIXEL-ORDER-DEFAULT:CAPS"></a><span class="term"><code class="literal">CAIRO_SUBPIXEL_ORDER_DEFAULT</code></span></p></td>
356
- <td>Use the default subpixel order for
357
- for the target device, since 1.0
707
+ <td class="enum_member_name"><p><a name="CAIRO-SUBPIXEL-ORDER-DEFAULT:CAPS"></a>CAIRO_SUBPIXEL_ORDER_DEFAULT</p></td>
708
+ <td class="enum_member_description">
709
+ <p>Use the default subpixel order for
710
+ for the target device, since 1.0</p>
358
711
  </td>
712
+ <td class="enum_member_annotations"> </td>
359
713
  </tr>
360
714
  <tr>
361
- <td><p><a name="CAIRO-SUBPIXEL-ORDER-RGB:CAPS"></a><span class="term"><code class="literal">CAIRO_SUBPIXEL_ORDER_RGB</code></span></p></td>
362
- <td>Subpixel elements are arranged horizontally
363
- with red at the left, since 1.0
715
+ <td class="enum_member_name"><p><a name="CAIRO-SUBPIXEL-ORDER-RGB:CAPS"></a>CAIRO_SUBPIXEL_ORDER_RGB</p></td>
716
+ <td class="enum_member_description">
717
+ <p>Subpixel elements are arranged horizontally
718
+ with red at the left, since 1.0</p>
364
719
  </td>
720
+ <td class="enum_member_annotations"> </td>
365
721
  </tr>
366
722
  <tr>
367
- <td><p><a name="CAIRO-SUBPIXEL-ORDER-BGR:CAPS"></a><span class="term"><code class="literal">CAIRO_SUBPIXEL_ORDER_BGR</code></span></p></td>
368
- <td>Subpixel elements are arranged horizontally
369
- with blue at the left, since 1.0
723
+ <td class="enum_member_name"><p><a name="CAIRO-SUBPIXEL-ORDER-BGR:CAPS"></a>CAIRO_SUBPIXEL_ORDER_BGR</p></td>
724
+ <td class="enum_member_description">
725
+ <p>Subpixel elements are arranged horizontally
726
+ with blue at the left, since 1.0</p>
370
727
  </td>
728
+ <td class="enum_member_annotations"> </td>
371
729
  </tr>
372
730
  <tr>
373
- <td><p><a name="CAIRO-SUBPIXEL-ORDER-VRGB:CAPS"></a><span class="term"><code class="literal">CAIRO_SUBPIXEL_ORDER_VRGB</code></span></p></td>
374
- <td>Subpixel elements are arranged vertically
375
- with red at the top, since 1.0
731
+ <td class="enum_member_name"><p><a name="CAIRO-SUBPIXEL-ORDER-VRGB:CAPS"></a>CAIRO_SUBPIXEL_ORDER_VRGB</p></td>
732
+ <td class="enum_member_description">
733
+ <p>Subpixel elements are arranged vertically
734
+ with red at the top, since 1.0</p>
376
735
  </td>
736
+ <td class="enum_member_annotations"> </td>
377
737
  </tr>
378
738
  <tr>
379
- <td><p><a name="CAIRO-SUBPIXEL-ORDER-VBGR:CAPS"></a><span class="term"><code class="literal">CAIRO_SUBPIXEL_ORDER_VBGR</code></span></p></td>
380
- <td>Subpixel elements are arranged vertically
381
- with blue at the top, since 1.0
739
+ <td class="enum_member_name"><p><a name="CAIRO-SUBPIXEL-ORDER-VBGR:CAPS"></a>CAIRO_SUBPIXEL_ORDER_VBGR</p></td>
740
+ <td class="enum_member_description">
741
+ <p>Subpixel elements are arranged vertically
742
+ with blue at the top, since 1.0</p>
382
743
  </td>
744
+ <td class="enum_member_annotations"> </td>
383
745
  </tr>
384
746
  </tbody>
385
747
  </table></div>
386
- <p class="since">Since 1.0</p>
387
748
  </div>
388
- <hr>
389
- <div class="refsect2">
390
- <a name="cairo-font-options-set-subpixel-order"></a><h3>cairo_font_options_set_subpixel_order ()</h3>
391
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_options_set_subpixel_order
392
- (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
393
- <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> subpixel_order</code></em>);</pre>
394
- <p>
395
- Sets the subpixel order for the font options object. The subpixel
396
- order specifies the order of color elements within each pixel on
397
- the display device when rendering with an antialiasing mode of
398
- <a class="link" href="cairo-cairo-t.html#CAIRO-ANTIALIAS-SUBPIXEL:CAPS"><code class="literal">CAIRO_ANTIALIAS_SUBPIXEL</code></a>. See the documentation for
399
- <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> for full details.
400
- </p>
401
- <div class="variablelist"><table border="0">
402
- <col align="left" valign="top">
403
- <tbody>
404
- <tr>
405
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
406
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
407
- </td>
408
- </tr>
409
- <tr>
410
- <td><p><span class="term"><em class="parameter"><code>subpixel_order</code></em> :</span></p></td>
411
- <td>the new subpixel order</td>
412
- </tr>
413
- </tbody>
414
- </table></div>
415
- <p class="since">Since 1.0</p>
416
- </div>
417
- <hr>
418
- <div class="refsect2">
419
- <a name="cairo-font-options-get-subpixel-order"></a><h3>cairo_font_options_get_subpixel_order ()</h3>
420
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="returnvalue">cairo_subpixel_order_t</span></a> cairo_font_options_get_subpixel_order
421
- (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
422
- <p>
423
- Gets the subpixel order for the font options object.
424
- See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-subpixel-order-t" title="enum cairo_subpixel_order_t"><span class="type">cairo_subpixel_order_t</span></a> for full details.
425
- </p>
426
- <div class="variablelist"><table border="0">
427
- <col align="left" valign="top">
428
- <tbody>
429
- <tr>
430
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
431
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
432
- </td>
433
- </tr>
434
- <tr>
435
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
436
- <td>the subpixel order for the font options object</td>
437
- </tr>
438
- </tbody>
439
- </table></div>
440
749
  <p class="since">Since 1.0</p>
441
750
  </div>
442
751
  <hr>
443
752
  <div class="refsect2">
444
753
  <a name="cairo-hint-style-t"></a><h3>enum cairo_hint_style_t</h3>
445
- <pre class="programlisting">typedef enum {
446
- CAIRO_HINT_STYLE_DEFAULT,
447
- CAIRO_HINT_STYLE_NONE,
448
- CAIRO_HINT_STYLE_SLIGHT,
449
- CAIRO_HINT_STYLE_MEDIUM,
450
- CAIRO_HINT_STYLE_FULL
451
- } cairo_hint_style_t;
452
- </pre>
453
- <p>
454
- Specifies the type of hinting to do on font outlines. Hinting
754
+ <p>Specifies the type of hinting to do on font outlines. Hinting
455
755
  is the process of fitting outlines to the pixel grid in order
456
756
  to improve the appearance of the result. Since hinting outlines
457
757
  involves distorting them, it also reduces the faithfulness
458
758
  to the original outline shapes. Not all of the outline hinting
459
- styles are supported by all font backends.
460
- </p>
461
- <p>
462
- New entries may be added in future versions.
463
- </p>
464
- <div class="variablelist"><table border="0">
465
- <col align="left" valign="top">
759
+ styles are supported by all font backends.</p>
760
+ <p>New entries may be added in future versions.</p>
761
+ <div class="refsect3">
762
+ <a name="id-1.4.4.8.4.5"></a><h4>Members</h4>
763
+ <div class="informaltable"><table width="100%" border="0">
764
+ <colgroup>
765
+ <col width="300px" class="enum_members_name">
766
+ <col class="enum_members_description">
767
+ <col width="200px" class="enum_members_annotations">
768
+ </colgroup>
466
769
  <tbody>
467
770
  <tr>
468
- <td><p><a name="CAIRO-HINT-STYLE-DEFAULT:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_STYLE_DEFAULT</code></span></p></td>
469
- <td>Use the default hint style for
470
- font backend and target device, since 1.0
771
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-STYLE-DEFAULT:CAPS"></a>CAIRO_HINT_STYLE_DEFAULT</p></td>
772
+ <td class="enum_member_description">
773
+ <p>Use the default hint style for
774
+ font backend and target device, since 1.0</p>
471
775
  </td>
776
+ <td class="enum_member_annotations"> </td>
472
777
  </tr>
473
778
  <tr>
474
- <td><p><a name="CAIRO-HINT-STYLE-NONE:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_STYLE_NONE</code></span></p></td>
475
- <td>Do not hint outlines, since 1.0
779
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-STYLE-NONE:CAPS"></a>CAIRO_HINT_STYLE_NONE</p></td>
780
+ <td class="enum_member_description">
781
+ <p>Do not hint outlines, since 1.0</p>
476
782
  </td>
783
+ <td class="enum_member_annotations"> </td>
477
784
  </tr>
478
785
  <tr>
479
- <td><p><a name="CAIRO-HINT-STYLE-SLIGHT:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_STYLE_SLIGHT</code></span></p></td>
480
- <td>Hint outlines slightly to improve
786
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-STYLE-SLIGHT:CAPS"></a>CAIRO_HINT_STYLE_SLIGHT</p></td>
787
+ <td class="enum_member_description">
788
+ <p>Hint outlines slightly to improve
481
789
  contrast while retaining good fidelity to the original
482
- shapes, since 1.0
790
+ shapes, since 1.0</p>
483
791
  </td>
792
+ <td class="enum_member_annotations"> </td>
484
793
  </tr>
485
794
  <tr>
486
- <td><p><a name="CAIRO-HINT-STYLE-MEDIUM:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_STYLE_MEDIUM</code></span></p></td>
487
- <td>Hint outlines with medium strength
795
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-STYLE-MEDIUM:CAPS"></a>CAIRO_HINT_STYLE_MEDIUM</p></td>
796
+ <td class="enum_member_description">
797
+ <p>Hint outlines with medium strength
488
798
  giving a compromise between fidelity to the original shapes
489
- and contrast, since 1.0
799
+ and contrast, since 1.0</p>
490
800
  </td>
801
+ <td class="enum_member_annotations"> </td>
491
802
  </tr>
492
803
  <tr>
493
- <td><p><a name="CAIRO-HINT-STYLE-FULL:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_STYLE_FULL</code></span></p></td>
494
- <td>Hint outlines to maximize contrast, since 1.0
804
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-STYLE-FULL:CAPS"></a>CAIRO_HINT_STYLE_FULL</p></td>
805
+ <td class="enum_member_description">
806
+ <p>Hint outlines to maximize contrast, since 1.0</p>
495
807
  </td>
808
+ <td class="enum_member_annotations"> </td>
496
809
  </tr>
497
810
  </tbody>
498
811
  </table></div>
499
- <p class="since">Since 1.0</p>
500
812
  </div>
501
- <hr>
502
- <div class="refsect2">
503
- <a name="cairo-font-options-set-hint-style"></a><h3>cairo_font_options_set_hint_style ()</h3>
504
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_options_set_hint_style (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
505
- <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> hint_style</code></em>);</pre>
506
- <p>
507
- Sets the hint style for font outlines for the font options object.
508
- This controls whether to fit font outlines to the pixel grid,
509
- and if so, whether to optimize for fidelity or contrast.
510
- See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> for full details.
511
- </p>
512
- <div class="variablelist"><table border="0">
513
- <col align="left" valign="top">
514
- <tbody>
515
- <tr>
516
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
517
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
518
- </td>
519
- </tr>
520
- <tr>
521
- <td><p><span class="term"><em class="parameter"><code>hint_style</code></em> :</span></p></td>
522
- <td>the new hint style</td>
523
- </tr>
524
- </tbody>
525
- </table></div>
526
- <p class="since">Since 1.0</p>
527
- </div>
528
- <hr>
529
- <div class="refsect2">
530
- <a name="cairo-font-options-get-hint-style"></a><h3>cairo_font_options_get_hint_style ()</h3>
531
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="returnvalue">cairo_hint_style_t</span></a> cairo_font_options_get_hint_style (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
532
- <p>
533
- Gets the hint style for font outlines for the font options object.
534
- See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-style-t" title="enum cairo_hint_style_t"><span class="type">cairo_hint_style_t</span></a> for full details.
535
- </p>
536
- <div class="variablelist"><table border="0">
537
- <col align="left" valign="top">
538
- <tbody>
539
- <tr>
540
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
541
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
542
- </td>
543
- </tr>
544
- <tr>
545
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
546
- <td>the hint style for the font options object</td>
547
- </tr>
548
- </tbody>
549
- </table></div>
550
813
  <p class="since">Since 1.0</p>
551
814
  </div>
552
815
  <hr>
553
816
  <div class="refsect2">
554
817
  <a name="cairo-hint-metrics-t"></a><h3>enum cairo_hint_metrics_t</h3>
555
- <pre class="programlisting">typedef enum {
556
- CAIRO_HINT_METRICS_DEFAULT,
557
- CAIRO_HINT_METRICS_OFF,
558
- CAIRO_HINT_METRICS_ON
559
- } cairo_hint_metrics_t;
560
- </pre>
561
- <p>
562
- Specifies whether to hint font metrics; hinting font metrics
818
+ <p>Specifies whether to hint font metrics; hinting font metrics
563
819
  means quantizing them so that they are integer values in
564
820
  device space. Doing this improves the consistency of
565
821
  letter and line spacing, however it also means that text
566
- will be laid out differently at different zoom factors.
567
- </p>
568
- <div class="variablelist"><table border="0">
569
- <col align="left" valign="top">
822
+ will be laid out differently at different zoom factors.</p>
823
+ <div class="refsect3">
824
+ <a name="id-1.4.4.8.5.4"></a><h4>Members</h4>
825
+ <div class="informaltable"><table width="100%" border="0">
826
+ <colgroup>
827
+ <col width="300px" class="enum_members_name">
828
+ <col class="enum_members_description">
829
+ <col width="200px" class="enum_members_annotations">
830
+ </colgroup>
570
831
  <tbody>
571
832
  <tr>
572
- <td><p><a name="CAIRO-HINT-METRICS-DEFAULT:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_METRICS_DEFAULT</code></span></p></td>
573
- <td>Hint metrics in the default
574
- manner for the font backend and target device, since 1.0
833
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-METRICS-DEFAULT:CAPS"></a>CAIRO_HINT_METRICS_DEFAULT</p></td>
834
+ <td class="enum_member_description">
835
+ <p>Hint metrics in the default
836
+ manner for the font backend and target device, since 1.0</p>
575
837
  </td>
838
+ <td class="enum_member_annotations"> </td>
576
839
  </tr>
577
840
  <tr>
578
- <td><p><a name="CAIRO-HINT-METRICS-OFF:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_METRICS_OFF</code></span></p></td>
579
- <td>Do not hint font metrics, since 1.0
841
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-METRICS-OFF:CAPS"></a>CAIRO_HINT_METRICS_OFF</p></td>
842
+ <td class="enum_member_description">
843
+ <p>Do not hint font metrics, since 1.0</p>
580
844
  </td>
845
+ <td class="enum_member_annotations"> </td>
581
846
  </tr>
582
847
  <tr>
583
- <td><p><a name="CAIRO-HINT-METRICS-ON:CAPS"></a><span class="term"><code class="literal">CAIRO_HINT_METRICS_ON</code></span></p></td>
584
- <td>Hint font metrics, since 1.0
585
- </td>
586
- </tr>
587
- </tbody>
588
- </table></div>
589
- <p class="since">Since 1.0</p>
590
- </div>
591
- <hr>
592
- <div class="refsect2">
593
- <a name="cairo-font-options-set-hint-metrics"></a><h3>cairo_font_options_set_hint_metrics ()</h3>
594
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_font_options_set_hint_metrics (<em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>,
595
- <em class="parameter"><code><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> hint_metrics</code></em>);</pre>
596
- <p>
597
- Sets the metrics hinting mode for the font options object. This
598
- controls whether metrics are quantized to integer values in
599
- device units.
600
- See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> for full details.
601
- </p>
602
- <div class="variablelist"><table border="0">
603
- <col align="left" valign="top">
604
- <tbody>
605
- <tr>
606
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
607
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
848
+ <td class="enum_member_name"><p><a name="CAIRO-HINT-METRICS-ON:CAPS"></a>CAIRO_HINT_METRICS_ON</p></td>
849
+ <td class="enum_member_description">
850
+ <p>Hint font metrics, since 1.0</p>
608
851
  </td>
609
- </tr>
610
- <tr>
611
- <td><p><span class="term"><em class="parameter"><code>hint_metrics</code></em> :</span></p></td>
612
- <td>the new metrics hinting mode</td>
852
+ <td class="enum_member_annotations"> </td>
613
853
  </tr>
614
854
  </tbody>
615
855
  </table></div>
616
- <p class="since">Since 1.0</p>
617
856
  </div>
618
- <hr>
619
- <div class="refsect2">
620
- <a name="cairo-font-options-get-hint-metrics"></a><h3>cairo_font_options_get_hint_metrics ()</h3>
621
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="returnvalue">cairo_hint_metrics_t</span></a> cairo_font_options_get_hint_metrics
622
- (<em class="parameter"><code>const <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
623
- <p>
624
- Gets the metrics hinting mode for the font options object.
625
- See the documentation for <a class="link" href="cairo-cairo-font-options-t.html#cairo-hint-metrics-t" title="enum cairo_hint_metrics_t"><span class="type">cairo_hint_metrics_t</span></a> for full details.
626
- </p>
627
- <div class="variablelist"><table border="0">
628
- <col align="left" valign="top">
629
- <tbody>
630
- <tr>
631
- <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
632
- <td>a <a class="link" href="cairo-cairo-font-options-t.html#cairo-font-options-t" title="cairo_font_options_t"><span class="type">cairo_font_options_t</span></a>
633
- </td>
634
- </tr>
635
- <tr>
636
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
637
- <td>the metrics hinting mode for the font options object</td>
638
- </tr>
639
- </tbody>
640
- </table></div>
641
857
  <p class="since">Since 1.0</p>
642
858
  </div>
643
859
  </div>
644
860
  <div class="refsect1">
645
861
  <a name="cairo-cairo-font-options-t.see-also"></a><h2>See Also</h2>
646
- <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a>
862
+ <p><a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a></p>
647
863
  </div>
648
864
  </div>
649
865
  <div class="footer">
650
866
  <hr>
651
- Generated by GTK-Doc V1.18</div>
867
+ Generated by GTK-Doc V1.20</div>
652
868
  </body>
653
869
  </html>