1FcPatternAdd-Type(3) FcPatternAdd-Type(3)
2
3
4
6 FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString, FcPatter‐
7 nAddMatrix, FcPatternAddCharSet, FcPatternAddBool - Add a typed value
8 to a pattern
9
11 #include <fontconfig.h>
12
13 FcBool FcPatternAddInteger (FcPattern *p, const char *object, int i);
14
15 FcBool FcPatternAddDouble (FcPattern *p, const char *object, double d);
16
17 FcBool FcPatternAddString (FcPattern *p, const char *object, const char *s);
18
19 FcBool FcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *m);
20
21 FcBool FcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c);
22
23 FcBool FcPatternAddBool (FcPattern *p, const char *object, FcBool b);
24
26 These are all convenience functions that insert objects of the speci‐
27 fied type into the pattern. Use these in preference to FcPatternAdd as
28 they will provide compile-time typechecking. These all append values
29 to any existing list of values.
30
32 Fontconfig version 2.4.2
33
34
35
36 11 May 2007 FcPatternAdd-Type(3)