⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myclass.h

📁 把一个图象转 换为灰度图换为灰度图
💻 H
字号:
#ifndef _INSIDE_VISUAL_CPP_MYCLASS 
#define _INSIDE_VISUAL_CPP_MYCLASS 

#define PI 3.1415926
//===================================
#define IHDR_SIZE	288	/* len of hdr record (always even bytes) */
#define SHORT_CHARS 	8	/* # of ASCII chars to represent a short */
#define BUFSIZE		80	/* default buffer size */
#define DATELEN		26	/* character length of data string */


//===================================
class Image
{
public:
	int width;
	int height;
	int** ng;

	Image(int width0, int height0);
	Image(char* filename);
	~Image();
	void Write(char* filename);
	void Afficher(CDC* dc, int x, int y);
	void copy(Image* im);
};

//===============================================================
#endif

//____Globals fonctions________

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -