summaryrefslogtreecommitdiff
path: root/doc/fcfreetype.fncs
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2017-09-20 13:07:02 -0700
committerBehdad Esfahbod <behdad@behdad.org>2017-09-20 13:07:35 -0700
commit0757556ddfdce26e73df12459068464224116150 (patch)
tree6684f85f214f578aa7f6aff0214186488b4b1386 /doc/fcfreetype.fncs
parent2084b76bea78f9a41349de57d76134efd5174d96 (diff)
downloadfontconfig-0757556ddfdce26e73df12459068464224116150.tar.gz
Document FcFreeTypeQueryAll()
Diffstat (limited to 'doc/fcfreetype.fncs')
-rw-r--r--doc/fcfreetype.fncs31
1 files changed, 29 insertions, 2 deletions
diff --git a/doc/fcfreetype.fncs b/doc/fcfreetype.fncs
index 15a9fc4..0c3823d 100644
--- a/doc/fcfreetype.fncs
+++ b/doc/fcfreetype.fncs
@@ -83,8 +83,35 @@ widths.
@TYPE4@ int * @ARG4@ count
@PURPOSE@ compute pattern from font file (and index)
@DESC@
-Constructs a pattern representing the 'id'th font in 'file'. The number
-of fonts in 'file' is returned in 'count'.
+Constructs a pattern representing the 'id'th face in 'file'. The number
+of faces in 'file' is returned in 'count'.
+FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
+accepted only for compatibility with older code.
+@@
+
+unsigned int
+FcFreeTypeQueryAll(const FcChar8 *file,
+ int id,
+ FcBlanks *blanks,
+ int *count,
+ FcFontSet *set)
+@SYNOPSIS@
+#include &lt;fontconfig.h&gt;
+#include &lt;fcfreetype.h&gt;
+@RET@ unsigned int
+@FUNC@ FcFreeTypeQueryAll
+@TYPE1@ const FcChar8 * @ARG1@ file
+@TYPE2@ int% @ARG2@ id
+@TYPE3@ FcBlanks * @ARG3@ blanks
+@TYPE4@ int * @ARG4@ count
+@TYPE5@ FcFontSet * @ARG5@ set
+@PURPOSE@ compute all patterns from font file (and index)
+@DESC@
+Constructs patterns found in 'file'.
+If id is -1, then all patterns found in 'file' are added to 'set'.
+Otherwise, this function works exactly like FcFreeTypeQuery().
+The number of faces in 'file' is returned in 'count'.
+The number of patterns added to 'set' is returned.
FcBlanks is deprecated, <parameter>blanks</parameter> is ignored and
accepted only for compatibility with older code.
@@