Murl::ISystemFontControl Interface Referenceabstract
The system font control interface. More...
#include "murl_i_system_font_control.h"
Inheritance diagram for Murl::ISystemFontControl:
Public Member Functions | |
virtual UInt32 | GetNumberOfSystemFontIds () const =0 |
Get the number of font identifiers. More... | |
virtual const String & | GetSystemFontId (UInt32 index) const =0 |
Get the font identifier. More... | |
virtual IFont * | CreateSystemFont (const String &fontId, Real fontSize) const =0 |
Create a system font object. More... | |
virtual void | DestroySystemFont (IFont *&font) const =0 |
Destroy a system font object. More... | |
virtual IVideoStream * | CreateVideoStream (IEnums::PixelFormat pixelFormat, UInt32 pixelSizeX, UInt32 pixelSizeY) const =0 |
Create a video stream object for system font rendering. More... | |
virtual void | DestroyVideoStream (IVideoStream *&stream) const =0 |
Destroy a video stream object. More... | |
Public Member Functions inherited from Murl::IControlable | |
virtual const String & | GetName () const =0 |
Get the controlable's name. More... | |
virtual void | FrameUpdate ()=0 |
Is executed in the platform thread context each frame tick. | |
virtual void | LogicUpdate ()=0 |
Is executed in the logic thread context each logic tick. | |
virtual void | ConfigChanged (const IAppConfiguration *appConfig)=0 |
Notification of changed configuration. More... | |
Detailed Description
The system font control interface.
Member Function Documentation
◆ GetNumberOfSystemFontIds()
|
pure virtual |
Get the number of font identifiers.
- Returns
- The number of font identifiers.
◆ GetSystemFontId()
Get the font identifier.
- Parameters
-
index The index in range [0 .. GetNumberOfSystemFontIds() - 1].
- Returns
- The font identifier.
◆ CreateSystemFont()
|
pure virtual |
Create a system font object.
- Parameters
-
fontId The font identifier. fontSize The font size.
- Returns
- The system font object or null if font identifier is unknown.
◆ DestroySystemFont()
|
pure virtual |
Destroy a system font object.
- Parameters
-
font The system font object to destroy.
◆ CreateVideoStream()
|
pure virtual |
Create a video stream object for system font rendering.
- Parameters
-
pixelFormat The pixel format of the new video object. pixelSizeX The number of horizontal pixels of the new video object. pixelSizeY The number of vertical pixels of the new video object.
- Returns
- The new video stream object or null if not available.
◆ DestroyVideoStream()
|
pure virtual |
Destroy a video stream object.
- Parameters
-
stream The video stream object to destroy.
The documentation for this interface was generated from the following file:
- murl_i_system_font_control.h