#ifndef __CPen_cpp
#define __CPen_cpp

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

void MfcPen::Delete (MfcPen* pPen)
{
	FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_Delete(pPen);
} // void MfcPen::Delete (MfcPen* pPen);

MfcPen* MfcPen::FromHandle (HPEN hPen)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_FromHandle(hPen);
} // MfcPen* MfcPen::FromHandle (HPEN hPen);

BOOL MfcPen::CreatePen (int nPenStyle, int nWidth, COLORREF crColor)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_CreatePen(this, nPenStyle, nWidth, crColor);
} // BOOL MfcPen::CreatePen (int nPenStyle, int nWidth, COLORREF crColor);

BOOL MfcPen::CreatePen (int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount, const DWORD* lpStyle)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_CreatePen(this, nPenStyle, nWidth, pLogBrush, nStyleCount, lpStyle);
} // BOOL MfcPen::CreatePen (int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount, const DWORD* lpStyle);

BOOL MfcPen::CreatePenIndirect (LPLOGPEN lpLogPen)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_CreatePenIndirect(this, lpLogPen);
} // BOOL MfcPen::CreatePenIndirect (LPLOGPEN lpLogPen);

MfcPen::operator HPEN () const
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_HPEN(this);
} // MfcPen::operator HPEN () const;

int MfcPen::GetLogPen (LOGPEN* pLogPen)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_GetLogPen(this, pLogPen);
} // int MfcPen::GetLogPen (LOGPEN* pLogPen);

int MfcPen::GetExtLogPen (EXTLOGPEN* pLogPen)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcPenI()->_GetExtLogPen(this, pLogPen);
} // int MfcPen::GetExtLogPen (EXTLOGPEN* pLogPen);

#endif//__CPen_cpp
