xenocara/dist/fontconfig/doc/FcPatternAdd.3
2017-08-19 10:11:04 +00:00

18 lines
738 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcPatternAdd" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
.SH NAME
FcPatternAdd \- Add a value to a pattern
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcPatternAdd (FcPattern *\fIp\fB, const char *\fIobject\fB, FcValue \fIvalue\fB, FcBool \fIappend\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Adds a single value to the list of values associated with the property named
`object\fI\&. If `append\fR is FcTrue, the value is added at the end of any
existing list, otherwise it is inserted at the beginning. `value' is saved
(with FcValueSave) when inserted into the pattern so that the library
retains no reference to any application-supplied data structure.