Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fcpatternget-type(3) [centos man page]

FcPatternGet-Type(3)													      FcPatternGet-Type(3)

NAME
FcPatternGetInteger, FcPatternGetDouble, FcPatternGetString, FcPatternGetMatrix, FcPatternGetCharSet, FcPatternGetBool, FcPatternGetFTFace, FcPatternGetLangSet - Return a typed value from a pattern SYNOPSIS
#include <fontconfig/fontconfig.h> FcResult FcPatternGetInteger (FcPattern *p, const char *object, int n, int *i); FcResult FcPatternGetDouble (FcPattern *p, const char *object, int n, double *d); FcResult FcPatternGetString (FcPattern *p, const char *object, int n, FcChar8 **s); FcResult FcPatternGetMatrix (FcPattern *p, const char *object, int n, FcMatrix **s); FcResult FcPatternGetCharSet (FcPattern *p, const char *object, int n, FcCharSet **c); FcResult FcPatternGetBool (FcPattern *p, const char *object, int n, FcBool *b); FcResult FcPatternGetFTFace (FcPattern *p, const char *object, int n); FcResult FcPatternGetLangSet (FcPattern *p, const char *object, FT_Face *f); DESCRIPTION
These are convenience functions that call FcPatternGet and verify that the returned data is of the expected type. They return FcResult- TypeMismatch if this is not the case. Note that these (like FcPatternGet) do not make a copy of any data structure referenced by the return value. Use these in preference to FcPatternGet to provide compile-time typechecking. VERSION
Fontconfig version 2.10.95 31 8 2013 FcPatternGet-Type(3)

Check Out this Related Man Page

FcPatternAdd-Type(3)													      FcPatternAdd-Type(3)

NAME
FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString, FcPatternAddMatrix, FcPatternAddCharSet, FcPatternAddBool, FcPatternAddFTFace, FcPatternAddLangSet - Add a typed value to a pattern SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ] #include <fontconfig.h> FcBool FcPatternAddInteger (FcPattern *p, const char *object, int i); FcBool FcPatternAddDouble (FcPattern *p, const char *object, double d); FcBool FcPatternAddString (FcPattern *p, const char *object, const FcChar8 *s); FcBool FcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *m); FcBool FcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c); FcBool FcPatternAddBool (FcPattern *p, const char *object, FcBool b); FcBool FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Facef); FcBool FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *l); DESCRIPTION
These are all convenience functions that insert objects of the specified type into the pattern. Use these in preference to FcPatternAdd as they will provide compile-time typechecking. These all append values to any existing list of values. VERSION
Fontconfig version 2.5.0 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWfontconfig | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ |MT-Level |See XInitThreads(3X11) | +-----------------------------+-----------------------------+ 13 November 2007 FcPatternAdd-Type(3)
Man Page