IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-void wxFont::Init()
-{
- if (wxTheFontList)
- wxTheFontList->Append(this);
-}
-
bool wxFont::Create(const wxNativeFontInfo& info)
{
return Create(info.pointSize, info.family, info.style, info.weight,
struct font_t *wxFont::GetMGLfont_t(float scale, bool antialiased)
{
- // FIXME_MGL -- no antialiasing for fonts smaller than certain treshold!
if ( !M_FONTDATA->m_valid )
{
wxMGLFontLibrary *old = M_FONTDATA->m_library;
}
}
-wxFont::~wxFont()
-{
- if (wxTheFontList)
- wxTheFontList->DeleteObject(this);
-}
-
// ----------------------------------------------------------------------------
// accessors
// ----------------------------------------------------------------------------