.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcPatternAdd-Type" "3" "2022/03/31" "Fontconfig 2.14.0" ""
.SH NAME
FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString, FcPatternAddMatrix, FcPatternAddCharSet, FcPatternAddBool, FcPatternAddFTFace, FcPatternAddLangSet, FcPatternAddRange \- Add a typed value to a pattern
.SH SYNOPSIS
.sp
\fB#include
.sp
FcBool FcPatternAddInteger (FcPattern *\fIp\fB, const char *\fIobject\fB, int \fIi\fB);
.sp
FcBool FcPatternAddDouble (FcPattern *\fIp\fB, const char *\fIobject\fB, double \fId\fB);
.sp
FcBool FcPatternAddString (FcPattern *\fIp\fB, const char *\fIobject\fB, const FcChar8 *\fIs\fB);
.sp
FcBool FcPatternAddMatrix (FcPattern *\fIp\fB, const char *\fIobject\fB, const FcMatrix *\fIm\fB);
.sp
FcBool FcPatternAddCharSet (FcPattern *\fIp\fB, const char *\fIobject\fB, const FcCharSet *\fIc\fB);
.sp
FcBool FcPatternAddBool (FcPattern *\fIp\fB, const char *\fIobject\fB, FcBool \fIb\fB);
.sp
FcBool FcPatternAddFTFace (FcPattern *\fIp\fB, const char *\fIobject\fB, const FT_Face\fIf\fB);
.sp
FcBool FcPatternAddLangSet (FcPattern *\fIp\fB, const char *\fIobject\fB, const FcLangSet *\fIl\fB);
.sp
FcBool FcPatternAddRange (FcPattern *\fIp\fB, const char *\fIobject\fB, const FcRange *\fIr\fB);
\fR
.SH "DESCRIPTION"
.PP
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.
\fBFcPatternAddRange\fR are available since 2.11.91.