2 fontconfig/doc/func.sgml
4 Copyright © 2003 Keith Packard
6 Permission to use, copy, modify, distribute, and sell this software and its
7 documentation for any purpose is hereby granted without fee, provided that
8 the above copyright notice appear in all copies and that both that
9 copyright notice and this permission notice appear in supporting
10 documentation, and that the name of the author(s) not be used in
11 advertising or publicity pertaining to distribution of the software without
12 specific, written prior permission. The authors make no
13 representations about the suitability of this software for any purpose. It
14 is provided "as is" without express or implied warranty.
16 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 PERFORMANCE OF THIS SOFTWARE.
24 <refentry id="FcValueDestroy">
26 <refentrytitle>FcValueDestroy</refentrytitle>
27 <manvolnum>3</manvolnum>
28 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
31 <refname>FcValueDestroy</refname>
32 <refpurpose>Free a value</refpurpose>
37 #include <fontconfig/fontconfig.h>
40 <funcdef>void <function>FcValueDestroy</function></funcdef>
41 <paramdef>FcValue <parameter>v</parameter></paramdef>
45 <refsect1><title>Description</title>
47 Frees any memory referenced by <parameter>v</parameter>. Values of type FcTypeString,
48 FcTypeMatrix and FcTypeCharSet reference memory, the other types do not.
53 fontconfig/doc/func.sgml
55 Copyright © 2003 Keith Packard
57 Permission to use, copy, modify, distribute, and sell this software and its
58 documentation for any purpose is hereby granted without fee, provided that
59 the above copyright notice appear in all copies and that both that
60 copyright notice and this permission notice appear in supporting
61 documentation, and that the name of the author(s) not be used in
62 advertising or publicity pertaining to distribution of the software without
63 specific, written prior permission. The authors make no
64 representations about the suitability of this software for any purpose. It
65 is provided "as is" without express or implied warranty.
67 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
68 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
69 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
70 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
71 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
72 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
73 PERFORMANCE OF THIS SOFTWARE.
75 <refentry id="FcValueSave">
77 <refentrytitle>FcValueSave</refentrytitle>
78 <manvolnum>3</manvolnum>
79 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
82 <refname>FcValueSave</refname>
83 <refpurpose>Copy a value</refpurpose>
88 #include <fontconfig/fontconfig.h>
91 <funcdef>FcValue <function>FcValueSave</function></funcdef>
92 <paramdef>FcValue <parameter>v</parameter></paramdef>
96 <refsect1><title>Description</title>
98 Returns a copy of <parameter>v</parameter> duplicating any object referenced by it so that <parameter>v</parameter>
99 may be safely destroyed without harming the new value.
104 fontconfig/doc/func.sgml
106 Copyright © 2003 Keith Packard
108 Permission to use, copy, modify, distribute, and sell this software and its
109 documentation for any purpose is hereby granted without fee, provided that
110 the above copyright notice appear in all copies and that both that
111 copyright notice and this permission notice appear in supporting
112 documentation, and that the name of the author(s) not be used in
113 advertising or publicity pertaining to distribution of the software without
114 specific, written prior permission. The authors make no
115 representations about the suitability of this software for any purpose. It
116 is provided "as is" without express or implied warranty.
118 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
119 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
120 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
121 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
122 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
123 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
124 PERFORMANCE OF THIS SOFTWARE.
126 <refentry id="FcValuePrint">
128 <refentrytitle>FcValuePrint</refentrytitle>
129 <manvolnum>3</manvolnum>
130 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
133 <refname>FcValuePrint</refname>
134 <refpurpose>Print a value to stdout</refpurpose>
139 #include <fontconfig/fontconfig.h>
142 <funcdef>void <function>FcValuePrint</function></funcdef>
143 <paramdef>FcValue <parameter>v</parameter></paramdef>
147 <refsect1><title>Description</title>
149 Prints a human-readable representation of <parameter>v</parameter> to
150 stdout. The format should not be considered part of the library
151 specification as it may change in the future.
156 fontconfig/doc/func.sgml
158 Copyright © 2003 Keith Packard
160 Permission to use, copy, modify, distribute, and sell this software and its
161 documentation for any purpose is hereby granted without fee, provided that
162 the above copyright notice appear in all copies and that both that
163 copyright notice and this permission notice appear in supporting
164 documentation, and that the name of the author(s) not be used in
165 advertising or publicity pertaining to distribution of the software without
166 specific, written prior permission. The authors make no
167 representations about the suitability of this software for any purpose. It
168 is provided "as is" without express or implied warranty.
170 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
171 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
172 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
173 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
174 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
175 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
176 PERFORMANCE OF THIS SOFTWARE.
178 <refentry id="FcValueEqual">
180 <refentrytitle>FcValueEqual</refentrytitle>
181 <manvolnum>3</manvolnum>
182 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
185 <refname>FcValueEqual</refname>
186 <refpurpose>Test two values for equality</refpurpose>
191 #include <fontconfig/fontconfig.h>
194 <funcdef>FcBool <function>FcValueEqual</function></funcdef>
195 <paramdef>FcValue <parameter>v_a</parameter></paramdef>
196 <paramdef>FcValue <parameter>v_b</parameter></paramdef>
200 <refsect1><title>Description</title>
202 Compares two values. Integers and Doubles are compared as numbers; otherwise
203 the two values have to be the same type to be considered equal. Strings are
204 compared ignoring case.