1FcPatternAdd-Type(3)                                      FcPatternAdd-Type(3)
2
3
4

NAME

6       FcPatternAddInteger,  FcPatternAddDouble, FcPatternAddString, FcPatter‐
7       nAddMatrix, FcPatternAddCharSet, FcPatternAddBool,  FcPatternAddFTFace,
8       FcPatternAddLangSet, FcPatternAddRange - Add a typed value to a pattern
9

SYNOPSIS

11       #include <fontconfig/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 FcChar8 *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
25       FcBool FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Facef);
26
27       FcBool FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *l);
28
29       FcBool FcPatternAddRange (FcPattern *p, const char *object, const FcRange *r);
30

DESCRIPTION

32       These  are  all convenience functions that insert objects of the speci‐
33       fied type into the pattern. Use these in preference to FcPatternAdd  as
34       they will provide compile-time typechecking. These all append values to
35       any existing list of values.   FcPatternAddRange  are  available  since
36       2.11.91.
37
38
39
40Fontconfig 2.13.92                09 8月 2019             FcPatternAdd-Type(3)
Impressum