#ifndef __CFont_cpp
#define __CFont_cpp

MfcFont* MfcFont::New ()
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_New();
} // MfcFont* MfcFont::New ();

void MfcFont::Delete (MfcFont* pFont)
{
	FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_Delete(pFont);
} // void MfcFont::Delete (MfcFont* pFont);

MfcFont* MfcFont::FromHandle (HFONT hFont)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_FromHandle(hFont);
} // MfcFont* MfcFont::FromHandle (HFONT hFont);

BOOL MfcFont::CreateFontIndirect (const LOGFONT* lpLogFont)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_CreateFontIndirect(this, lpLogFont);
} // BOOL MfcFont::CreateFontIndirect (const LOGFONT* lpLogFont);

BOOL MfcFont::CreateFont (int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, BYTE bItalic, BYTE bUnderline, BYTE cStrikeOut, BYTE nCharSet, BYTE nOutPrecision, BYTE nClipPrecision, BYTE nQuality, BYTE nPitchAndFamily, LPCTSTR lpszFacename)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_CreateFont(this, nHeight, nWidth, nEscapement, nOrientation, nWeight, bItalic, bUnderline, cStrikeOut, nCharSet, nOutPrecision, nClipPrecision, nQuality, nPitchAndFamily, lpszFacename);
} // BOOL MfcFont::CreateFont (int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, BYTE bItalic, BYTE bUnderline, BYTE cStrikeOut, BYTE nCharSet, BYTE nOutPrecision, BYTE nClipPrecision, BYTE nQuality, BYTE nPitchAndFamily, LPCTSTR lpszFacename);

BOOL MfcFont::CreatePointFont (int nPointSize, LPCTSTR lpszFaceName, MfcDC* pDC)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_CreatePointFont(this, nPointSize, lpszFaceName, pDC);
} // BOOL MfcFont::CreatePointFont (int nPointSize, LPCTSTR lpszFaceName, MfcDC* pDC);

BOOL MfcFont::CreatePointFontIndirect (const LOGFONT* lpLogFont, MfcDC* pDC)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_CreatePointFontIndirect(this, lpLogFont, pDC);
} // BOOL MfcFont::CreatePointFontIndirect (const LOGFONT* lpLogFont, MfcDC* pDC);

MfcFont::operator HFONT () const
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_HFONT(this);
} // MfcFont::operator HFONT () const;

int MfcFont::GetLogFont (LOGFONT* pLogFont)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcFontI()->_GetLogFont(this, pLogFont);
} // int MfcFont::GetLogFont (LOGFONT* pLogFont);

#endif//__CFont_cpp
