cheshirekow
v0.1.0
|
An FcFontSet simply holds a list of patterns; these are used to return the results of listing available fonts. More...
#include <cpp_fontconfig/FontSet.h>
Public Member Functions | |
bool | add (RefPtr< Pattern > font) |
Add to a font set. More... | |
void | destroy () |
Destroy a font set. More... | |
FontSetDelegate * | operator-> () |
const FontSetDelegate * | operator-> () const |
void | print () |
Print a set of patterns to stdout. More... | |
Private Member Functions | |
FontSetDelegate (FcFontSet *ptr) | |
wrap constructor More... | |
FontSetDelegate (const FontSetDelegate &other) | |
not copy-constructable More... | |
FontSetDelegate & | operator= (const FontSetDelegate &other) |
not assignable More... | |
Private Attributes | |
FcFontSet * | m_ptr |
Friends | |
class | RefPtr< FontSet > |
An FcFontSet simply holds a list of patterns; these are used to return the results of listing available fonts.
An FcFontSet contains a list of FcPatterns. Internally fontconfig uses this data structure to hold sets of fonts. Externally, fontconfig returns the results of listing fonts in this format. 'nfont' holds the number of patterns in the 'fonts' array; 'sfont' is used to indicate the size of that array.
|
inlineexplicitprivate |
|
private |
not copy-constructable
Add to a font set.
Adds a pattern to a font set. Note that the pattern is not copied before being inserted into the set. Returns FcFalse if the pattern cannot be inserted into the set (due to allocation failure). Otherwise returns FcTrue.
void fontconfig::FontSetDelegate::destroy | ( | ) |
Destroy a font set.
Destroys a font set. Note that this destroys any referenced patterns as well.
|
inline |
|
inline |
|
private |
not assignable
void fontconfig::FontSetDelegate::print | ( | ) |
Print a set of patterns to stdout.