4798aff9948ba294cc3c2d1c4796747d8a66210c
[platform/upstream/fontconfig.git] / doc / FcPatternAdd.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcPatternAdd" "3" "10 1月 2013" "" ""
3 .SH NAME
4 FcPatternAdd \- Add a value to a pattern
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcBool FcPatternAdd (FcPattern *\fIp\fB, const char *\fIobject\fB, FcValue \fIvalue\fB, FcBool \fIappend\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Adds a single value to the list of values associated with the property named
14 `object\fI\&. If `append\fR is FcTrue, the value is added at the end of any
15 existing list, otherwise it is inserted at the beginning. `value' is saved
16 (with FcValueSave) when inserted into the pattern so that the library
17 retains no reference to any application-supplied data structure.
18 .SH "VERSION"
19 .PP
20 Fontconfig version 2.10.91