rsvg2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/rsvg2/extconf.rb +1 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/2.3/rsvg2.so +0 -0
- data/vendor/local/bin/croco-0.6-config +2 -2
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/libcroco-0.6.la +3 -3
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +2 -2
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
- data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
- data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
- data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- metadata +14 -10
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>cr-cascade</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>cr-cascade: Libcroco Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
9
|
<link rel="prev" href="libcroco-cr-attr-sel.html" title="cr-attr-sel">
|
10
10
|
<link rel="next" href="libcroco-cr-declaration.html" title="cr-declaration">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
<
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
|
26
|
-
<a href="#libcroco-cr-cascade.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#libcroco-cr-cascade.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="libcroco-cr-attr-sel.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="libcroco-cr-declaration.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
29
25
|
<div class="refentry">
|
30
26
|
<a name="libcroco-cr-cascade"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,208 +29,299 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="libcroco-cr-cascade.top_of_page"></a>cr-cascade</span></h2>
|
34
30
|
<p>cr-cascade</p>
|
35
31
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
33
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="libcroco-cr-cascade.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">struct <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade">CRCascade</a>;
|
41
|
-
<a class="link" href="libcroco-cr-cascade.html#CRCascadePriv" title="CRCascadePriv">CRCascadePriv</a>;
|
42
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-destroy" title="cr_cascade_destroy ()">cr_cascade_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);
|
43
|
-
<a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="returnvalue">CRStyleSheet</span></a> * <a class="link" href="libcroco-cr-cascade.html#cr-cascade-get-sheet" title="cr_cascade_get_sheet ()">cr_cascade_get_sheet</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
44
|
-
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);
|
45
|
-
<a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="returnvalue">CRCascade</span></a> * <a class="link" href="libcroco-cr-cascade.html#cr-cascade-new" title="cr_cascade_new ()">cr_cascade_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_author_sheet</code></em>,
|
46
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_user_sheet</code></em>,
|
47
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_ua_sheet</code></em>);
|
48
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-ref" title="cr_cascade_ref ()">cr_cascade_ref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);
|
49
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-set-sheet" title="cr_cascade_set_sheet ()">cr_cascade_set_sheet</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);
|
52
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-cascade.html#cr-cascade-unref" title="cr_cascade_unref ()">cr_cascade_unref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);
|
53
|
-
</pre>
|
54
|
-
</div>
|
55
34
|
<div class="refsect1">
|
56
|
-
<a name="libcroco-cr-cascade.
|
57
|
-
<
|
58
|
-
|
59
|
-
|
60
|
-
<
|
61
|
-
|
62
|
-
<
|
63
|
-
<
|
64
|
-
<
|
65
|
-
|
66
|
-
};
|
67
|
-
</pre>
|
68
|
-
<p>
|
69
|
-
</p>
|
70
|
-
</div>
|
71
|
-
<hr>
|
72
|
-
<div class="refsect2">
|
73
|
-
<a name="CRCascadePriv"></a><h3>CRCascadePriv</h3>
|
74
|
-
<pre class="programlisting">typedef struct _CRCascadePriv CRCascadePriv;</pre>
|
75
|
-
<p>
|
76
|
-
</p>
|
77
|
-
</div>
|
78
|
-
<hr>
|
79
|
-
<div class="refsect2">
|
80
|
-
<a name="cr-cascade-destroy"></a><h3>cr_cascade_destroy ()</h3>
|
81
|
-
<pre class="programlisting"><span class="returnvalue">void</span> cr_cascade_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
82
|
-
<p>
|
83
|
-
Destructor of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.
|
84
|
-
</p>
|
85
|
-
<div class="variablelist"><table border="0">
|
86
|
-
<col align="left" valign="top">
|
87
|
-
<tbody><tr>
|
88
|
-
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
89
|
-
<td>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>
|
35
|
+
<a name="libcroco-cr-cascade.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="returnvalue">CRCascade</span></a> *
|
90
45
|
</td>
|
91
|
-
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="libcroco-cr-cascade.html#cr-cascade-new" title="cr_cascade_new ()">cr_cascade_new</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="returnvalue">CRStyleSheet</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="libcroco-cr-cascade.html#cr-cascade-get-sheet" title="cr_cascade_get_sheet ()">cr_cascade_get_sheet</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
60
|
+
</td>
|
61
|
+
<td class="function_name">
|
62
|
+
<a class="link" href="libcroco-cr-cascade.html#cr-cascade-set-sheet" title="cr_cascade_set_sheet ()">cr_cascade_set_sheet</a> <span class="c_punctuation">()</span>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td class="function_type">
|
67
|
+
<span class="returnvalue">void</span>
|
68
|
+
</td>
|
69
|
+
<td class="function_name">
|
70
|
+
<a class="link" href="libcroco-cr-cascade.html#cr-cascade-ref" title="cr_cascade_ref ()">cr_cascade_ref</a> <span class="c_punctuation">()</span>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr>
|
74
|
+
<td class="function_type">
|
75
|
+
<span class="returnvalue">void</span>
|
76
|
+
</td>
|
77
|
+
<td class="function_name">
|
78
|
+
<a class="link" href="libcroco-cr-cascade.html#cr-cascade-unref" title="cr_cascade_unref ()">cr_cascade_unref</a> <span class="c_punctuation">()</span>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
<td class="function_type">
|
83
|
+
<span class="returnvalue">void</span>
|
84
|
+
</td>
|
85
|
+
<td class="function_name">
|
86
|
+
<a class="link" href="libcroco-cr-cascade.html#cr-cascade-destroy" title="cr_cascade_destroy ()">cr_cascade_destroy</a> <span class="c_punctuation">()</span>
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
</tbody>
|
92
90
|
</table></div>
|
93
91
|
</div>
|
94
|
-
<
|
95
|
-
<
|
96
|
-
<
|
97
|
-
<
|
98
|
-
|
99
|
-
<
|
100
|
-
|
101
|
-
Note that the returned stylesheet
|
102
|
-
is refcounted so if the caller wants
|
103
|
-
to manage it's lifecycle, it must use
|
104
|
-
<a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-ref" title="cr_stylesheet_ref ()"><code class="function">cr_stylesheet_ref()</code></a>/<a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-unref" title="cr_stylesheet_unref ()"><code class="function">cr_stylesheet_unref()</code></a> instead
|
105
|
-
of the <a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-destroy" title="cr_stylesheet_destroy ()"><code class="function">cr_stylesheet_destroy()</code></a> method.
|
106
|
-
</p>
|
107
|
-
<div class="variablelist"><table border="0">
|
108
|
-
<col align="left" valign="top">
|
92
|
+
<div class="refsect1">
|
93
|
+
<a name="libcroco-cr-cascade.other"></a><h2>Types and Values</h2>
|
94
|
+
<div class="informaltable"><table width="100%" border="0">
|
95
|
+
<colgroup>
|
96
|
+
<col width="150px" class="name">
|
97
|
+
<col class="description">
|
98
|
+
</colgroup>
|
109
99
|
<tbody>
|
110
100
|
<tr>
|
111
|
-
<td
|
112
|
-
<td
|
113
|
-
</tr>
|
114
|
-
<tr>
|
115
|
-
<td><p><span class="term"><em class="parameter"><code>a_origin</code></em> :</span></p></td>
|
116
|
-
<td>the origin of the style sheet as
|
117
|
-
defined in the css2 spec in chapter 6.4.
|
118
|
-
Gets a given origin sheet.</td>
|
101
|
+
<td class="datatype_keyword">struct</td>
|
102
|
+
<td class="function_name"><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade">CRCascade</a></td>
|
119
103
|
</tr>
|
120
104
|
<tr>
|
121
|
-
<td
|
122
|
-
<td
|
123
|
-
exist.</td>
|
105
|
+
<td class="datatype_keyword"> </td>
|
106
|
+
<td class="function_name"><a class="link" href="libcroco-cr-cascade.html#CRCascadePriv" title="CRCascadePriv">CRCascadePriv</a></td>
|
124
107
|
</tr>
|
125
108
|
</tbody>
|
126
109
|
</table></div>
|
127
110
|
</div>
|
128
|
-
<
|
111
|
+
<div class="refsect1">
|
112
|
+
<a name="libcroco-cr-cascade.description"></a><h2>Description</h2>
|
113
|
+
</div>
|
114
|
+
<div class="refsect1">
|
115
|
+
<a name="libcroco-cr-cascade.functions_details"></a><h2>Functions</h2>
|
129
116
|
<div class="refsect2">
|
130
|
-
<a name="cr-cascade-new"></a><h3>cr_cascade_new
|
131
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="returnvalue">CRCascade</span></a>
|
132
|
-
|
133
|
-
|
134
|
-
<
|
135
|
-
Constructor of the <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> class.
|
117
|
+
<a name="cr-cascade-new"></a><h3>cr_cascade_new ()</h3>
|
118
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="returnvalue">CRCascade</span></a> *
|
119
|
+
cr_cascade_new (<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_author_sheet</code></em>,
|
120
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_user_sheet</code></em>,
|
121
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_ua_sheet</code></em>);</pre>
|
122
|
+
<p>Constructor of the <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> class.
|
136
123
|
Note that all three parameters of this
|
137
124
|
method are ref counted and their refcount is increased.
|
138
125
|
Their refcount will be decreased at the destruction of
|
139
126
|
the instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.
|
140
127
|
So the caller should not call their destructor. The caller
|
141
|
-
should call their ref/unref method instead if it wants
|
142
|
-
|
143
|
-
|
144
|
-
<
|
128
|
+
should call their ref/unref method instead if it wants</p>
|
129
|
+
<p>Returns the newly built instance of CRCascade or NULL if
|
130
|
+
an error arose during constrution.</p>
|
131
|
+
<div class="refsect3">
|
132
|
+
<a name="id-1.2.4.6.2.6"></a><h4>Parameters</h4>
|
133
|
+
<div class="informaltable"><table width="100%" border="0">
|
134
|
+
<colgroup>
|
135
|
+
<col width="150px" class="parameters_name">
|
136
|
+
<col class="parameters_description">
|
137
|
+
<col width="200px" class="parameters_annotations">
|
138
|
+
</colgroup>
|
145
139
|
<tbody>
|
146
140
|
<tr>
|
147
|
-
<td
|
148
|
-
<td>the author origin style sheet. May be NULL.</td>
|
149
|
-
</
|
150
|
-
<tr>
|
151
|
-
<td><p><span class="term"><em class="parameter"><code>a_user_sheet</code></em> :</span></p></td>
|
152
|
-
<td>the user origin style sheet. May be NULL.</td>
|
141
|
+
<td class="parameter_name"><p>a_author_sheet</p></td>
|
142
|
+
<td class="parameter_description"><p>the author origin style sheet. May be NULL.</p></td>
|
143
|
+
<td class="parameter_annotations"> </td>
|
153
144
|
</tr>
|
154
145
|
<tr>
|
155
|
-
<td
|
156
|
-
<td>the user
|
146
|
+
<td class="parameter_name"><p>a_user_sheet</p></td>
|
147
|
+
<td class="parameter_description"><p>the user origin style sheet. May be NULL.</p></td>
|
148
|
+
<td class="parameter_annotations"> </td>
|
157
149
|
</tr>
|
158
150
|
<tr>
|
159
|
-
<td
|
160
|
-
<td>the
|
161
|
-
|
151
|
+
<td class="parameter_name"><p>a_ua_sheet</p></td>
|
152
|
+
<td class="parameter_description"><p>the user agent origin style sheet. May be NULL.</p></td>
|
153
|
+
<td class="parameter_annotations"> </td>
|
162
154
|
</tr>
|
163
155
|
</tbody>
|
164
156
|
</table></div>
|
165
157
|
</div>
|
158
|
+
</div>
|
166
159
|
<hr>
|
167
160
|
<div class="refsect2">
|
168
|
-
<a name="cr-cascade-
|
169
|
-
<pre class="programlisting"><
|
170
|
-
<
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<
|
177
|
-
<
|
178
|
-
|
179
|
-
|
180
|
-
|
161
|
+
<a name="cr-cascade-get-sheet"></a><h3>cr_cascade_get_sheet ()</h3>
|
162
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="returnvalue">CRStyleSheet</span></a> *
|
163
|
+
cr_cascade_get_sheet (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
164
|
+
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);</pre>
|
165
|
+
<p>Gets a sheet, part of the cascade.
|
166
|
+
Note that the returned stylesheet
|
167
|
+
is refcounted so if the caller wants
|
168
|
+
to manage it's lifecycle, it must use
|
169
|
+
<a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-ref" title="cr_stylesheet_ref ()"><code class="function">cr_stylesheet_ref()</code></a>/<a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-unref" title="cr_stylesheet_unref ()"><code class="function">cr_stylesheet_unref()</code></a> instead
|
170
|
+
of the <a class="link" href="libcroco-cr-stylesheet.html#cr-stylesheet-destroy" title="cr_stylesheet_destroy ()"><code class="function">cr_stylesheet_destroy()</code></a> method.
|
171
|
+
Returns the style sheet, or NULL if it does not
|
172
|
+
exist.</p>
|
173
|
+
<div class="refsect3">
|
174
|
+
<a name="id-1.2.4.6.3.5"></a><h4>Parameters</h4>
|
175
|
+
<div class="informaltable"><table width="100%" border="0">
|
176
|
+
<colgroup>
|
177
|
+
<col width="150px" class="parameters_name">
|
178
|
+
<col class="parameters_description">
|
179
|
+
<col width="200px" class="parameters_annotations">
|
180
|
+
</colgroup>
|
181
|
+
<tbody>
|
182
|
+
<tr>
|
183
|
+
<td class="parameter_name"><p>a_this</p></td>
|
184
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</p></td>
|
185
|
+
<td class="parameter_annotations"> </td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="parameter_name"><p>a_origin</p></td>
|
189
|
+
<td class="parameter_description"><p>the origin of the style sheet as
|
190
|
+
defined in the css2 spec in chapter 6.4.
|
191
|
+
Gets a given origin sheet.</p></td>
|
192
|
+
<td class="parameter_annotations"> </td>
|
193
|
+
</tr>
|
194
|
+
</tbody>
|
181
195
|
</table></div>
|
182
196
|
</div>
|
197
|
+
</div>
|
183
198
|
<hr>
|
184
199
|
<div class="refsect2">
|
185
|
-
<a name="cr-cascade-set-sheet"></a><h3>cr_cascade_set_sheet
|
186
|
-
<pre class="programlisting">enum <
|
187
|
-
|
188
|
-
|
189
|
-
<
|
190
|
-
Sets a stylesheet in the cascade
|
191
|
-
|
192
|
-
|
193
|
-
<
|
200
|
+
<a name="cr-cascade-set-sheet"></a><h3>cr_cascade_set_sheet ()</h3>
|
201
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
202
|
+
cr_cascade_set_sheet (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>,
|
203
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
204
|
+
<em class="parameter"><code><span class="type">enum CRStyleOrigin</span> a_origin</code></em>);</pre>
|
205
|
+
<p>Sets a stylesheet in the cascade</p>
|
206
|
+
<p>Returns CR_OK upon successfull completion, an error
|
207
|
+
code otherwise.</p>
|
208
|
+
<div class="refsect3">
|
209
|
+
<a name="id-1.2.4.6.4.6"></a><h4>Parameters</h4>
|
210
|
+
<div class="informaltable"><table width="100%" border="0">
|
211
|
+
<colgroup>
|
212
|
+
<col width="150px" class="parameters_name">
|
213
|
+
<col class="parameters_description">
|
214
|
+
<col width="200px" class="parameters_annotations">
|
215
|
+
</colgroup>
|
194
216
|
<tbody>
|
195
217
|
<tr>
|
196
|
-
<td
|
197
|
-
<td>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</td>
|
198
|
-
</
|
199
|
-
<tr>
|
200
|
-
<td><p><span class="term"><em class="parameter"><code>a_sheet</code></em> :</span></p></td>
|
201
|
-
<td>the stylesheet to set.</td>
|
218
|
+
<td class="parameter_name"><p>a_this</p></td>
|
219
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</p></td>
|
220
|
+
<td class="parameter_annotations"> </td>
|
202
221
|
</tr>
|
203
222
|
<tr>
|
204
|
-
<td
|
205
|
-
<td>the
|
223
|
+
<td class="parameter_name"><p>a_sheet</p></td>
|
224
|
+
<td class="parameter_description"><p>the stylesheet to set.</p></td>
|
225
|
+
<td class="parameter_annotations"> </td>
|
206
226
|
</tr>
|
207
227
|
<tr>
|
208
|
-
<td
|
209
|
-
<td>
|
210
|
-
|
228
|
+
<td class="parameter_name"><p>a_origin</p></td>
|
229
|
+
<td class="parameter_description"><p>the origin of the stylesheet.</p></td>
|
230
|
+
<td class="parameter_annotations"> </td>
|
211
231
|
</tr>
|
212
232
|
</tbody>
|
213
233
|
</table></div>
|
214
234
|
</div>
|
235
|
+
</div>
|
215
236
|
<hr>
|
216
237
|
<div class="refsect2">
|
217
|
-
<a name="cr-cascade-
|
218
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
219
|
-
<
|
220
|
-
|
238
|
+
<a name="cr-cascade-ref"></a><h3>cr_cascade_ref ()</h3>
|
239
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
240
|
+
cr_cascade_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
241
|
+
<p>Increases the reference counter of the current instance
|
242
|
+
of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</p>
|
243
|
+
<div class="refsect3">
|
244
|
+
<a name="id-1.2.4.6.5.5"></a><h4>Parameters</h4>
|
245
|
+
<div class="informaltable"><table width="100%" border="0">
|
246
|
+
<colgroup>
|
247
|
+
<col width="150px" class="parameters_name">
|
248
|
+
<col class="parameters_description">
|
249
|
+
<col width="200px" class="parameters_annotations">
|
250
|
+
</colgroup>
|
251
|
+
<tbody><tr>
|
252
|
+
<td class="parameter_name"><p>a_this</p></td>
|
253
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a></p></td>
|
254
|
+
<td class="parameter_annotations"> </td>
|
255
|
+
</tr></tbody>
|
256
|
+
</table></div>
|
257
|
+
</div>
|
258
|
+
</div>
|
259
|
+
<hr>
|
260
|
+
<div class="refsect2">
|
261
|
+
<a name="cr-cascade-unref"></a><h3>cr_cascade_unref ()</h3>
|
262
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
263
|
+
cr_cascade_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
264
|
+
<p>Decrements the reference counter associated
|
221
265
|
to this instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>. If the reference
|
222
266
|
counter reaches zero, the instance is destroyed
|
223
|
-
using <a class="link" href="libcroco-cr-cascade.html#cr-cascade-destroy" title="cr_cascade_destroy
|
224
|
-
|
225
|
-
<
|
226
|
-
<
|
267
|
+
using <a class="link" href="libcroco-cr-cascade.html#cr-cascade-destroy" title="cr_cascade_destroy ()"><code class="function">cr_cascade_destroy()</code></a></p>
|
268
|
+
<div class="refsect3">
|
269
|
+
<a name="id-1.2.4.6.6.5"></a><h4>Parameters</h4>
|
270
|
+
<div class="informaltable"><table width="100%" border="0">
|
271
|
+
<colgroup>
|
272
|
+
<col width="150px" class="parameters_name">
|
273
|
+
<col class="parameters_description">
|
274
|
+
<col width="200px" class="parameters_annotations">
|
275
|
+
</colgroup>
|
276
|
+
<tbody><tr>
|
277
|
+
<td class="parameter_name"><p>a_this</p></td>
|
278
|
+
<td class="parameter_description"><p>the current instance of
|
279
|
+
<a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</p></td>
|
280
|
+
<td class="parameter_annotations"> </td>
|
281
|
+
</tr></tbody>
|
282
|
+
</table></div>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
<hr>
|
286
|
+
<div class="refsect2">
|
287
|
+
<a name="cr-cascade-destroy"></a><h3>cr_cascade_destroy ()</h3>
|
288
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
289
|
+
cr_cascade_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_this</code></em>);</pre>
|
290
|
+
<p>Destructor of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a>.</p>
|
291
|
+
<div class="refsect3">
|
292
|
+
<a name="id-1.2.4.6.7.5"></a><h4>Parameters</h4>
|
293
|
+
<div class="informaltable"><table width="100%" border="0">
|
294
|
+
<colgroup>
|
295
|
+
<col width="150px" class="parameters_name">
|
296
|
+
<col class="parameters_description">
|
297
|
+
<col width="200px" class="parameters_annotations">
|
298
|
+
</colgroup>
|
227
299
|
<tbody><tr>
|
228
|
-
<td
|
229
|
-
<td>the current instance of
|
230
|
-
<
|
300
|
+
<td class="parameter_name"><p>a_this</p></td>
|
301
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a></p></td>
|
302
|
+
<td class="parameter_annotations"> </td>
|
231
303
|
</tr></tbody>
|
232
304
|
</table></div>
|
233
305
|
</div>
|
234
306
|
</div>
|
235
307
|
</div>
|
236
|
-
<div class="
|
308
|
+
<div class="refsect1">
|
309
|
+
<a name="libcroco-cr-cascade.other_details"></a><h2>Types and Values</h2>
|
310
|
+
<div class="refsect2">
|
311
|
+
<a name="CRCascade"></a><h3>struct CRCascade</h3>
|
312
|
+
<pre class="programlisting">struct CRCascade {
|
313
|
+
CRCascadePriv *priv ;
|
314
|
+
};
|
315
|
+
</pre>
|
316
|
+
</div>
|
237
317
|
<hr>
|
238
|
-
|
318
|
+
<div class="refsect2">
|
319
|
+
<a name="CRCascadePriv"></a><h3>CRCascadePriv</h3>
|
320
|
+
<pre class="programlisting">typedef struct _CRCascadePriv CRCascadePriv;</pre>
|
321
|
+
</div>
|
322
|
+
</div>
|
323
|
+
</div>
|
324
|
+
<div class="footer">
|
325
|
+
<hr>Generated by GTK-Doc V1.24.1</div>
|
239
326
|
</body>
|
240
327
|
</html>
|