X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bf5a59b5e058bebffcf9d87f03550b4ecf93e73..0ebb0e5c842c2a0be09364bda0d14b3281ddec43:/src/mac/carbon/font.cpp diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index bb1c2b4939..f37cdbf9c7 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -370,6 +370,8 @@ void wxFont::SetNoAntiAliasing( bool no ) // accessors // ---------------------------------------------------------------------------- +// TODO: insert checks everywhere for M_FONTDATA == NULL! + int wxFont::GetPointSize() const { return M_FONTDATA->m_pointSize; @@ -413,6 +415,26 @@ bool wxFont::GetNoAntiAliasing() 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") );