X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..56eeb97339e6760855b4e7866b7f4dd92368a189:/include/wx/mgl/font.h diff --git a/include/wx/mgl/font.h b/include/wx/mgl/font.h index 3f748c413a..b33e7341c5 100644 --- a/include/wx/mgl/font.h +++ b/include/wx/mgl/font.h @@ -58,7 +58,7 @@ public: bool Create(const wxNativeFontInfo& fontinfo); - ~wxFont() {} + virtual ~wxFont() {} // implement base class pure virtuals virtual int GetPointSize() const; @@ -79,6 +79,10 @@ public: virtual void SetUnderlined(bool underlined); virtual void SetEncoding(wxFontEncoding encoding); + // Unofficial API, don't use + virtual void SetNoAntiAliasing(bool no = true); + virtual bool GetNoAntiAliasing() const; + struct font_t *GetMGLfont_t(float scale, bool antialiased); protected: