~ubuntu-branches/ubuntu/lucid/fontconfig/lucid

« back to all changes in this revision

Viewing changes to doc/FcPatternGet-Type.3

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2004-10-07 06:04:17 UTC
  • Revision ID: james.westby@ubuntu.com-20041007060417-dliqa1ebkoh7isns
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" This manpage has been automatically generated by docbook2man 
 
2
.\" from a DocBook document.  This tool can be found at:
 
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 
4
.\" Please send any bug reports, improvements, comments, patches, 
 
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
 
6
.TH "FcPatternGet-Type" "3" "10 March 2004" "" ""
 
7
 
 
8
.SH NAME
 
9
FcPatternGetInteger, FcPatternGetDouble, FcPatternGetString, FcPatternGetMatrix, FcPatternGetCharSet, FcPatternGetBool \- Return a typed value from a pattern
 
10
.SH SYNOPSIS
 
11
.sp
 
12
\fB#include <fontconfig.h>
 
13
.sp
 
14
FcResult FcPatternGetInteger (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, int *\fIi\fB);
 
15
.sp
 
16
FcResult FcPatternGetDouble (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, double *\fId\fB);
 
17
.sp
 
18
FcResult FcPatternGetString (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, char **const\fIs\fB);
 
19
.sp
 
20
FcResult FcPatternGetMatrix (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, FcMatrix **\fIs\fB);
 
21
.sp
 
22
FcResult FcPatternGetCharSet (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, FcCharSet **\fIc\fB);
 
23
.sp
 
24
FcResult FcPatternGetBool (FcPattern *\fIp\fB, const char *\fIobject\fB, int\fIn\fB, FcBool *\fIb\fB);
 
25
\fR
 
26
.SH "DESCRIPTION"
 
27
.PP
 
28
These are convenience functions that call FcPatternGet and verify that the
 
29
returned data is of the expected type. They return FcResultTypeMismatch if
 
30
this is not the case.  Note that these (like FcPatternGet) do not make a
 
31
copy of any data structure referenced by the return value.  Use these
 
32
in preference to FcPatternGet to provide compile-time typechecking.
 
33
.SH "VERSION"
 
34
.PP
 
35
Fontconfig version 2.2.2