android::gles::CPlatformFont


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Android platform only

Corresponding class for Windows platform is here.

Corresponding class for Linux platform is here.

Implements platform font.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class CPlatformFont :public virtual IPlatformFont, public CBasePlatformFont
    {
    protected:
        CHAR *CreateChar(const wchar_t chr) override;
    public:
        IRenderer *getRenderer() override;
    
        IPlatformFontService *QueryService() override;
    
        CPlatformFont(CRenderer *renderer, const String &fontname, const int height, const FONT_WEIGHT weight, const bool italic, const bool underline, const bool strikeout,
                const PointF &character_size, CApplication::FONT_FACE *font_face); // Create with specified information 
        ~CPlatformFont() override;
    
        CHAR *getChar(const wchar_t chr); // Find character informataion. Create if not found and possible 
        CTextureR *getTexture(); // Return texture containing all characters 
    };
Namespace: nitisa::standard::android::gles
Include: Standard/Platform/Android/OpenGL/PlatformFont.h