-
新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形...
新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access t
- 2022-03-05 21:42:30下载
- 积分:1
-
3d图形图像处理的一些简单算法,需要的可以下载,只适用于初学者。...
3d图形图像处理的一些简单算法,需要的可以下载,只适用于初学者。-3d graphics some simple image processing algorithms, need can be downloaded, only applies to beginners.
- 2022-04-15 18:00:24下载
- 积分:1
-
video files from a data to be used to address the video is a data operation to g...
从视频文件中得到一帧数据,用于处理 是一个对视频数据操作的必经过程-video files from a data to be used to address the video is a data operation to go through the process
- 2022-03-22 18:25:11下载
- 积分:1
-
VC动感编程源程序
VC动感编程源程序-VC dynamic programming source
- 2023-03-07 21:10:04下载
- 积分:1
-
图像缩放的例子程序
实现图象缩放效果的例子程序-Image scaling examples of procedures
- 2023-06-05 05:45:03下载
- 积分:1
-
用Java编写的基于Kohonen神经网络的OCR
用Java编写的基于Kohonen神经网络的OCR-Java prepared by the Kohonen neural network-based OCR
- 2022-10-24 12:20:03下载
- 积分:1
-
VTK的示例代码
VTK example code - 1-VTK example code- 1
- 2023-07-12 15:15:08下载
- 积分:1
-
ENO
经典分形几何放大程序!!!实现典型3中图形任比例放大-ENO
- 2022-03-11 04:37:09下载
- 积分:1
-
OpenGL 读取obj文件
c++实现的,opengl库读取obj文件,显示三维图形。obj文件需要作为参数传入,内含makefile可以在linux环境下编译。
- 2022-01-26 00:54:58下载
- 积分:1
-
区域特性的多光谱与全色图像的融合
分别提出了基于区域特性的多光谱与全色图像的融合算法及SAR与全色图像的融合算法
- 2023-03-08 14:40:03下载
- 积分:1