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

NAME

6       FcPatternGetInteger,   FcPatternGetDouble,  FcPatternGetString,  FcPat‐
7       ternGetMatrix, FcPatternGetCharSet,  FcPatternGetBool,  FcPatternGetFT‐
8       Face, FcPatternGetLangSet - Return a typed value from a pattern
9

SYNOPSIS

11       #include <fontconfig.h>
12
13       FcResult FcPatternGetInteger(FcPattern *p);
14       (const char *object);
15       (int n);
16       (int *i);
17
18       FcResult FcPatternGetDouble(FcPattern *p);
19       (const char *object);
20       (int n);
21       (double *d);
22
23       FcResult FcPatternGetString(FcPattern *p);
24       (const char *object);
25       (int n);
26       (FcChar8 **s);
27
28       FcResult FcPatternGetMatrix(FcPattern *p);
29       (const char *object);
30       (int n);
31       (FcMatrix **s);
32
33       FcResult FcPatternGetCharSet(FcPattern *p);
34       (const char *object);
35       (int n);
36       (FcCharSet **c);
37
38       FcResult FcPatternGetBool(FcPattern *p);
39       (const char *object);
40       (int n);
41       (FcBool *b);
42
43       FcResult FcPatternGetFTFace(FcPattern *p);
44       (const char *object);
45       (int n);
46
47       FcResult FcPatternGetLangSet(FcPattern *p);
48       (const char *object);
49       (FT_Face *f);
50       .fi
51

DESCRIPTION

53       These  are convenience functions that call FcPatternGet and verify that
54       the returned data is of the expected type. They return FcResultTypeMis‐
55       match  if  this is not the case. Note that these (like FcPatternGet) do
56       not make a copy of any data structure referenced by the  return  value.
57       Use  these  in preference to FcPatternGet to provide compile-time type‐
58       checking.
59

VERSION

61       Fontconfig version 2.8.0
62
63
64
65                               18 November 2009           FcPatternGet-Type(3)
Impressum