cheshirekow
v0.1.0
|
traits class for FcPattern holds a set of names with associated value lists; More...
#include <cpp_fontconfig/Pattern.h>
Classes | |
class | Builder |
utility for building patterns using interface similar to variable argument list More... | |
Public Types | |
typedef FcPattern * | cobjptr |
typedef PatternDelegate | Delegate |
typedef FcPattern * | Storage |
Static Public Member Functions | |
static Builder | buildNew () |
Builds a pattern using a list of objects, types and values. More... | |
static RefPtr< Pattern > | create (void) |
Create a pattern. More... | |
static RefPtr< Pattern > | parse (const Char8_t *name) |
Parse a pattern string. More... | |
traits class for FcPattern holds a set of names with associated value lists;
each name refers to a property of a font. FcPatterns are used as inputs to the matching code as well as holding information about specific fonts. Each property can hold one or more values; conventionally all of the same type, although the interface doesn't demand that.
typedef FcPattern* fontconfig::Pattern::cobjptr |
typedef FcPattern* fontconfig::Pattern::Storage |
|
static |
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
Create a pattern.
Creates a pattern with no properties; used to build patterns from scratch.
Parse a pattern string.
Converts name from the standard text format described above into a pattern.