1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
13 HREF="x103.html#AEN242"><LINK
15 TITLE="FcPatternGet-Type"
16 HREF="fcpatternget-type.html"><LINK
19 HREF="fcpatterndel.html"></HEAD
30 SUMMARY="Header navigation table"
47 HREF="fcpatternget-type.html"
49 ><<< Previous</A
61 HREF="fcpatterndel.html"
63 >Next >>></A
82 >FcPatternBuild, FcPatternVaBuild, FcPatternVapBuild -- Create patterns from arguments</DIV
84 CLASS="REFSYNOPSISDIV"
104 CLASS="FUNCSYNOPSISINFO"
105 >#include <fontconfig/fontconfig.h>
136 >FcPatternVaBuild</TT
156 >FcPatternVapBuild</TT
187 >Builds a pattern using a list of objects, types and values. Each
188 value to be entered in the pattern is specified with three arguments:</P
195 >Object name, a string describing the property to be added.</P
199 >Object type, one of the FcType enumerated values</P
203 >Value, not an FcValue, but the raw type as passed to any of the
204 FcPatternAdd<type> functions. Must match the type of the second
209 >The argument list is terminated by a null object name, no object type nor
210 value need be passed for this. The values are added to `pattern', if
211 `pattern' is null, a new pattern is created. In either case, the pattern is
220 CLASS="PROGRAMLISTING"
221 >pattern = FcPatternBuild (0, FC_FAMILY, FcTypeString, "Times", (char *) 0);</PRE
226 >FcPatternVaBuild is used when the arguments are already in the form of a
227 varargs value. FcPatternVapBuild is a macro version of FcPatternVaBuild
228 which returns its result directly in the <TT
242 SUMMARY="Footer navigation table"
253 HREF="fcpatternget-type.html"
255 ><<< Previous</A
271 HREF="fcpatterndel.html"
273 >Next >>></A
281 >FcPatternGet-Type</TD
287 HREF="x103.html#AEN242"