cairo 1.8.0-x86-mswin32 → 1.8.1-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 +25 -0
- data/NEWS +8 -0
- data/Rakefile +5 -32
- data/cairo/bin/libcairo-2.dll +0 -0
- data/cairo/bin/libpng12-0.dll +0 -0
- data/cairo/include/cairo/cairo-features.h +1 -1
- data/cairo/include/cairo/cairo-ft.h +75 -0
- data/cairo/include/cairo/cairo-version.h +1 -1
- data/cairo/include/cairo/cairo.h +16 -21
- data/cairo/include/libpng12/png.h +251 -121
- data/cairo/include/libpng12/pngconf.h +83 -56
- data/cairo/include/png.h +251 -121
- data/cairo/include/pngconf.h +83 -56
- data/cairo/lib/cairo.def +5 -0
- data/cairo/lib/cairo.lib +0 -0
- data/cairo/lib/libcairo.dll.a +0 -0
- data/cairo/lib/libpng.def +3 -0
- data/cairo/lib/libpng.lib +0 -0
- data/cairo/lib/libpng12.dll.a +0 -0
- data/cairo/lib/pkgconfig/cairo-ft.pc +12 -0
- data/cairo/lib/pkgconfig/cairo-pdf.pc +2 -2
- data/cairo/lib/pkgconfig/cairo-png.pc +2 -2
- data/cairo/lib/pkgconfig/cairo-ps.pc +2 -2
- data/cairo/lib/pkgconfig/cairo-svg.pc +2 -2
- data/cairo/lib/pkgconfig/cairo-win32-font.pc +2 -2
- data/cairo/lib/pkgconfig/cairo-win32.pc +2 -2
- data/cairo/lib/pkgconfig/cairo.pc +4 -4
- data/cairo/lib/pkgconfig/libpng.pc +2 -2
- data/cairo/lib/pkgconfig/libpng12.pc +2 -2
- data/cairo/manifest/{cairo-dev_1.8.0-1_win32.mft → cairo-dev_1.8.8-2_win32.mft} +5 -3
- data/cairo/manifest/cairo_1.8.8-2_win32.mft +5 -0
- data/cairo/manifest/{libpng-dev_1.2.32-1_win32.mft → libpng-dev_1.2.39-1_win32.mft} +3 -3
- data/cairo/manifest/libpng_1.2.39-1_win32.mft +2 -0
- data/cairo/share/doc/{cairo_1.8.0-1_win32 → cairo_1.8.8-2_win32}/COPYING +0 -0
- data/cairo/share/doc/{cairo_1.8.0-1_win32 → cairo_1.8.8-2_win32}/COPYING-LGPL-2.1 +0 -0
- data/cairo/share/doc/{cairo_1.8.0-1_win32 → cairo_1.8.8-2_win32}/COPYING-MPL-1.1 +0 -0
- data/cairo/share/gtk-doc/html/cairo/bindings-errors.html +9 -9
- data/cairo/share/gtk-doc/html/cairo/bindings-fonts.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/bindings-memory.html +8 -8
- data/cairo/share/gtk-doc/html/cairo/bindings-overloading.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/bindings-path.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/bindings-patterns.html +6 -6
- data/cairo/share/gtk-doc/html/cairo/bindings-return-values.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/bindings-streams.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/bindings-surfaces.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/cairo-context.html +200 -262
- data/cairo/share/gtk-doc/html/cairo/cairo-drawing.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/cairo-error-status.html +61 -60
- data/cairo/share/gtk-doc/html/cairo/cairo-font-face.html +51 -53
- data/cairo/share/gtk-doc/html/cairo/cairo-font-options.html +65 -78
- data/cairo/share/gtk-doc/html/cairo/cairo-fonts.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/cairo-ft-font.html +37 -34
- data/cairo/share/gtk-doc/html/cairo/cairo-image-surface.html +49 -60
- data/cairo/share/gtk-doc/html/cairo/cairo-matrix.html +30 -41
- data/cairo/share/gtk-doc/html/cairo/cairo-paths.html +72 -97
- data/cairo/share/gtk-doc/html/cairo/cairo-pattern.html +184 -175
- data/cairo/share/gtk-doc/html/cairo/cairo-pdf-surface.html +40 -34
- data/cairo/share/gtk-doc/html/cairo/cairo-png-functions.html +57 -48
- data/cairo/share/gtk-doc/html/cairo/cairo-ps-surface.html +73 -76
- data/cairo/share/gtk-doc/html/cairo/cairo-quartz-font.html +27 -30
- data/cairo/share/gtk-doc/html/cairo/cairo-quartz-surface.html +29 -34
- data/cairo/share/gtk-doc/html/cairo/cairo-scaled-font.html +102 -106
- data/cairo/share/gtk-doc/html/cairo/cairo-support.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/cairo-surface.html +101 -127
- data/cairo/share/gtk-doc/html/cairo/cairo-surfaces.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/cairo-svg-surface.html +52 -49
- data/cairo/share/gtk-doc/html/cairo/cairo-text.html +126 -146
- data/cairo/share/gtk-doc/html/cairo/cairo-transformations.html +26 -35
- data/cairo/share/gtk-doc/html/cairo/cairo-types.html +16 -17
- data/cairo/share/gtk-doc/html/cairo/cairo-user-font.html +121 -127
- data/cairo/share/gtk-doc/html/cairo/cairo-version-info.html +50 -60
- data/cairo/share/gtk-doc/html/cairo/cairo-win32-font.html +37 -46
- data/cairo/share/gtk-doc/html/cairo/cairo-win32-surface.html +58 -58
- data/cairo/share/gtk-doc/html/cairo/cairo-xlib-surface.html +47 -63
- data/cairo/share/gtk-doc/html/cairo/cairo.devhelp +21 -21
- data/cairo/share/gtk-doc/html/cairo/cairo.devhelp2 +21 -21
- data/cairo/share/gtk-doc/html/cairo/index-1.2.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/index-1.4.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/index-1.6.html +5 -5
- data/cairo/share/gtk-doc/html/cairo/index-1.8.html +8 -8
- data/cairo/share/gtk-doc/html/cairo/index-all.html +24 -24
- data/cairo/share/gtk-doc/html/cairo/index.html +6 -6
- data/cairo/share/gtk-doc/html/cairo/index.sgml +19 -19
- data/cairo/share/gtk-doc/html/cairo/language-bindings.html +6 -6
- data/cairo/share/gtk-doc/html/cairo/style.css +8 -1
- data/cairo/share/man/man3/libpng.3 +299 -59
- data/cairo/share/man/man3/libpngpf.3 +2 -2
- data/cairo/share/man/man5/png.5 +1 -1
- data/cairo/src/tml/packaging/cairo_1.8.8-2_win32.log +949 -0
- data/cairo/src/tml/{make/cairo_1.8.0-1_win32.sh → packaging/cairo_1.8.8-2_win32.sh} +6 -6
- data/cairo/src/tml/{make/libpng_1.2.32-1_win32.log → packaging/libpng_1.2.39-1_win32.log} +74 -73
- data/cairo/src/tml/{make/libpng_1.2.32-1_win32.sh → packaging/libpng_1.2.39-1_win32.sh} +4 -4
- data/doc/ja/cairo-context.html +1 -1
- data/doc/ja/index.html +0 -3
- data/extconf.rb +1 -0
- data/pkg-config.rb +4 -0
- data/src/cairo.so +0 -0
- data/src/libruby-cairo.a +0 -0
- data/src/rb_cairo.c +2 -2
- data/src/rb_cairo_surface.c +6 -2
- metadata +20 -50
- data/cairo/DLL_FAQ.txt +0 -397
- data/cairo/README.txt +0 -53
- data/cairo/USAGE.txt +0 -94
- data/cairo/bin/zlib1.dll +0 -0
- data/cairo/include/zconf.h +0 -332
- data/cairo/include/zlib.h +0 -1357
- data/cairo/lib/zdll.exp +0 -0
- data/cairo/lib/zdll.lib +0 -0
- data/cairo/lib/zlib.def +0 -60
- data/cairo/manifest/cairo_1.8.0-1_win32.mft +0 -5
- data/cairo/manifest/libpng_1.2.32-1_win32.mft +0 -2
- data/cairo/src/tml/make/cairo_1.8.0-1_win32.log +0 -1021
- 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
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Fonts</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
7
|
-
<link rel="
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
9
|
<link rel="prev" href="cairo-text.html" title="Text">
|
10
10
|
<link rel="next" href="cairo-font-face.html" title="cairo_font_face_t">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
<link rel="chapter" href="cairo-drawing.html" title="Drawing">
|
14
14
|
<link rel="chapter" href="cairo-fonts.html" title="Fonts">
|
@@ -29,7 +29,7 @@
|
|
29
29
|
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
30
30
|
<td><a accesskey="n" href="cairo-font-face.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
31
31
|
</tr></table>
|
32
|
-
<div class="chapter"
|
32
|
+
<div class="chapter" title="Fonts">
|
33
33
|
<div class="titlepage"><div><div><h2 class="title">
|
34
34
|
<a name="cairo-fonts"></a>Fonts</h2></div></div></div>
|
35
35
|
<div class="toc"><dl>
|
@@ -58,6 +58,6 @@
|
|
58
58
|
</div>
|
59
59
|
<div class="footer">
|
60
60
|
<hr>
|
61
|
-
Generated by GTK-Doc V1.
|
61
|
+
Generated by GTK-Doc V1.11</div>
|
62
62
|
</body>
|
63
63
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>FreeType Fonts</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
7
|
-
<link rel="
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-fonts.html" title="Fonts">
|
9
9
|
<link rel="prev" href="cairo-font-options.html" title="cairo_font_options_t">
|
10
10
|
<link rel="next" href="cairo-win32-font.html" title="Win32 Fonts">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
<link rel="chapter" href="cairo-drawing.html" title="Drawing">
|
14
14
|
<link rel="chapter" href="cairo-fonts.html" title="Fonts">
|
@@ -30,11 +30,13 @@
|
|
30
30
|
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
31
31
|
<td><a accesskey="n" href="cairo-win32-font.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
32
32
|
</tr>
|
33
|
-
<tr><td colspan="5" class="shortcuts"
|
34
|
-
|
35
|
-
|
33
|
+
<tr><td colspan="5" class="shortcuts">
|
34
|
+
<a href="#cairo-ft-font.synopsis" class="shortcut">Top</a>
|
35
|
+
|
|
36
|
+
<a href="#cairo-ft-font.description" class="shortcut">Description</a>
|
37
|
+
</td></tr>
|
36
38
|
</table>
|
37
|
-
<div class="refentry"
|
39
|
+
<div class="refentry" title="FreeType Fonts">
|
38
40
|
<a name="cairo-ft-font"></a><div class="titlepage"></div>
|
39
41
|
<div class="refnamediv"><table width="100%"><tr>
|
40
42
|
<td valign="top">
|
@@ -43,14 +45,14 @@
|
|
43
45
|
</td>
|
44
46
|
<td valign="top" align="right"></td>
|
45
47
|
</tr></table></div>
|
46
|
-
<div class="refsynopsisdiv">
|
48
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
47
49
|
<a name="cairo-ft-font.synopsis"></a><h2>Synopsis</h2>
|
48
50
|
<pre class="synopsis">
|
49
|
-
#define <a class="link" href="cairo-ft-font.html#CAIRO-HAS-FT-FONT
|
50
|
-
<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a
|
51
|
+
#define <a class="link" href="cairo-ft-font.html#CAIRO-HAS-FT-FONT--CAPS" title="CAIRO_HAS_FT_FONT">CAIRO_HAS_FT_FONT</a>
|
52
|
+
<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * <a class="link" href="cairo-ft-font.html#cairo-ft-font-face-create-for-ft-face" title="cairo_ft_font_face_create_for_ft_face ()">cairo_ft_font_face_create_for_ft_face</a>
|
51
53
|
(FT_Face face,
|
52
54
|
int load_flags);
|
53
|
-
<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a
|
55
|
+
<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * <a class="link" href="cairo-ft-font.html#cairo-ft-font-face-create-for-pattern" title="cairo_ft_font_face_create_for_pattern ()">cairo_ft_font_face_create_for_pattern</a>
|
54
56
|
(FcPattern *pattern);
|
55
57
|
void <a class="link" href="cairo-ft-font.html#cairo-ft-font-options-substitute" title="cairo_ft_font_options_substitute ()">cairo_ft_font_options_substitute</a> (const <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options,
|
56
58
|
FcPattern *pattern);
|
@@ -58,17 +60,17 @@ FT_Face <a class="link" href="cairo-ft-font.html#cairo-ft-scaled-fon
|
|
58
60
|
void <a class="link" href="cairo-ft-font.html#cairo-ft-scaled-font-unlock-face" title="cairo_ft_scaled_font_unlock_face ()">cairo_ft_scaled_font_unlock_face</a> (<a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> *scaled_font);
|
59
61
|
</pre>
|
60
62
|
</div>
|
61
|
-
<div class="refsect1"
|
63
|
+
<div class="refsect1" title="Description">
|
62
64
|
<a name="cairo-ft-font.description"></a><h2>Description</h2>
|
63
65
|
<p>
|
64
66
|
The FreeType font backend is primarily used to render text on GNU/Linux
|
65
67
|
systems, but can be used on other platforms too.
|
66
68
|
</p>
|
67
69
|
</div>
|
68
|
-
<div class="refsect1"
|
70
|
+
<div class="refsect1" title="Details">
|
69
71
|
<a name="cairo-ft-font.details"></a><h2>Details</h2>
|
70
|
-
<div class="refsect2"
|
71
|
-
<a name="CAIRO-HAS-FT-FONT
|
72
|
+
<div class="refsect2" title="CAIRO_HAS_FT_FONT">
|
73
|
+
<a name="CAIRO-HAS-FT-FONT--CAPS"></a><h3>CAIRO_HAS_FT_FONT</h3>
|
72
74
|
<pre class="programlisting">#define CAIRO_HAS_FT_FONT 1
|
73
75
|
</pre>
|
74
76
|
<p>
|
@@ -77,9 +79,9 @@ This macro can be used to conditionally compile backend-specific code.
|
|
77
79
|
</p>
|
78
80
|
</div>
|
79
81
|
<hr>
|
80
|
-
<div class="refsect2"
|
82
|
+
<div class="refsect2" title="cairo_ft_font_face_create_for_ft_face ()">
|
81
83
|
<a name="cairo-ft-font-face-create-for-ft-face"></a><h3>cairo_ft_font_face_create_for_ft_face ()</h3>
|
82
|
-
<pre class="programlisting"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a
|
84
|
+
<pre class="programlisting"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * cairo_ft_font_face_create_for_ft_face
|
83
85
|
(FT_Face face,
|
84
86
|
int load_flags);</pre>
|
85
87
|
<p>
|
@@ -88,11 +90,15 @@ pre-opened FreeType face. This font can then be used with
|
|
88
90
|
<a class="link" href="cairo-text.html#cairo-set-font-face" title="cairo_set_font_face ()"><code class="function">cairo_set_font_face()</code></a> or <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a>. The
|
89
91
|
<a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t"><span class="type">cairo_scaled_font_t</span></a> returned from <a class="link" href="cairo-scaled-font.html#cairo-scaled-font-create" title="cairo_scaled_font_create ()"><code class="function">cairo_scaled_font_create()</code></a> is
|
90
92
|
also for the FreeType backend and can be used with functions such
|
91
|
-
as <a class="link" href="cairo-ft-font.html#cairo-ft-scaled-font-lock-face" title="cairo_ft_scaled_font_lock_face ()"><code class="function">cairo_ft_scaled_font_lock_face()</code></a>.
|
93
|
+
as <a class="link" href="cairo-ft-font.html#cairo-ft-scaled-font-lock-face" title="cairo_ft_scaled_font_lock_face ()"><code class="function">cairo_ft_scaled_font_lock_face()</code></a>. Note that Cairo may keep a reference
|
94
|
+
to the FT_Face alive in a font-cache and the exact lifetime of the reference
|
95
|
+
depends highly upon the exact usage pattern and is subject to external
|
96
|
+
factors. You must not call <code class="function">FT_Done_Face()</code> before the last reference to the
|
97
|
+
<a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a> has been dropped.
|
92
98
|
</p>
|
93
99
|
<p>
|
94
|
-
As an example,
|
95
|
-
the FreeType face object to the <span class="type">
|
100
|
+
As an example, below is how one might correctly couple the lifetime of
|
101
|
+
the FreeType face object to the <a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a>.
|
96
102
|
</p>
|
97
103
|
<p>
|
98
104
|
</p>
|
@@ -109,7 +115,6 @@ if (status) {
|
|
109
115
|
}
|
110
116
|
</pre></div>
|
111
117
|
<p>
|
112
|
-
|
113
118
|
</p>
|
114
119
|
<div class="variablelist"><table border="0">
|
115
120
|
<col align="left" valign="top">
|
@@ -145,9 +150,9 @@ if (status) {
|
|
145
150
|
</table></div>
|
146
151
|
</div>
|
147
152
|
<hr>
|
148
|
-
<div class="refsect2"
|
153
|
+
<div class="refsect2" title="cairo_ft_font_face_create_for_pattern ()">
|
149
154
|
<a name="cairo-ft-font-face-create-for-pattern"></a><h3>cairo_ft_font_face_create_for_pattern ()</h3>
|
150
|
-
<pre class="programlisting"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a
|
155
|
+
<pre class="programlisting"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t">cairo_font_face_t</a> * cairo_ft_font_face_create_for_pattern
|
151
156
|
(FcPattern *pattern);</pre>
|
152
157
|
<p>
|
153
158
|
Creates a new font face for the FreeType font backend based on a
|
@@ -177,7 +182,6 @@ time of the returned <a class="link" href="cairo-font-face.html#cairo-font-face-
|
|
177
182
|
<a class="link" href="cairo-ft-font.html#cairo-ft-font-face-create-for-ft-face" title="cairo_ft_font_face_create_for_ft_face ()"><code class="function">cairo_ft_font_face_create_for_ft_face()</code></a> for an exmaple of how to couple
|
178
183
|
the life time of the FT_Face to that of the cairo font-face.</p>
|
179
184
|
<p>
|
180
|
-
|
181
185
|
</p>
|
182
186
|
<div class="variablelist"><table border="0">
|
183
187
|
<col align="left" valign="top">
|
@@ -203,7 +207,7 @@ the life time of the FT_Face to that of the cairo font-face.</p>
|
|
203
207
|
</table></div>
|
204
208
|
</div>
|
205
209
|
<hr>
|
206
|
-
<div class="refsect2"
|
210
|
+
<div class="refsect2" title="cairo_ft_font_options_substitute ()">
|
207
211
|
<a name="cairo-ft-font-options-substitute"></a><h3>cairo_ft_font_options_substitute ()</h3>
|
208
212
|
<pre class="programlisting">void cairo_ft_font_options_substitute (const <a class="link" href="cairo-font-options.html#cairo-font-options-t" title="cairo_font_options_t">cairo_font_options_t</a> *options,
|
209
213
|
FcPattern *pattern);</pre>
|
@@ -214,7 +218,6 @@ so you should call this function after calling <code class="function">FcConfigSu
|
|
214
218
|
user's settings should override options based on the surface type), but
|
215
219
|
before calling <code class="function">FcDefaultSubstitute()</code>.</p>
|
216
220
|
<p>
|
217
|
-
|
218
221
|
</p>
|
219
222
|
<div class="variablelist"><table border="0">
|
220
223
|
<col align="left" valign="top">
|
@@ -233,7 +236,7 @@ before calling <code class="function">FcDefaultSubstitute()</code>.</p>
|
|
233
236
|
</table></div>
|
234
237
|
</div>
|
235
238
|
<hr>
|
236
|
-
<div class="refsect2"
|
239
|
+
<div class="refsect2" title="cairo_ft_scaled_font_lock_face ()">
|
237
240
|
<a name="cairo-ft-scaled-font-lock-face"></a><h3>cairo_ft_scaled_font_lock_face ()</h3>
|
238
241
|
<pre class="programlisting">FT_Face cairo_ft_scaled_font_lock_face (<a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> *scaled_font);</pre>
|
239
242
|
<p>
|
@@ -257,7 +260,6 @@ own locking to protect any use of that object, (and which also must
|
|
257
260
|
protect any other calls into cairo as almost any cairo function
|
258
261
|
might result in a call into the freetype library).</p>
|
259
262
|
<p>
|
260
|
-
|
261
263
|
</p>
|
262
264
|
<div class="variablelist"><table border="0">
|
263
265
|
<col align="left" valign="top">
|
@@ -273,7 +275,9 @@ might result in a call into the freetype library).</p>
|
|
273
275
|
<tr>
|
274
276
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
275
277
|
<td> The <span class="type">FT_Face</span> object for <em class="parameter"><code>font</code></em>, scaled appropriately,
|
276
|
-
or <
|
278
|
+
or <a
|
279
|
+
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
|
280
|
+
><code class="literal">NULL</code></a> if <em class="parameter"><code>scaled_font</code></em> is in an error state (see
|
277
281
|
<a class="link" href="cairo-scaled-font.html#cairo-scaled-font-status" title="cairo_scaled_font_status ()"><code class="function">cairo_scaled_font_status()</code></a>) or there is insufficient memory.
|
278
282
|
</td>
|
279
283
|
</tr>
|
@@ -281,13 +285,12 @@ or <code class="literal">NULL</code> if <em class="parameter"><code>scaled_font<
|
|
281
285
|
</table></div>
|
282
286
|
</div>
|
283
287
|
<hr>
|
284
|
-
<div class="refsect2"
|
288
|
+
<div class="refsect2" title="cairo_ft_scaled_font_unlock_face ()">
|
285
289
|
<a name="cairo-ft-scaled-font-unlock-face"></a><h3>cairo_ft_scaled_font_unlock_face ()</h3>
|
286
290
|
<pre class="programlisting">void cairo_ft_scaled_font_unlock_face (<a class="link" href="cairo-scaled-font.html#cairo-scaled-font-t" title="cairo_scaled_font_t">cairo_scaled_font_t</a> *scaled_font);</pre>
|
287
291
|
<p>
|
288
292
|
Releases a face obtained with <a class="link" href="cairo-ft-font.html#cairo-ft-scaled-font-lock-face" title="cairo_ft_scaled_font_lock_face ()"><code class="function">cairo_ft_scaled_font_lock_face()</code></a>.</p>
|
289
293
|
<p>
|
290
|
-
|
291
294
|
</p>
|
292
295
|
<div class="variablelist"><table border="0">
|
293
296
|
<col align="left" valign="top">
|
@@ -302,17 +305,17 @@ Releases a face obtained with <a class="link" href="cairo-ft-font.html#cairo-ft-
|
|
302
305
|
</table></div>
|
303
306
|
</div>
|
304
307
|
</div>
|
305
|
-
<div class="refsect1"
|
308
|
+
<div class="refsect1" title="See Also">
|
306
309
|
<a name="cairo-ft-font.see-also"></a><h2>See Also</h2>
|
307
310
|
<p>
|
308
311
|
</p>
|
309
|
-
<div class="itemizedlist"><ul type="disc"><li><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a></li></ul></div>
|
312
|
+
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="cairo-font-face.html#cairo-font-face-t" title="cairo_font_face_t"><span class="type">cairo_font_face_t</span></a></li></ul></div>
|
310
313
|
<p>
|
311
314
|
</p>
|
312
315
|
</div>
|
313
316
|
</div>
|
314
317
|
<div class="footer">
|
315
318
|
<hr>
|
316
|
-
Generated by GTK-Doc V1.
|
319
|
+
Generated by GTK-Doc V1.11</div>
|
317
320
|
</body>
|
318
321
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Image Surfaces</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
7
|
-
<link rel="
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
7
|
+
<link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
8
|
<link rel="up" href="cairo-surfaces.html" title="Surfaces">
|
9
9
|
<link rel="prev" href="cairo-surface.html" title="cairo_surface_t">
|
10
10
|
<link rel="next" href="cairo-pdf-surface.html" title="PDF Surfaces">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
<link rel="chapter" href="cairo-drawing.html" title="Drawing">
|
14
14
|
<link rel="chapter" href="cairo-fonts.html" title="Fonts">
|
@@ -30,11 +30,13 @@
|
|
30
30
|
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
31
31
|
<td><a accesskey="n" href="cairo-pdf-surface.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
32
32
|
</tr>
|
33
|
-
<tr><td colspan="5" class="shortcuts"
|
34
|
-
|
35
|
-
|
33
|
+
<tr><td colspan="5" class="shortcuts">
|
34
|
+
<a href="#cairo-image-surface.synopsis" class="shortcut">Top</a>
|
35
|
+
|
|
36
|
+
<a href="#cairo-image-surface.description" class="shortcut">Description</a>
|
37
|
+
</td></tr>
|
36
38
|
</table>
|
37
|
-
<div class="refentry"
|
39
|
+
<div class="refentry" title="Image Surfaces">
|
38
40
|
<a name="cairo-image-surface"></a><div class="titlepage"></div>
|
39
41
|
<div class="refnamediv"><table width="100%"><tr>
|
40
42
|
<td valign="top">
|
@@ -43,29 +45,29 @@
|
|
43
45
|
</td>
|
44
46
|
<td valign="top" align="right"></td>
|
45
47
|
</tr></table></div>
|
46
|
-
<div class="refsynopsisdiv">
|
48
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
47
49
|
<a name="cairo-image-surface.synopsis"></a><h2>Synopsis</h2>
|
48
50
|
<pre class="synopsis">
|
49
|
-
#define <a class="link" href="cairo-image-surface.html#CAIRO-HAS-IMAGE-SURFACE
|
51
|
+
#define <a class="link" href="cairo-image-surface.html#CAIRO-HAS-IMAGE-SURFACE--CAPS" title="CAIRO_HAS_IMAGE_SURFACE">CAIRO_HAS_IMAGE_SURFACE</a>
|
50
52
|
enum <a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a>;
|
51
53
|
int <a class="link" href="cairo-image-surface.html#cairo-format-stride-for-width" title="cairo_format_stride_for_width ()">cairo_format_stride_for_width</a> (<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> format,
|
52
54
|
int width);
|
53
|
-
<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a
|
55
|
+
<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * <a class="link" href="cairo-image-surface.html#cairo-image-surface-create" title="cairo_image_surface_create ()">cairo_image_surface_create</a> (<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> format,
|
54
56
|
int width,
|
55
57
|
int height);
|
56
|
-
<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a
|
58
|
+
<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * <a class="link" href="cairo-image-surface.html#cairo-image-surface-create-for-data" title="cairo_image_surface_create_for_data ()">cairo_image_surface_create_for_data</a> (unsigned char *data,
|
57
59
|
<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> format,
|
58
60
|
int width,
|
59
61
|
int height,
|
60
62
|
int stride);
|
61
|
-
unsigned char*
|
63
|
+
unsigned char * <a class="link" href="cairo-image-surface.html#cairo-image-surface-get-data" title="cairo_image_surface_get_data ()">cairo_image_surface_get_data</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
|
62
64
|
<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> <a class="link" href="cairo-image-surface.html#cairo-image-surface-get-format" title="cairo_image_surface_get_format ()">cairo_image_surface_get_format</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
|
63
65
|
int <a class="link" href="cairo-image-surface.html#cairo-image-surface-get-width" title="cairo_image_surface_get_width ()">cairo_image_surface_get_width</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
|
64
66
|
int <a class="link" href="cairo-image-surface.html#cairo-image-surface-get-height" title="cairo_image_surface_get_height ()">cairo_image_surface_get_height</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
|
65
67
|
int <a class="link" href="cairo-image-surface.html#cairo-image-surface-get-stride" title="cairo_image_surface_get_stride ()">cairo_image_surface_get_stride</a> (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);
|
66
68
|
</pre>
|
67
69
|
</div>
|
68
|
-
<div class="refsect1"
|
70
|
+
<div class="refsect1" title="Description">
|
69
71
|
<a name="cairo-image-surface.description"></a><h2>Description</h2>
|
70
72
|
<p>
|
71
73
|
Image surfaces provide the ability to render to memory buffers
|
@@ -73,10 +75,10 @@ either allocated by cairo or by the calling code. The supported
|
|
73
75
|
image formats are those defined in <a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t"><span class="type">cairo_format_t</span></a>.
|
74
76
|
</p>
|
75
77
|
</div>
|
76
|
-
<div class="refsect1"
|
78
|
+
<div class="refsect1" title="Details">
|
77
79
|
<a name="cairo-image-surface.details"></a><h2>Details</h2>
|
78
|
-
<div class="refsect2"
|
79
|
-
<a name="CAIRO-HAS-IMAGE-SURFACE
|
80
|
+
<div class="refsect2" title="CAIRO_HAS_IMAGE_SURFACE">
|
81
|
+
<a name="CAIRO-HAS-IMAGE-SURFACE--CAPS"></a><h3>CAIRO_HAS_IMAGE_SURFACE</h3>
|
80
82
|
<pre class="programlisting">#define CAIRO_HAS_IMAGE_SURFACE 1
|
81
83
|
</pre>
|
82
84
|
<p>
|
@@ -84,13 +86,10 @@ Defined if the image surface backend is available.
|
|
84
86
|
The image surface backend is always built in.
|
85
87
|
This macro was added for completeness in cairo 1.8.
|
86
88
|
</p>
|
87
|
-
<p class="since">Since 1.8
|
88
|
-
|
89
|
-
|
90
|
-
</p>
|
89
|
+
<p class="since">Since 1.8</p>
|
91
90
|
</div>
|
92
91
|
<hr>
|
93
|
-
<div class="refsect2"
|
92
|
+
<div class="refsect2" title="enum cairo_format_t">
|
94
93
|
<a name="cairo-format-t"></a><h3>enum cairo_format_t</h3>
|
95
94
|
<pre class="programlisting">typedef enum _cairo_format {
|
96
95
|
CAIRO_FORMAT_ARGB32,
|
@@ -110,13 +109,12 @@ image data.
|
|
110
109
|
<p>
|
111
110
|
New entries may be added in future versions.</p>
|
112
111
|
<p>
|
113
|
-
|
114
112
|
</p>
|
115
113
|
<div class="variablelist"><table border="0">
|
116
114
|
<col align="left" valign="top">
|
117
115
|
<tbody>
|
118
116
|
<tr>
|
119
|
-
<td><p><a name="CAIRO-FORMAT-ARGB32
|
117
|
+
<td><p><a name="CAIRO-FORMAT-ARGB32--CAPS"></a><span class="term"><code class="literal">CAIRO_FORMAT_ARGB32</code></span></p></td>
|
120
118
|
<td> each pixel is a 32-bit quantity, with
|
121
119
|
alpha in the upper 8 bits, then red, then green, then blue.
|
122
120
|
The 32-bit quantities are stored native-endian. Pre-multiplied
|
@@ -125,20 +123,20 @@ New entries may be added in future versions.</p>
|
|
125
123
|
</td>
|
126
124
|
</tr>
|
127
125
|
<tr>
|
128
|
-
<td><p><a name="CAIRO-FORMAT-RGB24
|
126
|
+
<td><p><a name="CAIRO-FORMAT-RGB24--CAPS"></a><span class="term"><code class="literal">CAIRO_FORMAT_RGB24</code></span></p></td>
|
129
127
|
<td> each pixel is a 32-bit quantity, with
|
130
128
|
the upper 8 bits unused. Red, Green, and Blue are stored
|
131
129
|
in the remaining 24 bits in that order.
|
132
130
|
</td>
|
133
131
|
</tr>
|
134
132
|
<tr>
|
135
|
-
<td><p><a name="CAIRO-FORMAT-A8
|
133
|
+
<td><p><a name="CAIRO-FORMAT-A8--CAPS"></a><span class="term"><code class="literal">CAIRO_FORMAT_A8</code></span></p></td>
|
136
134
|
<td> each pixel is a 8-bit quantity holding
|
137
135
|
an alpha value.
|
138
136
|
</td>
|
139
137
|
</tr>
|
140
138
|
<tr>
|
141
|
-
<td><p><a name="CAIRO-FORMAT-A1
|
139
|
+
<td><p><a name="CAIRO-FORMAT-A1--CAPS"></a><span class="term"><code class="literal">CAIRO_FORMAT_A1</code></span></p></td>
|
142
140
|
<td> each pixel is a 1-bit quantity holding
|
143
141
|
an alpha value. Pixels are packed together into 32-bit
|
144
142
|
quantities. The ordering of the bits matches the
|
@@ -151,7 +149,7 @@ New entries may be added in future versions.</p>
|
|
151
149
|
</table></div>
|
152
150
|
</div>
|
153
151
|
<hr>
|
154
|
-
<div class="refsect2"
|
152
|
+
<div class="refsect2" title="cairo_format_stride_for_width ()">
|
155
153
|
<a name="cairo-format-stride-for-width"></a><h3>cairo_format_stride_for_width ()</h3>
|
156
154
|
<pre class="programlisting">int cairo_format_stride_for_width (<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> format,
|
157
155
|
int width);</pre>
|
@@ -174,7 +172,6 @@ surface = cairo_image_surface_create_for_data (data, format,
|
|
174
172
|
stride);
|
175
173
|
</pre></div>
|
176
174
|
<p>
|
177
|
-
|
178
175
|
</p>
|
179
176
|
<div class="variablelist"><table border="0">
|
180
177
|
<col align="left" valign="top">
|
@@ -199,13 +196,12 @@ too large.
|
|
199
196
|
</tr>
|
200
197
|
</tbody>
|
201
198
|
</table></div>
|
202
|
-
<p class="since">Since
|
203
|
-
</p>
|
199
|
+
<p class="since">Since 1.6</p>
|
204
200
|
</div>
|
205
201
|
<hr>
|
206
|
-
<div class="refsect2"
|
202
|
+
<div class="refsect2" title="cairo_image_surface_create ()">
|
207
203
|
<a name="cairo-image-surface-create"></a><h3>cairo_image_surface_create ()</h3>
|
208
|
-
<pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a
|
204
|
+
<pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * cairo_image_surface_create (<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> format,
|
209
205
|
int width,
|
210
206
|
int height);</pre>
|
211
207
|
<p>
|
@@ -215,7 +211,6 @@ dimensions. Initially the surface contents are all
|
|
215
211
|
belonging to format will be 0. The contents of bits within a pixel,
|
216
212
|
but not belonging to the given format are undefined).</p>
|
217
213
|
<p>
|
218
|
-
|
219
214
|
</p>
|
220
215
|
<div class="variablelist"><table border="0">
|
221
216
|
<col align="left" valign="top">
|
@@ -250,9 +245,9 @@ occurs. You can use <a class="link" href="cairo-surface.html#cairo-surface-statu
|
|
250
245
|
</table></div>
|
251
246
|
</div>
|
252
247
|
<hr>
|
253
|
-
<div class="refsect2"
|
248
|
+
<div class="refsect2" title="cairo_image_surface_create_for_data ()">
|
254
249
|
<a name="cairo-image-surface-create-for-data"></a><h3>cairo_image_surface_create_for_data ()</h3>
|
255
|
-
<pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a
|
250
|
+
<pre class="programlisting"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> * cairo_image_surface_create_for_data (unsigned char *data,
|
256
251
|
<a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> format,
|
257
252
|
int width,
|
258
253
|
int height,
|
@@ -261,7 +256,7 @@ occurs. You can use <a class="link" href="cairo-surface.html#cairo-surface-statu
|
|
261
256
|
Creates an image surface for the provided pixel data. The output
|
262
257
|
buffer must be kept around until the <a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> is destroyed
|
263
258
|
or <a class="link" href="cairo-surface.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a> is called on the surface. The initial
|
264
|
-
contents of <em class="parameter"><code>
|
259
|
+
contents of <em class="parameter"><code>data</code></em> will be used as the initial image contents; you
|
265
260
|
must explicitly clear the buffer, using, for example,
|
266
261
|
<a class="link" href="cairo-paths.html#cairo-rectangle" title="cairo_rectangle ()"><code class="function">cairo_rectangle()</code></a> and <a class="link" href="cairo-context.html#cairo-fill" title="cairo_fill ()"><code class="function">cairo_fill()</code></a> if you want it cleared.
|
267
262
|
</p>
|
@@ -275,7 +270,6 @@ maximum image width value, and the use the resulting stride value
|
|
275
270
|
to allocate the data and to create the image surface. See
|
276
271
|
<a class="link" href="cairo-image-surface.html#cairo-format-stride-for-width" title="cairo_format_stride_for_width ()"><code class="function">cairo_format_stride_for_width()</code></a> for example code.</p>
|
277
272
|
<p>
|
278
|
-
|
279
273
|
</p>
|
280
274
|
<div class="variablelist"><table border="0">
|
281
275
|
<col align="left" valign="top">
|
@@ -320,7 +314,7 @@ This function always returns a valid pointer, but it will return a
|
|
320
314
|
pointer to a "nil" surface in the case of an error such as out of
|
321
315
|
memory or an invalid stride value. In case of invalid stride value
|
322
316
|
the error status of the returned surface will be
|
323
|
-
<a class="link" href="cairo-error-status.html#CAIRO-STATUS-INVALID-STRIDE
|
317
|
+
<a class="link" href="cairo-error-status.html#CAIRO-STATUS-INVALID-STRIDE--CAPS"><code class="literal">CAIRO_STATUS_INVALID_STRIDE</code></a>. You can use
|
324
318
|
<a class="link" href="cairo-surface.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.
|
325
319
|
|
326
320
|
See <a class="link" href="cairo-surface.html#cairo-surface-set-user-data" title="cairo_surface_set_user_data ()"><code class="function">cairo_surface_set_user_data()</code></a> for a means of attaching a
|
@@ -331,14 +325,13 @@ destroy-notification fallback to the surface if necessary.
|
|
331
325
|
</table></div>
|
332
326
|
</div>
|
333
327
|
<hr>
|
334
|
-
<div class="refsect2"
|
328
|
+
<div class="refsect2" title="cairo_image_surface_get_data ()">
|
335
329
|
<a name="cairo-image-surface-get-data"></a><h3>cairo_image_surface_get_data ()</h3>
|
336
|
-
<pre class="programlisting">unsigned char*
|
330
|
+
<pre class="programlisting">unsigned char * cairo_image_surface_get_data (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
|
337
331
|
<p>
|
338
332
|
Get a pointer to the data of the image surface, for direct
|
339
333
|
inspection or modification.</p>
|
340
334
|
<p>
|
341
|
-
|
342
335
|
</p>
|
343
336
|
<div class="variablelist"><table border="0">
|
344
337
|
<col align="left" valign="top">
|
@@ -350,24 +343,25 @@ inspection or modification.</p>
|
|
350
343
|
</tr>
|
351
344
|
<tr>
|
352
345
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
353
|
-
<td> a pointer to the image data of this surface or <
|
354
|
-
|
346
|
+
<td> a pointer to the image data of this surface or <a
|
347
|
+
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
|
348
|
+
><code class="literal">NULL</code></a>
|
349
|
+
if <em class="parameter"><code>surface</code></em> is not an image surface, or if <a class="link" href="cairo-surface.html#cairo-surface-finish" title="cairo_surface_finish ()"><code class="function">cairo_surface_finish()</code></a>
|
350
|
+
has been called.
|
355
351
|
|
356
352
|
</td>
|
357
353
|
</tr>
|
358
354
|
</tbody>
|
359
355
|
</table></div>
|
360
|
-
<p class="since">Since
|
361
|
-
</p>
|
356
|
+
<p class="since">Since 1.2</p>
|
362
357
|
</div>
|
363
358
|
<hr>
|
364
|
-
<div class="refsect2"
|
359
|
+
<div class="refsect2" title="cairo_image_surface_get_format ()">
|
365
360
|
<a name="cairo-image-surface-get-format"></a><h3>cairo_image_surface_get_format ()</h3>
|
366
361
|
<pre class="programlisting"><a class="link" href="cairo-image-surface.html#cairo-format-t" title="enum cairo_format_t">cairo_format_t</a> cairo_image_surface_get_format (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
|
367
362
|
<p>
|
368
363
|
Get the format of the surface.</p>
|
369
364
|
<p>
|
370
|
-
|
371
365
|
</p>
|
372
366
|
<div class="variablelist"><table border="0">
|
373
367
|
<col align="left" valign="top">
|
@@ -385,17 +379,15 @@ Get the format of the surface.</p>
|
|
385
379
|
</tr>
|
386
380
|
</tbody>
|
387
381
|
</table></div>
|
388
|
-
<p class="since">Since
|
389
|
-
</p>
|
382
|
+
<p class="since">Since 1.2</p>
|
390
383
|
</div>
|
391
384
|
<hr>
|
392
|
-
<div class="refsect2"
|
385
|
+
<div class="refsect2" title="cairo_image_surface_get_width ()">
|
393
386
|
<a name="cairo-image-surface-get-width"></a><h3>cairo_image_surface_get_width ()</h3>
|
394
387
|
<pre class="programlisting">int cairo_image_surface_get_width (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
|
395
388
|
<p>
|
396
389
|
Get the width of the image surface in pixels.</p>
|
397
390
|
<p>
|
398
|
-
|
399
391
|
</p>
|
400
392
|
<div class="variablelist"><table border="0">
|
401
393
|
<col align="left" valign="top">
|
@@ -414,13 +406,12 @@ Get the width of the image surface in pixels.</p>
|
|
414
406
|
</table></div>
|
415
407
|
</div>
|
416
408
|
<hr>
|
417
|
-
<div class="refsect2"
|
409
|
+
<div class="refsect2" title="cairo_image_surface_get_height ()">
|
418
410
|
<a name="cairo-image-surface-get-height"></a><h3>cairo_image_surface_get_height ()</h3>
|
419
411
|
<pre class="programlisting">int cairo_image_surface_get_height (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
|
420
412
|
<p>
|
421
413
|
Get the height of the image surface in pixels.</p>
|
422
414
|
<p>
|
423
|
-
|
424
415
|
</p>
|
425
416
|
<div class="variablelist"><table border="0">
|
426
417
|
<col align="left" valign="top">
|
@@ -439,13 +430,12 @@ Get the height of the image surface in pixels.</p>
|
|
439
430
|
</table></div>
|
440
431
|
</div>
|
441
432
|
<hr>
|
442
|
-
<div class="refsect2"
|
433
|
+
<div class="refsect2" title="cairo_image_surface_get_stride ()">
|
443
434
|
<a name="cairo-image-surface-get-stride"></a><h3>cairo_image_surface_get_stride ()</h3>
|
444
435
|
<pre class="programlisting">int cairo_image_surface_get_stride (<a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t">cairo_surface_t</a> *surface);</pre>
|
445
436
|
<p>
|
446
437
|
Get the stride of the image surface in bytes</p>
|
447
438
|
<p>
|
448
|
-
|
449
439
|
</p>
|
450
440
|
<div class="variablelist"><table border="0">
|
451
441
|
<col align="left" valign="top">
|
@@ -466,21 +456,20 @@ beginning of the next row.
|
|
466
456
|
</tr>
|
467
457
|
</tbody>
|
468
458
|
</table></div>
|
469
|
-
<p class="since">Since
|
470
|
-
</p>
|
459
|
+
<p class="since">Since 1.2</p>
|
471
460
|
</div>
|
472
461
|
</div>
|
473
|
-
<div class="refsect1"
|
462
|
+
<div class="refsect1" title="See Also">
|
474
463
|
<a name="cairo-image-surface.see-also"></a><h2>See Also</h2>
|
475
464
|
<p>
|
476
465
|
</p>
|
477
|
-
<div class="itemizedlist"><ul type="disc"><li><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a></li></ul></div>
|
466
|
+
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="cairo-surface.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a></li></ul></div>
|
478
467
|
<p>
|
479
468
|
</p>
|
480
469
|
</div>
|
481
470
|
</div>
|
482
471
|
<div class="footer">
|
483
472
|
<hr>
|
484
|
-
Generated by GTK-Doc V1.
|
473
|
+
Generated by GTK-Doc V1.11</div>
|
485
474
|
</body>
|
486
475
|
</html>
|