#include <fontservice.h>
Public Member Functions | |
| FontService (ServiceConfiguration *configuration) | |
| virtual | ~FontService () override |
Public Member Functions inherited from Service | |
| UNPREFIXED_MODULE_NAME_INPUTCASE | Service (ServiceConfiguration *configuration) |
| virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) override |
| virtual void | update (double deltaTime) override |
| Service (ServiceConfiguration *configuration) | |
| virtual | ~Service () |
| Core & | getCore () |
| const Core & | getCore () const |
| std::string | getTypeName () const |
| const Module & | getModule () const |
| Service (Service &)=delete | |
| Service & | operator= (const Service &)=delete |
| Service (Service &&)=delete | |
| Service & | operator= (Service &&)=delete |
Protected Member Functions | |
| virtual bool | init (utility::ErrorState &error) override |
| virtual void | shutdown () override |
| virtual void | registerObjectCreators (rtti::Factory &factory) override |
| void * | getHandle () const |
Protected Member Functions inherited from Service | |
| virtual void | getDependentServices (std::vector< rtti::TypeInfo > &dependencies) |
| virtual void | created () |
| virtual void | preUpdate (double deltaTime) |
| virtual void | update (double deltaTime) |
| virtual void | postUpdate (double deltaTime) |
| virtual void | preShutdown () |
| virtual void | preResourcesLoaded () |
| virtual void | postResourcesLoaded () |
| template<typename SERVICE_CONFIG > | |
| SERVICE_CONFIG * | getConfiguration () |
| template<typename SERVICE_CONFIG > | |
| const SERVICE_CONFIG * | getConfiguration () const |
| std::string | getIniFilePath () const |
| std::string | getIniFilePath (const std::string &appendix) const |
Manages the font rendering library.
| FontService | ( | ServiceConfiguration * | configuration | ) |
Default constructor
|
overridevirtual |
Explicitly frees the font API
|
protected |
Returns the handle to the free-type library, only accessible by resources in this module Represents a FT_Library object
|
overrideprotectedvirtual |
Initialize font related functionality
Reimplemented from Service.
|
overrideprotectedvirtual |
Registers all objects that need a specific way of construction, in this case a font resource
| factory | the factory to register the object creators with |
Reimplemented from Service.
|
overrideprotectedvirtual |
Shuts down all font related functionality
Reimplemented from Service.