-
VC++ 6.0简单屏幕画笔源代码
VC++ 6.0简单屏幕画笔源代码 ,可以让用户直接在屏幕的任意地方写字,仿画图的功能,不过这个不是在指定的画图窗口中才能画出图形,而是打开后,在屏幕的任意地方都可以。而且还可以设置画笔的颜色,有四种颜色可选,还可设置画笔粗细等功能。以下请看画笔的设置部分代码:
void CMyWnd::OnRed()//选中绿色
{
ColorX=255;
ColorY=0;
ColorZ=0;
}
void CMyWnd::OnYellow()//选中黄色
{
ColorX=255;
ColorY=255;
ColorZ=0;
}
void CMyWnd::OnGreen() //选中绿色
{
ColorX=0;
ColorY=255;
ColorZ=0;
}
void CMyWnd::OnBlue() //选中蓝色
{
ColorX=0;
ColorY=0;
ColorZ=255;
}
void CMyWnd::OnAdd() //增加画笔大小
{
ADxy+=1;
}
void CMyWnd::OnDec() //增加画笔大小
{
if (ADxy!=1)
ADxy-=1;
}
void CMyWnd::OnAbout() //增加画笔大小
{
//AfxMessageBox("你好");
//显示关于对话框
CLjxDlg dlg;
int xxx=dlg.DoModal();
}
- 2022-11-18 14:20:03下载
- 积分:1
-
38763043
此蚁群算法专门用于求解tsp问题,优化效率和鲁棒性都非常好,,(The ant colony algorithm is dedicated to solving TSP problem, optimization efficiency and robustness is very good,,)
- 2020-08-05 02:58:32下载
- 积分:1
-
ECItoECEF
类似J2000的ECI坐标系转换到类似wgs84的ECEF坐标系,方便大家应用(Convert ECI (CIS, Epoch J2000.0) Coordinates to WGS 84 (CTS, ECEF) Coordinates. This function has been vectorized for speed.
Example Function Call:
>> [r_ECEF v_ECEF a_ECEF] = ECItoECEF(JD,r_ECI,v_ECI,a_ECI);
Where:
JD is the Julian Date vector [1 x N] (units are in days)
r_ECI is the position vector [3 x N] (any units are permitted)
v_ECI is the velocity vector [3 x N] (any units are permitted)
a_ECI is the acceleration vector [3 x N] (any units are permitted))
- 2018-03-10 17:33:53下载
- 积分:1
-
离散粒子群算法DPSO
PSO算法就是模拟一群鸟寻找食物的过程,每个鸟就是PSO中的粒子,也就是我们需要求解问题的可能解(The PSO algorithm is a process of simulating a group of birds looking for food. Each bird is a particle in the PSO, that is, we need to solve the problem.)
- 2021-04-14 16:48:55下载
- 积分:1
-
很好的C语言程序的软件
very good c program for software4
- 2022-03-02 22:19:42下载
- 积分:1
-
机器学习课件 周志华
说明: 机器学习配套讲解的课件,相比与书籍中的内容,课件中有大量的样例展示。(Comparing with the contents in books, there are a lot of examples in the courseware for machine learning.)
- 2019-06-18 21:31:08下载
- 积分:1
-
JSP+SQLServer教务管理系统源码
JSP+SQLServer教务管理系统源码,双鱼林教务管理系统,jsp+servlet+javabean实现的学校教务管理系统。程序使用方法:
打开MyEclipse后,建立一个web工程,名称为school,将对应目录的文件复杂进去再部署到tomcat服务器上就ok了!
测试帐号:
系统管理员帐号和密码: admin admin
教务管理员帐号和密码: edu edu
学生帐号和密码: 0319102206 123456
老师帐号和密码: 0319000003 123456
- 2023-04-29 17:20:04下载
- 积分:1
-
领导艺术
领导艺术- 管理技巧系列课程-成功经理人,领导艺术- 管理技巧系列课程-成功经理人领导艺术- 管理技巧系列课程-成功经理人.-leadership-management skills courses Series-successful manager, leading arts-management skills courses series-leading successful manager Art-management skills courses Series-successful managers.
- 2022-01-21 23:30:55下载
- 积分:1
-
有关复杂网络研究的一篇博士论文,结合具体的复杂网络对象实例,系统研究复杂网络的理论和实践,并且研究复杂网络原理在Ad hoc计算机网络中的应用。选择了汉语词组网...
有关复杂网络研究的一篇博士论文,结合具体的复杂网络对象实例,系统研究复杂网络的理论和实践,并且研究复杂网络原理在Ad hoc计算机网络中的应用。选择了汉语词组网络作为实际复杂网络研究对象。提出了一种推广的祸合网络理论模型。-Complex network-related research for a Ph D thesis, combined with the specific object instance of the complex network, complex network system of the theory and practice, and study the principle of complex networks in Ad hoc computer network applications. Chose the Chinese phrase networks as the actual complex network study. A promotion of the coupling model of network theory.
- 2022-08-14 23:38:49下载
- 积分:1
-
Lin_Deep_Learning_of_2015_CVPR_paper
这是一篇关于图像检索的文章,主要内容如下:在第2部分对哈希算法的相关工作和基于深度学习的图像检索进行了回顾,在第3部分详述了所提出的一个新颖算法,最后,在第4部分和第5部分分别给出了实验结果和结论。(This paper is organized as follows: the related work of hashing algorithms and image retrieval with deep learning are briefly reviewed in Section 2. the details of a new method is elaborated on in Section 3. Finally, experimental results are provided in Section 4, followed by conclusions in Section 5.)
- 2020-06-22 00:20:02下载
- 积分:1