FcPatternBuild, FcPatternVaBuild - Create patterns from arguments
#include <fontconfig.h>
FcPattern * FcPatternBuild (FcPattern *orig, ...);
FcPattern * FcPatternVaBuild (FcPattern *orig, va_list va);
Builds a pattern using a list of objects, types and values. Each value to be entered in the pattern is specified with three arguments:
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
pattern = FcPatternBuild (0, FC_FAMILY, FcTypeString, "Times", (char *) 0);
FcPatternVaBuild is used when the arguments are already in the form of a varargs value.
Fontconfig version 2.4.2
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |