#include "wx/fontutil.h"
#include "wx/mac/private.h"
-#include "ATSUnicode.h"
+#include <ATSUnicode.h>
#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
// accessors
// ----------------------------------------------------------------------------
+// TODO: insert checks everywhere for M_FONTDATA == NULL!
+
int wxFont::GetPointSize() const
{
return M_FONTDATA->m_pointSize;
return M_FONTDATA->m_noAA;
}
+short wxFont::GetMacFontNum() const
+{
+ return M_FONTDATA->m_macFontNum;
+}
+
+short wxFont::GetMacFontSize() const
+{
+ return M_FONTDATA->m_macFontSize;
+}
+
+wxByte wxFont::GetMacFontStyle() const
+{
+ return M_FONTDATA->m_macFontStyle;
+}
+
+wxUint32 wxFont::GetMacATSUFontID() const
+{
+ return M_FONTDATA->m_macATSUFontID;
+}
+
const wxNativeFontInfo *wxFont::GetNativeFontInfo() const
{
wxCHECK_MSG( Ok(), NULL, wxT("invalid font") );