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
@@ -1,53 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
-
<title>Drawing</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
-
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
-
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
-
<link rel="prev" href="index.html" title="Cairo: A Vector Graphics Library">
|
10
|
-
<link rel="next" href="cairo-cairo-t.html" title="cairo_t">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
-
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
-
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
-
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
-
<link rel="index" href="ix01.html" title="Index">
|
18
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
-
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
-
</head>
|
23
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
25
|
-
<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
26
|
-
<td> </td>
|
27
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
28
|
-
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
29
|
-
<td><a accesskey="n" href="cairo-cairo-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
30
|
-
</tr></table>
|
31
|
-
<div class="chapter" lang="en">
|
32
|
-
<div class="titlepage"><div><div><h2 class="title">
|
33
|
-
<a name="Drawing"></a>Drawing</h2></div></div></div>
|
34
|
-
<div class="toc"><dl>
|
35
|
-
<dt>
|
36
|
-
<span class="refentrytitle"><a href="cairo-cairo-t.html">cairo_t</a></span><span class="refpurpose"> — The cairo drawing context</span>
|
37
|
-
</dt>
|
38
|
-
<dt>
|
39
|
-
<span class="refentrytitle"><a href="cairo-Paths.html">Paths</a></span><span class="refpurpose"> — Creating paths and manipulating path data</span>
|
40
|
-
</dt>
|
41
|
-
<dt>
|
42
|
-
<span class="refentrytitle"><a href="cairo-Patterns.html">cairo_pattern_t</a></span><span class="refpurpose"> — Sources for drawing</span>
|
43
|
-
</dt>
|
44
|
-
<dt>
|
45
|
-
<span class="refentrytitle"><a href="cairo-Transformations.html">Transformations</a></span><span class="refpurpose"> — Manipulating the current transformation matrix</span>
|
46
|
-
</dt>
|
47
|
-
<dt>
|
48
|
-
<span class="refentrytitle"><a href="cairo-Text.html">Text</a></span><span class="refpurpose"> — Rendering text and glyphs</span>
|
49
|
-
</dt>
|
50
|
-
</dl></div>
|
51
|
-
</div>
|
52
|
-
</body>
|
53
|
-
</html>
|
@@ -1,56 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
-
<title>Fonts</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
-
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
-
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
-
<link rel="prev" href="cairo-Text.html" title="Text">
|
10
|
-
<link rel="next" href="cairo-cairo-font-face-t.html" title="cairo_font_face_t">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
-
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
-
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
-
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
-
<link rel="index" href="ix01.html" title="Index">
|
18
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
-
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
-
</head>
|
23
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
25
|
-
<td><a accesskey="p" href="cairo-Text.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
26
|
-
<td> </td>
|
27
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
28
|
-
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
29
|
-
<td><a accesskey="n" href="cairo-cairo-font-face-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
30
|
-
</tr></table>
|
31
|
-
<div class="chapter" lang="en">
|
32
|
-
<div class="titlepage"><div><div><h2 class="title">
|
33
|
-
<a name="Fonts"></a>Fonts</h2></div></div></div>
|
34
|
-
<div class="toc"><dl>
|
35
|
-
<dt>
|
36
|
-
<span class="refentrytitle"><a href="cairo-cairo-font-face-t.html">cairo_font_face_t</a></span><span class="refpurpose"> — Base class for font faces</span>
|
37
|
-
</dt>
|
38
|
-
<dt>
|
39
|
-
<span class="refentrytitle"><a href="cairo-Scaled-Fonts.html">cairo_scaled_font_t</a></span><span class="refpurpose"> — Font face at particular size and options</span>
|
40
|
-
</dt>
|
41
|
-
<dt>
|
42
|
-
<span class="refentrytitle"><a href="cairo-Font-Options.html">cairo_font_options_t</a></span><span class="refpurpose"> — How a font should be rendered</span>
|
43
|
-
</dt>
|
44
|
-
<dt>
|
45
|
-
<span class="refentrytitle"><a href="cairo-FreeType-Fonts.html">FreeType Fonts</a></span><span class="refpurpose"> — Font support for FreeType</span>
|
46
|
-
</dt>
|
47
|
-
<dt>
|
48
|
-
<span class="refentrytitle"><a href="cairo-Win32-Fonts.html">Win32 Fonts</a></span><span class="refpurpose"> — Font support for Microsoft Windows</span>
|
49
|
-
</dt>
|
50
|
-
<dt>
|
51
|
-
<span class="refentrytitle"><a href="cairo-Quartz-Fonts.html">Quartz (CGFont) Fonts</a></span><span class="refpurpose"> — Font support via CGFont on OS X</span>
|
52
|
-
</dt>
|
53
|
-
</dl></div>
|
54
|
-
</div>
|
55
|
-
</body>
|
56
|
-
</html>
|
@@ -1,50 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
-
<title>Utilities</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
-
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
-
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
-
<link rel="prev" href="cairo-XLib-Surfaces.html" title="XLib Surfaces">
|
10
|
-
<link rel="next" href="cairo-cairo-matrix-t.html" title="cairo_matrix_t">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
-
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
-
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
-
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
-
<link rel="index" href="ix01.html" title="Index">
|
18
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
-
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
-
</head>
|
23
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
25
|
-
<td><a accesskey="p" href="cairo-XLib-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
26
|
-
<td> </td>
|
27
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
28
|
-
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
29
|
-
<td><a accesskey="n" href="cairo-cairo-matrix-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
30
|
-
</tr></table>
|
31
|
-
<div class="chapter" lang="en">
|
32
|
-
<div class="titlepage"><div><div><h2 class="title">
|
33
|
-
<a name="Support"></a>Utilities</h2></div></div></div>
|
34
|
-
<div class="toc"><dl>
|
35
|
-
<dt>
|
36
|
-
<span class="refentrytitle"><a href="cairo-cairo-matrix-t.html">cairo_matrix_t</a></span><span class="refpurpose"> — Generic matrix operations</span>
|
37
|
-
</dt>
|
38
|
-
<dt>
|
39
|
-
<span class="refentrytitle"><a href="cairo-Error-Handling.html">Error handling</a></span><span class="refpurpose"> — Decoding cairo's status</span>
|
40
|
-
</dt>
|
41
|
-
<dt>
|
42
|
-
<span class="refentrytitle"><a href="cairo-Version-Information.html">Version Information</a></span><span class="refpurpose"> — Compile-time and run-time version checks.</span>
|
43
|
-
</dt>
|
44
|
-
<dt>
|
45
|
-
<span class="refentrytitle"><a href="cairo-Types.html">Types</a></span><span class="refpurpose"> — Generic data types</span>
|
46
|
-
</dt>
|
47
|
-
</dl></div>
|
48
|
-
</div>
|
49
|
-
</body>
|
50
|
-
</html>
|
@@ -1,65 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
-
<title>Surfaces</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
-
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
-
<link rel="up" href="index.html" title="Cairo: A Vector Graphics Library">
|
9
|
-
<link rel="prev" href="cairo-Quartz-Fonts.html" title="Quartz (CGFont) Fonts">
|
10
|
-
<link rel="next" href="cairo-cairo-surface-t.html" title="cairo_surface_t">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
-
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
-
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
-
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
-
<link rel="index" href="ix01.html" title="Index">
|
18
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
-
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
-
</head>
|
23
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
25
|
-
<td><a accesskey="p" href="cairo-Quartz-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
26
|
-
<td> </td>
|
27
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
28
|
-
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
29
|
-
<td><a accesskey="n" href="cairo-cairo-surface-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
30
|
-
</tr></table>
|
31
|
-
<div class="chapter" lang="en">
|
32
|
-
<div class="titlepage"><div><div><h2 class="title">
|
33
|
-
<a name="Surfaces"></a>Surfaces</h2></div></div></div>
|
34
|
-
<div class="toc"><dl>
|
35
|
-
<dt>
|
36
|
-
<span class="refentrytitle"><a href="cairo-cairo-surface-t.html">cairo_surface_t</a></span><span class="refpurpose"> — Base class for surfaces</span>
|
37
|
-
</dt>
|
38
|
-
<dt>
|
39
|
-
<span class="refentrytitle"><a href="cairo-Image-Surfaces.html">Image Surfaces</a></span><span class="refpurpose"> — Rendering to memory buffers</span>
|
40
|
-
</dt>
|
41
|
-
<dt>
|
42
|
-
<span class="refentrytitle"><a href="cairo-PDF-Surfaces.html">PDF Surfaces</a></span><span class="refpurpose"> — Rendering PDF documents</span>
|
43
|
-
</dt>
|
44
|
-
<dt>
|
45
|
-
<span class="refentrytitle"><a href="cairo-PNG-Support.html">PNG Support</a></span><span class="refpurpose"> — Reading and writing PNG images</span>
|
46
|
-
</dt>
|
47
|
-
<dt>
|
48
|
-
<span class="refentrytitle"><a href="cairo-PostScript-Surfaces.html">PostScript Surfaces</a></span><span class="refpurpose"> — Rendering PostScript documents</span>
|
49
|
-
</dt>
|
50
|
-
<dt>
|
51
|
-
<span class="refentrytitle"><a href="cairo-Win32-Surfaces.html">Win32 Surfaces</a></span><span class="refpurpose"> — Microsoft Windows surface support</span>
|
52
|
-
</dt>
|
53
|
-
<dt>
|
54
|
-
<span class="refentrytitle"><a href="cairo-SVG-Surfaces.html">SVG Surfaces</a></span><span class="refpurpose"> — Rendering SVG documents</span>
|
55
|
-
</dt>
|
56
|
-
<dt>
|
57
|
-
<span class="refentrytitle"><a href="cairo-Quartz-Surfaces.html">Quartz Surfaces</a></span><span class="refpurpose"> — Rendering to Quartz surfaces</span>
|
58
|
-
</dt>
|
59
|
-
<dt>
|
60
|
-
<span class="refentrytitle"><a href="cairo-XLib-Surfaces.html">XLib Surfaces</a></span><span class="refpurpose"> — X Window System rendering using XLib</span>
|
61
|
-
</dt>
|
62
|
-
</dl></div>
|
63
|
-
</div>
|
64
|
-
</body>
|
65
|
-
</html>
|
@@ -1,328 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
5
|
-
<title>Error handling</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
7
|
-
<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library">
|
8
|
-
<link rel="up" href="Support.html" title="Utilities">
|
9
|
-
<link rel="prev" href="cairo-cairo-matrix-t.html" title="cairo_matrix_t">
|
10
|
-
<link rel="next" href="cairo-Version-Information.html" title="Version Information">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="Drawing.html" title="Drawing">
|
14
|
-
<link rel="chapter" href="Fonts.html" title="Fonts">
|
15
|
-
<link rel="chapter" href="Surfaces.html" title="Surfaces">
|
16
|
-
<link rel="chapter" href="Support.html" title="Utilities">
|
17
|
-
<link rel="index" href="ix01.html" title="Index">
|
18
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
19
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
20
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
21
|
-
<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo">
|
22
|
-
</head>
|
23
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
24
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
25
|
-
<tr valign="middle">
|
26
|
-
<td><a accesskey="p" href="cairo-cairo-matrix-t.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
27
|
-
<td><a accesskey="u" href="Support.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
28
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
29
|
-
<th width="100%" align="center">Cairo: A Vector Graphics Library</th>
|
30
|
-
<td><a accesskey="n" href="cairo-Version-Information.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
31
|
-
</tr>
|
32
|
-
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2613704" class="shortcut">Top</a>
|
33
|
-
 | 
|
34
|
-
<a href="#id2670967" class="shortcut">Description</a></nobr></td></tr>
|
35
|
-
</table>
|
36
|
-
<div class="refentry" lang="en">
|
37
|
-
<a name="cairo-Error-Handling"></a><div class="titlepage"></div>
|
38
|
-
<div class="refnamediv"><table width="100%"><tr>
|
39
|
-
<td valign="top">
|
40
|
-
<h2>
|
41
|
-
<a name="id2613704"></a><span class="refentrytitle">Error handling</span>
|
42
|
-
</h2>
|
43
|
-
<p>Error handling — Decoding cairo's status</p>
|
44
|
-
</td>
|
45
|
-
<td valign="top" align="right"></td>
|
46
|
-
</tr></table></div>
|
47
|
-
<div class="refsynopsisdiv">
|
48
|
-
<h2>Synopsis</h2>
|
49
|
-
<pre class="synopsis">
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
enum <a class="link" href="cairo-Error-Handling.html#cairo-status-t">cairo_status_t</a>;
|
54
|
-
const char* <a class="link" href="cairo-Error-Handling.html#cairo-status-to-string">cairo_status_to_string</a> (<a class="link" href="cairo-Error-Handling.html#cairo-status-t">cairo_status_t</a> status);
|
55
|
-
void <a class="link" href="cairo-Error-Handling.html#cairo-debug-reset-static-data">cairo_debug_reset_static_data</a> (void);
|
56
|
-
</pre>
|
57
|
-
</div>
|
58
|
-
<div class="refsect1" lang="en">
|
59
|
-
<a name="id2670967"></a><h2>Description</h2>
|
60
|
-
<p>
|
61
|
-
Cairo uses a single status type to represent all kinds of errors. A status
|
62
|
-
value of <a class="link" href="cairo-Error-Handling.html#CAIRO-STATUS-SUCCESS:CAPS"><code class="literal">CAIRO_STATUS_SUCCESS</code></a> represents no error and has an integer value
|
63
|
-
of zero. All other status values represent an error.
|
64
|
-
</p>
|
65
|
-
<p>
|
66
|
-
Cairo's error handling is designed to be easy to use and safe. All major
|
67
|
-
cairo objects <em class="firstterm">retain</em> an error status internally which
|
68
|
-
can be queried anytime by the users using cairo*<code class="function">_status()</code> calls. In
|
69
|
-
the mean time, it is safe to call all cairo functions normally even if the
|
70
|
-
underlying object is in an error status. This means that no error handling
|
71
|
-
code is required before or after each individual cairo function call.
|
72
|
-
</p>
|
73
|
-
</div>
|
74
|
-
<div class="refsect1" lang="en">
|
75
|
-
<a name="id2671017"></a><h2>Details</h2>
|
76
|
-
<div class="refsect2" lang="en">
|
77
|
-
<a name="id2671028"></a><h3>
|
78
|
-
<a name="cairo-status-t"></a>enum cairo_status_t</h3>
|
79
|
-
<a class="indexterm" name="id2671039"></a><pre class="programlisting">typedef enum _cairo_status {
|
80
|
-
CAIRO_STATUS_SUCCESS = 0,
|
81
|
-
CAIRO_STATUS_NO_MEMORY,
|
82
|
-
CAIRO_STATUS_INVALID_RESTORE,
|
83
|
-
CAIRO_STATUS_INVALID_POP_GROUP,
|
84
|
-
CAIRO_STATUS_NO_CURRENT_POINT,
|
85
|
-
CAIRO_STATUS_INVALID_MATRIX,
|
86
|
-
CAIRO_STATUS_INVALID_STATUS,
|
87
|
-
CAIRO_STATUS_NULL_POINTER,
|
88
|
-
CAIRO_STATUS_INVALID_STRING,
|
89
|
-
CAIRO_STATUS_INVALID_PATH_DATA,
|
90
|
-
CAIRO_STATUS_READ_ERROR,
|
91
|
-
CAIRO_STATUS_WRITE_ERROR,
|
92
|
-
CAIRO_STATUS_SURFACE_FINISHED,
|
93
|
-
CAIRO_STATUS_SURFACE_TYPE_MISMATCH,
|
94
|
-
CAIRO_STATUS_PATTERN_TYPE_MISMATCH,
|
95
|
-
CAIRO_STATUS_INVALID_CONTENT,
|
96
|
-
CAIRO_STATUS_INVALID_FORMAT,
|
97
|
-
CAIRO_STATUS_INVALID_VISUAL,
|
98
|
-
CAIRO_STATUS_FILE_NOT_FOUND,
|
99
|
-
CAIRO_STATUS_INVALID_DASH,
|
100
|
-
CAIRO_STATUS_INVALID_DSC_COMMENT,
|
101
|
-
CAIRO_STATUS_INVALID_INDEX,
|
102
|
-
CAIRO_STATUS_CLIP_NOT_REPRESENTABLE,
|
103
|
-
CAIRO_STATUS_TEMP_FILE_ERROR,
|
104
|
-
CAIRO_STATUS_INVALID_STRIDE
|
105
|
-
/* after adding a new error: update CAIRO_STATUS_LAST_STATUS in cairoint.h */
|
106
|
-
} cairo_status_t;
|
107
|
-
</pre>
|
108
|
-
<p>
|
109
|
-
<a class="link" href="cairo-Error-Handling.html#cairo-status-t"><span class="type">cairo_status_t</span></a> is used to indicate errors that can occur when
|
110
|
-
using Cairo. In some cases it is returned directly by functions.
|
111
|
-
but when using <a class="link" href="cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a>, the last error, if any, is stored in
|
112
|
-
the context and can be retrieved with <a class="link" href="cairo-cairo-t.html#cairo-status"><code class="function">cairo_status()</code></a>.
|
113
|
-
</p>
|
114
|
-
<p>
|
115
|
-
New entries may be added in future versions. Use <a class="link" href="cairo-Error-Handling.html#cairo-status-to-string"><code class="function">cairo_status_to_string()</code></a>
|
116
|
-
to get a human-readable representation of an error message.</p>
|
117
|
-
<p>
|
118
|
-
|
119
|
-
</p>
|
120
|
-
<div class="variablelist"><table border="0">
|
121
|
-
<col align="left" valign="top">
|
122
|
-
<tbody>
|
123
|
-
<tr>
|
124
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-SUCCESS:CAPS"></a><code class="literal">CAIRO_STATUS_SUCCESS</code></span></p></td>
|
125
|
-
<td> no error has occurred
|
126
|
-
</td>
|
127
|
-
</tr>
|
128
|
-
<tr>
|
129
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-NO-MEMORY:CAPS"></a><code class="literal">CAIRO_STATUS_NO_MEMORY</code></span></p></td>
|
130
|
-
<td> out of memory
|
131
|
-
</td>
|
132
|
-
</tr>
|
133
|
-
<tr>
|
134
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-RESTORE:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_RESTORE</code></span></p></td>
|
135
|
-
<td> <a class="link" href="cairo-cairo-t.html#cairo-restore"><code class="function">cairo_restore()</code></a> called without matching <a class="link" href="cairo-cairo-t.html#cairo-save"><code class="function">cairo_save()</code></a>
|
136
|
-
</td>
|
137
|
-
</tr>
|
138
|
-
<tr>
|
139
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-POP-GROUP:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_POP_GROUP</code></span></p></td>
|
140
|
-
<td> no saved group to pop
|
141
|
-
</td>
|
142
|
-
</tr>
|
143
|
-
<tr>
|
144
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-NO-CURRENT-POINT:CAPS"></a><code class="literal">CAIRO_STATUS_NO_CURRENT_POINT</code></span></p></td>
|
145
|
-
<td> no current point defined
|
146
|
-
</td>
|
147
|
-
</tr>
|
148
|
-
<tr>
|
149
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-MATRIX:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_MATRIX</code></span></p></td>
|
150
|
-
<td> invalid matrix (not invertible)
|
151
|
-
</td>
|
152
|
-
</tr>
|
153
|
-
<tr>
|
154
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-STATUS:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_STATUS</code></span></p></td>
|
155
|
-
<td> invalid value for an input <a class="link" href="cairo-Error-Handling.html#cairo-status-t"><span class="type">cairo_status_t</span></a>
|
156
|
-
</td>
|
157
|
-
</tr>
|
158
|
-
<tr>
|
159
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-NULL-POINTER:CAPS"></a><code class="literal">CAIRO_STATUS_NULL_POINTER</code></span></p></td>
|
160
|
-
<td> <code class="literal">NULL</code> pointer
|
161
|
-
</td>
|
162
|
-
</tr>
|
163
|
-
<tr>
|
164
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-STRING:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_STRING</code></span></p></td>
|
165
|
-
<td> input string not valid UTF-8
|
166
|
-
</td>
|
167
|
-
</tr>
|
168
|
-
<tr>
|
169
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-PATH-DATA:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_PATH_DATA</code></span></p></td>
|
170
|
-
<td> input path data not valid
|
171
|
-
</td>
|
172
|
-
</tr>
|
173
|
-
<tr>
|
174
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-READ-ERROR:CAPS"></a><code class="literal">CAIRO_STATUS_READ_ERROR</code></span></p></td>
|
175
|
-
<td> error while reading from input stream
|
176
|
-
</td>
|
177
|
-
</tr>
|
178
|
-
<tr>
|
179
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-WRITE-ERROR:CAPS"></a><code class="literal">CAIRO_STATUS_WRITE_ERROR</code></span></p></td>
|
180
|
-
<td> error while writing to output stream
|
181
|
-
</td>
|
182
|
-
</tr>
|
183
|
-
<tr>
|
184
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-SURFACE-FINISHED:CAPS"></a><code class="literal">CAIRO_STATUS_SURFACE_FINISHED</code></span></p></td>
|
185
|
-
<td> target surface has been finished
|
186
|
-
</td>
|
187
|
-
</tr>
|
188
|
-
<tr>
|
189
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-SURFACE-TYPE-MISMATCH:CAPS"></a><code class="literal">CAIRO_STATUS_SURFACE_TYPE_MISMATCH</code></span></p></td>
|
190
|
-
<td> the surface type is not appropriate for the operation
|
191
|
-
</td>
|
192
|
-
</tr>
|
193
|
-
<tr>
|
194
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-PATTERN-TYPE-MISMATCH:CAPS"></a><code class="literal">CAIRO_STATUS_PATTERN_TYPE_MISMATCH</code></span></p></td>
|
195
|
-
<td> the pattern type is not appropriate for the operation
|
196
|
-
</td>
|
197
|
-
</tr>
|
198
|
-
<tr>
|
199
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-CONTENT:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_CONTENT</code></span></p></td>
|
200
|
-
<td> invalid value for an input <a class="link" href="cairo-cairo-surface-t.html#cairo-content-t"><span class="type">cairo_content_t</span></a>
|
201
|
-
</td>
|
202
|
-
</tr>
|
203
|
-
<tr>
|
204
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-FORMAT:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_FORMAT</code></span></p></td>
|
205
|
-
<td> invalid value for an input <a class="link" href="cairo-Image-Surfaces.html#cairo-format-t"><span class="type">cairo_format_t</span></a>
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
<tr>
|
209
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-VISUAL:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_VISUAL</code></span></p></td>
|
210
|
-
<td> invalid value for an input Visual*
|
211
|
-
</td>
|
212
|
-
</tr>
|
213
|
-
<tr>
|
214
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-FILE-NOT-FOUND:CAPS"></a><code class="literal">CAIRO_STATUS_FILE_NOT_FOUND</code></span></p></td>
|
215
|
-
<td> file not found
|
216
|
-
</td>
|
217
|
-
</tr>
|
218
|
-
<tr>
|
219
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-DASH:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_DASH</code></span></p></td>
|
220
|
-
<td> invalid value for a dash setting
|
221
|
-
</td>
|
222
|
-
</tr>
|
223
|
-
<tr>
|
224
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-DSC-COMMENT:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_DSC_COMMENT</code></span></p></td>
|
225
|
-
<td> invalid value for a DSC comment (Since 1.2)
|
226
|
-
</td>
|
227
|
-
</tr>
|
228
|
-
<tr>
|
229
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-INDEX:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_INDEX</code></span></p></td>
|
230
|
-
<td> invalid index passed to getter (Since 1.4)
|
231
|
-
</td>
|
232
|
-
</tr>
|
233
|
-
<tr>
|
234
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-CLIP-NOT-REPRESENTABLE:CAPS"></a><code class="literal">CAIRO_STATUS_CLIP_NOT_REPRESENTABLE</code></span></p></td>
|
235
|
-
<td> clip region not representable in desired format (Since 1.4)
|
236
|
-
</td>
|
237
|
-
</tr>
|
238
|
-
<tr>
|
239
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-TEMP-FILE-ERROR:CAPS"></a><code class="literal">CAIRO_STATUS_TEMP_FILE_ERROR</code></span></p></td>
|
240
|
-
<td> error creating or writing to a temporary file (Since 1.6)
|
241
|
-
</td>
|
242
|
-
</tr>
|
243
|
-
<tr>
|
244
|
-
<td><p><span class="term"><a name="CAIRO-STATUS-INVALID-STRIDE:CAPS"></a><code class="literal">CAIRO_STATUS_INVALID_STRIDE</code></span></p></td>
|
245
|
-
<td> invalid value for stride (Since 1.6)
|
246
|
-
</td>
|
247
|
-
</tr>
|
248
|
-
</tbody>
|
249
|
-
</table></div>
|
250
|
-
</div>
|
251
|
-
<hr>
|
252
|
-
<div class="refsect2" lang="en">
|
253
|
-
<a name="id2674272"></a><h3>
|
254
|
-
<a name="cairo-status-to-string"></a>cairo_status_to_string ()</h3>
|
255
|
-
<a class="indexterm" name="id2674283"></a><pre class="programlisting">const char* cairo_status_to_string (<a class="link" href="cairo-Error-Handling.html#cairo-status-t">cairo_status_t</a> status);</pre>
|
256
|
-
<p>
|
257
|
-
Provides a human-readable description of a <a class="link" href="cairo-Error-Handling.html#cairo-status-t"><span class="type">cairo_status_t</span></a>.</p>
|
258
|
-
<p>
|
259
|
-
|
260
|
-
</p>
|
261
|
-
<div class="variablelist"><table border="0">
|
262
|
-
<col align="left" valign="top">
|
263
|
-
<tbody>
|
264
|
-
<tr>
|
265
|
-
<td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td>
|
266
|
-
<td> a cairo status
|
267
|
-
</td>
|
268
|
-
</tr>
|
269
|
-
<tr>
|
270
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
271
|
-
<td> a string representation of the status
|
272
|
-
</td>
|
273
|
-
</tr>
|
274
|
-
</tbody>
|
275
|
-
</table></div>
|
276
|
-
</div>
|
277
|
-
<hr>
|
278
|
-
<div class="refsect2" lang="en">
|
279
|
-
<a name="id2674354"></a><h3>
|
280
|
-
<a name="cairo-debug-reset-static-data"></a>cairo_debug_reset_static_data ()</h3>
|
281
|
-
<a class="indexterm" name="id2674366"></a><pre class="programlisting">void cairo_debug_reset_static_data (void);</pre>
|
282
|
-
<p>
|
283
|
-
Resets all static data within cairo to its original state,
|
284
|
-
(ie. identical to the state at the time of program invocation). For
|
285
|
-
example, all caches within cairo will be flushed empty.
|
286
|
-
</p>
|
287
|
-
<p>
|
288
|
-
This function is intended to be useful when using memory-checking
|
289
|
-
tools such as valgrind. When valgrind's memcheck analyzes a
|
290
|
-
cairo-using program without a call to <a class="link" href="cairo-Error-Handling.html#cairo-debug-reset-static-data"><code class="function">cairo_debug_reset_static_data()</code></a>,
|
291
|
-
it will report all data reachable via cairo's static objects as
|
292
|
-
"still reachable". Calling <a class="link" href="cairo-Error-Handling.html#cairo-debug-reset-static-data"><code class="function">cairo_debug_reset_static_data()</code></a> just prior
|
293
|
-
to program termination will make it easier to get squeaky clean
|
294
|
-
reports from valgrind.
|
295
|
-
</p>
|
296
|
-
<p>
|
297
|
-
WARNING: It is only safe to call this function when there are no
|
298
|
-
active cairo objects remaining, (ie. the appropriate destroy
|
299
|
-
functions have been called as necessary). If there are active cairo
|
300
|
-
objects, this call is likely to cause a crash, (eg. an assertion
|
301
|
-
failure due to a hash table being destroyed when non-empty).</p>
|
302
|
-
<p>
|
303
|
-
|
304
|
-
</p>
|
305
|
-
</div>
|
306
|
-
</div>
|
307
|
-
<div class="refsect1" lang="en">
|
308
|
-
<a name="id2674434"></a><h2>See Also</h2>
|
309
|
-
<p>
|
310
|
-
</p>
|
311
|
-
<div class="itemizedlist"><ul type="disc">
|
312
|
-
<li><a class="link" href="cairo-cairo-t.html#cairo-status"><code class="function">cairo_status()</code></a></li>
|
313
|
-
<li><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status"><code class="function">cairo_surface_status()</code></a></li>
|
314
|
-
<li><a class="link" href="cairo-Patterns.html#cairo-pattern-status"><code class="function">cairo_pattern_status()</code></a></li>
|
315
|
-
<li><a class="link" href="cairo-cairo-font-face-t.html#cairo-font-face-status"><code class="function">cairo_font_face_status()</code></a></li>
|
316
|
-
<li><a class="link" href="cairo-Scaled-Fonts.html#cairo-scaled-font-status"><code class="function">cairo_scaled_font_status()</code></a></li>
|
317
|
-
</ul></div>
|
318
|
-
<p>
|
319
|
-
</p>
|
320
|
-
</div>
|
321
|
-
<div class="refsect1" lang="en">
|
322
|
-
<a name="id2674499"></a><div class="refsect2" lang="en"><a name="id2674500"></a></div>
|
323
|
-
<hr>
|
324
|
-
<div class="refsect2" lang="en"><a name="id2674501"></a></div>
|
325
|
-
</div>
|
326
|
-
</div>
|
327
|
-
</body>
|
328
|
-
</html>
|