-
新建一个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
-
又一个分形几何图形生成程序
又一个分形几何图形生成程序-Another generation of fractal geometry program
- 2022-08-13 11:44:22下载
- 积分:1
-
计算机绘图程序
用c语言实现的一些计算机绘图程序-Some of the computer drawing program
- 2022-03-07 08:55:22下载
- 积分:1
-
利用EXCE里数据在AUTOCAD中找位置
利用EXCE里数据在AUTOCAD中找位置-Use EXCE where to find the location of data in AUTOCAD
- 2022-09-26 11:40:03下载
- 积分:1
-
Source for the ll_frac.zip landscape demo
Source for the ll_frac.zip landscape demo
- 2022-02-21 05:57:45下载
- 积分:1
-
电子书籍_数字图像处理
电子书籍_数字图像处理-E-books _ Digital Image Processing
- 2022-03-24 17:35:40下载
- 积分:1
-
JAVA 完成的一款 媒体播放器, 能支持Mp3的音乐播放功能, 界面简单,漂亮。...
JAVA 完成的一款 媒体播放器, 能支持Mp3的音乐播放功能, 界面简单,漂亮。-JAVA completed a media player, will support MP3 music player, interface simple, and beautiful.
- 2022-03-21 01:13:57下载
- 积分:1
-
这是一个灰度均衡的程序
这是一个灰度均衡的程序-This a gray balanced procedures
- 2023-02-28 08:55:04下载
- 积分:1
-
可对彩色图像进行行列变化 小波一层 二层 三层变换 还可进行低通 高通 滤波处理 本人亲自试验过了...
可对彩色图像进行行列变化 小波一层 二层 三层变换 还可进行低通 高通 滤波处理 本人亲自试验过了-Color image can change the ranks of two-story three-layer wavelet transform can also be low-pass high-pass filter processing personally tested the
- 2022-09-27 11:45:02下载
- 积分:1
-
摄像机标定,我最近做摄像机标定,标定过程…
摄像头标定,我最近在做摄像头标定,这个程序需要一张标定纸,我用的是7×7-Camera calibration, I recently make camera calibration, the calibration process requires a paper, I use the 7 × 7
- 2023-08-09 09:00:03下载
- 积分:1