cairo 1.7.0-x86-mswin32 → 1.8.0-x86-mswin32
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.
- data/ChangeLog +32 -0
- data/NEWS +9 -1
- data/README +1 -0
- data/Rakefile +2 -2
- data/cairo/DLL_FAQ.txt +397 -0
- data/cairo/README.txt +53 -0
- data/cairo/USAGE.txt +94 -0
- data/cairo/bin/libcairo-2.dll +0 -0
- data/cairo/bin/libpng12-0.dll +0 -0
- data/cairo/bin/zlib1.dll +0 -0
- data/cairo/include/cairo/cairo-deprecated.h +0 -4
- data/cairo/include/cairo/cairo-features.h +7 -22
- data/cairo/include/cairo/cairo-pdf.h +1 -1
- data/cairo/include/cairo/cairo-ps.h +1 -1
- data/cairo/include/cairo/cairo-svg.h +1 -1
- data/cairo/include/cairo/cairo-version.h +8 -0
- data/cairo/include/cairo/cairo-win32.h +9 -1
- data/cairo/include/cairo/cairo.h +420 -32
- data/cairo/include/libpng12/png.h +3592 -0
- data/cairo/include/libpng12/pngconf.h +1481 -0
- data/cairo/include/png.h +36 -13
- data/cairo/include/pngconf.h +3 -3
- data/cairo/include/zconf.h +332 -0
- data/cairo/include/zlib.h +1357 -0
- data/cairo/lib/cairo.def +22 -0
- data/cairo/lib/cairo.lib +0 -0
- data/cairo/lib/libcairo.dll.a +0 -0
- data/cairo/lib/libpng.def +1 -0
- data/cairo/lib/libpng.lib +0 -0
- data/cairo/lib/libpng12.dll.a +0 -0
- data/cairo/lib/pkgconfig/cairo-pdf.pc +5 -5
- data/cairo/lib/pkgconfig/cairo-png.pc +5 -5
- data/cairo/lib/pkgconfig/cairo-ps.pc +5 -5
- data/cairo/lib/pkgconfig/cairo-svg.pc +4 -4
- data/cairo/lib/pkgconfig/cairo-win32-font.pc +4 -4
- data/cairo/lib/pkgconfig/cairo-win32.pc +4 -4
- data/cairo/lib/pkgconfig/cairo.pc +4 -4
- data/cairo/lib/pkgconfig/libpng.pc +3 -2
- data/cairo/lib/pkgconfig/libpng12.pc +3 -2
- data/cairo/lib/zdll.exp +0 -0
- data/cairo/lib/zdll.lib +0 -0
- data/cairo/lib/zlib.def +60 -0
- data/cairo/manifest/cairo-dev_1.8.0-1_win32.mft +76 -0
- data/cairo/manifest/cairo_1.8.0-1_win32.mft +5 -0
- data/cairo/manifest/{libpng-dev-1.2.29.mft → libpng-dev_1.2.32-1_win32.mft} +5 -2
- data/cairo/manifest/libpng_1.2.32-1_win32.mft +2 -0
- data/cairo/share/doc/{cairo-1.6.4-2 → cairo_1.8.0-1_win32}/COPYING +0 -0
- data/cairo/share/doc/{cairo-1.6.4-2 → cairo_1.8.0-1_win32}/COPYING-LGPL-2.1 +0 -0
- data/cairo/share/doc/{cairo-1.6.4-2 → cairo_1.8.0-1_win32}/COPYING-MPL-1.1 +0 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-errors.html +15 -11
- data/cairo/share/gtk-doc/html/cairo/bindings-fonts.html +15 -11
- data/cairo/share/gtk-doc/html/cairo/bindings-memory.html +20 -16
- data/cairo/share/gtk-doc/html/cairo/bindings-overloading.html +16 -12
- data/cairo/share/gtk-doc/html/cairo/bindings-path.html +17 -13
- data/cairo/share/gtk-doc/html/cairo/bindings-patterns.html +25 -21
- data/cairo/share/gtk-doc/html/cairo/bindings-return-values.html +17 -13
- data/cairo/share/gtk-doc/html/cairo/bindings-streams.html +14 -10
- data/cairo/share/gtk-doc/html/cairo/bindings-surfaces.html +19 -15
- data/cairo/share/gtk-doc/html/cairo/cairo-context.html +2721 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-drawing.html +57 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-error-status.html +361 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-font-face.html +418 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-font-options.html +695 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-fonts.html +63 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-ft-font.html +318 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-image-surface.html +486 -0
- data/cairo/share/gtk-doc/html/cairo/{cairo-cairo-matrix-t.html → cairo-matrix.html} +137 -156
- data/cairo/share/gtk-doc/html/cairo/{cairo-Paths.html → cairo-paths.html} +275 -306
- data/cairo/share/gtk-doc/html/cairo/cairo-pattern.html +1524 -0
- data/cairo/share/gtk-doc/html/cairo/{cairo-PDF-Surfaces.html → cairo-pdf-surface.html} +60 -70
- data/cairo/share/gtk-doc/html/cairo/cairo-png-functions.html +332 -0
- data/cairo/share/gtk-doc/html/cairo/{cairo-PostScript-Surfaces.html → cairo-ps-surface.html} +131 -150
- data/cairo/share/gtk-doc/html/cairo/cairo-quartz-font.html +153 -0
- data/cairo/share/gtk-doc/html/cairo/{cairo-Quartz-Surfaces.html → cairo-quartz-surface.html} +53 -62
- data/cairo/share/gtk-doc/html/cairo/cairo-scaled-font.html +1051 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-support.html +54 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-surface.html +1064 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-surfaces.html +69 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-svg-surface.html +324 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-text.html +1264 -0
- data/cairo/share/gtk-doc/html/cairo/{cairo-Transformations.html → cairo-transformations.html} +98 -115
- data/cairo/share/gtk-doc/html/cairo/cairo-types.html +134 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-user-font.html +769 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-version-info.html +355 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-win32-font.html +366 -0
- data/cairo/share/gtk-doc/html/cairo/cairo-win32-surface.html +321 -0
- data/cairo/share/gtk-doc/html/cairo/{cairo-XLib-Surfaces.html → cairo-xlib-surface.html} +104 -121
- data/cairo/share/gtk-doc/html/cairo/cairo.devhelp +390 -405
- data/cairo/share/gtk-doc/html/cairo/cairo.devhelp2 +390 -405
- data/cairo/share/gtk-doc/html/cairo/index-1.2.html +63 -59
- data/cairo/share/gtk-doc/html/cairo/index-1.4.html +45 -41
- data/cairo/share/gtk-doc/html/cairo/index-1.6.html +29 -23
- data/cairo/share/gtk-doc/html/cairo/index-1.8.html +107 -0
- data/cairo/share/gtk-doc/html/cairo/index-all.html +759 -0
- data/cairo/share/gtk-doc/html/cairo/index.html +51 -41
- data/cairo/share/gtk-doc/html/cairo/index.sgml +478 -466
- data/cairo/share/gtk-doc/html/cairo/language-bindings.html +22 -18
- data/cairo/share/gtk-doc/html/cairo/style.css +14 -2
- data/cairo/share/man/man3/libpng.3 +443 -17
- data/cairo/share/man/man3/libpngpf.3 +618 -102
- data/cairo/share/man/man5/png.5 +1 -1
- data/cairo/src/tml/make/cairo_1.8.0-1_win32.log +1021 -0
- data/cairo/src/tml/make/cairo_1.8.0-1_win32.sh +68 -0
- data/cairo/src/tml/make/libpng_1.2.32-1_win32.log +269 -0
- data/cairo/src/tml/make/libpng_1.2.32-1_win32.sh +63 -0
- data/cairo/test/example_d.exe +0 -0
- data/cairo/test/minigzip_d.exe +0 -0
- data/cairo/test/testzlib_d.exe +0 -0
- data/cairo/test/untgz_d.exe +0 -0
- data/doc/en/cairo-context.html +81 -91
- data/doc/en/cairo-font-options.html +11 -26
- data/doc/en/cairo-text-cluster-flag.html +35 -0
- data/doc/en/cairo-user-font-face-text-to-glyphs-data.html +3 -3
- data/doc/en/cairo.html +38 -42
- data/doc/en/index.html +129 -142
- data/doc/ja/cairo-font-options.html +3 -25
- data/doc/ja/cairo-text-cluster-flag.html +46 -0
- data/doc/ja/cairo-user-font-face-text-to-glyphs-data.html +16 -15
- data/doc/ja/cairo.html +3 -7
- data/doc/ja/index.html +9 -17
- data/src/cairo.def +1 -1
- data/src/cairo.so +0 -0
- data/src/lib/cairo/constants.rb +3 -1
- data/src/libruby-cairo.a +0 -0
- data/src/rb_cairo.c +2 -2
- data/src/rb_cairo.h +5 -5
- data/src/rb_cairo_constants.c +12 -19
- data/src/rb_cairo_context.c +25 -21
- data/src/rb_cairo_font_face.c +44 -29
- data/src/rb_cairo_font_options.c +1 -23
- data/src/rb_cairo_scaled_font.c +5 -5
- data/test/test_constants.rb +6 -9
- data/test/test_context.rb +0 -12
- data/test/test_font_face.rb +7 -7
- data/test/test_font_options.rb +2 -21
- data/test/test_scaled_font.rb +3 -3
- data/test/test_text_to_glyphs_data.rb +19 -15
- metadata +68 -45
- data/cairo/make/cairo-1.6.4-2.sh +0 -55
- data/cairo/make/libpng-1.2.29.sh +0 -35
- data/cairo/manifest/cairo-1.6.4-2.mft +0 -6
- data/cairo/manifest/cairo-dev-1.6.4-2.mft +0 -72
- data/cairo/manifest/libpng-1.2.29.mft +0 -2
- data/cairo/share/gtk-doc/html/cairo/Drawing.html +0 -53
- data/cairo/share/gtk-doc/html/cairo/Fonts.html +0 -56
- data/cairo/share/gtk-doc/html/cairo/Support.html +0 -50
- data/cairo/share/gtk-doc/html/cairo/Surfaces.html +0 -65
- data/cairo/share/gtk-doc/html/cairo/cairo-Error-Handling.html +0 -328
- data/cairo/share/gtk-doc/html/cairo/cairo-Font-Options.html +0 -720
- data/cairo/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +0 -297
- data/cairo/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +0 -484
- data/cairo/share/gtk-doc/html/cairo/cairo-PNG-Support.html +0 -345
- data/cairo/share/gtk-doc/html/cairo/cairo-Patterns.html +0 -1560
- data/cairo/share/gtk-doc/html/cairo/cairo-Quartz-Fonts.html +0 -161
- data/cairo/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +0 -337
- data/cairo/share/gtk-doc/html/cairo/cairo-Scaled-Fonts.html +0 -823
- data/cairo/share/gtk-doc/html/cairo/cairo-Text.html +0 -836
- data/cairo/share/gtk-doc/html/cairo/cairo-Types.html +0 -143
- data/cairo/share/gtk-doc/html/cairo/cairo-Version-Information.html +0 -325
- data/cairo/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +0 -381
- data/cairo/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +0 -331
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +0 -427
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +0 -995
- data/cairo/share/gtk-doc/html/cairo/cairo-cairo-t.html +0 -2795
- data/cairo/share/gtk-doc/html/cairo/ix01.html +0 -693
- data/doc/en/cairo-lcd-filter.html +0 -39
- data/doc/ja/cairo-lcd-filter.html +0 -63
data/cairo/share/gtk-doc/html/cairo/{cairo-Transformations.html → cairo-transformations.html}
RENAMED
@@ -1,86 +1,82 @@
|
|
1
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Transformations</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
7
|
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
-
<link rel="up" href="
|
9
|
-
<link rel="prev" href="cairo-
|
10
|
-
<link rel="next" href="cairo-
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
8
|
+
<link rel="up" href="cairo-drawing.html" title="Drawing">
|
9
|
+
<link rel="prev" href="cairo-pattern.html" title="cairo_pattern_t">
|
10
|
+
<link rel="next" href="cairo-text.html" title="Text">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="
|
14
|
-
<link rel="chapter" href="
|
15
|
-
<link rel="chapter" href="
|
16
|
-
<link rel="chapter" href="
|
17
|
-
<link rel="index" href="
|
13
|
+
<link rel="chapter" href="cairo-drawing.html" title="Drawing">
|
14
|
+
<link rel="chapter" href="cairo-fonts.html" title="Fonts">
|
15
|
+
<link rel="chapter" href="cairo-surfaces.html" title="Surfaces">
|
16
|
+
<link rel="chapter" href="cairo-support.html" title="Utilities">
|
17
|
+
<link rel="index" href="index-all.html" title="Index">
|
18
18
|
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
19
|
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
20
|
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
-
<link rel="
|
21
|
+
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
22
|
+
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
23
|
</head>
|
23
24
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
25
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
25
26
|
<tr valign="middle">
|
26
|
-
<td><a accesskey="p" href="cairo-
|
27
|
-
<td><a accesskey="u" href="
|
27
|
+
<td><a accesskey="p" href="cairo-pattern.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="u" href="cairo-drawing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
28
29
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
29
30
|
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
30
|
-
<td><a accesskey="n" href="cairo-
|
31
|
+
<td><a accesskey="n" href="cairo-text.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
31
32
|
</tr>
|
32
|
-
<tr><td colspan="5" class="shortcuts"><nobr><a href="#
|
33
|
-
|
34
|
-
<a href="#
|
33
|
+
<tr><td colspan="5" class="shortcuts"><nobr><a href="#cairo-transformations.synopsis" class="shortcut">Top</a>
|
34
|
+
|
|
35
|
+
<a href="#cairo-transformations.description" class="shortcut">Description</a></nobr></td></tr>
|
35
36
|
</table>
|
36
37
|
<div class="refentry" lang="en">
|
37
|
-
<a name="cairo-
|
38
|
+
<a name="cairo-transformations"></a><div class="titlepage"></div>
|
38
39
|
<div class="refnamediv"><table width="100%"><tr>
|
39
40
|
<td valign="top">
|
40
|
-
<h2>
|
41
|
-
<
|
42
|
-
</h2>
|
43
|
-
<p>Transformations — Manipulating the current transformation matrix</p>
|
41
|
+
<h2><span class="refentrytitle"><a name="cairo-transformations.top_of_page"></a>Transformations</span></h2>
|
42
|
+
<p>Transformations — Manipulating the current transformation matrix</p>
|
44
43
|
</td>
|
45
44
|
<td valign="top" align="right"></td>
|
46
45
|
</tr></table></div>
|
47
46
|
<div class="refsynopsisdiv">
|
48
|
-
<h2>Synopsis</h2>
|
47
|
+
<a name="cairo-transformations.synopsis"></a><h2>Synopsis</h2>
|
49
48
|
<pre class="synopsis">
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
void <a class="link" href="cairo-Transformations.html#cairo-translate">cairo_translate</a> (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
49
|
+
void <a class="link" href="cairo-transformations.html#cairo-translate" title="cairo_translate ()">cairo_translate</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
54
50
|
double tx,
|
55
51
|
double ty);
|
56
|
-
void <a class="link" href="cairo-
|
52
|
+
void <a class="link" href="cairo-transformations.html#cairo-scale" title="cairo_scale ()">cairo_scale</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
57
53
|
double sx,
|
58
54
|
double sy);
|
59
|
-
void <a class="link" href="cairo-
|
55
|
+
void <a class="link" href="cairo-transformations.html#cairo-rotate" title="cairo_rotate ()">cairo_rotate</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
60
56
|
double angle);
|
61
|
-
void <a class="link" href="cairo-
|
62
|
-
const <a class="link" href="cairo-
|
63
|
-
void <a class="link" href="cairo-
|
64
|
-
const <a class="link" href="cairo-
|
65
|
-
void <a class="link" href="cairo-
|
66
|
-
<a class="link" href="cairo-
|
67
|
-
void <a class="link" href="cairo-
|
68
|
-
void <a class="link" href="cairo-
|
57
|
+
void <a class="link" href="cairo-transformations.html#cairo-transform" title="cairo_transform ()">cairo_transform</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
58
|
+
const <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);
|
59
|
+
void <a class="link" href="cairo-transformations.html#cairo-set-matrix" title="cairo_set_matrix ()">cairo_set_matrix</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
60
|
+
const <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);
|
61
|
+
void <a class="link" href="cairo-transformations.html#cairo-get-matrix" title="cairo_get_matrix ()">cairo_get_matrix</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
62
|
+
<a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);
|
63
|
+
void <a class="link" href="cairo-transformations.html#cairo-identity-matrix" title="cairo_identity_matrix ()">cairo_identity_matrix</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr);
|
64
|
+
void <a class="link" href="cairo-transformations.html#cairo-user-to-device" title="cairo_user_to_device ()">cairo_user_to_device</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
69
65
|
double *x,
|
70
66
|
double *y);
|
71
|
-
void <a class="link" href="cairo-
|
67
|
+
void <a class="link" href="cairo-transformations.html#cairo-user-to-device-distance" title="cairo_user_to_device_distance ()">cairo_user_to_device_distance</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
72
68
|
double *dx,
|
73
69
|
double *dy);
|
74
|
-
void <a class="link" href="cairo-
|
70
|
+
void <a class="link" href="cairo-transformations.html#cairo-device-to-user" title="cairo_device_to_user ()">cairo_device_to_user</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
75
71
|
double *x,
|
76
72
|
double *y);
|
77
|
-
void <a class="link" href="cairo-
|
73
|
+
void <a class="link" href="cairo-transformations.html#cairo-device-to-user-distance" title="cairo_device_to_user_distance ()">cairo_device_to_user_distance</a> (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
78
74
|
double *dx,
|
79
75
|
double *dy);
|
80
76
|
</pre>
|
81
77
|
</div>
|
82
78
|
<div class="refsect1" lang="en">
|
83
|
-
<a name="
|
79
|
+
<a name="cairo-transformations.description"></a><h2>Description</h2>
|
84
80
|
<p>
|
85
81
|
The current transformation matrix, <em class="firstterm">ctm</em>, is a
|
86
82
|
two-dimensional affine transformation that maps all coordinates and other
|
@@ -90,18 +86,17 @@ space</em>.
|
|
90
86
|
</p>
|
91
87
|
</div>
|
92
88
|
<div class="refsect1" lang="en">
|
93
|
-
<a name="
|
89
|
+
<a name="cairo-transformations.details"></a><h2>Details</h2>
|
94
90
|
<div class="refsect2" lang="en">
|
95
|
-
<a name="
|
96
|
-
<a
|
97
|
-
<a class="indexterm" name="id2588685"></a><pre class="programlisting">void cairo_translate (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
91
|
+
<a name="cairo-translate"></a><h3>cairo_translate ()</h3>
|
92
|
+
<pre class="programlisting">void cairo_translate (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
98
93
|
double tx,
|
99
94
|
double ty);</pre>
|
100
95
|
<p>
|
101
96
|
Modifies the current transformation matrix (CTM) by translating the
|
102
97
|
user-space origin by (<em class="parameter"><code>tx</code></em>, <em class="parameter"><code>ty</code></em>). This offset is interpreted as a
|
103
98
|
user-space coordinate according to the CTM in place before the new
|
104
|
-
call to <a class="link" href="cairo-
|
99
|
+
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
|
105
100
|
user-space origin takes place after any existing transformation.</p>
|
106
101
|
<p>
|
107
102
|
|
@@ -110,17 +105,17 @@ user-space origin takes place after any existing transformation.</p>
|
|
110
105
|
<col align="left" valign="top">
|
111
106
|
<tbody>
|
112
107
|
<tr>
|
113
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
108
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
114
109
|
<td> a cairo context
|
115
110
|
</td>
|
116
111
|
</tr>
|
117
112
|
<tr>
|
118
|
-
<td><p><span class="term"><em class="parameter"><code>tx</code></em
|
113
|
+
<td><p><span class="term"><em class="parameter"><code>tx</code></em> :</span></p></td>
|
119
114
|
<td> amount to translate in the X direction
|
120
115
|
</td>
|
121
116
|
</tr>
|
122
117
|
<tr>
|
123
|
-
<td><p><span class="term"><em class="parameter"><code>ty</code></em
|
118
|
+
<td><p><span class="term"><em class="parameter"><code>ty</code></em> :</span></p></td>
|
124
119
|
<td> amount to translate in the Y direction
|
125
120
|
</td>
|
126
121
|
</tr>
|
@@ -129,9 +124,8 @@ user-space origin takes place after any existing transformation.</p>
|
|
129
124
|
</div>
|
130
125
|
<hr>
|
131
126
|
<div class="refsect2" lang="en">
|
132
|
-
<a name="
|
133
|
-
<a
|
134
|
-
<a class="indexterm" name="id2588815"></a><pre class="programlisting">void cairo_scale (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
127
|
+
<a name="cairo-scale"></a><h3>cairo_scale ()</h3>
|
128
|
+
<pre class="programlisting">void cairo_scale (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
135
129
|
double sx,
|
136
130
|
double sy);</pre>
|
137
131
|
<p>
|
@@ -146,17 +140,17 @@ space.</p>
|
|
146
140
|
<col align="left" valign="top">
|
147
141
|
<tbody>
|
148
142
|
<tr>
|
149
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
143
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
150
144
|
<td> a cairo context
|
151
145
|
</td>
|
152
146
|
</tr>
|
153
147
|
<tr>
|
154
|
-
<td><p><span class="term"><em class="parameter"><code>sx</code></em
|
148
|
+
<td><p><span class="term"><em class="parameter"><code>sx</code></em> :</span></p></td>
|
155
149
|
<td> scale factor for the X dimension
|
156
150
|
</td>
|
157
151
|
</tr>
|
158
152
|
<tr>
|
159
|
-
<td><p><span class="term"><em class="parameter"><code>sy</code></em
|
153
|
+
<td><p><span class="term"><em class="parameter"><code>sy</code></em> :</span></p></td>
|
160
154
|
<td> scale factor for the Y dimension
|
161
155
|
</td>
|
162
156
|
</tr>
|
@@ -165,9 +159,8 @@ space.</p>
|
|
165
159
|
</div>
|
166
160
|
<hr>
|
167
161
|
<div class="refsect2" lang="en">
|
168
|
-
<a name="
|
169
|
-
<a
|
170
|
-
<a class="indexterm" name="id2582004"></a><pre class="programlisting">void cairo_rotate (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
162
|
+
<a name="cairo-rotate"></a><h3>cairo_rotate ()</h3>
|
163
|
+
<pre class="programlisting">void cairo_rotate (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
171
164
|
double angle);</pre>
|
172
165
|
<p>
|
173
166
|
Modifies the current transformation matrix (CTM) by rotating the
|
@@ -182,12 +175,12 @@ toward the positive Y axis.</p>
|
|
182
175
|
<col align="left" valign="top">
|
183
176
|
<tbody>
|
184
177
|
<tr>
|
185
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
178
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
186
179
|
<td> a cairo context
|
187
180
|
</td>
|
188
181
|
</tr>
|
189
182
|
<tr>
|
190
|
-
<td><p><span class="term"><em class="parameter"><code>angle</code></em
|
183
|
+
<td><p><span class="term"><em class="parameter"><code>angle</code></em> :</span></p></td>
|
191
184
|
<td> angle (in radians) by which the user-space axes will be
|
192
185
|
rotated
|
193
186
|
</td>
|
@@ -197,10 +190,9 @@ rotated
|
|
197
190
|
</div>
|
198
191
|
<hr>
|
199
192
|
<div class="refsect2" lang="en">
|
200
|
-
<a name="
|
201
|
-
<a
|
202
|
-
|
203
|
-
const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix);</pre>
|
193
|
+
<a name="cairo-transform"></a><h3>cairo_transform ()</h3>
|
194
|
+
<pre class="programlisting">void cairo_transform (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
195
|
+
const <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);</pre>
|
204
196
|
<p>
|
205
197
|
Modifies the current transformation matrix (CTM) by applying
|
206
198
|
<em class="parameter"><code>matrix</code></em> as an additional transformation. The new transformation of
|
@@ -212,12 +204,12 @@ user space takes place after any existing transformation.</p>
|
|
212
204
|
<col align="left" valign="top">
|
213
205
|
<tbody>
|
214
206
|
<tr>
|
215
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
207
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
216
208
|
<td> a cairo context
|
217
209
|
</td>
|
218
210
|
</tr>
|
219
211
|
<tr>
|
220
|
-
<td><p><span class="term"><em class="parameter"><code>matrix</code></em
|
212
|
+
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
221
213
|
<td> a transformation to be applied to the user-space axes
|
222
214
|
</td>
|
223
215
|
</tr>
|
@@ -226,10 +218,9 @@ user space takes place after any existing transformation.</p>
|
|
226
218
|
</div>
|
227
219
|
<hr>
|
228
220
|
<div class="refsect2" lang="en">
|
229
|
-
<a name="
|
230
|
-
<a
|
231
|
-
|
232
|
-
const <a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix);</pre>
|
221
|
+
<a name="cairo-set-matrix"></a><h3>cairo_set_matrix ()</h3>
|
222
|
+
<pre class="programlisting">void cairo_set_matrix (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
223
|
+
const <a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);</pre>
|
233
224
|
<p>
|
234
225
|
Modifies the current transformation matrix (CTM) by setting it
|
235
226
|
equal to <em class="parameter"><code>matrix</code></em>.</p>
|
@@ -240,12 +231,12 @@ equal to <em class="parameter"><code>matrix</code></em>.</p>
|
|
240
231
|
<col align="left" valign="top">
|
241
232
|
<tbody>
|
242
233
|
<tr>
|
243
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
234
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
244
235
|
<td> a cairo context
|
245
236
|
</td>
|
246
237
|
</tr>
|
247
238
|
<tr>
|
248
|
-
<td><p><span class="term"><em class="parameter"><code>matrix</code></em
|
239
|
+
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
249
240
|
<td> a transformation matrix from user space to device space
|
250
241
|
</td>
|
251
242
|
</tr>
|
@@ -254,10 +245,9 @@ equal to <em class="parameter"><code>matrix</code></em>.</p>
|
|
254
245
|
</div>
|
255
246
|
<hr>
|
256
247
|
<div class="refsect2" lang="en">
|
257
|
-
<a name="
|
258
|
-
<a
|
259
|
-
<a class="
|
260
|
-
<a class="link" href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix);</pre>
|
248
|
+
<a name="cairo-get-matrix"></a><h3>cairo_get_matrix ()</h3>
|
249
|
+
<pre class="programlisting">void cairo_get_matrix (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
250
|
+
<a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t">cairo_matrix_t</a> *matrix);</pre>
|
261
251
|
<p>
|
262
252
|
Stores the current transformation matrix (CTM) into <em class="parameter"><code>matrix</code></em>.</p>
|
263
253
|
<p>
|
@@ -267,12 +257,12 @@ Stores the current transformation matrix (CTM) into <em class="parameter"><code>
|
|
267
257
|
<col align="left" valign="top">
|
268
258
|
<tbody>
|
269
259
|
<tr>
|
270
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
260
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
271
261
|
<td> a cairo context
|
272
262
|
</td>
|
273
263
|
</tr>
|
274
264
|
<tr>
|
275
|
-
<td><p><span class="term"><em class="parameter"><code>matrix</code></em
|
265
|
+
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
276
266
|
<td> return value for the matrix
|
277
267
|
</td>
|
278
268
|
</tr>
|
@@ -281,9 +271,8 @@ Stores the current transformation matrix (CTM) into <em class="parameter"><code>
|
|
281
271
|
</div>
|
282
272
|
<hr>
|
283
273
|
<div class="refsect2" lang="en">
|
284
|
-
<a name="
|
285
|
-
<a
|
286
|
-
<a class="indexterm" name="id2577317"></a><pre class="programlisting">void cairo_identity_matrix (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr);</pre>
|
274
|
+
<a name="cairo-identity-matrix"></a><h3>cairo_identity_matrix ()</h3>
|
275
|
+
<pre class="programlisting">void cairo_identity_matrix (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr);</pre>
|
287
276
|
<p>
|
288
277
|
Resets the current transformation matrix (CTM) by setting it equal
|
289
278
|
to the identity matrix. That is, the user-space and device-space
|
@@ -295,7 +284,7 @@ device-space unit.</p>
|
|
295
284
|
<div class="variablelist"><table border="0">
|
296
285
|
<col align="left" valign="top">
|
297
286
|
<tbody><tr>
|
298
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
299
288
|
<td> a cairo context
|
300
289
|
</td>
|
301
290
|
</tr></tbody>
|
@@ -303,9 +292,8 @@ device-space unit.</p>
|
|
303
292
|
</div>
|
304
293
|
<hr>
|
305
294
|
<div class="refsect2" lang="en">
|
306
|
-
<a name="
|
307
|
-
<a
|
308
|
-
<a class="indexterm" name="id2577382"></a><pre class="programlisting">void cairo_user_to_device (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
295
|
+
<a name="cairo-user-to-device"></a><h3>cairo_user_to_device ()</h3>
|
296
|
+
<pre class="programlisting">void cairo_user_to_device (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
309
297
|
double *x,
|
310
298
|
double *y);</pre>
|
311
299
|
<p>
|
@@ -319,17 +307,17 @@ multiplying the given point by the current transformation matrix
|
|
319
307
|
<col align="left" valign="top">
|
320
308
|
<tbody>
|
321
309
|
<tr>
|
322
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
310
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
323
311
|
<td> a cairo context
|
324
312
|
</td>
|
325
313
|
</tr>
|
326
314
|
<tr>
|
327
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em
|
315
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
328
316
|
<td> X value of coordinate (in/out parameter)
|
329
317
|
</td>
|
330
318
|
</tr>
|
331
319
|
<tr>
|
332
|
-
<td><p><span class="term"><em class="parameter"><code>y</code></em
|
320
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
333
321
|
<td> Y value of coordinate (in/out parameter)
|
334
322
|
</td>
|
335
323
|
</tr>
|
@@ -338,14 +326,13 @@ multiplying the given point by the current transformation matrix
|
|
338
326
|
</div>
|
339
327
|
<hr>
|
340
328
|
<div class="refsect2" lang="en">
|
341
|
-
<a name="
|
342
|
-
<a
|
343
|
-
<a class="indexterm" name="id2588252"></a><pre class="programlisting">void cairo_user_to_device_distance (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
329
|
+
<a name="cairo-user-to-device-distance"></a><h3>cairo_user_to_device_distance ()</h3>
|
330
|
+
<pre class="programlisting">void cairo_user_to_device_distance (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
344
331
|
double *dx,
|
345
332
|
double *dy);</pre>
|
346
333
|
<p>
|
347
334
|
Transform a distance vector from user space to device space. This
|
348
|
-
function is similar to <a class="link" href="cairo-
|
335
|
+
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
|
349
336
|
translation components of the CTM will be ignored when transforming
|
350
337
|
(<em class="parameter"><code>dx</code></em>,<em class="parameter"><code>dy</code></em>).</p>
|
351
338
|
<p>
|
@@ -355,17 +342,17 @@ translation components of the CTM will be ignored when transforming
|
|
355
342
|
<col align="left" valign="top">
|
356
343
|
<tbody>
|
357
344
|
<tr>
|
358
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
345
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
359
346
|
<td> a cairo context
|
360
347
|
</td>
|
361
348
|
</tr>
|
362
349
|
<tr>
|
363
|
-
<td><p><span class="term"><em class="parameter"><code>dx</code></em
|
350
|
+
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
364
351
|
<td> X component of a distance vector (in/out parameter)
|
365
352
|
</td>
|
366
353
|
</tr>
|
367
354
|
<tr>
|
368
|
-
<td><p><span class="term"><em class="parameter"><code>dy</code></em
|
355
|
+
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
369
356
|
<td> Y component of a distance vector (in/out parameter)
|
370
357
|
</td>
|
371
358
|
</tr>
|
@@ -374,9 +361,8 @@ translation components of the CTM will be ignored when transforming
|
|
374
361
|
</div>
|
375
362
|
<hr>
|
376
363
|
<div class="refsect2" lang="en">
|
377
|
-
<a name="
|
378
|
-
<a
|
379
|
-
<a class="indexterm" name="id2588380"></a><pre class="programlisting">void cairo_device_to_user (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
364
|
+
<a name="cairo-device-to-user"></a><h3>cairo_device_to_user ()</h3>
|
365
|
+
<pre class="programlisting">void cairo_device_to_user (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
380
366
|
double *x,
|
381
367
|
double *y);</pre>
|
382
368
|
<p>
|
@@ -390,17 +376,17 @@ transformation matrix (CTM).</p>
|
|
390
376
|
<col align="left" valign="top">
|
391
377
|
<tbody>
|
392
378
|
<tr>
|
393
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
379
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
394
380
|
<td> a cairo
|
395
381
|
</td>
|
396
382
|
</tr>
|
397
383
|
<tr>
|
398
|
-
<td><p><span class="term"><em class="parameter"><code>x</code></em
|
384
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
399
385
|
<td> X value of coordinate (in/out parameter)
|
400
386
|
</td>
|
401
387
|
</tr>
|
402
388
|
<tr>
|
403
|
-
<td><p><span class="term"><em class="parameter"><code>y</code></em
|
389
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
404
390
|
<td> Y value of coordinate (in/out parameter)
|
405
391
|
</td>
|
406
392
|
</tr>
|
@@ -409,14 +395,13 @@ transformation matrix (CTM).</p>
|
|
409
395
|
</div>
|
410
396
|
<hr>
|
411
397
|
<div class="refsect2" lang="en">
|
412
|
-
<a name="
|
413
|
-
<a
|
414
|
-
<a class="indexterm" name="id2594767"></a><pre class="programlisting">void cairo_device_to_user_distance (<a class="link" href="cairo-cairo-t.html#cairo-t">cairo_t</a> *cr,
|
398
|
+
<a name="cairo-device-to-user-distance"></a><h3>cairo_device_to_user_distance ()</h3>
|
399
|
+
<pre class="programlisting">void cairo_device_to_user_distance (<a class="link" href="cairo-context.html#cairo-t" title="cairo_t">cairo_t</a> *cr,
|
415
400
|
double *dx,
|
416
401
|
double *dy);</pre>
|
417
402
|
<p>
|
418
403
|
Transform a distance vector from device space to user space. This
|
419
|
-
function is similar to <a class="link" href="cairo-
|
404
|
+
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
|
420
405
|
translation components of the inverse CTM will be ignored when
|
421
406
|
transforming (<em class="parameter"><code>dx</code></em>,<em class="parameter"><code>dy</code></em>).</p>
|
422
407
|
<p>
|
@@ -426,17 +411,17 @@ transforming (<em class="parameter"><code>dx</code></em>,<em class="parameter"><
|
|
426
411
|
<col align="left" valign="top">
|
427
412
|
<tbody>
|
428
413
|
<tr>
|
429
|
-
<td><p><span class="term"><em class="parameter"><code>cr</code></em
|
414
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
430
415
|
<td> a cairo context
|
431
416
|
</td>
|
432
417
|
</tr>
|
433
418
|
<tr>
|
434
|
-
<td><p><span class="term"><em class="parameter"><code>dx</code></em
|
419
|
+
<td><p><span class="term"><em class="parameter"><code>dx</code></em> :</span></p></td>
|
435
420
|
<td> X component of a distance vector (in/out parameter)
|
436
421
|
</td>
|
437
422
|
</tr>
|
438
423
|
<tr>
|
439
|
-
<td><p><span class="term"><em class="parameter"><code>dy</code></em
|
424
|
+
<td><p><span class="term"><em class="parameter"><code>dy</code></em> :</span></p></td>
|
440
425
|
<td> Y component of a distance vector (in/out parameter)
|
441
426
|
</td>
|
442
427
|
</tr>
|
@@ -445,18 +430,16 @@ transforming (<em class="parameter"><code>dx</code></em>,<em class="parameter"><
|
|
445
430
|
</div>
|
446
431
|
</div>
|
447
432
|
<div class="refsect1" lang="en">
|
448
|
-
<a name="
|
433
|
+
<a name="cairo-transformations.see-also"></a><h2>See Also</h2>
|
449
434
|
<p>
|
450
435
|
</p>
|
451
|
-
<div class="itemizedlist"><ul type="disc"><li><a class="link" href="cairo-
|
436
|
+
<div class="itemizedlist"><ul type="disc"><li><a class="link" href="cairo-matrix.html#cairo-matrix-t" title="cairo_matrix_t"><span class="type">cairo_matrix_t</span></a></li></ul></div>
|
452
437
|
<p>
|
453
438
|
</p>
|
454
439
|
</div>
|
455
|
-
<div class="refsect1" lang="en">
|
456
|
-
<a name="id2594909"></a><div class="refsect2" lang="en"><a name="id2594910"></a></div>
|
457
|
-
<hr>
|
458
|
-
<div class="refsect2" lang="en"><a name="id2594911"></a></div>
|
459
|
-
</div>
|
460
440
|
</div>
|
441
|
+
<div class="footer">
|
442
|
+
<hr>
|
443
|
+
Generated by GTK-Doc V1.10</div>
|
461
444
|
</body>
|
462
445
|
</html>
|