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-fonts</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>cr-fonts: 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-enc-handler.html" title="cr-enc-handler">
|
10
10
|
<link rel="next" href="libcroco-cr-input.html" title="cr-input">
|
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-fonts.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-fonts.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-enc-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="libcroco-cr-input.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-fonts"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,638 +29,984 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="libcroco-cr-fonts.top_of_page"></a>cr-fonts</span></h2>
|
34
30
|
<p>cr-fonts</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-fonts.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">struct <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily">CRFontFamily</a>;
|
41
|
-
struct <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize">CRFontSize</a>;
|
42
|
-
struct <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust">CRFontSizeAdjust</a>;
|
43
|
-
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-append" title="cr_font_family_append ()">cr_font_family_append</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
44
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);
|
45
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-family-destroy" title="cr_font_family_destroy ()">cr_font_family_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);
|
46
|
-
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-new" title="cr_font_family_new ()">cr_font_family_new</a> (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
|
47
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);
|
48
|
-
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-prepend" title="cr_font_family_prepend ()">cr_font_family_prepend</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);
|
50
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-family-set-name" title="cr_font_family_set_name ()">cr_font_family_set_name</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
51
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);
|
52
|
-
<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-fonts.html#cr-font-family-to-string" title="cr_font_family_to_string ()">cr_font_family_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> const *a_this</code></em>,
|
53
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_walk_font_family_list</code></em>);
|
54
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-destroy" title="cr_font_size_adjust_destroy ()">cr_font_size_adjust_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);
|
55
|
-
<a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-new" title="cr_font_size_adjust_new ()">cr_font_size_adjust_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
56
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-to-string" title="cr_font_size_adjust_to_string ()">cr_font_size_adjust_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> const *a_this</code></em>);
|
57
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-clear" title="cr_font_size_clear ()">cr_font_size_clear</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);
|
58
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-copy" title="cr_font_size_copy ()">cr_font_size_copy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_dst</code></em>,
|
59
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_src</code></em>);
|
60
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-destroy" title="cr_font_size_destroy ()">cr_font_size_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_font_size</code></em>);
|
61
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-larger-predefined-font-size" title="cr_font_size_get_larger_predefined_font_size ()">cr_font_size_get_larger_predefined_font_size</a>
|
62
|
-
(<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_larger_size</code></em>);
|
64
|
-
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-smaller-predefined-font-size" title="cr_font_size_get_smaller_predefined_font_size ()">cr_font_size_get_smaller_predefined_font_size</a>
|
65
|
-
(<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_smaller_size</code></em>);
|
67
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-predefined-absolute-font-size" title="cr_font_size_is_predefined_absolute_font_size ()">cr_font_size_is_predefined_absolute_font_size</a>
|
68
|
-
(<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>);
|
69
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-set-to-inherit" title="cr_font_size_is_set_to_inherit ()">cr_font_size_is_set_to_inherit</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);
|
70
|
-
<a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-new" title="cr_font_size_new ()">cr_font_size_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
71
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-absolute-font-size" title="cr_font_size_set_absolute_font_size ()">cr_font_size_set_absolute_font_size</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
|
72
|
-
<em class="parameter"><code><span class="type">enum CRNumType</span> a_num_type</code></em>,
|
73
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> a_value</code></em>);
|
74
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-predefined-absolute-font-size" title="cr_font_size_set_predefined_absolute_font_size ()">cr_font_size_set_predefined_absolute_font_size</a>
|
75
|
-
(<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
|
76
|
-
<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_predefined</code></em>);
|
77
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-relative-font-size" title="cr_font_size_set_relative_font_size ()">cr_font_size_set_relative_font_size</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
|
78
|
-
<em class="parameter"><code><span class="type">enum CRRelativeFontSize</span> a_relative</code></em>);
|
79
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-to-inherit" title="cr_font_size_set_to_inherit ()">cr_font_size_set_to_inherit</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);
|
80
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-to-string" title="cr_font_size_to_string ()">cr_font_size_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);
|
81
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-stretch-to-string" title="cr_font_stretch_to_string ()">cr_font_stretch_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontStretch</span> a_code</code></em>);
|
82
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-style-to-string" title="cr_font_style_to_string ()">cr_font_style_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontStyle</span> a_code</code></em>);
|
83
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-variant-to-string" title="cr_font_variant_to_string ()">cr_font_variant_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontVariant</span> a_code</code></em>);
|
84
|
-
enum <span class="returnvalue">CRFontWeight</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-weight-get-bolder" title="cr_font_weight_get_bolder ()">cr_font_weight_get_bolder</a> (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_weight</code></em>);
|
85
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-weight-to-string" title="cr_font_weight_to_string ()">cr_font_weight_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_code</code></em>);
|
86
|
-
</pre>
|
87
|
-
</div>
|
88
|
-
<div class="refsect1">
|
89
|
-
<a name="libcroco-cr-fonts.description"></a><h2>Description</h2>
|
90
|
-
<p>
|
91
|
-
</p>
|
92
|
-
</div>
|
93
34
|
<div class="refsect1">
|
94
|
-
<a name="libcroco-cr-fonts.
|
95
|
-
<div class="
|
96
|
-
<
|
97
|
-
<
|
98
|
-
|
99
|
-
|
100
|
-
/*
|
101
|
-
*The name of the font family, in case
|
102
|
-
*it is non generic.
|
103
|
-
*Is set only if the type is FONT_FAMILY_NON_GENERIC.
|
104
|
-
*/
|
105
|
-
guchar *name ;
|
106
|
-
|
107
|
-
CRFontFamily *next ;
|
108
|
-
CRFontFamily *prev ;
|
109
|
-
};
|
110
|
-
</pre>
|
111
|
-
<p>
|
112
|
-
</p>
|
113
|
-
</div>
|
114
|
-
<hr>
|
115
|
-
<div class="refsect2">
|
116
|
-
<a name="CRFontSize"></a><h3>struct CRFontSize</h3>
|
117
|
-
<pre class="programlisting">struct CRFontSize {
|
118
|
-
enum CRFontSizeType type ;
|
119
|
-
union {
|
120
|
-
enum CRPredefinedAbsoluteFontSize predefined ;
|
121
|
-
enum CRRelativeFontSize relative ;
|
122
|
-
CRNum absolute ;
|
123
|
-
} value;
|
124
|
-
};
|
125
|
-
</pre>
|
126
|
-
<p>
|
127
|
-
</p>
|
128
|
-
</div>
|
129
|
-
<hr>
|
130
|
-
<div class="refsect2">
|
131
|
-
<a name="CRFontSizeAdjust"></a><h3>struct CRFontSizeAdjust</h3>
|
132
|
-
<pre class="programlisting">struct CRFontSizeAdjust {
|
133
|
-
enum CRFontSizeAdjustType type ;
|
134
|
-
CRNum *num ;
|
135
|
-
};
|
136
|
-
</pre>
|
137
|
-
<p>
|
138
|
-
</p>
|
139
|
-
</div>
|
140
|
-
<hr>
|
141
|
-
<div class="refsect2">
|
142
|
-
<a name="cr-font-family-append"></a><h3>cr_font_family_append ()</h3>
|
143
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * cr_font_family_append (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
144
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);</pre>
|
145
|
-
<div class="variablelist"><table border="0">
|
146
|
-
<col align="left" valign="top">
|
35
|
+
<a name="libcroco-cr-fonts.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>
|
147
41
|
<tbody>
|
148
42
|
<tr>
|
149
|
-
<td
|
150
|
-
<
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-new" title="cr_font_family_new ()">cr_font_family_new</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
151
49
|
</tr>
|
152
50
|
<tr>
|
153
|
-
<td
|
154
|
-
<
|
51
|
+
<td class="function_type">
|
52
|
+
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-append" title="cr_font_family_append ()">cr_font_family_append</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
155
57
|
</tr>
|
156
58
|
<tr>
|
157
|
-
<td
|
158
|
-
<
|
59
|
+
<td class="function_type">
|
60
|
+
<span class="returnvalue">guchar</span> *
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-to-string" title="cr_font_family_to_string ()">cr_font_family_to_string</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
159
65
|
</tr>
|
160
|
-
</tbody>
|
161
|
-
</table></div>
|
162
|
-
</div>
|
163
|
-
<hr>
|
164
|
-
<div class="refsect2">
|
165
|
-
<a name="cr-font-family-destroy"></a><h3>cr_font_family_destroy ()</h3>
|
166
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_family_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);</pre>
|
167
|
-
<div class="variablelist"><table border="0">
|
168
|
-
<col align="left" valign="top">
|
169
|
-
<tbody>
|
170
66
|
<tr>
|
171
|
-
<td
|
172
|
-
<
|
67
|
+
<td class="function_type">
|
68
|
+
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-prepend" title="cr_font_family_prepend ()">cr_font_family_prepend</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
173
73
|
</tr>
|
174
74
|
<tr>
|
175
|
-
<td
|
176
|
-
|
75
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
76
|
+
</td>
|
77
|
+
<td class="function_name">
|
78
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-destroy" title="cr_font_family_destroy ()">cr_font_family_destroy</a> <span class="c_punctuation">()</span>
|
79
|
+
</td>
|
177
80
|
</tr>
|
178
|
-
</tbody>
|
179
|
-
</table></div>
|
180
|
-
</div>
|
181
|
-
<hr>
|
182
|
-
<div class="refsect2">
|
183
|
-
<a name="cr-font-family-new"></a><h3>cr_font_family_new ()</h3>
|
184
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * cr_font_family_new (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
|
185
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);</pre>
|
186
|
-
<p>
|
187
|
-
create a font family.
|
188
|
-
</p>
|
189
|
-
<div class="variablelist"><table border="0">
|
190
|
-
<col align="left" valign="top">
|
191
|
-
<tbody>
|
192
81
|
<tr>
|
193
|
-
<td
|
194
|
-
|
82
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
83
|
+
</td>
|
84
|
+
<td class="function_name">
|
85
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-set-name" title="cr_font_family_set_name ()">cr_font_family_set_name</a> <span class="c_punctuation">()</span>
|
86
|
+
</td>
|
195
87
|
</tr>
|
196
88
|
<tr>
|
197
|
-
<td
|
198
|
-
<
|
89
|
+
<td class="function_type">
|
90
|
+
<a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> *
|
91
|
+
</td>
|
92
|
+
<td class="function_name">
|
93
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-new" title="cr_font_size_new ()">cr_font_size_new</a> <span class="c_punctuation">()</span>
|
94
|
+
</td>
|
199
95
|
</tr>
|
200
96
|
<tr>
|
201
|
-
<td
|
202
|
-
|
97
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
98
|
+
</td>
|
99
|
+
<td class="function_name">
|
100
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-clear" title="cr_font_size_clear ()">cr_font_size_clear</a> <span class="c_punctuation">()</span>
|
101
|
+
</td>
|
203
102
|
</tr>
|
204
|
-
</tbody>
|
205
|
-
</table></div>
|
206
|
-
</div>
|
207
|
-
<hr>
|
208
|
-
<div class="refsect2">
|
209
|
-
<a name="cr-font-family-prepend"></a><h3>cr_font_family_prepend ()</h3>
|
210
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * cr_font_family_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
211
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);</pre>
|
212
|
-
<div class="variablelist"><table border="0">
|
213
|
-
<col align="left" valign="top">
|
214
|
-
<tbody>
|
215
103
|
<tr>
|
216
|
-
<td
|
217
|
-
|
104
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-copy" title="cr_font_size_copy ()">cr_font_size_copy</a> <span class="c_punctuation">()</span>
|
108
|
+
</td>
|
218
109
|
</tr>
|
219
110
|
<tr>
|
220
|
-
<td
|
221
|
-
|
111
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-predefined-absolute-font-size" title="cr_font_size_set_predefined_absolute_font_size ()">cr_font_size_set_predefined_absolute_font_size</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
222
116
|
</tr>
|
223
117
|
<tr>
|
224
|
-
<td
|
225
|
-
|
118
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-relative-font-size" title="cr_font_size_set_relative_font_size ()">cr_font_size_set_relative_font_size</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-absolute-font-size" title="cr_font_size_set_absolute_font_size ()">cr_font_size_set_absolute_font_size</a> <span class="c_punctuation">()</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-to-inherit" title="cr_font_size_set_to_inherit ()">cr_font_size_set_to_inherit</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">
|
140
|
+
<span class="returnvalue">gboolean</span>
|
141
|
+
</td>
|
142
|
+
<td class="function_name">
|
143
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-set-to-inherit" title="cr_font_size_is_set_to_inherit ()">cr_font_size_is_set_to_inherit</a> <span class="c_punctuation">()</span>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
<tr>
|
147
|
+
<td class="function_type">
|
148
|
+
<span class="returnvalue">gchar</span> *
|
149
|
+
</td>
|
150
|
+
<td class="function_name">
|
151
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-to-string" title="cr_font_size_to_string ()">cr_font_size_to_string</a> <span class="c_punctuation">()</span>
|
152
|
+
</td>
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td class="function_type">
|
156
|
+
<span class="returnvalue">void</span>
|
157
|
+
</td>
|
158
|
+
<td class="function_name">
|
159
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-destroy" title="cr_font_size_destroy ()">cr_font_size_destroy</a> <span class="c_punctuation">()</span>
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td class="function_type">
|
164
|
+
<a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> *
|
165
|
+
</td>
|
166
|
+
<td class="function_name">
|
167
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-new" title="cr_font_size_adjust_new ()">cr_font_size_adjust_new</a> <span class="c_punctuation">()</span>
|
168
|
+
</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td class="function_type">
|
172
|
+
<span class="returnvalue">gchar</span> *
|
173
|
+
</td>
|
174
|
+
<td class="function_name">
|
175
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-to-string" title="cr_font_size_adjust_to_string ()">cr_font_size_adjust_to_string</a> <span class="c_punctuation">()</span>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td class="function_type">
|
180
|
+
<span class="returnvalue">void</span>
|
181
|
+
</td>
|
182
|
+
<td class="function_name">
|
183
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-destroy" title="cr_font_size_adjust_destroy ()">cr_font_size_adjust_destroy</a> <span class="c_punctuation">()</span>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="function_type">
|
188
|
+
<span class="returnvalue">void</span>
|
189
|
+
</td>
|
190
|
+
<td class="function_name">
|
191
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-smaller-predefined-font-size" title="cr_font_size_get_smaller_predefined_font_size ()">cr_font_size_get_smaller_predefined_font_size</a> <span class="c_punctuation">()</span>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="function_type">
|
196
|
+
<span class="returnvalue">void</span>
|
197
|
+
</td>
|
198
|
+
<td class="function_name">
|
199
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-larger-predefined-font-size" title="cr_font_size_get_larger_predefined_font_size ()">cr_font_size_get_larger_predefined_font_size</a> <span class="c_punctuation">()</span>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td class="function_type">
|
204
|
+
<span class="returnvalue">gboolean</span>
|
205
|
+
</td>
|
206
|
+
<td class="function_name">
|
207
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-predefined-absolute-font-size" title="cr_font_size_is_predefined_absolute_font_size ()">cr_font_size_is_predefined_absolute_font_size</a> <span class="c_punctuation">()</span>
|
208
|
+
</td>
|
226
209
|
</tr>
|
227
|
-
</tbody>
|
228
|
-
</table></div>
|
229
|
-
</div>
|
230
|
-
<hr>
|
231
|
-
<div class="refsect2">
|
232
|
-
<a name="cr-font-family-set-name"></a><h3>cr_font_family_set_name ()</h3>
|
233
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_family_set_name (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
234
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);</pre>
|
235
|
-
<div class="variablelist"><table border="0">
|
236
|
-
<col align="left" valign="top">
|
237
|
-
<tbody>
|
238
210
|
<tr>
|
239
|
-
<td
|
240
|
-
|
211
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
212
|
+
</td>
|
213
|
+
<td class="function_name">
|
214
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-style-to-string" title="cr_font_style_to_string ()">cr_font_style_to_string</a> <span class="c_punctuation">()</span>
|
215
|
+
</td>
|
241
216
|
</tr>
|
242
217
|
<tr>
|
243
|
-
<td
|
244
|
-
|
218
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
219
|
+
</td>
|
220
|
+
<td class="function_name">
|
221
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-weight-to-string" title="cr_font_weight_to_string ()">cr_font_weight_to_string</a> <span class="c_punctuation">()</span>
|
222
|
+
</td>
|
245
223
|
</tr>
|
246
224
|
<tr>
|
247
|
-
<td
|
248
|
-
|
225
|
+
<td class="function_type">enum <span class="returnvalue">CRFontWeight</span>
|
226
|
+
</td>
|
227
|
+
<td class="function_name">
|
228
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-weight-get-bolder" title="cr_font_weight_get_bolder ()">cr_font_weight_get_bolder</a> <span class="c_punctuation">()</span>
|
229
|
+
</td>
|
230
|
+
</tr>
|
231
|
+
<tr>
|
232
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
233
|
+
</td>
|
234
|
+
<td class="function_name">
|
235
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-variant-to-string" title="cr_font_variant_to_string ()">cr_font_variant_to_string</a> <span class="c_punctuation">()</span>
|
236
|
+
</td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
240
|
+
</td>
|
241
|
+
<td class="function_name">
|
242
|
+
<a class="link" href="libcroco-cr-fonts.html#cr-font-stretch-to-string" title="cr_font_stretch_to_string ()">cr_font_stretch_to_string</a> <span class="c_punctuation">()</span>
|
243
|
+
</td>
|
249
244
|
</tr>
|
250
245
|
</tbody>
|
251
246
|
</table></div>
|
252
247
|
</div>
|
253
|
-
<
|
254
|
-
<
|
255
|
-
<
|
256
|
-
<
|
257
|
-
|
258
|
-
<
|
259
|
-
|
248
|
+
<div class="refsect1">
|
249
|
+
<a name="libcroco-cr-fonts.other"></a><h2>Types and Values</h2>
|
250
|
+
<div class="informaltable"><table width="100%" border="0">
|
251
|
+
<colgroup>
|
252
|
+
<col width="150px" class="name">
|
253
|
+
<col class="description">
|
254
|
+
</colgroup>
|
260
255
|
<tbody>
|
261
256
|
<tr>
|
262
|
-
<td
|
263
|
-
<td
|
257
|
+
<td class="datatype_keyword">struct</td>
|
258
|
+
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily">CRFontFamily</a></td>
|
264
259
|
</tr>
|
265
260
|
<tr>
|
266
|
-
<td
|
267
|
-
<td
|
261
|
+
<td class="datatype_keyword">enum</td>
|
262
|
+
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeType" title="enum CRFontSizeType">CRFontSizeType</a></td>
|
268
263
|
</tr>
|
269
264
|
<tr>
|
270
|
-
<td
|
271
|
-
<td
|
272
|
-
|
265
|
+
<td class="datatype_keyword">struct</td>
|
266
|
+
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize">CRFontSize</a></td>
|
267
|
+
</tr>
|
268
|
+
<tr>
|
269
|
+
<td class="datatype_keyword">struct</td>
|
270
|
+
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust">CRFontSizeAdjust</a></td>
|
273
271
|
</tr>
|
274
272
|
</tbody>
|
275
273
|
</table></div>
|
276
274
|
</div>
|
277
|
-
<
|
278
|
-
<
|
279
|
-
<a name="cr-font-size-adjust-destroy"></a><h3>cr_font_size_adjust_destroy ()</h3>
|
280
|
-
<pre class="programlisting"><span class="returnvalue">void</span> cr_font_size_adjust_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);</pre>
|
281
|
-
<div class="variablelist"><table border="0">
|
282
|
-
<col align="left" valign="top">
|
283
|
-
<tbody><tr>
|
284
|
-
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
285
|
-
<td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</td>
|
286
|
-
</tr></tbody>
|
287
|
-
</table></div>
|
275
|
+
<div class="refsect1">
|
276
|
+
<a name="libcroco-cr-fonts.description"></a><h2>Description</h2>
|
288
277
|
</div>
|
289
|
-
<
|
278
|
+
<div class="refsect1">
|
279
|
+
<a name="libcroco-cr-fonts.functions_details"></a><h2>Functions</h2>
|
290
280
|
<div class="refsect2">
|
291
|
-
<a name="cr-font-
|
292
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#
|
293
|
-
<
|
294
|
-
<
|
295
|
-
<
|
296
|
-
<
|
297
|
-
<
|
298
|
-
</
|
299
|
-
|
281
|
+
<a name="cr-font-family-new"></a><h3>cr_font_family_new ()</h3>
|
282
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
|
283
|
+
cr_font_family_new (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
|
284
|
+
<em class="parameter"><code><span class="type">guchar</span> *a_name</code></em>);</pre>
|
285
|
+
<p>create a font family.</p>
|
286
|
+
<p>Returns the newly built font family.</p>
|
287
|
+
<div class="refsect3">
|
288
|
+
<a name="id-1.2.8.6.2.6"></a><h4>Parameters</h4>
|
289
|
+
<div class="informaltable"><table width="100%" border="0">
|
290
|
+
<colgroup>
|
291
|
+
<col width="150px" class="parameters_name">
|
292
|
+
<col class="parameters_description">
|
293
|
+
<col width="200px" class="parameters_annotations">
|
294
|
+
</colgroup>
|
295
|
+
<tbody>
|
296
|
+
<tr>
|
297
|
+
<td class="parameter_name"><p>a_type</p></td>
|
298
|
+
<td class="parameter_description"><p>the type of font family to create.</p></td>
|
299
|
+
<td class="parameter_annotations"> </td>
|
300
|
+
</tr>
|
301
|
+
<tr>
|
302
|
+
<td class="parameter_name"><p>a_name</p></td>
|
303
|
+
<td class="parameter_description"><p>the name of the font family.</p></td>
|
304
|
+
<td class="parameter_annotations"> </td>
|
305
|
+
</tr>
|
306
|
+
</tbody>
|
300
307
|
</table></div>
|
301
308
|
</div>
|
309
|
+
</div>
|
302
310
|
<hr>
|
303
311
|
<div class="refsect2">
|
304
|
-
<a name="cr-font-
|
305
|
-
<pre class="programlisting"><a
|
306
|
-
<
|
307
|
-
<
|
312
|
+
<a name="cr-font-family-append"></a><h3>cr_font_family_append ()</h3>
|
313
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
|
314
|
+
cr_font_family_append (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
315
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);</pre>
|
316
|
+
<p>Returns the new font family list.</p>
|
317
|
+
<div class="refsect3">
|
318
|
+
<a name="id-1.2.8.6.3.5"></a><h4>Parameters</h4>
|
319
|
+
<div class="informaltable"><table width="100%" border="0">
|
320
|
+
<colgroup>
|
321
|
+
<col width="150px" class="parameters_name">
|
322
|
+
<col class="parameters_description">
|
323
|
+
<col width="200px" class="parameters_annotations">
|
324
|
+
</colgroup>
|
308
325
|
<tbody>
|
309
326
|
<tr>
|
310
|
-
<td
|
311
|
-
<td>the instance of <a class="link" href="libcroco-cr-fonts.html#
|
327
|
+
<td class="parameter_name"><p>a_this</p></td>
|
328
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
|
329
|
+
<td class="parameter_annotations"> </td>
|
312
330
|
</tr>
|
313
331
|
<tr>
|
314
|
-
<td
|
315
|
-
<td>the
|
316
|
-
</td>
|
332
|
+
<td class="parameter_name"><p>a_family_to_append</p></td>
|
333
|
+
<td class="parameter_description"><p>the font family to append to the list</p></td>
|
334
|
+
<td class="parameter_annotations"> </td>
|
317
335
|
</tr>
|
318
336
|
</tbody>
|
319
337
|
</table></div>
|
320
338
|
</div>
|
339
|
+
</div>
|
321
340
|
<hr>
|
322
341
|
<div class="refsect2">
|
323
|
-
<a name="cr-font-
|
324
|
-
<pre class="programlisting"
|
325
|
-
<
|
326
|
-
<
|
342
|
+
<a name="cr-font-family-to-string"></a><h3>cr_font_family_to_string ()</h3>
|
343
|
+
<pre class="programlisting"><span class="returnvalue">guchar</span> *
|
344
|
+
cr_font_family_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> const *a_this</code></em>,
|
345
|
+
<em class="parameter"><code><span class="type">gboolean</span> a_walk_font_family_list</code></em>);</pre>
|
346
|
+
<p>Returns the seriliazed font family. The caller has to free it using
|
347
|
+
<code class="function">g_free()</code>.</p>
|
348
|
+
<div class="refsect3">
|
349
|
+
<a name="id-1.2.8.6.4.5"></a><h4>Parameters</h4>
|
350
|
+
<div class="informaltable"><table width="100%" border="0">
|
351
|
+
<colgroup>
|
352
|
+
<col width="150px" class="parameters_name">
|
353
|
+
<col class="parameters_description">
|
354
|
+
<col width="200px" class="parameters_annotations">
|
355
|
+
</colgroup>
|
327
356
|
<tbody>
|
328
357
|
<tr>
|
329
|
-
<td
|
330
|
-
<td>the current instance of <a class="link" href="libcroco-cr-fonts.html#
|
331
|
-
</td>
|
358
|
+
<td class="parameter_name"><p>a_this</p></td>
|
359
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
|
360
|
+
<td class="parameter_annotations"> </td>
|
332
361
|
</tr>
|
333
362
|
<tr>
|
334
|
-
<td
|
335
|
-
<td>
|
363
|
+
<td class="parameter_name"><p>a_walk_font_family_list</p></td>
|
364
|
+
<td class="parameter_description"><p>wether the serialize the entire list.</p></td>
|
365
|
+
<td class="parameter_annotations"> </td>
|
336
366
|
</tr>
|
337
367
|
</tbody>
|
338
368
|
</table></div>
|
339
369
|
</div>
|
370
|
+
</div>
|
340
371
|
<hr>
|
341
372
|
<div class="refsect2">
|
342
|
-
<a name="cr-font-
|
343
|
-
<pre class="programlisting"
|
344
|
-
|
345
|
-
<
|
346
|
-
<
|
373
|
+
<a name="cr-font-family-prepend"></a><h3>cr_font_family_prepend ()</h3>
|
374
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
|
375
|
+
cr_font_family_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
376
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);</pre>
|
377
|
+
<p>Returns the font family list.</p>
|
378
|
+
<div class="refsect3">
|
379
|
+
<a name="id-1.2.8.6.5.5"></a><h4>Parameters</h4>
|
380
|
+
<div class="informaltable"><table width="100%" border="0">
|
381
|
+
<colgroup>
|
382
|
+
<col width="150px" class="parameters_name">
|
383
|
+
<col class="parameters_description">
|
384
|
+
<col width="200px" class="parameters_annotations">
|
385
|
+
</colgroup>
|
347
386
|
<tbody>
|
348
387
|
<tr>
|
349
|
-
<td
|
350
|
-
<td>the
|
388
|
+
<td class="parameter_name"><p>a_this</p></td>
|
389
|
+
<td class="parameter_description"><p>the current instance <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
|
390
|
+
<td class="parameter_annotations"> </td>
|
351
391
|
</tr>
|
352
392
|
<tr>
|
353
|
-
<td
|
354
|
-
<td
|
355
|
-
</
|
356
|
-
<tr>
|
357
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
358
|
-
<td>CR_OK upon successful completion, an error code otherwise.</td>
|
393
|
+
<td class="parameter_name"><p>a_family_to_prepend</p></td>
|
394
|
+
<td class="parameter_description"><p>the font family to prepend to the list.</p></td>
|
395
|
+
<td class="parameter_annotations"> </td>
|
359
396
|
</tr>
|
360
397
|
</tbody>
|
361
398
|
</table></div>
|
362
399
|
</div>
|
400
|
+
</div>
|
363
401
|
<hr>
|
364
402
|
<div class="refsect2">
|
365
|
-
<a name="cr-font-
|
366
|
-
<pre class="programlisting"
|
367
|
-
<
|
368
|
-
<
|
403
|
+
<a name="cr-font-family-destroy"></a><h3>cr_font_family_destroy ()</h3>
|
404
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
405
|
+
cr_font_family_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);</pre>
|
406
|
+
<p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
|
407
|
+
<div class="refsect3">
|
408
|
+
<a name="id-1.2.8.6.6.5"></a><h4>Parameters</h4>
|
409
|
+
<div class="informaltable"><table width="100%" border="0">
|
410
|
+
<colgroup>
|
411
|
+
<col width="150px" class="parameters_name">
|
412
|
+
<col class="parameters_description">
|
413
|
+
<col width="200px" class="parameters_annotations">
|
414
|
+
</colgroup>
|
369
415
|
<tbody><tr>
|
370
|
-
<td
|
371
|
-
<td>the
|
416
|
+
<td class="parameter_name"><p>a_this</p></td>
|
417
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
|
418
|
+
<td class="parameter_annotations"> </td>
|
372
419
|
</tr></tbody>
|
373
420
|
</table></div>
|
374
421
|
</div>
|
422
|
+
</div>
|
375
423
|
<hr>
|
376
424
|
<div class="refsect2">
|
377
|
-
<a name="cr-font-
|
378
|
-
<pre class="programlisting"><span class="returnvalue">
|
379
|
-
|
380
|
-
|
381
|
-
<
|
382
|
-
<
|
425
|
+
<a name="cr-font-family-set-name"></a><h3>cr_font_family_set_name ()</h3>
|
426
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
427
|
+
cr_font_family_set_name (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
|
428
|
+
<em class="parameter"><code><span class="type">guchar</span> *a_name</code></em>);</pre>
|
429
|
+
<p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
|
430
|
+
<div class="refsect3">
|
431
|
+
<a name="id-1.2.8.6.7.5"></a><h4>Parameters</h4>
|
432
|
+
<div class="informaltable"><table width="100%" border="0">
|
433
|
+
<colgroup>
|
434
|
+
<col width="150px" class="parameters_name">
|
435
|
+
<col class="parameters_description">
|
436
|
+
<col width="200px" class="parameters_annotations">
|
437
|
+
</colgroup>
|
383
438
|
<tbody>
|
384
439
|
<tr>
|
385
|
-
<td
|
386
|
-
<td>the
|
440
|
+
<td class="parameter_name"><p>a_this</p></td>
|
441
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
|
442
|
+
<td class="parameter_annotations"> </td>
|
387
443
|
</tr>
|
388
444
|
<tr>
|
389
|
-
<td
|
390
|
-
<td>
|
391
|
-
<
|
445
|
+
<td class="parameter_name"><p>a_name</p></td>
|
446
|
+
<td class="parameter_description"><p>the new name</p></td>
|
447
|
+
<td class="parameter_annotations"> </td>
|
392
448
|
</tr>
|
393
449
|
</tbody>
|
394
450
|
</table></div>
|
395
451
|
</div>
|
452
|
+
</div>
|
396
453
|
<hr>
|
397
454
|
<div class="refsect2">
|
398
|
-
<a name="cr-font-size-
|
399
|
-
<pre class="programlisting"><span class="returnvalue">
|
400
|
-
|
401
|
-
|
402
|
-
<p>
|
403
|
-
</p>
|
455
|
+
<a name="cr-font-size-new"></a><h3>cr_font_size_new ()</h3>
|
456
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> *
|
457
|
+
cr_font_size_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
458
|
+
<p>Returns the newly created font size.</p>
|
404
459
|
</div>
|
405
460
|
<hr>
|
406
461
|
<div class="refsect2">
|
407
|
-
<a name="cr-font-size-
|
408
|
-
<pre class="programlisting"
|
409
|
-
|
410
|
-
<
|
411
|
-
<
|
412
|
-
<
|
413
|
-
<
|
414
|
-
<
|
415
|
-
<
|
416
|
-
|
417
|
-
<
|
418
|
-
|
419
|
-
<
|
420
|
-
|
421
|
-
</
|
422
|
-
</
|
462
|
+
<a name="cr-font-size-clear"></a><h3>cr_font_size_clear ()</h3>
|
463
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
464
|
+
cr_font_size_clear (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
|
465
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
466
|
+
<div class="refsect3">
|
467
|
+
<a name="id-1.2.8.6.9.5"></a><h4>Parameters</h4>
|
468
|
+
<div class="informaltable"><table width="100%" border="0">
|
469
|
+
<colgroup>
|
470
|
+
<col width="150px" class="parameters_name">
|
471
|
+
<col class="parameters_description">
|
472
|
+
<col width="200px" class="parameters_annotations">
|
473
|
+
</colgroup>
|
474
|
+
<tbody><tr>
|
475
|
+
<td class="parameter_name"><p>a_this</p></td>
|
476
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
|
477
|
+
<td class="parameter_annotations"> </td>
|
478
|
+
</tr></tbody>
|
423
479
|
</table></div>
|
424
480
|
</div>
|
481
|
+
</div>
|
425
482
|
<hr>
|
426
483
|
<div class="refsect2">
|
427
|
-
<a name="cr-font-size-
|
428
|
-
<pre class="programlisting"
|
429
|
-
<
|
430
|
-
<
|
484
|
+
<a name="cr-font-size-copy"></a><h3>cr_font_size_copy ()</h3>
|
485
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
486
|
+
cr_font_size_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_dst</code></em>,
|
487
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_src</code></em>);</pre>
|
488
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
489
|
+
<div class="refsect3">
|
490
|
+
<a name="id-1.2.8.6.10.5"></a><h4>Parameters</h4>
|
491
|
+
<div class="informaltable"><table width="100%" border="0">
|
492
|
+
<colgroup>
|
493
|
+
<col width="150px" class="parameters_name">
|
494
|
+
<col class="parameters_description">
|
495
|
+
<col width="200px" class="parameters_annotations">
|
496
|
+
</colgroup>
|
431
497
|
<tbody>
|
432
498
|
<tr>
|
433
|
-
<td
|
434
|
-
<td>the
|
499
|
+
<td class="parameter_name"><p>a_dst</p></td>
|
500
|
+
<td class="parameter_description"><p>the destination <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy to).</p></td>
|
501
|
+
<td class="parameter_annotations"> </td>
|
435
502
|
</tr>
|
436
503
|
<tr>
|
437
|
-
<td
|
438
|
-
<td>
|
504
|
+
<td class="parameter_name"><p>a_src</p></td>
|
505
|
+
<td class="parameter_description"><p>the source <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy from).</p></td>
|
506
|
+
<td class="parameter_annotations"> </td>
|
439
507
|
</tr>
|
440
508
|
</tbody>
|
441
509
|
</table></div>
|
442
510
|
</div>
|
443
|
-
<hr>
|
444
|
-
<div class="refsect2">
|
445
|
-
<a name="cr-font-size-new"></a><h3>cr_font_size_new ()</h3>
|
446
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> * cr_font_size_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
447
|
-
<div class="variablelist"><table border="0">
|
448
|
-
<col align="left" valign="top">
|
449
|
-
<tbody><tr>
|
450
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
451
|
-
<td>the newly created font size.</td>
|
452
|
-
</tr></tbody>
|
453
|
-
</table></div>
|
454
511
|
</div>
|
455
512
|
<hr>
|
456
513
|
<div class="refsect2">
|
457
|
-
<a name="cr-font-size-set-absolute-font-size"></a><h3>
|
458
|
-
<pre class="programlisting">enum <
|
459
|
-
|
460
|
-
|
461
|
-
<
|
462
|
-
<
|
514
|
+
<a name="cr-font-size-set-predefined-absolute-font-size"></a><h3>cr_font_size_set_predefined_absolute_font_size ()</h3>
|
515
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
516
|
+
cr_font_size_set_predefined_absolute_font_size
|
517
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
|
518
|
+
<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_predefined</code></em>);</pre>
|
519
|
+
<p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
|
520
|
+
<div class="refsect3">
|
521
|
+
<a name="id-1.2.8.6.11.5"></a><h4>Parameters</h4>
|
522
|
+
<div class="informaltable"><table width="100%" border="0">
|
523
|
+
<colgroup>
|
524
|
+
<col width="150px" class="parameters_name">
|
525
|
+
<col class="parameters_description">
|
526
|
+
<col width="200px" class="parameters_annotations">
|
527
|
+
</colgroup>
|
463
528
|
<tbody>
|
464
529
|
<tr>
|
465
|
-
<td
|
466
|
-
<td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
|
467
|
-
</td>
|
468
|
-
</tr>
|
469
|
-
<tr>
|
470
|
-
<td><p><span class="term"><em class="parameter"><code>a_num_type</code></em> :</span></p></td>
|
471
|
-
<td>the type of number to set.</td>
|
472
|
-
</tr>
|
473
|
-
<tr>
|
474
|
-
<td><p><span class="term"><em class="parameter"><code>a_value</code></em> :</span></p></td>
|
475
|
-
<td>the actual value to set.</td>
|
530
|
+
<td class="parameter_name"><p>a_this</p></td>
|
531
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</p></td>
|
532
|
+
<td class="parameter_annotations"> </td>
|
476
533
|
</tr>
|
477
534
|
<tr>
|
478
|
-
<td
|
479
|
-
<td>
|
535
|
+
<td class="parameter_name"><p>a_predefined</p></td>
|
536
|
+
<td class="parameter_description"><p>what to set.</p></td>
|
537
|
+
<td class="parameter_annotations"> </td>
|
480
538
|
</tr>
|
481
539
|
</tbody>
|
482
540
|
</table></div>
|
483
541
|
</div>
|
542
|
+
</div>
|
484
543
|
<hr>
|
485
544
|
<div class="refsect2">
|
486
|
-
<a name="cr-font-size-set-
|
487
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span>
|
488
|
-
|
489
|
-
|
490
|
-
<
|
491
|
-
<
|
545
|
+
<a name="cr-font-size-set-relative-font-size"></a><h3>cr_font_size_set_relative_font_size ()</h3>
|
546
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
547
|
+
cr_font_size_set_relative_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
|
548
|
+
<em class="parameter"><code><span class="type">enum CRRelativeFontSize</span> a_relative</code></em>);</pre>
|
549
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
550
|
+
<div class="refsect3">
|
551
|
+
<a name="id-1.2.8.6.12.5"></a><h4>Parameters</h4>
|
552
|
+
<div class="informaltable"><table width="100%" border="0">
|
553
|
+
<colgroup>
|
554
|
+
<col width="150px" class="parameters_name">
|
555
|
+
<col class="parameters_description">
|
556
|
+
<col width="200px" class="parameters_annotations">
|
557
|
+
</colgroup>
|
492
558
|
<tbody>
|
493
559
|
<tr>
|
494
|
-
<td
|
495
|
-
<td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a
|
496
|
-
</
|
497
|
-
<tr>
|
498
|
-
<td><p><span class="term"><em class="parameter"><code>a_predefined</code></em> :</span></p></td>
|
499
|
-
<td>what to set.</td>
|
560
|
+
<td class="parameter_name"><p>a_this</p></td>
|
561
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
|
562
|
+
<td class="parameter_annotations"> </td>
|
500
563
|
</tr>
|
501
564
|
<tr>
|
502
|
-
<td
|
503
|
-
<td>
|
565
|
+
<td class="parameter_name"><p>a_relative</p></td>
|
566
|
+
<td class="parameter_description"><p>the new relative font size</p></td>
|
567
|
+
<td class="parameter_annotations"> </td>
|
504
568
|
</tr>
|
505
569
|
</tbody>
|
506
570
|
</table></div>
|
507
571
|
</div>
|
572
|
+
</div>
|
508
573
|
<hr>
|
509
574
|
<div class="refsect2">
|
510
|
-
<a name="cr-font-size-set-
|
511
|
-
<pre class="programlisting">enum <
|
512
|
-
|
513
|
-
<
|
514
|
-
<
|
575
|
+
<a name="cr-font-size-set-absolute-font-size"></a><h3>cr_font_size_set_absolute_font_size ()</h3>
|
576
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
577
|
+
cr_font_size_set_absolute_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
|
578
|
+
<em class="parameter"><code><span class="type">enum CRNumType</span> a_num_type</code></em>,
|
579
|
+
<em class="parameter"><code><span class="type">gdouble</span> a_value</code></em>);</pre>
|
580
|
+
<p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
|
581
|
+
<div class="refsect3">
|
582
|
+
<a name="id-1.2.8.6.13.5"></a><h4>Parameters</h4>
|
583
|
+
<div class="informaltable"><table width="100%" border="0">
|
584
|
+
<colgroup>
|
585
|
+
<col width="150px" class="parameters_name">
|
586
|
+
<col class="parameters_description">
|
587
|
+
<col width="200px" class="parameters_annotations">
|
588
|
+
</colgroup>
|
515
589
|
<tbody>
|
516
590
|
<tr>
|
517
|
-
<td
|
518
|
-
<td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
|
519
|
-
</td>
|
591
|
+
<td class="parameter_name"><p>a_this</p></td>
|
592
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
|
593
|
+
<td class="parameter_annotations"> </td>
|
520
594
|
</tr>
|
521
595
|
<tr>
|
522
|
-
<td
|
523
|
-
<td>the
|
596
|
+
<td class="parameter_name"><p>a_num_type</p></td>
|
597
|
+
<td class="parameter_description"><p>the type of number to set.</p></td>
|
598
|
+
<td class="parameter_annotations"> </td>
|
524
599
|
</tr>
|
525
600
|
<tr>
|
526
|
-
<td
|
527
|
-
<td>
|
601
|
+
<td class="parameter_name"><p>a_value</p></td>
|
602
|
+
<td class="parameter_description"><p>the actual value to set.</p></td>
|
603
|
+
<td class="parameter_annotations"> </td>
|
528
604
|
</tr>
|
529
605
|
</tbody>
|
530
606
|
</table></div>
|
531
607
|
</div>
|
608
|
+
</div>
|
532
609
|
<hr>
|
533
610
|
<div class="refsect2">
|
534
|
-
<a name="cr-font-size-set-to-inherit"></a><h3>cr_font_size_set_to_inherit
|
535
|
-
<pre class="programlisting">enum <
|
536
|
-
<
|
537
|
-
<
|
538
|
-
<
|
539
|
-
<
|
540
|
-
<
|
541
|
-
<
|
542
|
-
|
543
|
-
|
544
|
-
<
|
545
|
-
|
546
|
-
<
|
547
|
-
</
|
548
|
-
</
|
611
|
+
<a name="cr-font-size-set-to-inherit"></a><h3>cr_font_size_set_to_inherit ()</h3>
|
612
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
613
|
+
cr_font_size_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
|
614
|
+
<p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
|
615
|
+
<div class="refsect3">
|
616
|
+
<a name="id-1.2.8.6.14.5"></a><h4>Parameters</h4>
|
617
|
+
<div class="informaltable"><table width="100%" border="0">
|
618
|
+
<colgroup>
|
619
|
+
<col width="150px" class="parameters_name">
|
620
|
+
<col class="parameters_description">
|
621
|
+
<col width="200px" class="parameters_annotations">
|
622
|
+
</colgroup>
|
623
|
+
<tbody><tr>
|
624
|
+
<td class="parameter_name"><p>a_this</p></td>
|
625
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> </p></td>
|
626
|
+
<td class="parameter_annotations"> </td>
|
627
|
+
</tr></tbody>
|
549
628
|
</table></div>
|
550
629
|
</div>
|
630
|
+
</div>
|
551
631
|
<hr>
|
552
632
|
<div class="refsect2">
|
553
|
-
<a name="cr-font-size-to-
|
554
|
-
<pre class="programlisting"><
|
555
|
-
<
|
556
|
-
<
|
557
|
-
<
|
558
|
-
<
|
559
|
-
<
|
560
|
-
<
|
561
|
-
|
562
|
-
|
563
|
-
<
|
564
|
-
|
565
|
-
<
|
566
|
-
|
567
|
-
</
|
568
|
-
</
|
633
|
+
<a name="cr-font-size-is-set-to-inherit"></a><h3>cr_font_size_is_set_to_inherit ()</h3>
|
634
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
635
|
+
cr_font_size_is_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
|
636
|
+
<p>Returns TRUE if the current instance is set to 'inherit'.</p>
|
637
|
+
<div class="refsect3">
|
638
|
+
<a name="id-1.2.8.6.15.5"></a><h4>Parameters</h4>
|
639
|
+
<div class="informaltable"><table width="100%" border="0">
|
640
|
+
<colgroup>
|
641
|
+
<col width="150px" class="parameters_name">
|
642
|
+
<col class="parameters_description">
|
643
|
+
<col width="200px" class="parameters_annotations">
|
644
|
+
</colgroup>
|
645
|
+
<tbody><tr>
|
646
|
+
<td class="parameter_name"><p>a_this</p></td>
|
647
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</p></td>
|
648
|
+
<td class="parameter_annotations"> </td>
|
649
|
+
</tr></tbody>
|
569
650
|
</table></div>
|
570
651
|
</div>
|
652
|
+
</div>
|
571
653
|
<hr>
|
572
654
|
<div class="refsect2">
|
573
|
-
<a name="cr-font-
|
574
|
-
<pre class="programlisting"
|
575
|
-
<
|
576
|
-
<
|
577
|
-
<
|
578
|
-
<
|
579
|
-
<
|
580
|
-
<
|
581
|
-
|
582
|
-
<
|
583
|
-
<
|
584
|
-
<
|
585
|
-
</
|
586
|
-
|
655
|
+
<a name="cr-font-size-to-string"></a><h3>cr_font_size_to_string ()</h3>
|
656
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
657
|
+
cr_font_size_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
|
658
|
+
<p>Returns the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>. The returned string
|
659
|
+
has to bee freed using <code class="function">g_free()</code>.</p>
|
660
|
+
<div class="refsect3">
|
661
|
+
<a name="id-1.2.8.6.16.5"></a><h4>Parameters</h4>
|
662
|
+
<div class="informaltable"><table width="100%" border="0">
|
663
|
+
<colgroup>
|
664
|
+
<col width="150px" class="parameters_name">
|
665
|
+
<col class="parameters_description">
|
666
|
+
<col width="200px" class="parameters_annotations">
|
667
|
+
</colgroup>
|
668
|
+
<tbody><tr>
|
669
|
+
<td class="parameter_name"><p>a_this</p></td>
|
670
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
|
671
|
+
<td class="parameter_annotations"> </td>
|
672
|
+
</tr></tbody>
|
587
673
|
</table></div>
|
588
674
|
</div>
|
675
|
+
</div>
|
589
676
|
<hr>
|
590
677
|
<div class="refsect2">
|
591
|
-
<a name="cr-font-
|
592
|
-
<pre class="programlisting"
|
593
|
-
<
|
594
|
-
<
|
595
|
-
<
|
596
|
-
<
|
597
|
-
<
|
598
|
-
<
|
599
|
-
|
600
|
-
<
|
601
|
-
|
602
|
-
<
|
603
|
-
|
604
|
-
</
|
605
|
-
</
|
678
|
+
<a name="cr-font-size-destroy"></a><h3>cr_font_size_destroy ()</h3>
|
679
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
680
|
+
cr_font_size_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_font_size</code></em>);</pre>
|
681
|
+
<div class="refsect3">
|
682
|
+
<a name="id-1.2.8.6.17.4"></a><h4>Parameters</h4>
|
683
|
+
<div class="informaltable"><table width="100%" border="0">
|
684
|
+
<colgroup>
|
685
|
+
<col width="150px" class="parameters_name">
|
686
|
+
<col class="parameters_description">
|
687
|
+
<col width="200px" class="parameters_annotations">
|
688
|
+
</colgroup>
|
689
|
+
<tbody><tr>
|
690
|
+
<td class="parameter_name"><p>a_font_size</p></td>
|
691
|
+
<td class="parameter_description"><p>the font size to destroy</p></td>
|
692
|
+
<td class="parameter_annotations"> </td>
|
693
|
+
</tr></tbody>
|
606
694
|
</table></div>
|
607
695
|
</div>
|
696
|
+
</div>
|
608
697
|
<hr>
|
609
698
|
<div class="refsect2">
|
610
|
-
<a name="cr-font-
|
611
|
-
<pre class="programlisting"
|
612
|
-
<
|
613
|
-
<
|
614
|
-
|
615
|
-
<
|
616
|
-
<
|
617
|
-
<
|
618
|
-
</
|
619
|
-
<
|
620
|
-
<
|
621
|
-
<
|
622
|
-
|
623
|
-
|
624
|
-
|
699
|
+
<a name="cr-font-size-adjust-new"></a><h3>cr_font_size_adjust_new ()</h3>
|
700
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> *
|
701
|
+
cr_font_size_adjust_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
702
|
+
<p>Returns a newly built instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a></p>
|
703
|
+
</div>
|
704
|
+
<hr>
|
705
|
+
<div class="refsect2">
|
706
|
+
<a name="cr-font-size-adjust-to-string"></a><h3>cr_font_size_adjust_to_string ()</h3>
|
707
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
708
|
+
cr_font_size_adjust_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> const *a_this</code></em>);</pre>
|
709
|
+
<p>Returns the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a></p>
|
710
|
+
<div class="refsect3">
|
711
|
+
<a name="id-1.2.8.6.19.5"></a><h4>Parameters</h4>
|
712
|
+
<div class="informaltable"><table width="100%" border="0">
|
713
|
+
<colgroup>
|
714
|
+
<col width="150px" class="parameters_name">
|
715
|
+
<col class="parameters_description">
|
716
|
+
<col width="200px" class="parameters_annotations">
|
717
|
+
</colgroup>
|
718
|
+
<tbody><tr>
|
719
|
+
<td class="parameter_name"><p>a_this</p></td>
|
720
|
+
<td class="parameter_description"><p>the instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</p></td>
|
721
|
+
<td class="parameter_annotations"> </td>
|
722
|
+
</tr></tbody>
|
625
723
|
</table></div>
|
626
724
|
</div>
|
725
|
+
</div>
|
627
726
|
<hr>
|
628
727
|
<div class="refsect2">
|
629
|
-
<a name="cr-font-
|
630
|
-
<pre class="programlisting"
|
631
|
-
<
|
632
|
-
<
|
728
|
+
<a name="cr-font-size-adjust-destroy"></a><h3>cr_font_size_adjust_destroy ()</h3>
|
729
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
730
|
+
cr_font_size_adjust_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);</pre>
|
731
|
+
<div class="refsect3">
|
732
|
+
<a name="id-1.2.8.6.20.4"></a><h4>Parameters</h4>
|
733
|
+
<div class="informaltable"><table width="100%" border="0">
|
734
|
+
<colgroup>
|
735
|
+
<col width="150px" class="parameters_name">
|
736
|
+
<col class="parameters_description">
|
737
|
+
<col width="200px" class="parameters_annotations">
|
738
|
+
</colgroup>
|
739
|
+
<tbody><tr>
|
740
|
+
<td class="parameter_name"><p>a_this</p></td>
|
741
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</p></td>
|
742
|
+
<td class="parameter_annotations"> </td>
|
743
|
+
</tr></tbody>
|
744
|
+
</table></div>
|
745
|
+
</div>
|
746
|
+
</div>
|
747
|
+
<hr>
|
748
|
+
<div class="refsect2">
|
749
|
+
<a name="cr-font-size-get-smaller-predefined-font-size"></a><h3>cr_font_size_get_smaller_predefined_font_size ()</h3>
|
750
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
751
|
+
cr_font_size_get_smaller_predefined_font_size
|
752
|
+
(<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
|
753
|
+
<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_smaller_size</code></em>);</pre>
|
754
|
+
</div>
|
755
|
+
<hr>
|
756
|
+
<div class="refsect2">
|
757
|
+
<a name="cr-font-size-get-larger-predefined-font-size"></a><h3>cr_font_size_get_larger_predefined_font_size ()</h3>
|
758
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
759
|
+
cr_font_size_get_larger_predefined_font_size
|
760
|
+
(<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
|
761
|
+
<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_larger_size</code></em>);</pre>
|
762
|
+
<div class="refsect3">
|
763
|
+
<a name="id-1.2.8.6.22.4"></a><h4>Parameters</h4>
|
764
|
+
<div class="informaltable"><table width="100%" border="0">
|
765
|
+
<colgroup>
|
766
|
+
<col width="150px" class="parameters_name">
|
767
|
+
<col class="parameters_description">
|
768
|
+
<col width="200px" class="parameters_annotations">
|
769
|
+
</colgroup>
|
633
770
|
<tbody>
|
634
771
|
<tr>
|
635
|
-
<td
|
636
|
-
<td
|
772
|
+
<td class="parameter_name"><p>a_font_size</p></td>
|
773
|
+
<td class="parameter_description"><p>the font size to consider.</p></td>
|
774
|
+
<td class="parameter_annotations"> </td>
|
637
775
|
</tr>
|
638
776
|
<tr>
|
639
|
-
<td
|
640
|
-
<td>
|
641
|
-
</
|
777
|
+
<td class="parameter_name"><p>a_larger_size</p></td>
|
778
|
+
<td class="parameter_description"><p>out parameter. the font size considered larger than
|
779
|
+
<em class="parameter"><code>a_font_size</code></em>
|
780
|
+
.</p></td>
|
781
|
+
<td class="parameter_annotations"> </td>
|
642
782
|
</tr>
|
643
783
|
</tbody>
|
644
784
|
</table></div>
|
645
785
|
</div>
|
786
|
+
</div>
|
787
|
+
<hr>
|
788
|
+
<div class="refsect2">
|
789
|
+
<a name="cr-font-size-is-predefined-absolute-font-size"></a><h3>cr_font_size_is_predefined_absolute_font_size ()</h3>
|
790
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
791
|
+
cr_font_size_is_predefined_absolute_font_size
|
792
|
+
(<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>);</pre>
|
793
|
+
<p>Returns TRUE if the instance is an predefined absolute font size, FALSE
|
794
|
+
otherwise.</p>
|
795
|
+
<div class="refsect3">
|
796
|
+
<a name="id-1.2.8.6.23.5"></a><h4>Parameters</h4>
|
797
|
+
<div class="informaltable"><table width="100%" border="0">
|
798
|
+
<colgroup>
|
799
|
+
<col width="150px" class="parameters_name">
|
800
|
+
<col class="parameters_description">
|
801
|
+
<col width="200px" class="parameters_annotations">
|
802
|
+
</colgroup>
|
803
|
+
<tbody><tr>
|
804
|
+
<td class="parameter_name"><p>a_font_size</p></td>
|
805
|
+
<td class="parameter_description"><p>the font size to consider.</p></td>
|
806
|
+
<td class="parameter_annotations"> </td>
|
807
|
+
</tr></tbody>
|
808
|
+
</table></div>
|
809
|
+
</div>
|
810
|
+
</div>
|
811
|
+
<hr>
|
812
|
+
<div class="refsect2">
|
813
|
+
<a name="cr-font-style-to-string"></a><h3>cr_font_style_to_string ()</h3>
|
814
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
815
|
+
cr_font_style_to_string (<em class="parameter"><code><span class="type">enum CRFontStyle</span> a_code</code></em>);</pre>
|
816
|
+
<p>Returns the serialized <span class="type">CRFontStyle</span>. The caller must free the returned
|
817
|
+
string using <code class="function">g_free()</code>.</p>
|
818
|
+
<div class="refsect3">
|
819
|
+
<a name="id-1.2.8.6.24.5"></a><h4>Parameters</h4>
|
820
|
+
<div class="informaltable"><table width="100%" border="0">
|
821
|
+
<colgroup>
|
822
|
+
<col width="150px" class="parameters_name">
|
823
|
+
<col class="parameters_description">
|
824
|
+
<col width="200px" class="parameters_annotations">
|
825
|
+
</colgroup>
|
826
|
+
<tbody><tr>
|
827
|
+
<td class="parameter_name"><p>a_code</p></td>
|
828
|
+
<td class="parameter_description"><p>the current instance of <span class="type">CRFontStyle</span> .</p></td>
|
829
|
+
<td class="parameter_annotations"> </td>
|
830
|
+
</tr></tbody>
|
831
|
+
</table></div>
|
832
|
+
</div>
|
833
|
+
</div>
|
834
|
+
<hr>
|
835
|
+
<div class="refsect2">
|
836
|
+
<a name="cr-font-weight-to-string"></a><h3>cr_font_weight_to_string ()</h3>
|
837
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
838
|
+
cr_font_weight_to_string (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_code</code></em>);</pre>
|
839
|
+
<p>Returns the serialized form of <span class="type">CRFontWeight</span>.</p>
|
840
|
+
<div class="refsect3">
|
841
|
+
<a name="id-1.2.8.6.25.5"></a><h4>Parameters</h4>
|
842
|
+
<div class="informaltable"><table width="100%" border="0">
|
843
|
+
<colgroup>
|
844
|
+
<col width="150px" class="parameters_name">
|
845
|
+
<col class="parameters_description">
|
846
|
+
<col width="200px" class="parameters_annotations">
|
847
|
+
</colgroup>
|
848
|
+
<tbody><tr>
|
849
|
+
<td class="parameter_name"><p>a_code</p></td>
|
850
|
+
<td class="parameter_description"><p>the font weight to consider.</p></td>
|
851
|
+
<td class="parameter_annotations"> </td>
|
852
|
+
</tr></tbody>
|
853
|
+
</table></div>
|
854
|
+
</div>
|
855
|
+
</div>
|
856
|
+
<hr>
|
857
|
+
<div class="refsect2">
|
858
|
+
<a name="cr-font-weight-get-bolder"></a><h3>cr_font_weight_get_bolder ()</h3>
|
859
|
+
<pre class="programlisting">enum <span class="returnvalue">CRFontWeight</span>
|
860
|
+
cr_font_weight_get_bolder (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_weight</code></em>);</pre>
|
861
|
+
<p>Returns a font weight bolder than <em class="parameter"><code>a_weight</code></em>
|
862
|
+
</p>
|
863
|
+
<div class="refsect3">
|
864
|
+
<a name="id-1.2.8.6.26.5"></a><h4>Parameters</h4>
|
865
|
+
<div class="informaltable"><table width="100%" border="0">
|
866
|
+
<colgroup>
|
867
|
+
<col width="150px" class="parameters_name">
|
868
|
+
<col class="parameters_description">
|
869
|
+
<col width="200px" class="parameters_annotations">
|
870
|
+
</colgroup>
|
871
|
+
<tbody><tr>
|
872
|
+
<td class="parameter_name"><p>a_weight</p></td>
|
873
|
+
<td class="parameter_description"><p>the <span class="type">CRFontWeight</span> to consider.</p></td>
|
874
|
+
<td class="parameter_annotations"> </td>
|
875
|
+
</tr></tbody>
|
876
|
+
</table></div>
|
877
|
+
</div>
|
878
|
+
</div>
|
879
|
+
<hr>
|
880
|
+
<div class="refsect2">
|
881
|
+
<a name="cr-font-variant-to-string"></a><h3>cr_font_variant_to_string ()</h3>
|
882
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
883
|
+
cr_font_variant_to_string (<em class="parameter"><code><span class="type">enum CRFontVariant</span> a_code</code></em>);</pre>
|
884
|
+
<p>Returns the serialized form of <span class="type">CRFontVariant</span>. The caller has
|
885
|
+
to free the returned string using <code class="function">g_free()</code>.</p>
|
886
|
+
<div class="refsect3">
|
887
|
+
<a name="id-1.2.8.6.27.5"></a><h4>Parameters</h4>
|
888
|
+
<div class="informaltable"><table width="100%" border="0">
|
889
|
+
<colgroup>
|
890
|
+
<col width="150px" class="parameters_name">
|
891
|
+
<col class="parameters_description">
|
892
|
+
<col width="200px" class="parameters_annotations">
|
893
|
+
</colgroup>
|
894
|
+
<tbody><tr>
|
895
|
+
<td class="parameter_name"><p>a_code</p></td>
|
896
|
+
<td class="parameter_description"><p>the current instance of <span class="type">CRFontVariant</span>.</p></td>
|
897
|
+
<td class="parameter_annotations"> </td>
|
898
|
+
</tr></tbody>
|
899
|
+
</table></div>
|
900
|
+
</div>
|
901
|
+
</div>
|
902
|
+
<hr>
|
903
|
+
<div class="refsect2">
|
904
|
+
<a name="cr-font-stretch-to-string"></a><h3>cr_font_stretch_to_string ()</h3>
|
905
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
906
|
+
cr_font_stretch_to_string (<em class="parameter"><code><span class="type">enum CRFontStretch</span> a_code</code></em>);</pre>
|
907
|
+
<p>Returns the serialized form of <span class="type">CRFontStretch</span>.</p>
|
908
|
+
<div class="refsect3">
|
909
|
+
<a name="id-1.2.8.6.28.5"></a><h4>Parameters</h4>
|
910
|
+
<div class="informaltable"><table width="100%" border="0">
|
911
|
+
<colgroup>
|
912
|
+
<col width="150px" class="parameters_name">
|
913
|
+
<col class="parameters_description">
|
914
|
+
<col width="200px" class="parameters_annotations">
|
915
|
+
</colgroup>
|
916
|
+
<tbody><tr>
|
917
|
+
<td class="parameter_name"><p>a_code</p></td>
|
918
|
+
<td class="parameter_description"><p>the instance of <span class="type">CRFontStretch</span> to consider.</p></td>
|
919
|
+
<td class="parameter_annotations"> </td>
|
920
|
+
</tr></tbody>
|
921
|
+
</table></div>
|
922
|
+
</div>
|
923
|
+
</div>
|
924
|
+
</div>
|
925
|
+
<div class="refsect1">
|
926
|
+
<a name="libcroco-cr-fonts.other_details"></a><h2>Types and Values</h2>
|
927
|
+
<div class="refsect2">
|
928
|
+
<a name="CRFontFamily"></a><h3>struct CRFontFamily</h3>
|
929
|
+
<pre class="programlisting">struct CRFontFamily {
|
930
|
+
enum CRFontFamilyType type ;
|
931
|
+
|
932
|
+
/*
|
933
|
+
*The name of the font family, in case
|
934
|
+
*it is non generic.
|
935
|
+
*Is set only if the type is FONT_FAMILY_NON_GENERIC.
|
936
|
+
*/
|
937
|
+
guchar *name ;
|
938
|
+
|
939
|
+
CRFontFamily *next ;
|
940
|
+
CRFontFamily *prev ;
|
941
|
+
};
|
942
|
+
</pre>
|
943
|
+
</div>
|
646
944
|
<hr>
|
647
945
|
<div class="refsect2">
|
648
|
-
<a name="
|
649
|
-
<
|
650
|
-
<
|
651
|
-
<
|
946
|
+
<a name="CRFontSizeType"></a><h3>enum CRFontSizeType</h3>
|
947
|
+
<div class="refsect3">
|
948
|
+
<a name="id-1.2.8.7.3.3"></a><h4>Members</h4>
|
949
|
+
<div class="informaltable"><table width="100%" border="0">
|
950
|
+
<colgroup>
|
951
|
+
<col width="300px" class="enum_members_name">
|
952
|
+
<col class="enum_members_description">
|
953
|
+
<col width="200px" class="enum_members_annotations">
|
954
|
+
</colgroup>
|
652
955
|
<tbody>
|
653
956
|
<tr>
|
654
|
-
<td
|
655
|
-
<td>
|
957
|
+
<td class="enum_member_name"><p><a name="PREDEFINED-ABSOLUTE-FONT-SIZE:CAPS"></a>PREDEFINED_ABSOLUTE_FONT_SIZE</p></td>
|
958
|
+
<td> </td>
|
959
|
+
<td> </td>
|
960
|
+
</tr>
|
961
|
+
<tr>
|
962
|
+
<td class="enum_member_name"><p><a name="ABSOLUTE-FONT-SIZE:CAPS"></a>ABSOLUTE_FONT_SIZE</p></td>
|
963
|
+
<td> </td>
|
964
|
+
<td> </td>
|
656
965
|
</tr>
|
657
966
|
<tr>
|
658
|
-
<td
|
659
|
-
<td>
|
967
|
+
<td class="enum_member_name"><p><a name="RELATIVE-FONT-SIZE:CAPS"></a>RELATIVE_FONT_SIZE</p></td>
|
968
|
+
<td> </td>
|
969
|
+
<td> </td>
|
970
|
+
</tr>
|
971
|
+
<tr>
|
972
|
+
<td class="enum_member_name"><p><a name="INHERITED-FONT-SIZE:CAPS"></a>INHERITED_FONT_SIZE</p></td>
|
973
|
+
<td> </td>
|
974
|
+
<td> </td>
|
975
|
+
</tr>
|
976
|
+
<tr>
|
977
|
+
<td class="enum_member_name"><p><a name="NB-FONT-SIZE-TYPE:CAPS"></a>NB_FONT_SIZE_TYPE</p></td>
|
978
|
+
<td> </td>
|
979
|
+
<td> </td>
|
660
980
|
</tr>
|
661
981
|
</tbody>
|
662
982
|
</table></div>
|
663
983
|
</div>
|
664
984
|
</div>
|
985
|
+
<hr>
|
986
|
+
<div class="refsect2">
|
987
|
+
<a name="CRFontSize"></a><h3>struct CRFontSize</h3>
|
988
|
+
<pre class="programlisting">struct CRFontSize {
|
989
|
+
enum CRFontSizeType type ;
|
990
|
+
union {
|
991
|
+
enum CRPredefinedAbsoluteFontSize predefined ;
|
992
|
+
enum CRRelativeFontSize relative ;
|
993
|
+
CRNum absolute ;
|
994
|
+
} value;
|
995
|
+
};
|
996
|
+
</pre>
|
997
|
+
</div>
|
998
|
+
<hr>
|
999
|
+
<div class="refsect2">
|
1000
|
+
<a name="CRFontSizeAdjust"></a><h3>struct CRFontSizeAdjust</h3>
|
1001
|
+
<pre class="programlisting">struct CRFontSizeAdjust {
|
1002
|
+
enum CRFontSizeAdjustType type ;
|
1003
|
+
CRNum *num ;
|
1004
|
+
};
|
1005
|
+
</pre>
|
1006
|
+
</div>
|
1007
|
+
</div>
|
665
1008
|
</div>
|
666
1009
|
<div class="footer">
|
667
|
-
<hr>
|
668
|
-
Generated by GTK-Doc V1.18</div>
|
1010
|
+
<hr>Generated by GTK-Doc V1.24.1</div>
|
669
1011
|
</body>
|
670
1012
|
</html>
|