bool Create(const wxNativeFontInfo& info);
+ bool MacCreateThemeFont( wxUint16 themeFontID ) ;
+
virtual ~wxFont();
// assignment
// Unofficial API, don't use
virtual void SetNoAntiAliasing( bool noAA = TRUE ) ;
- virtual bool GetNoAntiAliasing() ;
+ virtual bool GetNoAntiAliasing() const ;
// Mac-specific, risks to change, don't use in portable code
- short GetMacFontNum() const;
- short GetMacFontSize() const;
- wxByte GetMacFontStyle() const;
- wxUint32 GetMacATSUFontID() const;
-
+
+ // 'old' Quickdraw accessors
+
+ short MacGetFontNum() const;
+ short MacGetFontSize() const;
+ wxByte MacGetFontStyle() const;
+
+ // 'new' ATSUI accessors
+
+ wxUint32 MacGetATSUFontID() const;
+ wxUint32 MacGetATSUAdditionalQDStyles() const;
+ wxUint16 MacGetThemeFontID() const ;
+ // Returns an ATSUStyle not ATSUStyle*
+ void* MacGetATSUStyle() const ;
+
protected:
// common part of all ctors
void Init();