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

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

Potentially problematic release.


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

Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +21 -0
  3. data/Rakefile +18 -7
  4. data/ext/cairo/cairo.def +1 -0
  5. data/ext/cairo/extconf.rb +23 -10
  6. data/ext/cairo/rb_cairo.c +3 -0
  7. data/ext/cairo/rb_cairo.h +3 -3
  8. data/ext/cairo/rb_cairo_context.c +1 -1
  9. data/ext/cairo/rb_cairo_io.c +4 -0
  10. data/ext/cairo/rb_cairo_io.h +2 -0
  11. data/ext/cairo/rb_cairo_pattern.c +4 -4
  12. data/ext/cairo/rb_cairo_private.h +2 -0
  13. data/ext/cairo/rb_cairo_surface.c +64 -232
  14. data/lib/2.0/cairo.so +0 -0
  15. data/lib/2.1/cairo.so +0 -0
  16. data/lib/2.2/cairo.so +0 -0
  17. data/lib/cairo.rb +20 -19
  18. data/lib/cairo/region.rb +14 -0
  19. data/test/test_region.rb +26 -0
  20. data/vendor/local/bin/fc-cache.exe +0 -0
  21. data/vendor/local/bin/fc-cat.exe +0 -0
  22. data/vendor/local/bin/fc-list.exe +0 -0
  23. data/vendor/local/bin/fc-match.exe +0 -0
  24. data/vendor/local/bin/fc-pattern.exe +0 -0
  25. data/vendor/local/bin/fc-query.exe +0 -0
  26. data/vendor/local/bin/fc-scan.exe +0 -0
  27. data/vendor/local/bin/fc-validate.exe +0 -0
  28. data/vendor/local/bin/freetype-config +2 -2
  29. data/vendor/local/bin/libcairo-2.dll +0 -0
  30. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  31. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  32. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  33. data/vendor/local/bin/libfreetype-6.dll +0 -0
  34. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  35. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  36. data/vendor/local/bin/libpng-config +1 -1
  37. data/vendor/local/bin/libpng16-16.dll +0 -0
  38. data/vendor/local/bin/libpng16-config +1 -1
  39. data/vendor/local/bin/libstdc++-6.dll +0 -0
  40. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  41. data/vendor/local/bin/libxml2-2.dll +0 -0
  42. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  43. data/vendor/local/bin/pngfix.exe +0 -0
  44. data/vendor/local/bin/xmlcatalog.exe +0 -0
  45. data/vendor/local/bin/xmllint.exe +0 -0
  46. data/vendor/local/bin/zlib1.dll +0 -0
  47. data/vendor/local/include/cairo/cairo-version.h +1 -1
  48. data/vendor/local/include/freetype2/config/ftconfig.h +19 -2
  49. data/vendor/local/include/freetype2/config/ftheader.h +7 -5
  50. data/vendor/local/include/freetype2/config/ftoption.h +9 -22
  51. data/vendor/local/include/freetype2/config/ftstdlib.h +2 -3
  52. data/vendor/local/include/freetype2/freetype.h +38 -17
  53. data/vendor/local/include/freetype2/ft2build.h +1 -1
  54. data/vendor/local/include/freetype2/ftadvanc.h +2 -2
  55. data/vendor/local/include/freetype2/ftautoh.h +50 -2
  56. data/vendor/local/include/freetype2/ftbbox.h +1 -1
  57. data/vendor/local/include/freetype2/ftbdf.h +1 -1
  58. data/vendor/local/include/freetype2/ftbitmap.h +11 -3
  59. data/vendor/local/include/freetype2/ftbzip2.h +1 -1
  60. data/vendor/local/include/freetype2/ftcache.h +3 -3
  61. data/vendor/local/include/freetype2/ftcffdrv.h +1 -1
  62. data/vendor/local/include/freetype2/ftcid.h +2 -1
  63. data/vendor/local/include/freetype2/fterrdef.h +1 -1
  64. data/vendor/local/include/freetype2/fterrors.h +1 -1
  65. data/vendor/local/include/freetype2/{ftxf86.h → ftfntfmt.h} +22 -14
  66. data/vendor/local/include/freetype2/ftgasp.h +1 -1
  67. data/vendor/local/include/freetype2/ftglyph.h +1 -1
  68. data/vendor/local/include/freetype2/ftgxval.h +1 -1
  69. data/vendor/local/include/freetype2/ftgzip.h +1 -1
  70. data/vendor/local/include/freetype2/ftimage.h +7 -13
  71. data/vendor/local/include/freetype2/ftincrem.h +1 -1
  72. data/vendor/local/include/freetype2/ftlcdfil.h +2 -2
  73. data/vendor/local/include/freetype2/ftlist.h +1 -1
  74. data/vendor/local/include/freetype2/ftlzw.h +1 -1
  75. data/vendor/local/include/freetype2/ftmac.h +1 -1
  76. data/vendor/local/include/freetype2/ftmm.h +17 -11
  77. data/vendor/local/include/freetype2/ftmodapi.h +4 -2
  78. data/vendor/local/include/freetype2/ftmoderr.h +1 -1
  79. data/vendor/local/include/freetype2/ftotval.h +1 -1
  80. data/vendor/local/include/freetype2/ftoutln.h +1 -1
  81. data/vendor/local/include/freetype2/ftpfr.h +1 -1
  82. data/vendor/local/include/freetype2/ftrender.h +3 -8
  83. data/vendor/local/include/freetype2/ftsizes.h +1 -1
  84. data/vendor/local/include/freetype2/ftsnames.h +1 -1
  85. data/vendor/local/include/freetype2/ftstroke.h +1 -1
  86. data/vendor/local/include/freetype2/ftsynth.h +5 -3
  87. data/vendor/local/include/freetype2/ftsystem.h +10 -1
  88. data/vendor/local/include/freetype2/fttrigon.h +1 -1
  89. data/vendor/local/include/freetype2/ftttdrv.h +85 -22
  90. data/vendor/local/include/freetype2/fttypes.h +1 -1
  91. data/vendor/local/include/freetype2/ftwinfnt.h +3 -3
  92. data/vendor/local/include/freetype2/t1tables.h +4 -3
  93. data/vendor/local/include/freetype2/ttnameid.h +116 -116
  94. data/vendor/local/include/freetype2/tttables.h +2 -2
  95. data/vendor/local/include/freetype2/tttags.h +1 -1
  96. data/vendor/local/include/freetype2/ttunpat.h +1 -1
  97. data/vendor/local/include/libpng16/png.h +63 -80
  98. data/vendor/local/include/libpng16/pngconf.h +8 -30
  99. data/vendor/local/include/libpng16/pnglibconf.h +10 -4
  100. data/vendor/local/include/png.h +63 -80
  101. data/vendor/local/include/pngconf.h +8 -30
  102. data/vendor/local/include/pnglibconf.h +10 -4
  103. data/vendor/local/lib/libcairo-gobject.a +0 -0
  104. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  105. data/vendor/local/lib/libcairo-gobject.la +2 -2
  106. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  107. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  108. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  109. data/vendor/local/lib/libcairo.a +0 -0
  110. data/vendor/local/lib/libcairo.dll.a +0 -0
  111. data/vendor/local/lib/libcairo.la +2 -2
  112. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  113. data/vendor/local/lib/libfreetype.a +0 -0
  114. data/vendor/local/lib/libfreetype.dll.a +0 -0
  115. data/vendor/local/lib/libfreetype.la +4 -4
  116. data/vendor/local/lib/libpixman-1.a +0 -0
  117. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  118. data/vendor/local/lib/libpng.a +0 -0
  119. data/vendor/local/lib/libpng.dll.a +0 -0
  120. data/vendor/local/lib/libpng.la +4 -4
  121. data/vendor/local/lib/libpng16.a +0 -0
  122. data/vendor/local/lib/libpng16.dll.a +0 -0
  123. data/vendor/local/lib/libpng16.la +4 -4
  124. data/vendor/local/lib/libxml2.a +0 -0
  125. data/vendor/local/lib/libxml2.dll.a +0 -0
  126. data/vendor/local/lib/libz.a +0 -0
  127. data/vendor/local/lib/libz.dll.a +0 -0
  128. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  129. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  130. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  131. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  132. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  133. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  134. data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
  135. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  136. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  137. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  138. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
  140. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  142. data/vendor/local/share/aclocal/freetype2.m4 +1 -1
  143. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +12 -12
  144. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +12 -12
  145. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +12 -12
  146. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +13 -13
  147. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +12 -12
  148. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +35 -35
  149. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +10 -10
  150. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +11 -11
  151. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +13 -13
  152. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +294 -225
  153. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +387 -269
  154. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +432 -302
  155. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +325 -217
  156. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +298 -193
  157. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1121 -812
  158. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +513 -383
  159. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +126 -83
  160. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +172 -119
  161. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +581 -372
  162. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +179 -130
  163. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +888 -539
  164. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +287 -192
  165. data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +374 -231
  166. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +395 -219
  167. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +125 -75
  168. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +630 -464
  169. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +225 -200
  170. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +336 -214
  171. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +277 -186
  172. data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +495 -350
  173. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +557 -362
  174. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +158 -111
  175. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +655 -441
  176. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +389 -280
  177. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +667 -451
  178. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +579 -351
  179. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2006 -1545
  180. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +892 -618
  181. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1624 -1188
  182. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2903 -2104
  183. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -13
  184. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -13
  185. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +13 -13
  186. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -13
  187. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1115 -758
  188. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +419 -604
  189. data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
  190. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
  191. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +70 -70
  192. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +58 -58
  193. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +39 -39
  194. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +30 -30
  195. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +38 -38
  196. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +426 -426
  197. data/vendor/local/share/gtk-doc/html/cairo/index.html +6 -6
  198. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +234 -325
  199. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +12 -12
  200. data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
  201. data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
  202. data/vendor/local/share/gtk-doc/html/cairo/right-insensitive.png +0 -0
  203. data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
  204. data/vendor/local/share/gtk-doc/html/cairo/style.css +221 -26
  205. data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
  206. data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
  207. data/vendor/local/share/license/cairo/README +1 -1
  208. data/vendor/local/share/license/freetype/README +6 -6
  209. data/vendor/local/share/license/freetype/README.git +1 -1
  210. data/vendor/local/share/license/libpng/README +2 -2
  211. data/vendor/local/share/man/man1/freetype-config.1 +1 -1
  212. data/vendor/local/share/man/man3/libpng.3 +85 -92
  213. data/vendor/local/share/man/man3/libpngpf.3 +2 -2
  214. data/vendor/local/share/man/man5/png.5 +1 -1
  215. metadata +23 -19
@@ -2,30 +2,27 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>Transformations</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: Transformations</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-drawing.html" title="Drawing">
9
9
  <link rel="prev" href="cairo-Regions.html" title="Regions">
10
10
  <link rel="next" href="cairo-text.html" title="text">
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-Regions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="cairo-drawing.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-text.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-Transformations.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-Transformations.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-Transformations.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-Transformations.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-drawing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="cairo-Regions.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-text.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-Transformations"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,362 +30,541 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-Transformations.top_of_page"></a>Transformations</span></h2>
34
31
  <p>Transformations — Manipulating the current transformation matrix</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-Transformations.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis"><span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-translate" title="cairo_translate ()">cairo_translate</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
41
- <em class="parameter"><code><span class="type">double</span> tx</code></em>,
42
- <em class="parameter"><code><span class="type">double</span> ty</code></em>);
43
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-scale" title="cairo_scale ()">cairo_scale</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
44
- <em class="parameter"><code><span class="type">double</span> sx</code></em>,
45
- <em class="parameter"><code><span class="type">double</span> sy</code></em>);
46
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-rotate" title="cairo_rotate ()">cairo_rotate</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
47
- <em class="parameter"><code><span class="type">double</span> angle</code></em>);
48
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-transform" title="cairo_transform ()">cairo_transform</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
49
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);
50
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-set-matrix" title="cairo_set_matrix ()">cairo_set_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
51
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);
52
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-get-matrix" title="cairo_get_matrix ()">cairo_get_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
53
- <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> *matrix</code></em>);
54
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-identity-matrix" title="cairo_identity_matrix ()">cairo_identity_matrix</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);
55
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-user-to-device" title="cairo_user_to_device ()">cairo_user_to_device</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
56
- <em class="parameter"><code><span class="type">double</span> *x</code></em>,
57
- <em class="parameter"><code><span class="type">double</span> *y</code></em>);
58
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-user-to-device-distance" title="cairo_user_to_device_distance ()">cairo_user_to_device_distance</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
59
- <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
60
- <em class="parameter"><code><span class="type">double</span> *dy</code></em>);
61
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-device-to-user" title="cairo_device_to_user ()">cairo_device_to_user</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
62
- <em class="parameter"><code><span class="type">double</span> *x</code></em>,
63
- <em class="parameter"><code><span class="type">double</span> *y</code></em>);
64
- <span class="returnvalue">void</span> <a class="link" href="cairo-Transformations.html#cairo-device-to-user-distance" title="cairo_device_to_user_distance ()">cairo_device_to_user_distance</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
65
- <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
66
- <em class="parameter"><code><span class="type">double</span> *dy</code></em>);
35
+ <div class="refsect1">
36
+ <a name="cairo-Transformations.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
+ <span class="returnvalue">void</span>
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="cairo-Transformations.html#cairo-translate" title="cairo_translate ()">cairo_translate</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <span class="returnvalue">void</span>
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="cairo-Transformations.html#cairo-scale" title="cairo_scale ()">cairo_scale</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-Transformations.html#cairo-rotate" title="cairo_rotate ()">cairo_rotate</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <span class="returnvalue">void</span>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="cairo-Transformations.html#cairo-transform" title="cairo_transform ()">cairo_transform</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-Transformations.html#cairo-set-matrix" title="cairo_set_matrix ()">cairo_set_matrix</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">
85
+ <span class="returnvalue">void</span>
86
+ </td>
87
+ <td class="function_name">
88
+ <a class="link" href="cairo-Transformations.html#cairo-get-matrix" title="cairo_get_matrix ()">cairo_get_matrix</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-Transformations.html#cairo-identity-matrix" title="cairo_identity_matrix ()">cairo_identity_matrix</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-Transformations.html#cairo-user-to-device" title="cairo_user_to_device ()">cairo_user_to_device</a> <span class="c_punctuation">()</span>
105
+ </td>
106
+ </tr>
107
+ <tr>
108
+ <td class="function_type">
109
+ <span class="returnvalue">void</span>
110
+ </td>
111
+ <td class="function_name">
112
+ <a class="link" href="cairo-Transformations.html#cairo-user-to-device-distance" title="cairo_user_to_device_distance ()">cairo_user_to_device_distance</a> <span class="c_punctuation">()</span>
113
+ </td>
114
+ </tr>
115
+ <tr>
116
+ <td class="function_type">
117
+ <span class="returnvalue">void</span>
118
+ </td>
119
+ <td class="function_name">
120
+ <a class="link" href="cairo-Transformations.html#cairo-device-to-user" title="cairo_device_to_user ()">cairo_device_to_user</a> <span class="c_punctuation">()</span>
121
+ </td>
122
+ </tr>
123
+ <tr>
124
+ <td class="function_type">
125
+ <span class="returnvalue">void</span>
126
+ </td>
127
+ <td class="function_name">
128
+ <a class="link" href="cairo-Transformations.html#cairo-device-to-user-distance" title="cairo_device_to_user_distance ()">cairo_device_to_user_distance</a> <span class="c_punctuation">()</span>
129
+ </td>
130
+ </tr>
131
+ </tbody>
132
+ </table></div>
133
+ </div>
134
+ <div class="refsect1">
135
+ <a name="cairo-Transformations.object-hierarchy"></a><h2>Object Hierarchy</h2>
136
+ <pre class="screen">
67
137
  </pre>
68
138
  </div>
69
139
  <div class="refsect1">
70
140
  <a name="cairo-Transformations.description"></a><h2>Description</h2>
71
- <p>
72
- The current transformation matrix, <em class="firstterm">ctm</em>, is a
141
+ <p>The current transformation matrix, <em class="firstterm">ctm</em>, is a
73
142
  two-dimensional affine transformation that maps all coordinates and other
74
143
  drawing instruments from the <em class="firstterm">user space</em> into the
75
144
  surface's canonical coordinate system, also known as the <em class="firstterm">device
76
- space</em>.
77
- </p>
145
+ space</em>.</p>
78
146
  </div>
79
147
  <div class="refsect1">
80
- <a name="cairo-Transformations.details"></a><h2>Details</h2>
148
+ <a name="cairo-Transformations.functions_details"></a><h2>Functions</h2>
81
149
  <div class="refsect2">
82
- <a name="cairo-translate"></a><h3>cairo_translate ()</h3>
83
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_translate (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
84
- <em class="parameter"><code><span class="type">double</span> tx</code></em>,
85
- <em class="parameter"><code><span class="type">double</span> ty</code></em>);</pre>
86
- <p>
87
- Modifies the current transformation matrix (CTM) by translating the
88
- user-space origin by (<em class="parameter"><code>tx</code></em>, <em class="parameter"><code>ty</code></em>). This offset is interpreted as a
150
+ <a name="cairo-translate"></a><h3>cairo_translate ()</h3>
151
+ <pre class="programlisting"><span class="returnvalue">void</span>
152
+ cairo_translate (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
153
+ <em class="parameter"><code><span class="type">double</span> tx</code></em>,
154
+ <em class="parameter"><code><span class="type">double</span> ty</code></em>);</pre>
155
+ <p>Modifies the current transformation matrix (CTM) by translating the
156
+ user-space origin by (<em class="parameter"><code>tx</code></em>
157
+ , <em class="parameter"><code>ty</code></em>
158
+ ). This offset is interpreted as a
89
159
  user-space coordinate according to the CTM in place before the new
90
- call to <a class="link" href="cairo-Transformations.html#cairo-translate" title="cairo_translate ()"><code class="function">cairo_translate()</code></a>. In other words, the translation of the
91
- user-space origin takes place after any existing transformation.
92
- </p>
93
- <div class="variablelist"><table border="0">
94
- <col align="left" valign="top">
160
+ call to <a class="link" href="cairo-Transformations.html#cairo-translate" title="cairo_translate ()"><code class="function">cairo_translate()</code></a>. In other words, the translation of the
161
+ user-space origin takes place after any existing transformation.</p>
162
+ <div class="refsect3">
163
+ <a name="id-1.3.6.6.2.5"></a><h4>Parameters</h4>
164
+ <div class="informaltable"><table width="100%" border="0">
165
+ <colgroup>
166
+ <col width="150px" class="parameters_name">
167
+ <col class="parameters_description">
168
+ <col width="200px" class="parameters_annotations">
169
+ </colgroup>
95
170
  <tbody>
96
171
  <tr>
97
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
98
- <td>a cairo context</td>
172
+ <td class="parameter_name"><p>cr</p></td>
173
+ <td class="parameter_description"><p>a cairo context</p></td>
174
+ <td class="parameter_annotations"> </td>
99
175
  </tr>
100
176
  <tr>
101
- <td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
102
- <td>amount to translate in the X direction</td>
177
+ <td class="parameter_name"><p>tx</p></td>
178
+ <td class="parameter_description"><p>amount to translate in the X direction</p></td>
179
+ <td class="parameter_annotations"> </td>
103
180
  </tr>
104
181
  <tr>
105
- <td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
106
- <td>amount to translate in the Y direction</td>
182
+ <td class="parameter_name"><p>ty</p></td>
183
+ <td class="parameter_description"><p>amount to translate in the Y direction</p></td>
184
+ <td class="parameter_annotations"> </td>
107
185
  </tr>
108
186
  </tbody>
109
187
  </table></div>
188
+ </div>
110
189
  <p class="since">Since 1.0</p>
111
190
  </div>
112
191
  <hr>
113
192
  <div class="refsect2">
114
- <a name="cairo-scale"></a><h3>cairo_scale ()</h3>
115
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_scale (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
116
- <em class="parameter"><code><span class="type">double</span> sx</code></em>,
117
- <em class="parameter"><code><span class="type">double</span> sy</code></em>);</pre>
118
- <p>
119
- Modifies the current transformation matrix (CTM) by scaling the X
120
- and Y user-space axes by <em class="parameter"><code>sx</code></em> and <em class="parameter"><code>sy</code></em> respectively. The scaling of
193
+ <a name="cairo-scale"></a><h3>cairo_scale ()</h3>
194
+ <pre class="programlisting"><span class="returnvalue">void</span>
195
+ cairo_scale (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
196
+ <em class="parameter"><code><span class="type">double</span> sx</code></em>,
197
+ <em class="parameter"><code><span class="type">double</span> sy</code></em>);</pre>
198
+ <p>Modifies the current transformation matrix (CTM) by scaling the X
199
+ and Y user-space axes by <em class="parameter"><code>sx</code></em>
200
+ and <em class="parameter"><code>sy</code></em>
201
+ respectively. The scaling of
121
202
  the axes takes place after any existing transformation of user
122
- space.
123
- </p>
124
- <div class="variablelist"><table border="0">
125
- <col align="left" valign="top">
203
+ space.</p>
204
+ <div class="refsect3">
205
+ <a name="id-1.3.6.6.3.5"></a><h4>Parameters</h4>
206
+ <div class="informaltable"><table width="100%" border="0">
207
+ <colgroup>
208
+ <col width="150px" class="parameters_name">
209
+ <col class="parameters_description">
210
+ <col width="200px" class="parameters_annotations">
211
+ </colgroup>
126
212
  <tbody>
127
213
  <tr>
128
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
129
- <td>a cairo context</td>
214
+ <td class="parameter_name"><p>cr</p></td>
215
+ <td class="parameter_description"><p>a cairo context</p></td>
216
+ <td class="parameter_annotations"> </td>
130
217
  </tr>
131
218
  <tr>
132
- <td><p><span class="term"><em class="parameter"><code>sx</code></em> :</span></p></td>
133
- <td>scale factor for the X dimension</td>
219
+ <td class="parameter_name"><p>sx</p></td>
220
+ <td class="parameter_description"><p>scale factor for the X dimension</p></td>
221
+ <td class="parameter_annotations"> </td>
134
222
  </tr>
135
223
  <tr>
136
- <td><p><span class="term"><em class="parameter"><code>sy</code></em> :</span></p></td>
137
- <td>scale factor for the Y dimension</td>
224
+ <td class="parameter_name"><p>sy</p></td>
225
+ <td class="parameter_description"><p>scale factor for the Y dimension</p></td>
226
+ <td class="parameter_annotations"> </td>
138
227
  </tr>
139
228
  </tbody>
140
229
  </table></div>
230
+ </div>
141
231
  <p class="since">Since 1.0</p>
142
232
  </div>
143
233
  <hr>
144
234
  <div class="refsect2">
145
- <a name="cairo-rotate"></a><h3>cairo_rotate ()</h3>
146
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_rotate (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
147
- <em class="parameter"><code><span class="type">double</span> angle</code></em>);</pre>
148
- <p>
149
- Modifies the current transformation matrix (CTM) by rotating the
150
- user-space axes by <em class="parameter"><code>angle</code></em> radians. The rotation of the axes takes
235
+ <a name="cairo-rotate"></a><h3>cairo_rotate ()</h3>
236
+ <pre class="programlisting"><span class="returnvalue">void</span>
237
+ cairo_rotate (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
238
+ <em class="parameter"><code><span class="type">double</span> angle</code></em>);</pre>
239
+ <p>Modifies the current transformation matrix (CTM) by rotating the
240
+ user-space axes by <em class="parameter"><code>angle</code></em>
241
+ radians. The rotation of the axes takes
151
242
  places after any existing transformation of user space. The
152
243
  rotation direction for positive angles is from the positive X axis
153
- toward the positive Y axis.
154
- </p>
155
- <div class="variablelist"><table border="0">
156
- <col align="left" valign="top">
244
+ toward the positive Y axis.</p>
245
+ <div class="refsect3">
246
+ <a name="id-1.3.6.6.4.5"></a><h4>Parameters</h4>
247
+ <div class="informaltable"><table width="100%" border="0">
248
+ <colgroup>
249
+ <col width="150px" class="parameters_name">
250
+ <col class="parameters_description">
251
+ <col width="200px" class="parameters_annotations">
252
+ </colgroup>
157
253
  <tbody>
158
254
  <tr>
159
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
160
- <td>a cairo context</td>
255
+ <td class="parameter_name"><p>cr</p></td>
256
+ <td class="parameter_description"><p>a cairo context</p></td>
257
+ <td class="parameter_annotations"> </td>
161
258
  </tr>
162
259
  <tr>
163
- <td><p><span class="term"><em class="parameter"><code>angle</code></em> :</span></p></td>
164
- <td>angle (in radians) by which the user-space axes will be
165
- rotated</td>
260
+ <td class="parameter_name"><p>angle</p></td>
261
+ <td class="parameter_description"><p>angle (in radians) by which the user-space axes will be
262
+ rotated</p></td>
263
+ <td class="parameter_annotations"> </td>
166
264
  </tr>
167
265
  </tbody>
168
266
  </table></div>
267
+ </div>
169
268
  <p class="since">Since 1.0</p>
170
269
  </div>
171
270
  <hr>
172
271
  <div class="refsect2">
173
- <a name="cairo-transform"></a><h3>cairo_transform ()</h3>
174
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_transform (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
175
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
176
- <p>
177
- Modifies the current transformation matrix (CTM) by applying
178
- <em class="parameter"><code>matrix</code></em> as an additional transformation. The new transformation of
179
- user space takes place after any existing transformation.
180
- </p>
181
- <div class="variablelist"><table border="0">
182
- <col align="left" valign="top">
272
+ <a name="cairo-transform"></a><h3>cairo_transform ()</h3>
273
+ <pre class="programlisting"><span class="returnvalue">void</span>
274
+ cairo_transform (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
275
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
276
+ <p>Modifies the current transformation matrix (CTM) by applying
277
+ <em class="parameter"><code>matrix</code></em>
278
+ as an additional transformation. The new transformation of
279
+ user space takes place after any existing transformation.</p>
280
+ <div class="refsect3">
281
+ <a name="id-1.3.6.6.5.5"></a><h4>Parameters</h4>
282
+ <div class="informaltable"><table width="100%" border="0">
283
+ <colgroup>
284
+ <col width="150px" class="parameters_name">
285
+ <col class="parameters_description">
286
+ <col width="200px" class="parameters_annotations">
287
+ </colgroup>
183
288
  <tbody>
184
289
  <tr>
185
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
186
- <td>a cairo context</td>
290
+ <td class="parameter_name"><p>cr</p></td>
291
+ <td class="parameter_description"><p>a cairo context</p></td>
292
+ <td class="parameter_annotations"> </td>
187
293
  </tr>
188
294
  <tr>
189
- <td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
190
- <td>a transformation to be applied to the user-space axes</td>
295
+ <td class="parameter_name"><p>matrix</p></td>
296
+ <td class="parameter_description"><p>a transformation to be applied to the user-space axes</p></td>
297
+ <td class="parameter_annotations"> </td>
191
298
  </tr>
192
299
  </tbody>
193
300
  </table></div>
301
+ </div>
194
302
  <p class="since">Since 1.0</p>
195
303
  </div>
196
304
  <hr>
197
305
  <div class="refsect2">
198
- <a name="cairo-set-matrix"></a><h3>cairo_set_matrix ()</h3>
199
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_set_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
200
- <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
201
- <p>
202
- Modifies the current transformation matrix (CTM) by setting it
203
- equal to <em class="parameter"><code>matrix</code></em>.
204
- </p>
205
- <div class="variablelist"><table border="0">
206
- <col align="left" valign="top">
306
+ <a name="cairo-set-matrix"></a><h3>cairo_set_matrix ()</h3>
307
+ <pre class="programlisting"><span class="returnvalue">void</span>
308
+ cairo_set_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
309
+ <em class="parameter"><code>const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a> *matrix</code></em>);</pre>
310
+ <p>Modifies the current transformation matrix (CTM) by setting it
311
+ equal to <em class="parameter"><code>matrix</code></em>
312
+ .</p>
313
+ <div class="refsect3">
314
+ <a name="id-1.3.6.6.6.5"></a><h4>Parameters</h4>
315
+ <div class="informaltable"><table width="100%" border="0">
316
+ <colgroup>
317
+ <col width="150px" class="parameters_name">
318
+ <col class="parameters_description">
319
+ <col width="200px" class="parameters_annotations">
320
+ </colgroup>
207
321
  <tbody>
208
322
  <tr>
209
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
210
- <td>a cairo context</td>
323
+ <td class="parameter_name"><p>cr</p></td>
324
+ <td class="parameter_description"><p>a cairo context</p></td>
325
+ <td class="parameter_annotations"> </td>
211
326
  </tr>
212
327
  <tr>
213
- <td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
214
- <td>a transformation matrix from user space to device space</td>
328
+ <td class="parameter_name"><p>matrix</p></td>
329
+ <td class="parameter_description"><p>a transformation matrix from user space to device space</p></td>
330
+ <td class="parameter_annotations"> </td>
215
331
  </tr>
216
332
  </tbody>
217
333
  </table></div>
334
+ </div>
218
335
  <p class="since">Since 1.0</p>
219
336
  </div>
220
337
  <hr>
221
338
  <div class="refsect2">
222
- <a name="cairo-get-matrix"></a><h3>cairo_get_matrix ()</h3>
223
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_get_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
224
- <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> *matrix</code></em>);</pre>
225
- <p>
226
- Stores the current transformation matrix (CTM) into <em class="parameter"><code>matrix</code></em>.
227
- </p>
228
- <div class="variablelist"><table border="0">
229
- <col align="left" valign="top">
339
+ <a name="cairo-get-matrix"></a><h3>cairo_get_matrix ()</h3>
340
+ <pre class="programlisting"><span class="returnvalue">void</span>
341
+ cairo_get_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
342
+ <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> *matrix</code></em>);</pre>
343
+ <p>Stores the current transformation matrix (CTM) into <em class="parameter"><code>matrix</code></em>
344
+ .</p>
345
+ <div class="refsect3">
346
+ <a name="id-1.3.6.6.7.5"></a><h4>Parameters</h4>
347
+ <div class="informaltable"><table width="100%" border="0">
348
+ <colgroup>
349
+ <col width="150px" class="parameters_name">
350
+ <col class="parameters_description">
351
+ <col width="200px" class="parameters_annotations">
352
+ </colgroup>
230
353
  <tbody>
231
354
  <tr>
232
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
233
- <td>a cairo context</td>
355
+ <td class="parameter_name"><p>cr</p></td>
356
+ <td class="parameter_description"><p>a cairo context</p></td>
357
+ <td class="parameter_annotations"> </td>
234
358
  </tr>
235
359
  <tr>
236
- <td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
237
- <td>return value for the matrix</td>
360
+ <td class="parameter_name"><p>matrix</p></td>
361
+ <td class="parameter_description"><p>return value for the matrix</p></td>
362
+ <td class="parameter_annotations"> </td>
238
363
  </tr>
239
364
  </tbody>
240
365
  </table></div>
366
+ </div>
241
367
  <p class="since">Since 1.0</p>
242
368
  </div>
243
369
  <hr>
244
370
  <div class="refsect2">
245
- <a name="cairo-identity-matrix"></a><h3>cairo_identity_matrix ()</h3>
246
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_identity_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
247
- <p>
248
- Resets the current transformation matrix (CTM) by setting it equal
371
+ <a name="cairo-identity-matrix"></a><h3>cairo_identity_matrix ()</h3>
372
+ <pre class="programlisting"><span class="returnvalue">void</span>
373
+ cairo_identity_matrix (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
374
+ <p>Resets the current transformation matrix (CTM) by setting it equal
249
375
  to the identity matrix. That is, the user-space and device-space
250
376
  axes will be aligned and one user-space unit will transform to one
251
- device-space unit.
252
- </p>
253
- <div class="variablelist"><table border="0">
254
- <col align="left" valign="top">
377
+ device-space unit.</p>
378
+ <div class="refsect3">
379
+ <a name="id-1.3.6.6.8.5"></a><h4>Parameters</h4>
380
+ <div class="informaltable"><table width="100%" border="0">
381
+ <colgroup>
382
+ <col width="150px" class="parameters_name">
383
+ <col class="parameters_description">
384
+ <col width="200px" class="parameters_annotations">
385
+ </colgroup>
255
386
  <tbody><tr>
256
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
257
- <td>a cairo context</td>
387
+ <td class="parameter_name"><p>cr</p></td>
388
+ <td class="parameter_description"><p>a cairo context</p></td>
389
+ <td class="parameter_annotations"> </td>
258
390
  </tr></tbody>
259
391
  </table></div>
392
+ </div>
260
393
  <p class="since">Since 1.0</p>
261
394
  </div>
262
395
  <hr>
263
396
  <div class="refsect2">
264
- <a name="cairo-user-to-device"></a><h3>cairo_user_to_device ()</h3>
265
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_user_to_device (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
266
- <em class="parameter"><code><span class="type">double</span> *x</code></em>,
267
- <em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
268
- <p>
269
- Transform a coordinate from user space to device space by
397
+ <a name="cairo-user-to-device"></a><h3>cairo_user_to_device ()</h3>
398
+ <pre class="programlisting"><span class="returnvalue">void</span>
399
+ cairo_user_to_device (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
400
+ <em class="parameter"><code><span class="type">double</span> *x</code></em>,
401
+ <em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
402
+ <p>Transform a coordinate from user space to device space by
270
403
  multiplying the given point by the current transformation matrix
271
- (CTM).
272
- </p>
273
- <div class="variablelist"><table border="0">
274
- <col align="left" valign="top">
404
+ (CTM).</p>
405
+ <div class="refsect3">
406
+ <a name="id-1.3.6.6.9.5"></a><h4>Parameters</h4>
407
+ <div class="informaltable"><table width="100%" border="0">
408
+ <colgroup>
409
+ <col width="150px" class="parameters_name">
410
+ <col class="parameters_description">
411
+ <col width="200px" class="parameters_annotations">
412
+ </colgroup>
275
413
  <tbody>
276
414
  <tr>
277
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
278
- <td>a cairo context</td>
415
+ <td class="parameter_name"><p>cr</p></td>
416
+ <td class="parameter_description"><p>a cairo context</p></td>
417
+ <td class="parameter_annotations"> </td>
279
418
  </tr>
280
419
  <tr>
281
- <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
282
- <td>X value of coordinate (in/out parameter)</td>
420
+ <td class="parameter_name"><p>x</p></td>
421
+ <td class="parameter_description"><p>X value of coordinate (in/out parameter)</p></td>
422
+ <td class="parameter_annotations"> </td>
283
423
  </tr>
284
424
  <tr>
285
- <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
286
- <td>Y value of coordinate (in/out parameter)</td>
425
+ <td class="parameter_name"><p>y</p></td>
426
+ <td class="parameter_description"><p>Y value of coordinate (in/out parameter)</p></td>
427
+ <td class="parameter_annotations"> </td>
287
428
  </tr>
288
429
  </tbody>
289
430
  </table></div>
431
+ </div>
290
432
  <p class="since">Since 1.0</p>
291
433
  </div>
292
434
  <hr>
293
435
  <div class="refsect2">
294
- <a name="cairo-user-to-device-distance"></a><h3>cairo_user_to_device_distance ()</h3>
295
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_user_to_device_distance (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
296
- <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
297
- <em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
298
- <p>
299
- Transform a distance vector from user space to device space. This
300
- function is similar to <a class="link" href="cairo-Transformations.html#cairo-user-to-device" title="cairo_user_to_device ()"><code class="function">cairo_user_to_device()</code></a> except that the
436
+ <a name="cairo-user-to-device-distance"></a><h3>cairo_user_to_device_distance ()</h3>
437
+ <pre class="programlisting"><span class="returnvalue">void</span>
438
+ cairo_user_to_device_distance (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
439
+ <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
440
+ <em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
441
+ <p>Transform a distance vector from user space to device space. This
442
+ function is similar to <a class="link" href="cairo-Transformations.html#cairo-user-to-device" title="cairo_user_to_device ()"><code class="function">cairo_user_to_device()</code></a> except that the
301
443
  translation components of the CTM will be ignored when transforming
302
- (<em class="parameter"><code>dx</code></em>,<em class="parameter"><code>dy</code></em>).
303
- </p>
304
- <div class="variablelist"><table border="0">
305
- <col align="left" valign="top">
444
+ (<em class="parameter"><code>dx</code></em>
445
+ ,<em class="parameter"><code>dy</code></em>
446
+ ).</p>
447
+ <div class="refsect3">
448
+ <a name="id-1.3.6.6.10.5"></a><h4>Parameters</h4>
449
+ <div class="informaltable"><table width="100%" border="0">
450
+ <colgroup>
451
+ <col width="150px" class="parameters_name">
452
+ <col class="parameters_description">
453
+ <col width="200px" class="parameters_annotations">
454
+ </colgroup>
306
455
  <tbody>
307
456
  <tr>
308
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
309
- <td>a cairo context</td>
457
+ <td class="parameter_name"><p>cr</p></td>
458
+ <td class="parameter_description"><p>a cairo context</p></td>
459
+ <td class="parameter_annotations"> </td>
310
460
  </tr>
311
461
  <tr>
312
- <td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
313
- <td>X component of a distance vector (in/out parameter)</td>
462
+ <td class="parameter_name"><p>dx</p></td>
463
+ <td class="parameter_description"><p>X component of a distance vector (in/out parameter)</p></td>
464
+ <td class="parameter_annotations"> </td>
314
465
  </tr>
315
466
  <tr>
316
- <td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
317
- <td>Y component of a distance vector (in/out parameter)</td>
467
+ <td class="parameter_name"><p>dy</p></td>
468
+ <td class="parameter_description"><p>Y component of a distance vector (in/out parameter)</p></td>
469
+ <td class="parameter_annotations"> </td>
318
470
  </tr>
319
471
  </tbody>
320
472
  </table></div>
473
+ </div>
321
474
  <p class="since">Since 1.0</p>
322
475
  </div>
323
476
  <hr>
324
477
  <div class="refsect2">
325
- <a name="cairo-device-to-user"></a><h3>cairo_device_to_user ()</h3>
326
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_device_to_user (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
327
- <em class="parameter"><code><span class="type">double</span> *x</code></em>,
328
- <em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
329
- <p>
330
- Transform a coordinate from device space to user space by
478
+ <a name="cairo-device-to-user"></a><h3>cairo_device_to_user ()</h3>
479
+ <pre class="programlisting"><span class="returnvalue">void</span>
480
+ cairo_device_to_user (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
481
+ <em class="parameter"><code><span class="type">double</span> *x</code></em>,
482
+ <em class="parameter"><code><span class="type">double</span> *y</code></em>);</pre>
483
+ <p>Transform a coordinate from device space to user space by
331
484
  multiplying the given point by the inverse of the current
332
- transformation matrix (CTM).
333
- </p>
334
- <div class="variablelist"><table border="0">
335
- <col align="left" valign="top">
485
+ transformation matrix (CTM).</p>
486
+ <div class="refsect3">
487
+ <a name="id-1.3.6.6.11.5"></a><h4>Parameters</h4>
488
+ <div class="informaltable"><table width="100%" border="0">
489
+ <colgroup>
490
+ <col width="150px" class="parameters_name">
491
+ <col class="parameters_description">
492
+ <col width="200px" class="parameters_annotations">
493
+ </colgroup>
336
494
  <tbody>
337
495
  <tr>
338
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
339
- <td>a cairo</td>
496
+ <td class="parameter_name"><p>cr</p></td>
497
+ <td class="parameter_description"><p>a cairo</p></td>
498
+ <td class="parameter_annotations"> </td>
340
499
  </tr>
341
500
  <tr>
342
- <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
343
- <td>X value of coordinate (in/out parameter)</td>
501
+ <td class="parameter_name"><p>x</p></td>
502
+ <td class="parameter_description"><p>X value of coordinate (in/out parameter)</p></td>
503
+ <td class="parameter_annotations"> </td>
344
504
  </tr>
345
505
  <tr>
346
- <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
347
- <td>Y value of coordinate (in/out parameter)</td>
506
+ <td class="parameter_name"><p>y</p></td>
507
+ <td class="parameter_description"><p>Y value of coordinate (in/out parameter)</p></td>
508
+ <td class="parameter_annotations"> </td>
348
509
  </tr>
349
510
  </tbody>
350
511
  </table></div>
512
+ </div>
351
513
  <p class="since">Since 1.0</p>
352
514
  </div>
353
515
  <hr>
354
516
  <div class="refsect2">
355
- <a name="cairo-device-to-user-distance"></a><h3>cairo_device_to_user_distance ()</h3>
356
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_device_to_user_distance (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
357
- <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
358
- <em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
359
- <p>
360
- Transform a distance vector from device space to user space. This
361
- function is similar to <a class="link" href="cairo-Transformations.html#cairo-device-to-user" title="cairo_device_to_user ()"><code class="function">cairo_device_to_user()</code></a> except that the
517
+ <a name="cairo-device-to-user-distance"></a><h3>cairo_device_to_user_distance ()</h3>
518
+ <pre class="programlisting"><span class="returnvalue">void</span>
519
+ cairo_device_to_user_distance (<em class="parameter"><code><a class="link" href="cairo-cairo-t.html#cairo-t" title="cairo_t"><span class="type">cairo_t</span></a> *cr</code></em>,
520
+ <em class="parameter"><code><span class="type">double</span> *dx</code></em>,
521
+ <em class="parameter"><code><span class="type">double</span> *dy</code></em>);</pre>
522
+ <p>Transform a distance vector from device space to user space. This
523
+ function is similar to <a class="link" href="cairo-Transformations.html#cairo-device-to-user" title="cairo_device_to_user ()"><code class="function">cairo_device_to_user()</code></a> except that the
362
524
  translation components of the inverse CTM will be ignored when
363
- transforming (<em class="parameter"><code>dx</code></em>,<em class="parameter"><code>dy</code></em>).
364
- </p>
365
- <div class="variablelist"><table border="0">
366
- <col align="left" valign="top">
525
+ transforming (<em class="parameter"><code>dx</code></em>
526
+ ,<em class="parameter"><code>dy</code></em>
527
+ ).</p>
528
+ <div class="refsect3">
529
+ <a name="id-1.3.6.6.12.5"></a><h4>Parameters</h4>
530
+ <div class="informaltable"><table width="100%" border="0">
531
+ <colgroup>
532
+ <col width="150px" class="parameters_name">
533
+ <col class="parameters_description">
534
+ <col width="200px" class="parameters_annotations">
535
+ </colgroup>
367
536
  <tbody>
368
537
  <tr>
369
- <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
370
- <td>a cairo context</td>
538
+ <td class="parameter_name"><p>cr</p></td>
539
+ <td class="parameter_description"><p>a cairo context</p></td>
540
+ <td class="parameter_annotations"> </td>
371
541
  </tr>
372
542
  <tr>
373
- <td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
374
- <td>X component of a distance vector (in/out parameter)</td>
543
+ <td class="parameter_name"><p>dx</p></td>
544
+ <td class="parameter_description"><p>X component of a distance vector (in/out parameter)</p></td>
545
+ <td class="parameter_annotations"> </td>
375
546
  </tr>
376
547
  <tr>
377
- <td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
378
- <td>Y component of a distance vector (in/out parameter)</td>
548
+ <td class="parameter_name"><p>dy</p></td>
549
+ <td class="parameter_description"><p>Y component of a distance vector (in/out parameter)</p></td>
550
+ <td class="parameter_annotations"> </td>
379
551
  </tr>
380
552
  </tbody>
381
553
  </table></div>
554
+ </div>
382
555
  <p class="since">Since 1.0</p>
383
556
  </div>
384
557
  </div>
385
558
  <div class="refsect1">
559
+ <a name="cairo-Transformations.other_details"></a><h2>Types and Values</h2>
560
+ </div>
561
+ <div class="refsect1">
386
562
  <a name="cairo-Transformations.see-also"></a><h2>See Also</h2>
387
- <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a>
563
+ <p><a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a></p>
388
564
  </div>
389
565
  </div>
390
566
  <div class="footer">
391
567
  <hr>
392
- Generated by GTK-Doc V1.18</div>
568
+ Generated by GTK-Doc V1.20</div>
393
569
  </body>
394
570
  </html>