From f4092abdf94af6a99aff944d6264bc1284e8bdd4 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:43:39 +0200 Subject: Imported nx-X11-3.1.0-1.tar.gz Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository --- nx-X11/extras/fontconfig/doc/FcPatternBuild.3 | 47 +++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 nx-X11/extras/fontconfig/doc/FcPatternBuild.3 (limited to 'nx-X11/extras/fontconfig/doc/FcPatternBuild.3') diff --git a/nx-X11/extras/fontconfig/doc/FcPatternBuild.3 b/nx-X11/extras/fontconfig/doc/FcPatternBuild.3 new file mode 100644 index 000000000..daa3ad92e --- /dev/null +++ b/nx-X11/extras/fontconfig/doc/FcPatternBuild.3 @@ -0,0 +1,47 @@ +.\" 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 "FcPatternBuild" "3" "27 April 2005" "" "" + +.SH NAME +FcPatternBuild, FcPatternVaBuild \- Create patterns from arguments +.SH SYNOPSIS +.sp +\fB#include +.sp +FcPattern * FcPatternBuild (FcPattern *\fIorig\fB, \&...\fI\fB); +.sp +FcPattern * FcPatternVaBuild (FcPattern *\fIorig\fB, va_list\fIva\fB); +\fR +.SH "DESCRIPTION" +.PP +Builds a pattern using a list of objects, types and values. Each +value to be entered in the pattern is specified with three arguments: +.TP 3 +1. +Object name, a string describing the property to be added. +.TP 3 +2. +Object type, one of the FcType enumerated values +.TP 3 +3. +Value, not an FcValue, but the raw type as passed to any of the +FcPatternAdd functions. Must match the type of the second +argument. +.PP +The argument list is terminated by a null object name, no object type nor +value need be passed for this. The values are added to `pattern', if +`pattern' is null, a new pattern is created. In either case, the pattern is +returned. Example + +.nf +pattern = FcPatternBuild (0, FC_FAMILY, FtTypeString, "Times", (char *) 0); +.fi +.PP +FcPatternVaBuild is used when the arguments are already in the form of a +varargs value. +.SH "VERSION" +.PP +Fontconfig version 2.3.2 -- cgit v1.2.3