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>Win32 Fonts</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: Win32 Fonts</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="cairo-fonts.html" title="Fonts">
9
9
  <link rel="prev" href="cairo-FreeType-Fonts.html" title="FreeType Fonts">
10
10
  <link rel="next" href="cairo-Quartz-(CGFont)-Fonts.html" title="Quartz (CGFont) 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-FreeType-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="cairo-fonts.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
21
- <td><a accesskey="n" href="cairo-Quartz-(CGFont)-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-Win32-Fonts.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-Win32-Fonts.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
+ <a href="#cairo-Win32-Fonts.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-Win32-Fonts.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
+ </td>
21
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
+ <td><a accesskey="u" href="cairo-fonts.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="cairo-FreeType-Fonts.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-Quartz-(CGFont)-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-Win32-Fonts"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,294 +30,419 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-Win32-Fonts.top_of_page"></a>Win32 Fonts</span></h2>
34
31
  <p>Win32 Fonts — Font support for Microsoft Windows</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-Win32-Fonts.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">#define <a class="link" href="cairo-Win32-Fonts.html#CAIRO-HAS-WIN32-FONT:CAPS" title="CAIRO_HAS_WIN32_FONT">CAIRO_HAS_WIN32_FONT</a>
41
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-logfontw" title="cairo_win32_font_face_create_for_logfontw ()">cairo_win32_font_face_create_for_logfontw</a>
42
- (<em class="parameter"><code><span class="type">LOGFONTW</span> *logfont</code></em>);
43
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-hfont" title="cairo_win32_font_face_create_for_hfont ()">cairo_win32_font_face_create_for_hfont</a>
44
- (<em class="parameter"><code><span class="type">HFONT</span> font</code></em>);
45
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-logfontw-hfont" title="cairo_win32_font_face_create_for_logfontw_hfont ()">cairo_win32_font_face_create_for_logfontw_hfont</a>
46
- (<em class="parameter"><code><span class="type">LOGFONTW</span> *logfont</code></em>,
47
- <em class="parameter"><code><span class="type">HFONT</span> font</code></em>);
48
- <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-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()">cairo_win32_scaled_font_select_font</a> (<em class="parameter"><code><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> *scaled_font</code></em>,
49
- <em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);
50
- <span class="returnvalue">void</span> <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-done-font" title="cairo_win32_scaled_font_done_font ()">cairo_win32_scaled_font_done_font</a> (<em class="parameter"><code><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> *scaled_font</code></em>);
51
- <span class="returnvalue">double</span> <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-metrics-factor" title="cairo_win32_scaled_font_get_metrics_factor ()">cairo_win32_scaled_font_get_metrics_factor</a>
52
- (<em class="parameter"><code><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> *scaled_font</code></em>);
53
- <span class="returnvalue">void</span> <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-logical-to-device" title="cairo_win32_scaled_font_get_logical_to_device ()">cairo_win32_scaled_font_get_logical_to_device</a>
54
- (<em class="parameter"><code><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> *scaled_font</code></em>,
55
- <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *logical_to_device</code></em>);
56
- <span class="returnvalue">void</span> <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-device-to-logical" title="cairo_win32_scaled_font_get_device_to_logical ()">cairo_win32_scaled_font_get_device_to_logical</a>
57
- (<em class="parameter"><code><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> *scaled_font</code></em>,
58
- <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *device_to_logical</code></em>);
59
- </pre>
35
+ <div class="refsect1">
36
+ <a name="cairo-Win32-Fonts.functions"></a><h2>Functions</h2>
37
+ <div class="informaltable"><table width="100%" border="0">
38
+ <colgroup>
39
+ <col width="150px" class="functions_return">
40
+ <col class="functions_name">
41
+ </colgroup>
42
+ <tbody>
43
+ <tr>
44
+ <td class="function_type">
45
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-logfontw" title="cairo_win32_font_face_create_for_logfontw ()">cairo_win32_font_face_create_for_logfontw</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-hfont" title="cairo_win32_font_face_create_for_hfont ()">cairo_win32_font_face_create_for_hfont</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-logfontw-hfont" title="cairo_win32_font_face_create_for_logfontw_hfont ()">cairo_win32_font_face_create_for_logfontw_hfont</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-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()">cairo_win32_scaled_font_select_font</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-Win32-Fonts.html#cairo-win32-scaled-font-done-font" title="cairo_win32_scaled_font_done_font ()">cairo_win32_scaled_font_done_font</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">
85
+ <span class="returnvalue">double</span>
86
+ </td>
87
+ <td class="function_name">
88
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-metrics-factor" title="cairo_win32_scaled_font_get_metrics_factor ()">cairo_win32_scaled_font_get_metrics_factor</a> <span class="c_punctuation">()</span>
89
+ </td>
90
+ </tr>
91
+ <tr>
92
+ <td class="function_type">
93
+ <span class="returnvalue">void</span>
94
+ </td>
95
+ <td class="function_name">
96
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-logical-to-device" title="cairo_win32_scaled_font_get_logical_to_device ()">cairo_win32_scaled_font_get_logical_to_device</a> <span class="c_punctuation">()</span>
97
+ </td>
98
+ </tr>
99
+ <tr>
100
+ <td class="function_type">
101
+ <span class="returnvalue">void</span>
102
+ </td>
103
+ <td class="function_name">
104
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-device-to-logical" title="cairo_win32_scaled_font_get_device_to_logical ()">cairo_win32_scaled_font_get_device_to_logical</a> <span class="c_punctuation">()</span>
105
+ </td>
106
+ </tr>
107
+ </tbody>
108
+ </table></div>
60
109
  </div>
61
110
  <div class="refsect1">
62
- <a name="cairo-Win32-Fonts.description"></a><h2>Description</h2>
63
- <p>
64
- The Microsoft Windows font backend is primarily used to render text on
65
- Microsoft Windows systems.
66
- </p>
111
+ <a name="cairo-Win32-Fonts.other"></a><h2>Types and Values</h2>
112
+ <div class="informaltable"><table width="100%" border="0">
113
+ <colgroup>
114
+ <col width="150px" class="name">
115
+ <col class="description">
116
+ </colgroup>
117
+ <tbody><tr>
118
+ <td class="define_keyword">#define</td>
119
+ <td class="function_name"><a class="link" href="cairo-Win32-Fonts.html#CAIRO-HAS-WIN32-FONT:CAPS" title="CAIRO_HAS_WIN32_FONT">CAIRO_HAS_WIN32_FONT</a></td>
120
+ </tr></tbody>
121
+ </table></div>
67
122
  </div>
68
123
  <div class="refsect1">
69
- <a name="cairo-Win32-Fonts.details"></a><h2>Details</h2>
70
- <div class="refsect2">
71
- <a name="CAIRO-HAS-WIN32-FONT:CAPS"></a><h3>CAIRO_HAS_WIN32_FONT</h3>
72
- <pre class="programlisting">#define CAIRO_HAS_WIN32_FONT 1
124
+ <a name="cairo-Win32-Fonts.object-hierarchy"></a><h2>Object Hierarchy</h2>
125
+ <pre class="screen">
73
126
  </pre>
74
- <p>
75
- Defined if the Microsoft Windows font backend is available.
76
- This macro can be used to conditionally compile backend-specific code.
77
- </p>
78
- <p class="since">Since 1.8</p>
79
127
  </div>
80
- <hr>
128
+ <div class="refsect1">
129
+ <a name="cairo-Win32-Fonts.description"></a><h2>Description</h2>
130
+ <p>The Microsoft Windows font backend is primarily used to render text on
131
+ Microsoft Windows systems.</p>
132
+ </div>
133
+ <div class="refsect1">
134
+ <a name="cairo-Win32-Fonts.functions_details"></a><h2>Functions</h2>
81
135
  <div class="refsect2">
82
- <a name="cairo-win32-font-face-create-for-logfontw"></a><h3>cairo_win32_font_face_create_for_logfontw ()</h3>
83
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_win32_font_face_create_for_logfontw
84
- (<em class="parameter"><code><span class="type">LOGFONTW</span> *logfont</code></em>);</pre>
85
- <p>
86
- Creates a new font for the Win32 font backend based on a
136
+ <a name="cairo-win32-font-face-create-for-logfontw"></a><h3>cairo_win32_font_face_create_for_logfontw ()</h3>
137
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
138
+ cairo_win32_font_face_create_for_logfontw
139
+ (<em class="parameter"><code><span class="type">LOGFONTW</span> *logfont</code></em>);</pre>
140
+ <p>Creates a new font for the Win32 font backend based on a
87
141
  <span class="type">LOGFONT</span>. This font can then be used with
88
- <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
142
+ <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
89
143
  The <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>
90
- returned from <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is also for the Win32 backend
91
- and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>.
92
- </p>
93
- <div class="variablelist"><table border="0">
94
- <col align="left" valign="top">
95
- <tbody>
96
- <tr>
97
- <td><p><span class="term"><em class="parameter"><code>logfont</code></em> :</span></p></td>
98
- <td>A <span class="type">LOGFONTW</span> structure specifying the font to use.
144
+ returned from <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is also for the Win32 backend
145
+ and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>.</p>
146
+ <div class="refsect3">
147
+ <a name="id-1.4.6.7.2.5"></a><h4>Parameters</h4>
148
+ <div class="informaltable"><table width="100%" border="0">
149
+ <colgroup>
150
+ <col width="150px" class="parameters_name">
151
+ <col class="parameters_description">
152
+ <col width="200px" class="parameters_annotations">
153
+ </colgroup>
154
+ <tbody><tr>
155
+ <td class="parameter_name"><p>logfont</p></td>
156
+ <td class="parameter_description"><p>A <span class="type">LOGFONTW</span> structure specifying the font to use.
99
157
  The lfHeight, lfWidth, lfOrientation and lfEscapement
100
- fields of this structure are ignored.</td>
101
- </tr>
102
- <tr>
103
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
104
- <td>a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
105
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</td>
106
- </tr>
107
- </tbody>
158
+ fields of this structure are ignored.</p></td>
159
+ <td class="parameter_annotations"> </td>
160
+ </tr></tbody>
108
161
  </table></div>
162
+ </div>
163
+ <div class="refsect3">
164
+ <a name="id-1.4.6.7.2.6"></a><h4>Returns</h4>
165
+ <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
166
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p>
167
+ <p></p>
168
+ </div>
109
169
  <p class="since">Since 1.0</p>
110
170
  </div>
111
171
  <hr>
112
172
  <div class="refsect2">
113
- <a name="cairo-win32-font-face-create-for-hfont"></a><h3>cairo_win32_font_face_create_for_hfont ()</h3>
114
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_win32_font_face_create_for_hfont
115
- (<em class="parameter"><code><span class="type">HFONT</span> font</code></em>);</pre>
116
- <p>
117
- Creates a new font for the Win32 font backend based on a
173
+ <a name="cairo-win32-font-face-create-for-hfont"></a><h3>cairo_win32_font_face_create_for_hfont ()</h3>
174
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
175
+ cairo_win32_font_face_create_for_hfont
176
+ (<em class="parameter"><code><span class="type">HFONT</span> font</code></em>);</pre>
177
+ <p>Creates a new font for the Win32 font backend based on a
118
178
  <span class="type">HFONT</span>. This font can then be used with
119
- <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
179
+ <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
120
180
  The <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>
121
- returned from <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is also for the Win32 backend
122
- and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>.
123
- </p>
124
- <div class="variablelist"><table border="0">
125
- <col align="left" valign="top">
126
- <tbody>
127
- <tr>
128
- <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
129
- <td>An <span class="type">HFONT</span> structure specifying the font to use.</td>
130
- </tr>
131
- <tr>
132
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
133
- <td>a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
134
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</td>
135
- </tr>
136
- </tbody>
181
+ returned from <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is also for the Win32 backend
182
+ and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>.</p>
183
+ <div class="refsect3">
184
+ <a name="id-1.4.6.7.3.5"></a><h4>Parameters</h4>
185
+ <div class="informaltable"><table width="100%" border="0">
186
+ <colgroup>
187
+ <col width="150px" class="parameters_name">
188
+ <col class="parameters_description">
189
+ <col width="200px" class="parameters_annotations">
190
+ </colgroup>
191
+ <tbody><tr>
192
+ <td class="parameter_name"><p>font</p></td>
193
+ <td class="parameter_description"><p>An <span class="type">HFONT</span> structure specifying the font to use.</p></td>
194
+ <td class="parameter_annotations"> </td>
195
+ </tr></tbody>
137
196
  </table></div>
197
+ </div>
198
+ <div class="refsect3">
199
+ <a name="id-1.4.6.7.3.6"></a><h4>Returns</h4>
200
+ <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
201
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p>
202
+ <p></p>
203
+ </div>
138
204
  <p class="since">Since 1.2</p>
139
205
  </div>
140
206
  <hr>
141
207
  <div class="refsect2">
142
- <a name="cairo-win32-font-face-create-for-logfontw-hfont"></a><h3>cairo_win32_font_face_create_for_logfontw_hfont ()</h3>
143
- <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> * cairo_win32_font_face_create_for_logfontw_hfont
144
- (<em class="parameter"><code><span class="type">LOGFONTW</span> *logfont</code></em>,
145
- <em class="parameter"><code><span class="type">HFONT</span> font</code></em>);</pre>
146
- <p>
147
- Creates a new font for the Win32 font backend based on a
208
+ <a name="cairo-win32-font-face-create-for-logfontw-hfont"></a><h3>cairo_win32_font_face_create_for_logfontw_hfont ()</h3>
209
+ <pre class="programlisting"><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="returnvalue">cairo_font_face_t</span></a> *
210
+ cairo_win32_font_face_create_for_logfontw_hfont
211
+ (<em class="parameter"><code><span class="type">LOGFONTW</span> *logfont</code></em>,
212
+ <em class="parameter"><code><span class="type">HFONT</span> font</code></em>);</pre>
213
+ <p>Creates a new font for the Win32 font backend based on a
148
214
  <span class="type">LOGFONT</span>. This font can then be used with
149
- <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
215
+ <a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>.
150
216
  The <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>
151
- returned from <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is also for the Win32 backend
152
- and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>.
153
- </p>
154
- <div class="variablelist"><table border="0">
155
- <col align="left" valign="top">
217
+ returned from <a class="link" href="cairo-cairo-scaled-font-t.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is also for the Win32 backend
218
+ and can be used with functions such as <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>.</p>
219
+ <div class="refsect3">
220
+ <a name="id-1.4.6.7.4.5"></a><h4>Parameters</h4>
221
+ <div class="informaltable"><table width="100%" border="0">
222
+ <colgroup>
223
+ <col width="150px" class="parameters_name">
224
+ <col class="parameters_description">
225
+ <col width="200px" class="parameters_annotations">
226
+ </colgroup>
156
227
  <tbody>
157
228
  <tr>
158
- <td><p><span class="term"><em class="parameter"><code>logfont</code></em> :</span></p></td>
159
- <td>A <span class="type">LOGFONTW</span> structure specifying the font to use.
160
- If <em class="parameter"><code>font</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the lfHeight, lfWidth, lfOrientation and lfEscapement
229
+ <td class="parameter_name"><p>logfont</p></td>
230
+ <td class="parameter_description"><p>A <span class="type">LOGFONTW</span> structure specifying the font to use.
231
+ If <em class="parameter"><code>font</code></em>
232
+ is <code class="literal">NULL</code> then the lfHeight, lfWidth, lfOrientation and lfEscapement
161
233
  fields of this structure are ignored. Otherwise lfWidth, lfOrientation and
162
- lfEscapement must be zero.</td>
234
+ lfEscapement must be zero.</p></td>
235
+ <td class="parameter_annotations"> </td>
163
236
  </tr>
164
237
  <tr>
165
- <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
166
- <td>An <span class="type">HFONT</span> that can be used when the font matrix is a scale by
167
- -lfHeight and the CTM is identity.</td>
168
- </tr>
169
- <tr>
170
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
171
- <td>a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
172
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</td>
238
+ <td class="parameter_name"><p>font</p></td>
239
+ <td class="parameter_description"><p>An <span class="type">HFONT</span> that can be used when the font matrix is a scale by
240
+ -lfHeight and the CTM is identity.</p></td>
241
+ <td class="parameter_annotations"> </td>
173
242
  </tr>
174
243
  </tbody>
175
244
  </table></div>
245
+ </div>
246
+ <div class="refsect3">
247
+ <a name="id-1.4.6.7.4.6"></a><h4>Returns</h4>
248
+ <p> a newly created <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>. Free with
249
+ <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-destroy" title="cairo_font_face_destroy ()"><code class="function">cairo_font_face_destroy()</code></a> when you are done using it.</p>
250
+ <p></p>
251
+ </div>
176
252
  <p class="since">Since 1.6</p>
177
253
  </div>
178
254
  <hr>
179
255
  <div class="refsect2">
180
- <a name="cairo-win32-scaled-font-select-font"></a><h3>cairo_win32_scaled_font_select_font ()</h3>
181
- <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_win32_scaled_font_select_font (<em class="parameter"><code><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> *scaled_font</code></em>,
182
- <em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);</pre>
183
- <p>
184
- Selects the font into the given device context and changes the
256
+ <a name="cairo-win32-scaled-font-select-font"></a><h3>cairo_win32_scaled_font_select_font ()</h3>
257
+ <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>
258
+ cairo_win32_scaled_font_select_font (<em class="parameter"><code><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> *scaled_font</code></em>,
259
+ <em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);</pre>
260
+ <p>Selects the font into the given device context and changes the
185
261
  map mode and world transformation of the device context to match
186
262
  that of the font. This function is intended for use when using
187
263
  layout APIs such as Uniscribe to do text layout with the
188
264
  cairo font. After finishing using the device context, you must call
189
- <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-done-font" title="cairo_win32_scaled_font_done_font ()"><code class="function">cairo_win32_scaled_font_done_font()</code></a> to release any resources allocated
190
- by this function.
191
- </p>
192
- <p>
193
- See <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-metrics-factor" title="cairo_win32_scaled_font_get_metrics_factor ()"><code class="function">cairo_win32_scaled_font_get_metrics_factor()</code></a> for converting logical
194
- coordinates from the device context to font space.
195
- </p>
196
- <p>
197
- Normally, calls to <code class="function">SaveDC()</code> and <code class="function">RestoreDC()</code> would be made around
198
- the use of this function to preserve the original graphics state.
199
- </p>
200
- <div class="variablelist"><table border="0">
201
- <col align="left" valign="top">
265
+ <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-done-font" title="cairo_win32_scaled_font_done_font ()"><code class="function">cairo_win32_scaled_font_done_font()</code></a> to release any resources allocated
266
+ by this function.</p>
267
+ <p>See <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-get-metrics-factor" title="cairo_win32_scaled_font_get_metrics_factor ()"><code class="function">cairo_win32_scaled_font_get_metrics_factor()</code></a> for converting logical
268
+ coordinates from the device context to font space.</p>
269
+ <p>Normally, calls to <code class="function">SaveDC()</code> and <code class="function">RestoreDC()</code> would be made around
270
+ the use of this function to preserve the original graphics state.</p>
271
+ <div class="refsect3">
272
+ <a name="id-1.4.6.7.5.7"></a><h4>Parameters</h4>
273
+ <div class="informaltable"><table width="100%" border="0">
274
+ <colgroup>
275
+ <col width="150px" class="parameters_name">
276
+ <col class="parameters_description">
277
+ <col width="200px" class="parameters_annotations">
278
+ </colgroup>
202
279
  <tbody>
203
280
  <tr>
204
- <td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
205
- <td>A <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> from the Win32 font backend. Such an
206
- object can be created with <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-logfontw" title="cairo_win32_font_face_create_for_logfontw ()"><code class="function">cairo_win32_font_face_create_for_logfontw()</code></a>.</td>
281
+ <td class="parameter_name"><p>scaled_font</p></td>
282
+ <td class="parameter_description"><p>A <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> from the Win32 font backend. Such an
283
+ object can be created with <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-font-face-create-for-logfontw" title="cairo_win32_font_face_create_for_logfontw ()"><code class="function">cairo_win32_font_face_create_for_logfontw()</code></a>.</p></td>
284
+ <td class="parameter_annotations"> </td>
207
285
  </tr>
208
286
  <tr>
209
- <td><p><span class="term"><em class="parameter"><code>hdc</code></em> :</span></p></td>
210
- <td>a device context</td>
211
- </tr>
212
- <tr>
213
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
214
- <td>
215
- <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> if the operation succeeded.
216
- otherwise an error such as <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a> and
217
- the device context is unchanged.</td>
287
+ <td class="parameter_name"><p>hdc</p></td>
288
+ <td class="parameter_description"><p>a device context</p></td>
289
+ <td class="parameter_annotations"> </td>
218
290
  </tr>
219
291
  </tbody>
220
292
  </table></div>
293
+ </div>
294
+ <div class="refsect3">
295
+ <a name="id-1.4.6.7.5.8"></a><h4>Returns</h4>
296
+ <p> <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> if the operation succeeded.
297
+ otherwise an error such as <a class="link" href="cairo-Error-handling.html#CAIRO-STATUS-NO-MEMORY:CAPS"><code class="literal">CAIRO_STATUS_NO_MEMORY</code></a> and
298
+ the device context is unchanged.</p>
299
+ <p></p>
300
+ </div>
221
301
  <p class="since">Since 1.0</p>
222
302
  </div>
223
303
  <hr>
224
304
  <div class="refsect2">
225
- <a name="cairo-win32-scaled-font-done-font"></a><h3>cairo_win32_scaled_font_done_font ()</h3>
226
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_win32_scaled_font_done_font (<em class="parameter"><code><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> *scaled_font</code></em>);</pre>
227
- <p>
228
- Releases any resources allocated by <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a>
229
- </p>
230
- <div class="variablelist"><table border="0">
231
- <col align="left" valign="top">
305
+ <a name="cairo-win32-scaled-font-done-font"></a><h3>cairo_win32_scaled_font_done_font ()</h3>
306
+ <pre class="programlisting"><span class="returnvalue">void</span>
307
+ cairo_win32_scaled_font_done_font (<em class="parameter"><code><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> *scaled_font</code></em>);</pre>
308
+ <p>Releases any resources allocated by <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a></p>
309
+ <div class="refsect3">
310
+ <a name="id-1.4.6.7.6.5"></a><h4>Parameters</h4>
311
+ <div class="informaltable"><table width="100%" border="0">
312
+ <colgroup>
313
+ <col width="150px" class="parameters_name">
314
+ <col class="parameters_description">
315
+ <col width="200px" class="parameters_annotations">
316
+ </colgroup>
232
317
  <tbody><tr>
233
- <td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
234
- <td>A scaled font from the Win32 font backend.</td>
318
+ <td class="parameter_name"><p>scaled_font</p></td>
319
+ <td class="parameter_description"><p>A scaled font from the Win32 font backend.</p></td>
320
+ <td class="parameter_annotations"> </td>
235
321
  </tr></tbody>
236
322
  </table></div>
323
+ </div>
237
324
  <p class="since">Since 1.0</p>
238
325
  </div>
239
326
  <hr>
240
327
  <div class="refsect2">
241
- <a name="cairo-win32-scaled-font-get-metrics-factor"></a><h3>cairo_win32_scaled_font_get_metrics_factor ()</h3>
242
- <pre class="programlisting"><span class="returnvalue">double</span> cairo_win32_scaled_font_get_metrics_factor
243
- (<em class="parameter"><code><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> *scaled_font</code></em>);</pre>
244
- <p>
245
- Gets a scale factor between logical coordinates in the coordinate
246
- space used by <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a> (that is, the
328
+ <a name="cairo-win32-scaled-font-get-metrics-factor"></a><h3>cairo_win32_scaled_font_get_metrics_factor ()</h3>
329
+ <pre class="programlisting"><span class="returnvalue">double</span>
330
+ cairo_win32_scaled_font_get_metrics_factor
331
+ (<em class="parameter"><code><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> *scaled_font</code></em>);</pre>
332
+ <p>Gets a scale factor between logical coordinates in the coordinate
333
+ space used by <a class="link" href="cairo-Win32-Fonts.html#cairo-win32-scaled-font-select-font" title="cairo_win32_scaled_font_select_font ()"><code class="function">cairo_win32_scaled_font_select_font()</code></a> (that is, the
247
334
  coordinate system used by the Windows functions to return metrics) and
248
- font space coordinates.
249
- </p>
250
- <div class="variablelist"><table border="0">
251
- <col align="left" valign="top">
252
- <tbody>
253
- <tr>
254
- <td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
255
- <td>a scaled font from the Win32 font backend</td>
256
- </tr>
257
- <tr>
258
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
259
- <td>factor to multiply logical units by to get font space
260
- coordinates.</td>
261
- </tr>
262
- </tbody>
335
+ font space coordinates.</p>
336
+ <div class="refsect3">
337
+ <a name="id-1.4.6.7.7.5"></a><h4>Parameters</h4>
338
+ <div class="informaltable"><table width="100%" border="0">
339
+ <colgroup>
340
+ <col width="150px" class="parameters_name">
341
+ <col class="parameters_description">
342
+ <col width="200px" class="parameters_annotations">
343
+ </colgroup>
344
+ <tbody><tr>
345
+ <td class="parameter_name"><p>scaled_font</p></td>
346
+ <td class="parameter_description"><p>a scaled font from the Win32 font backend</p></td>
347
+ <td class="parameter_annotations"> </td>
348
+ </tr></tbody>
263
349
  </table></div>
350
+ </div>
351
+ <div class="refsect3">
352
+ <a name="id-1.4.6.7.7.6"></a><h4>Returns</h4>
353
+ <p> factor to multiply logical units by to get font space
354
+ coordinates.</p>
355
+ <p></p>
356
+ </div>
264
357
  <p class="since">Since 1.0</p>
265
358
  </div>
266
359
  <hr>
267
360
  <div class="refsect2">
268
- <a name="cairo-win32-scaled-font-get-logical-to-device"></a><h3>cairo_win32_scaled_font_get_logical_to_device ()</h3>
269
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_win32_scaled_font_get_logical_to_device
270
- (<em class="parameter"><code><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> *scaled_font</code></em>,
271
- <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *logical_to_device</code></em>);</pre>
272
- <p>
273
- Gets the transformation mapping the logical space used by <em class="parameter"><code>scaled_font</code></em>
274
- to device space.
275
- </p>
276
- <div class="variablelist"><table border="0">
277
- <col align="left" valign="top">
361
+ <a name="cairo-win32-scaled-font-get-logical-to-device"></a><h3>cairo_win32_scaled_font_get_logical_to_device ()</h3>
362
+ <pre class="programlisting"><span class="returnvalue">void</span>
363
+ cairo_win32_scaled_font_get_logical_to_device
364
+ (<em class="parameter"><code><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> *scaled_font</code></em>,
365
+ <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *logical_to_device</code></em>);</pre>
366
+ <p>Gets the transformation mapping the logical space used by <em class="parameter"><code>scaled_font</code></em>
367
+
368
+ to device space.</p>
369
+ <div class="refsect3">
370
+ <a name="id-1.4.6.7.8.5"></a><h4>Parameters</h4>
371
+ <div class="informaltable"><table width="100%" border="0">
372
+ <colgroup>
373
+ <col width="150px" class="parameters_name">
374
+ <col class="parameters_description">
375
+ <col width="200px" class="parameters_annotations">
376
+ </colgroup>
278
377
  <tbody>
279
378
  <tr>
280
- <td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
281
- <td>a scaled font from the Win32 font backend</td>
379
+ <td class="parameter_name"><p>scaled_font</p></td>
380
+ <td class="parameter_description"><p>a scaled font from the Win32 font backend</p></td>
381
+ <td class="parameter_annotations"> </td>
282
382
  </tr>
283
383
  <tr>
284
- <td><p><span class="term"><em class="parameter"><code>logical_to_device</code></em> :</span></p></td>
285
- <td>matrix to return</td>
384
+ <td class="parameter_name"><p>logical_to_device</p></td>
385
+ <td class="parameter_description"><p>matrix to return</p></td>
386
+ <td class="parameter_annotations"> </td>
286
387
  </tr>
287
388
  </tbody>
288
389
  </table></div>
390
+ </div>
289
391
  <p class="since">Since 1.4</p>
290
392
  </div>
291
393
  <hr>
292
394
  <div class="refsect2">
293
- <a name="cairo-win32-scaled-font-get-device-to-logical"></a><h3>cairo_win32_scaled_font_get_device_to_logical ()</h3>
294
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_win32_scaled_font_get_device_to_logical
295
- (<em class="parameter"><code><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> *scaled_font</code></em>,
296
- <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *device_to_logical</code></em>);</pre>
297
- <p>
298
- Gets the transformation mapping device space to the logical space
299
- used by <em class="parameter"><code>scaled_font</code></em>.
300
- </p>
301
- <div class="variablelist"><table border="0">
302
- <col align="left" valign="top">
395
+ <a name="cairo-win32-scaled-font-get-device-to-logical"></a><h3>cairo_win32_scaled_font_get_device_to_logical ()</h3>
396
+ <pre class="programlisting"><span class="returnvalue">void</span>
397
+ cairo_win32_scaled_font_get_device_to_logical
398
+ (<em class="parameter"><code><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> *scaled_font</code></em>,
399
+ <em class="parameter"><code><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *device_to_logical</code></em>);</pre>
400
+ <p>Gets the transformation mapping device space to the logical space
401
+ used by <em class="parameter"><code>scaled_font</code></em>
402
+ .</p>
403
+ <div class="refsect3">
404
+ <a name="id-1.4.6.7.9.5"></a><h4>Parameters</h4>
405
+ <div class="informaltable"><table width="100%" border="0">
406
+ <colgroup>
407
+ <col width="150px" class="parameters_name">
408
+ <col class="parameters_description">
409
+ <col width="200px" class="parameters_annotations">
410
+ </colgroup>
303
411
  <tbody>
304
412
  <tr>
305
- <td><p><span class="term"><em class="parameter"><code>scaled_font</code></em> :</span></p></td>
306
- <td>a scaled font from the Win32 font backend</td>
413
+ <td class="parameter_name"><p>scaled_font</p></td>
414
+ <td class="parameter_description"><p>a scaled font from the Win32 font backend</p></td>
415
+ <td class="parameter_annotations"> </td>
307
416
  </tr>
308
417
  <tr>
309
- <td><p><span class="term"><em class="parameter"><code>device_to_logical</code></em> :</span></p></td>
310
- <td>matrix to return</td>
418
+ <td class="parameter_name"><p>device_to_logical</p></td>
419
+ <td class="parameter_description"><p>matrix to return</p></td>
420
+ <td class="parameter_annotations"> </td>
311
421
  </tr>
312
422
  </tbody>
313
423
  </table></div>
424
+ </div>
314
425
  <p class="since">Since 1.4</p>
315
426
  </div>
316
427
  </div>
317
428
  <div class="refsect1">
429
+ <a name="cairo-Win32-Fonts.other_details"></a><h2>Types and Values</h2>
430
+ <div class="refsect2">
431
+ <a name="CAIRO-HAS-WIN32-FONT:CAPS"></a><h3>CAIRO_HAS_WIN32_FONT</h3>
432
+ <pre class="programlisting">#define CAIRO_HAS_WIN32_FONT 1
433
+ </pre>
434
+ <p>Defined if the Microsoft Windows font backend is available.
435
+ This macro can be used to conditionally compile backend-specific code.</p>
436
+ <p class="since">Since 1.8</p>
437
+ </div>
438
+ </div>
439
+ <div class="refsect1">
318
440
  <a name="cairo-Win32-Fonts.see-also"></a><h2>See Also</h2>
319
- <a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>
441
+ <p><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a></p>
320
442
  </div>
321
443
  </div>
322
444
  <div class="footer">
323
445
  <hr>
324
- Generated by GTK-Doc V1.18</div>
446
+ Generated by GTK-Doc V1.20</div>
325
447
  </body>
326
448
  </html>