aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/fontconfig/doc/FcPatternGet-Type.3
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/extras/fontconfig/doc/FcPatternGet-Type.3')
-rw-r--r--nx-X11/extras/fontconfig/doc/FcPatternGet-Type.335
1 files changed, 35 insertions, 0 deletions
diff --git a/nx-X11/extras/fontconfig/doc/FcPatternGet-Type.3 b/nx-X11/extras/fontconfig/doc/FcPatternGet-Type.3
new file mode 100644
index 000000000..6b0eb55b5
--- /dev/null
+++ b/nx-X11/extras/fontconfig/doc/FcPatternGet-Type.3
@@ -0,0 +1,35 @@
+.\" This manpage has been automatically generated by docbook2man
+.\" from a DocBook document. This tool can be found at:
+.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
+.\" Please send any bug reports, improvements, comments, patches,
+.\" etc. to Steve Cheng <steve@ggi-project.org>.
+.TH "FcPatternGet-Type" "3" "27 April 2005" "" ""
+
+.SH NAME
+FcPatternGetInteger, FcPatternGetDouble, FcPatternGetString, FcPatternGetMatrix, FcPatternGetCharSet, FcPatternGetBool \- Return a typed value from a pattern
+.SH SYNOPSIS
+.sp
+\fB#include <fontconfig.h>
+.sp
+FcResult FcPatternGetInteger (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, int *\fIi\fB);
+.sp
+FcResult FcPatternGetDouble (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, double *\fId\fB);
+.sp
+FcResult FcPatternGetString (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, char **const\fIs\fB);
+.sp
+FcResult FcPatternGetMatrix (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, FcMatrix **\fIs\fB);
+.sp
+FcResult FcPatternGetCharSet (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, FcCharSet **\fIc\fB);
+.sp
+FcResult FcPatternGetBool (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, FcBool *\fIb\fB);
+\fR
+.SH "DESCRIPTION"
+.PP
+These are convenience functions that call FcPatternGet and verify that the
+returned data is of the expected type. They return FcResultTypeMismatch 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.
+.SH "VERSION"
+.PP
+Fontconfig version 2.3.2