|
void | init (const char *fntPath, bool premultipliedAlpha=false) |
|
void | initSD (const char *fntPath, int downsample) |
|
void | cleanup () |
|
const Font * | getFont (const char *name=0, int size=0) const override |
|
bool | isSDF (int &size) const override |
|
const Font * | getClosestFont (float worldScale, int styleFontSize, float &resScale) const override |
|
int | getSize () const |
|
void | load (LoadResourcesContext *context=0) |
|
void | unload () |
|
pugi::xml_attribute | getAttribute (const char *attr) const |
|
pugi::xml_node | getNode () const |
|
bool | getUseLoadCounter () const |
|
Resource * | getParent () const |
|
void | setUseLoadCounter (bool v) |
|
void | setParent (Resource *p) |
|
| Object (const Object &src) |
|
| Object (bool assignUniqueID=true) |
|
void | addRef () |
|
void | releaseRef () |
|
| ObjectBase (const ObjectBase &src) |
|
| ObjectBase (bool assignID=true) |
|
const std::string & | getName () const |
|
const void * | getUserData () const |
|
int | getObjectID () const |
|
bool | isName (const std::string &name) const |
|
bool | isName (const char *name) const |
|
void | setName (const std::string &name) |
|
void | setUserData (const void *data) |
|
void | dumpObject () const |
|
void | __removeFromDebugList () |
|
|
typedef std::vector< ObjectBase * > | __createdObjects |
|
int | _ref_counter |
|
void | __doCheck () |
|
void | __generateID () |
|
std::string * | __getName () const |
|
void | __freeName () const |
|
static void | setNode (Resource *res, const pugi::xml_node &node) |
|
static void | __addToDebugList (ObjectBase *base) |
|
static void | __removeFromDebugList (ObjectBase *base) |
|
int | _size |
|
Resource * | _parent |
|
int | _loadCounter |
|
bool | _useLoadCounter |
|
pugi::xml_node | _node |
|
std::string | __name |
|
int | __id |
|
const void * | __userData |
|
static int | _lastID |
|
static int | _assertCtorID |
|
static int | _assertDtorID |
|
◆ init()
void oxygine::ResFontBM::init |
( |
const char * |
fntPath, |
|
|
bool |
premultipliedAlpha = false |
|
) |
| |
loads "fnt" font from file, supported XML and text format
The documentation for this class was generated from the following file: