cheshirekow
v0.1.0
|
Functions | |
bool | constant (Char8_t *string, int *result) |
Get the value for a symbolic constant. More... | |
RefPtr< Constant > | getConstant (Char8_t *string) |
Lookup symbolic constant. More... | |
RefPtr< ObjectType > | getObjectType (const char *object) |
Lookup an object type. More... | |
bool | registerConstants (const ConstantList &list) |
Register symbolic constants. More... | |
bool | registerObjectTypes (const ObjectTypeList &list) |
Register object types. More... | |
bool | unregisterConstants (const ConstantList &list) |
Unregister symbolic constants. More... | |
bool | unregisterObjectTypes (const ObjectTypeList &list) |
Unregister object types. More... | |
bool fontconfig::name::constant | ( | Char8_t * | string, |
int * | result | ||
) |
Get the value for a symbolic constant.
Returns whether a symbolic constant with name string is registered, placing the value of the constant in result if present.
Lookup symbolic constant.
Return the FcConstant structure related to symbolic constant string.
RefPtr<ObjectType> fontconfig::name::getObjectType | ( | const char * | object | ) |
Lookup an object type.
Return the object type for the pattern element named object.
bool fontconfig::name::registerConstants | ( | const ConstantList & | list | ) |
Register symbolic constants.
Register nconsts new symbolic constants. Returns FcFalse if the constants cannot be registered (due to allocation failure). Otherwise returns FcTrue.
bool fontconfig::name::registerObjectTypes | ( | const ObjectTypeList & | list | ) |
Register object types.
Register ntype new object types. Returns FcFalse if some of the names cannot be registered (due to allocation failure). Otherwise returns FcTrue.
bool fontconfig::name::unregisterConstants | ( | const ConstantList & | list | ) |
Unregister symbolic constants.
Unregister nconsts symbolic constants. Returns FcFalse if the specified constants were not registered. Otherwise returns FcTrue.
bool fontconfig::name::unregisterObjectTypes | ( | const ObjectTypeList & | list | ) |
Unregister object types.
Unregister ntype object types. Returns FcTrue.