// classes
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxDC;
-class WXDLLEXPORT wxPaintDC;
-class WXDLLEXPORT wxWindow;
-class WXDLLEXPORT wxFont;
+class WXDLLIMPEXP_FWD_CORE wxDC;
+class WXDLLIMPEXP_FWD_CORE wxPaintDC;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxFont;
struct font_t;
bool Create(const wxNativeFontInfo& fontinfo);
- ~wxFont() {}
+ virtual ~wxFont() {}
// implement base class pure virtuals
virtual int GetPointSize() const;
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:
// ref counting code
- virtual wxObjectRefData *CreateRefData() const;
- virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+ virtual wxGDIRefData *CreateGDIRefData() const;
+ virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
private:
DECLARE_DYNAMIC_CLASS(wxFont)