MFont* ZIDLResource::CreateFont(char* szAliasName, char* szFontName, int nHeight, bool bBold, bool bItalic, int nOutlineStyle, bool bAntialiasing, DWORD nColorArg1, DWORD nColorArg2) { MFontR2* pNew = new MFontR2; pNew->Create(szAliasName, szFontName, nHeight, 1.0f, bBold, bItalic, nOutlineStyle, -1, bAntialiasing, nColorArg1, nColorArg2); return pNew; }
virtual MFont* OpenFont(const char* szName, int nHeight){ MFontR2* pNew = new MFontR2; pNew->Create(szName, szName, nHeight); return pNew; }