![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
GL2D fonts storage, which allows to register/unregister/manage fonts collection. Only registered fonts can be used for text rendering. More...
#include <gl2d_fonts_storage_interface.h>
Inherits ISDKProperties.
Public Member Functions | |
| virtual void SDK_CALLTYPE | Dump () const =0 throw () |
| Dumps given object. | |
| virtual SDKResult SDK_CALLTYPE | RegisterFont (const SDKString &path, const SDKString &file_name, const SDKUInt32 &face_index, GL2DFontID &font_id)=0 throw () |
| Registers given font in storage path - Path to folder, which contains given font file, if empty - default OS path will be used file_name - Font file name face_index - Font face index font_id - Registered font ID. | |
| virtual SDKResult SDK_CALLTYPE | UnregisterFont (const GL2DFontID &font_id)=0 throw () |
| Unregisters given font from storage. | |
| virtual IGL2DFontSP SDK_CALLTYPE | GetFont (const GL2DFontID &font_id) const =0 throw () |
| Returns appropriate Font entry by it's ID. | |
| virtual bool SDK_CALLTYPE | IsValidStringForFont (const GL2DFontID &font_id, const SDKString &string_to_check) const =0 throw () |
| Checks, if given string can be rendered by given font (means given font contains appropriate glyph for each of symbols in string) | |
GL2D fonts storage, which allows to register/unregister/manage fonts collection. Only registered fonts can be used for text rendering.