X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..acf8e3d29e897ade2087e3d9048e5c448823d391:/include/wx/mac/font.h diff --git a/include/wx/mac/font.h b/include/wx/mac/font.h index b14155a75b..008957bd69 100644 --- a/include/wx/mac/font.h +++ b/include/wx/mac/font.h @@ -81,6 +81,9 @@ public: } virtual ~wxFontRefData(); + void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; } + bool GetNoAntiAliasing() { return m_noAA; } + protected: // common part of all ctors void Init(int size, @@ -100,14 +103,15 @@ protected: bool m_underlined; wxString m_faceName; wxFontEncoding m_encoding; + bool m_noAA; // No anti-aliasing public: - short m_macFontNum; - short m_macFontSize; + short m_macFontNum; + short m_macFontSize; unsigned char m_macFontStyle; wxUint32 m_macATSUFontID; public: - void MacFindFont() ; + void MacFindFont() ; }; // ---------------------------------------------------------------------------- // wxFont @@ -184,6 +188,9 @@ public: virtual bool RealizeResource(); + // Unofficial API, don't use + virtual void SetNoAntiAliasing( bool noAA = TRUE ) ; + virtual bool GetNoAntiAliasing() ; protected: // common part of all ctors void Init();