windows::opengl::CPlatformFont


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

This class is available on Windows platform only

Corresponding class for Linux platform is here.

Corresponding class for Android 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;
    
        CPlatformFont(CRenderer *renderer, void *handle, const String &fontname, const int height, const FONT_WEIGHT weight, const bool italic, const bool underline, const bool strikeout, const PointF character_size); // 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::windows::opengl
Include: Standard/Platform/Windows/OpenGL/PlatformFont.h