65 lines
2.8 KiB
HTML
65 lines
2.8 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of FcPatternGet-Type</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>FcPatternGet-Type</H1>
|
|
Section: (3)<BR>Updated: 06 April 2020<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
FcPatternGetInteger, FcPatternGetDouble, FcPatternGetString, FcPatternGetMatrix, FcPatternGetCharSet, FcPatternGetBool, FcPatternGetFTFace, FcPatternGetLangSet, FcPatternGetRange - Return a typed value from a pattern
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<B>#include <<A HREF="file:///usr/include/fontconfig/fontconfig.h">fontconfig/fontconfig.h</A>>
|
|
<P>
|
|
FcResult FcPatternGetInteger (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, int *</B><I>i</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetDouble (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, double *</B><I>d</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetString (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FcChar8 **</B><I>s</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetMatrix (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FcMatrix **</B><I>s</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetCharSet (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FcCharSet **</B><I>c</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetBool (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FcBool *</B><I>b</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetFTFace (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FT_Face *</B><I>f</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetLangSet (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FcLangSet **</B><I>l</I><B>);
|
|
<P>
|
|
FcResult FcPatternGetRange (FcPattern *</B><I>p</I><B>, const char *</B><I>object</I><B>, int </B><I>n</I><B>, FcRange **</B><I>r</I><B>);
|
|
</B>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
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.
|
|
<B>FcPatternGetRange</B> are available since 2.11.91.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:42 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|