摘要: 1.BeginBatchDraw void BeginBatchDraw():用于开始批量绘图模式。在执行之后,任何绘图操作将暂时不输出到图形窗口,直到调用函数flushBatchDraw或EndBatchDraw。 2.FlushBatchDraw void FlushBatchDraw()voi 阅读全文
posted @ 2023-01-26 20:49 ImreW 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.outtextxy void outtextxy( int x, int y, LPCTSTR str)void outtextxy( int x, int y, TCHAR c):用于在指定位置输出字符串。参数:x字符串输出时x轴上第一个字母的坐标值。y字符串输出时第一个字母y轴的坐标值。st 阅读全文
posted @ 2023-01-26 20:30 ImreW 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.getpixel COLORREF getpixel(int x,int y):用于获取点的颜色。参数:xx坐标来获得颜色。yy坐标来得到颜色。 2.putpixel void putpixel( int x, int y, COLORREF color):用于绘制点参数:x点的x坐标。y点的y 阅读全文
posted @ 2023-01-26 19:50 ImreW 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 1.loadimage void loadimage(IMAGE* pDstImg, //保存图像的图像对象指针LPCTSTR pImgFile, //图片文件名int nWidth = 0, //图片的拉伸宽度int nHeight = 0, //图片的拉伸高度bool bResize = fal 阅读全文
posted @ 2023-01-26 17:23 ImreW 阅读(218) 评论(0) 推荐(0) 编辑
摘要: /****************************************************** * EasyX Library for C++ (Ver:20220901) * https://easyx.cn * * EasyX.h * Provides the latest AP 阅读全文
posted @ 2023-01-26 16:56 ImreW 阅读(305) 评论(0) 推荐(0) 编辑