#include <fontPool.h>
Private Types | |
| typedef pmap< string, PT(TextFont) | Fonts ) |
Private Member Functions | |
| INLINE | FontPool () |
| bool | ns_has_font (const string &str) |
| TextFont * | ns_load_font (const string &str) |
| void | ns_add_font (const string &filename, TextFont *font) |
| void | ns_release_font (const string &filename) |
| void | ns_release_all_fonts () |
| int | ns_garbage_collect () |
| void | ns_list_contents (ostream &out) |
Static Private Member Functions | |
| INLINE bool | verify_font (const string &filename) |
| INLINE TextFont * | load_font (const string &filename) |
| INLINE void | add_font (const string &filename, TextFont *font) |
| INLINE void | release_font (const string &filename) |
| INLINE void | release_all_fonts () |
| INLINE int | garbage_collect () |
| INLINE void | list_contents (ostream &out) |
| void | lookup_filename (const string &str, Filename &filename, int &face_index) |
| FontPool * | get_ptr () |
Private Attributes | |
| PUBLISHED | __pad0__: INLINE static bool has_font(const string &filename) |
| Fonts | _fonts |
Static Private Attributes | |
| FontPool * | _global_ptr = (FontPool *)NULL |
|
|
Definition at line 70 of file fontPool.h. Referenced by ns_garbage_collect(). |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 229 of file fontPool.cxx. References _global_ptr, and NULL. |
|
|
|
|
|
Referenced by TextNode::load_default_font(). |
|
||||||||||||||||
|
Definition at line 195 of file fontPool.cxx. References VirtualFileSystem::get_global_ptr(), get_model_path(), and VirtualFileSystem::resolve_filename(). Referenced by ns_has_font(), and ns_load_font(). |
|
||||||||||||
|
Definition at line 112 of file fontPool.cxx. References _fonts. |
|
|
Definition at line 147 of file fontPool.cxx. |
|
|
Definition at line 36 of file fontPool.cxx. References _fonts, and lookup_filename(). |
|
|
Definition at line 175 of file fontPool.cxx. References _fonts. |
|
|
Definition at line 57 of file fontPool.cxx. References _fonts, NodePath::adjust_all_priorities(), lookup_filename(), model_loader, NULL, and PT. |
|
|
Definition at line 137 of file fontPool.cxx. References _fonts. |
|
|
Definition at line 123 of file fontPool.cxx. References _fonts. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 42 of file fontPool.h. |
|
|
Definition at line 71 of file fontPool.h. Referenced by ns_add_font(), ns_garbage_collect(), ns_has_font(), ns_list_contents(), ns_load_font(), ns_release_all_fonts(), and ns_release_font(). |
|
|
Definition at line 26 of file fontPool.cxx. Referenced by get_ptr(). |
1.3