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

NAME

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

SYNOPSIS

11       #include <fontconfig.h>
12
13       FcResult FcPatternGetInteger (FcPattern *p, const char *object, int n, int *i);
14
15       FcResult FcPatternGetDouble (FcPattern *p, const char *object, int n, double *d);
16
17       FcResult FcPatternGetString (FcPattern *p, const char *object, int n, char **consts);
18
19       FcResult FcPatternGetMatrix (FcPattern *p, const char *object, int n, FcMatrix **s);
20
21       FcResult FcPatternGetCharSet (FcPattern *p, const char *object, int n, FcCharSet **c);
22
23       FcResult FcPatternGetBool (FcPattern *p, const char *object, int n, FcBool *b);
24

DESCRIPTION

26       These  are convenience functions that call FcPatternGet and verify that
27       the returned data is of the expected type. They return FcResultTypeMis‐
28       match  if this is not the case.  Note that these (like FcPatternGet) do
29       not make a copy of any data structure referenced by the  return  value.
30       Use  these  in preference to FcPatternGet to provide compile-time type‐
31       checking.
32

VERSION

34       Fontconfig version 2.4.2
35
36
37
38                                  11 May 2007             FcPatternGet-Type(3)
Impressum