Files
Work/mdiwin/RESIZE.HPP
2024-08-07 09:16:27 -04:00

22 lines
459 B
C++

#ifndef _RESIZE_HPP_
#define _RESIZE_HPP_
#include <mdiwin//windows.hpp>
class Resize
{
public:
Resize(int width,int height, const RECT &copyRect,HGLOBAL hGlobalImage);
Resize(int width,int height,int newWidth,int newHeight,HGLOBAL hGlobalImage);
~Resize(void);
HGLOBAL resizeImage(void);
private:
typedef long Index;
int mOldWidth;
int mOldHeight;
int mNewWidth;
int mNewHeight;
HGLOBAL mhGlobalImage;
RECT mCopyRect;
WORD mIsCopyRect;
};
#endif