1 // PictureHlp.h: interface for the CPictureHlp class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_PICTUREHLP_H__84D3E504_630B_45D5_9F81_ED53E062F8FB__INCLUDED_)
6 #define AFX_PICTUREHLP_H__84D3E504_630B_45D5_9F81_ED53E062F8FB__INCLUDED_
10 #endif // _MSC_VER > 1000
12 #define HIMETRIC_INCH 2540
13 #define MAP_LOGHIM_TO_PIX(x,ppli) ( ((ppli)*(x) + HIMETRIC_INCH/2) / HIMETRIC_INCH )
19 virtual ~CPictureHlp();
20 void LoadPictureFile(LPCTSTR szFile
);
21 void LoadPicture(int iID
);
22 void Display(CDC
& dc
, CRect
& r
, int iXdest
= 0, int iYdest
= 0);
28 #endif // !defined(AFX_PICTUREHLP_H__84D3E504_630B_45D5_9F81_ED53E062F8FB__INCLUDED_)