rsvg2 3.0.7-x64-mingw32 → 3.0.8-x64-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-attr-sel</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>cr-attr-sel: 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-additional-sel.html" title="cr-additional-sel">
|
10
10
|
<link rel="next" href="libcroco-cr-cascade.html" title="cr-cascade">
|
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-attr-sel.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-attr-sel.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-additional-sel.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="libcroco-cr-cascade.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-attr-sel"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,171 +29,252 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="libcroco-cr-attr-sel.top_of_page"></a>cr-attr-sel</span></h2>
|
34
30
|
<p>cr-attr-sel</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-attr-sel.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">struct <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel">CRAttrSel</a>;
|
41
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-append-attr-sel" title="cr_attr_sel_append_attr_sel ()">cr_attr_sel_append_attr_sel</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>,
|
42
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_attr_sel</code></em>);
|
43
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-destroy" title="cr_attr_sel_destroy ()">cr_attr_sel_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>);
|
44
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-dump" title="cr_attr_sel_dump ()">cr_attr_sel_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> const *a_this</code></em>,
|
45
|
-
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
46
|
-
<a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="returnvalue">CRAttrSel</span></a> * <a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-new" title="cr_attr_sel_new ()">cr_attr_sel_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-prepend-attr-sel" title="cr_attr_sel_prepend_attr_sel ()">cr_attr_sel_prepend_attr_sel</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>,
|
48
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_attr_sel</code></em>);
|
49
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-to-string" title="cr_attr_sel_to_string ()">cr_attr_sel_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> const *a_this</code></em>);
|
50
|
-
</pre>
|
51
|
-
</div>
|
52
|
-
<div class="refsect1">
|
53
|
-
<a name="libcroco-cr-attr-sel.description"></a><h2>Description</h2>
|
54
|
-
<p>
|
55
|
-
</p>
|
56
|
-
</div>
|
57
34
|
<div class="refsect1">
|
58
|
-
<a name="libcroco-cr-attr-sel.
|
59
|
-
<div class="
|
60
|
-
<
|
61
|
-
<
|
62
|
-
|
63
|
-
|
64
|
-
enum AttrMatchWay match_way ;
|
65
|
-
CRAttrSel *next ;
|
66
|
-
CRAttrSel *prev ;
|
67
|
-
CRParsingLocation location ;
|
68
|
-
};
|
69
|
-
</pre>
|
70
|
-
<p>
|
71
|
-
<a class="link" href="libcroco-cr-additional-sel.html#CRAdditionalSel" title="struct CRAdditionalSel"><span class="type">CRAdditionalSel</span></a> abstracts an attribute selector.
|
72
|
-
Attributes selectors are described in the css2 spec [5.8].
|
73
|
-
There are more generally used in the css2 selectors described in
|
74
|
-
css2 spec [5] .
|
75
|
-
</p>
|
76
|
-
</div>
|
77
|
-
<hr>
|
78
|
-
<div class="refsect2">
|
79
|
-
<a name="cr-attr-sel-append-attr-sel"></a><h3>cr_attr_sel_append_attr_sel ()</h3>
|
80
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_attr_sel_append_attr_sel (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_attr_sel</code></em>);</pre>
|
82
|
-
<p>
|
83
|
-
Appends an attribute selector to the current list of
|
84
|
-
attribute selectors represented by a_this.
|
85
|
-
</p>
|
86
|
-
<div class="variablelist"><table border="0">
|
87
|
-
<col align="left" valign="top">
|
35
|
+
<a name="libcroco-cr-attr-sel.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>
|
88
41
|
<tbody>
|
89
42
|
<tr>
|
90
|
-
<td
|
91
|
-
<
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="returnvalue">CRAttrSel</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-new" title="cr_attr_sel_new ()">cr_attr_sel_new</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
52
|
+
</td>
|
53
|
+
<td class="function_name">
|
54
|
+
<a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-append-attr-sel" title="cr_attr_sel_append_attr_sel ()">cr_attr_sel_append_attr_sel</a> <span class="c_punctuation">()</span>
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr>
|
58
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
59
|
+
</td>
|
60
|
+
<td class="function_name">
|
61
|
+
<a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-prepend-attr-sel" title="cr_attr_sel_prepend_attr_sel ()">cr_attr_sel_prepend_attr_sel</a> <span class="c_punctuation">()</span>
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td class="function_type">
|
66
|
+
<span class="returnvalue">guchar</span> *
|
67
|
+
</td>
|
68
|
+
<td class="function_name">
|
69
|
+
<a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-to-string" title="cr_attr_sel_to_string ()">cr_attr_sel_to_string</a> <span class="c_punctuation">()</span>
|
70
|
+
</td>
|
92
71
|
</tr>
|
93
72
|
<tr>
|
94
|
-
<td
|
95
|
-
<
|
73
|
+
<td class="function_type">
|
74
|
+
<span class="returnvalue">void</span>
|
75
|
+
</td>
|
76
|
+
<td class="function_name">
|
77
|
+
<a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-dump" title="cr_attr_sel_dump ()">cr_attr_sel_dump</a> <span class="c_punctuation">()</span>
|
78
|
+
</td>
|
96
79
|
</tr>
|
97
80
|
<tr>
|
98
|
-
<td
|
99
|
-
<
|
81
|
+
<td class="function_type">
|
82
|
+
<span class="returnvalue">void</span>
|
83
|
+
</td>
|
84
|
+
<td class="function_name">
|
85
|
+
<a class="link" href="libcroco-cr-attr-sel.html#cr-attr-sel-destroy" title="cr_attr_sel_destroy ()">cr_attr_sel_destroy</a> <span class="c_punctuation">()</span>
|
86
|
+
</td>
|
100
87
|
</tr>
|
101
88
|
</tbody>
|
102
89
|
</table></div>
|
103
90
|
</div>
|
104
|
-
<
|
105
|
-
<
|
106
|
-
<
|
107
|
-
<
|
108
|
-
<
|
109
|
-
|
110
|
-
|
111
|
-
</p>
|
112
|
-
<div class="variablelist"><table border="0">
|
113
|
-
<col align="left" valign="top">
|
91
|
+
<div class="refsect1">
|
92
|
+
<a name="libcroco-cr-attr-sel.other"></a><h2>Types and Values</h2>
|
93
|
+
<div class="informaltable"><table width="100%" border="0">
|
94
|
+
<colgroup>
|
95
|
+
<col width="150px" class="name">
|
96
|
+
<col class="description">
|
97
|
+
</colgroup>
|
114
98
|
<tbody><tr>
|
115
|
-
<td
|
116
|
-
<td
|
117
|
-
instance of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</td>
|
99
|
+
<td class="datatype_keyword">struct</td>
|
100
|
+
<td class="function_name"><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel">CRAttrSel</a></td>
|
118
101
|
</tr></tbody>
|
119
102
|
</table></div>
|
120
103
|
</div>
|
104
|
+
<div class="refsect1">
|
105
|
+
<a name="libcroco-cr-attr-sel.description"></a><h2>Description</h2>
|
106
|
+
</div>
|
107
|
+
<div class="refsect1">
|
108
|
+
<a name="libcroco-cr-attr-sel.functions_details"></a><h2>Functions</h2>
|
109
|
+
<div class="refsect2">
|
110
|
+
<a name="cr-attr-sel-new"></a><h3>cr_attr_sel_new ()</h3>
|
111
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="returnvalue">CRAttrSel</span></a> *
|
112
|
+
cr_attr_sel_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
113
|
+
</div>
|
121
114
|
<hr>
|
122
115
|
<div class="refsect2">
|
123
|
-
<a name="cr-attr-sel-
|
124
|
-
<pre class="programlisting"
|
125
|
-
|
126
|
-
<
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<
|
116
|
+
<a name="cr-attr-sel-append-attr-sel"></a><h3>cr_attr_sel_append_attr_sel ()</h3>
|
117
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
118
|
+
cr_attr_sel_append_attr_sel (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>,
|
119
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_attr_sel</code></em>);</pre>
|
120
|
+
<p>Appends an attribute selector to the current list of
|
121
|
+
attribute selectors represented by a_this.
|
122
|
+
Returns CR_OK upon successfull completion, an error code otherwise.</p>
|
123
|
+
<div class="refsect3">
|
124
|
+
<a name="id-1.2.3.6.3.5"></a><h4>Parameters</h4>
|
125
|
+
<div class="informaltable"><table width="100%" border="0">
|
126
|
+
<colgroup>
|
127
|
+
<col width="150px" class="parameters_name">
|
128
|
+
<col class="parameters_description">
|
129
|
+
<col width="200px" class="parameters_annotations">
|
130
|
+
</colgroup>
|
131
131
|
<tbody>
|
132
132
|
<tr>
|
133
|
-
<td
|
134
|
-
<td>the
|
135
|
-
<
|
133
|
+
<td class="parameter_name"><p>a_this</p></td>
|
134
|
+
<td class="parameter_description"><p>the this pointer of the current instance of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</p></td>
|
135
|
+
<td class="parameter_annotations"> </td>
|
136
136
|
</tr>
|
137
137
|
<tr>
|
138
|
-
<td
|
139
|
-
<td>
|
138
|
+
<td class="parameter_name"><p>a_attr_sel</p></td>
|
139
|
+
<td class="parameter_description"><p>selector to append.</p></td>
|
140
|
+
<td class="parameter_annotations"> </td>
|
140
141
|
</tr>
|
141
142
|
</tbody>
|
142
143
|
</table></div>
|
143
144
|
</div>
|
144
|
-
<hr>
|
145
|
-
<div class="refsect2">
|
146
|
-
<a name="cr-attr-sel-new"></a><h3>cr_attr_sel_new ()</h3>
|
147
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="returnvalue">CRAttrSel</span></a> * cr_attr_sel_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
148
145
|
</div>
|
149
146
|
<hr>
|
150
147
|
<div class="refsect2">
|
151
|
-
<a name="cr-attr-sel-prepend-attr-sel"></a><h3>cr_attr_sel_prepend_attr_sel
|
152
|
-
<pre class="programlisting">enum <
|
153
|
-
|
154
|
-
<
|
155
|
-
Prepends an attribute selector to the list of
|
148
|
+
<a name="cr-attr-sel-prepend-attr-sel"></a><h3>cr_attr_sel_prepend_attr_sel ()</h3>
|
149
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
150
|
+
cr_attr_sel_prepend_attr_sel (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>,
|
151
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_attr_sel</code></em>);</pre>
|
152
|
+
<p>Prepends an attribute selector to the list of
|
156
153
|
attributes selector represented by a_this.
|
157
|
-
|
158
|
-
<div class="
|
159
|
-
<
|
154
|
+
Returns CR_OK upon successfull completion, an error code otherwise.</p>
|
155
|
+
<div class="refsect3">
|
156
|
+
<a name="id-1.2.3.6.4.5"></a><h4>Parameters</h4>
|
157
|
+
<div class="informaltable"><table width="100%" border="0">
|
158
|
+
<colgroup>
|
159
|
+
<col width="150px" class="parameters_name">
|
160
|
+
<col class="parameters_description">
|
161
|
+
<col width="200px" class="parameters_annotations">
|
162
|
+
</colgroup>
|
160
163
|
<tbody>
|
161
164
|
<tr>
|
162
|
-
<td
|
163
|
-
<td>the "this pointer" of the current instance *of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</td>
|
164
|
-
</
|
165
|
-
<tr>
|
166
|
-
<td><p><span class="term"><em class="parameter"><code>a_attr_sel</code></em> :</span></p></td>
|
167
|
-
<td>the attribute selector to append.</td>
|
165
|
+
<td class="parameter_name"><p>a_this</p></td>
|
166
|
+
<td class="parameter_description"><p>the "this pointer" of the current instance *of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</p></td>
|
167
|
+
<td class="parameter_annotations"> </td>
|
168
168
|
</tr>
|
169
169
|
<tr>
|
170
|
-
<td
|
171
|
-
<td>
|
170
|
+
<td class="parameter_name"><p>a_attr_sel</p></td>
|
171
|
+
<td class="parameter_description"><p>the attribute selector to append.</p></td>
|
172
|
+
<td class="parameter_annotations"> </td>
|
172
173
|
</tr>
|
173
174
|
</tbody>
|
174
175
|
</table></div>
|
175
176
|
</div>
|
177
|
+
</div>
|
176
178
|
<hr>
|
177
179
|
<div class="refsect2">
|
178
|
-
<a name="cr-attr-sel-to-string"></a><h3>cr_attr_sel_to_string
|
179
|
-
<pre class="programlisting"><
|
180
|
-
<
|
181
|
-
Serializes an attribute selector into a string
|
182
|
-
|
183
|
-
<div class="
|
184
|
-
<
|
180
|
+
<a name="cr-attr-sel-to-string"></a><h3>cr_attr_sel_to_string ()</h3>
|
181
|
+
<pre class="programlisting"><span class="returnvalue">guchar</span> *
|
182
|
+
cr_attr_sel_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> const *a_this</code></em>);</pre>
|
183
|
+
<p>Serializes an attribute selector into a string
|
184
|
+
Returns the serialized attribute selector.</p>
|
185
|
+
<div class="refsect3">
|
186
|
+
<a name="id-1.2.3.6.5.5"></a><h4>Parameters</h4>
|
187
|
+
<div class="informaltable"><table width="100%" border="0">
|
188
|
+
<colgroup>
|
189
|
+
<col width="150px" class="parameters_name">
|
190
|
+
<col class="parameters_description">
|
191
|
+
<col width="200px" class="parameters_annotations">
|
192
|
+
</colgroup>
|
193
|
+
<tbody><tr>
|
194
|
+
<td class="parameter_name"><p>a_this</p></td>
|
195
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</p></td>
|
196
|
+
<td class="parameter_annotations"> </td>
|
197
|
+
</tr></tbody>
|
198
|
+
</table></div>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
<hr>
|
202
|
+
<div class="refsect2">
|
203
|
+
<a name="cr-attr-sel-dump"></a><h3>cr_attr_sel_dump ()</h3>
|
204
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
205
|
+
cr_attr_sel_dump (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> const *a_this</code></em>,
|
206
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);</pre>
|
207
|
+
<p>Dumps the current instance of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> to a file.</p>
|
208
|
+
<div class="refsect3">
|
209
|
+
<a name="id-1.2.3.6.6.5"></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>
|
185
216
|
<tbody>
|
186
217
|
<tr>
|
187
|
-
<td
|
188
|
-
<td
|
218
|
+
<td class="parameter_name"><p>a_this</p></td>
|
219
|
+
<td class="parameter_description"><p>the "this pointer" of the current instance of
|
220
|
+
<a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</p></td>
|
221
|
+
<td class="parameter_annotations"> </td>
|
189
222
|
</tr>
|
190
223
|
<tr>
|
191
|
-
<td
|
192
|
-
<td>the
|
224
|
+
<td class="parameter_name"><p>a_fp</p></td>
|
225
|
+
<td class="parameter_description"><p>the destination file.</p></td>
|
226
|
+
<td class="parameter_annotations"> </td>
|
193
227
|
</tr>
|
194
228
|
</tbody>
|
195
229
|
</table></div>
|
196
230
|
</div>
|
197
231
|
</div>
|
232
|
+
<hr>
|
233
|
+
<div class="refsect2">
|
234
|
+
<a name="cr-attr-sel-destroy"></a><h3>cr_attr_sel_destroy ()</h3>
|
235
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
236
|
+
cr_attr_sel_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a> *a_this</code></em>);</pre>
|
237
|
+
<p>Destroys the current instance of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.
|
238
|
+
Frees all the fields if they are non null.</p>
|
239
|
+
<div class="refsect3">
|
240
|
+
<a name="id-1.2.3.6.7.5"></a><h4>Parameters</h4>
|
241
|
+
<div class="informaltable"><table width="100%" border="0">
|
242
|
+
<colgroup>
|
243
|
+
<col width="150px" class="parameters_name">
|
244
|
+
<col class="parameters_description">
|
245
|
+
<col width="200px" class="parameters_annotations">
|
246
|
+
</colgroup>
|
247
|
+
<tbody><tr>
|
248
|
+
<td class="parameter_name"><p>a_this</p></td>
|
249
|
+
<td class="parameter_description"><p>the "this pointer" of the current
|
250
|
+
instance of <a class="link" href="libcroco-cr-attr-sel.html#CRAttrSel" title="struct CRAttrSel"><span class="type">CRAttrSel</span></a>.</p></td>
|
251
|
+
<td class="parameter_annotations"> </td>
|
252
|
+
</tr></tbody>
|
253
|
+
</table></div>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
<div class="refsect1">
|
258
|
+
<a name="libcroco-cr-attr-sel.other_details"></a><h2>Types and Values</h2>
|
259
|
+
<div class="refsect2">
|
260
|
+
<a name="CRAttrSel"></a><h3>struct CRAttrSel</h3>
|
261
|
+
<pre class="programlisting">struct CRAttrSel {
|
262
|
+
CRString *name ;
|
263
|
+
CRString *value ;
|
264
|
+
enum AttrMatchWay match_way ;
|
265
|
+
CRAttrSel *next ;
|
266
|
+
CRAttrSel *prev ;
|
267
|
+
CRParsingLocation location ;
|
268
|
+
};
|
269
|
+
</pre>
|
270
|
+
<p><a class="link" href="libcroco-cr-additional-sel.html#CRAdditionalSel" title="struct CRAdditionalSel"><span class="type">CRAdditionalSel</span></a> abstracts an attribute selector.
|
271
|
+
Attributes selectors are described in the css2 spec [5.8].
|
272
|
+
There are more generally used in the css2 selectors described in
|
273
|
+
css2 spec [5] .</p>
|
274
|
+
</div>
|
275
|
+
</div>
|
198
276
|
</div>
|
199
277
|
<div class="footer">
|
200
|
-
<hr>
|
201
|
-
Generated by GTK-Doc V1.18</div>
|
278
|
+
<hr>Generated by GTK-Doc V1.24.1</div>
|
202
279
|
</body>
|
203
280
|
</html>
|
@@ -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>
|