 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_GL2D_FONTS_STORAGE_INTERFACE_H_
12 #define SDK_GL2D_FONTS_STORAGE_INTERFACE_H_
17 #include <base/inc/sdk_component_base.h>
19 #include <visualizationlayer/inc/vis_const.h>
23 SDK_GL2D_BEGIN_NAMESPACE
40 virtual void SDK_CALLTYPE
Dump()
const throw() = 0;
49 const SDKString& file_name,
const SDKUInt32& face_index,
56 virtual IGL2DFontSP SDK_CALLTYPE
GetFont(
62 const SDKString& string_to_check)
const throw() = 0;
69 SDK_GL2D_END_NAMESPACE
71 #endif // SDK_GL2D_FONTS_STORAGE_INTERFACE_H_
Provides with information about single registered font from GL2D fonts storage.
virtual SDKResult SDK_CALLTYPE RegisterFont(const SDKString &path, const SDKString &file_name, const SDKUInt32 &face_index, GL2DFontID &font_id)=0
Registers given font in storage path - Path to folder, which contains given font file,...
virtual IGL2DFontSP SDK_CALLTYPE GetFont(const GL2DFontID &font_id) const =0
Returns appropriate Font entry by it's ID.
Object generic properties interface.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
SDKUInt32 GL2DFontID
Font ID.
Definition: gl2d_font_interface.h:29
virtual bool SDK_CALLTYPE IsValidStringForFont(const GL2DFontID &font_id, const SDKString &string_to_check) const =0
Checks, if given string can be rendered by given font (means given font contains appropriate glyph fo...
GL2D fonts storage, which allows to register/unregister/manage fonts collection. Only registered font...
Definition: gl2d_fonts_storage_interface.h:36
virtual void SDK_CALLTYPE Dump() const =0
Dumps given object.
GL2DFontsStoragePropertyIDs
Generic GL2D Fonts Storage properties.
Definition: gl2d_fonts_storage_interface.h:29
virtual SDKResult SDK_CALLTYPE UnregisterFont(const GL2DFontID &font_id)=0
Unregisters given font from storage.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.