-
新建一个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
-
C++操作autoCAD下的dxf文件的示例
C++操作autoCAD下的dxf文件的示例-C++ Operation AutoCAD dxf files under the sample
- 2023-06-13 16:05:04下载
- 积分:1
-
控制窗口的位置不让用户移动,可以实现输入必须填写的内容后,才能进入下一步。
控制窗口的位置不让用户移动,可以实现输入必须填写的内容后,才能进入下一步。-Control the location of the window to prevent mobile users can realize the contents of input must be filled before they can enter the next step.
- 2022-05-09 12:14:25下载
- 积分:1
-
- 2022-11-17 08:10:03下载
- 积分:1
-
Take advantage of Visual C++ 6.0 environment to create MFC AppWizard (exe), the...
利用在Visual C++ 6.0环境下创建MFC AppWizard(exe),实现以屏幕客户区中心为圆心绘制金刚石图案。-Take advantage of Visual C++ 6.0 environment to create MFC AppWizard (exe), the realization of the screen center as the center and draw the client area diamond pattern.
- 2023-02-22 18:35:04下载
- 积分:1
-
ENO
经典分形几何放大程序!!!实现典型3中图形任比例放大-ENO
- 2022-03-11 04:37:09下载
- 积分:1
-
本文件内的程序实现了帧动画的操作,对计算机三维图形操作具有一定的借鉴意义...
本文件内的程序实现了帧动画的操作,对计算机三维图形操作具有一定的借鉴意义-The procedures of this document implements frame animation operation, three-dimensional graphics operations on the computer has certain reference significance
- 2022-01-26 06:43:39下载
- 积分:1
-
列图片成页面
列图片成页面 - 解没有ACDSee之急。 源代码+执行文件+chm格式帮助 本程序跟listimg的功能差不多,区别仅仅是前者使用javascript,这个使用vc6(MFC),在java没配置好的机器上前者用不了。 如果您对此有何改进,烦恼mail一份改进后的版本给我,-out into pages-no solution ACDSee urgency. The source code implementation document chm format with the help of this program almost listimg function, the only difference is the former use of javascript, the use vc6 (MFC), the java not configured machines on the former impossible. If you have any improvements, a trouble mail improved version of me, thank you
- 2022-02-01 04:34:21下载
- 积分:1
-
这是一个小波去噪的程序,除了实现了最经典的图像去噪算法外,还使用了最新的带有方向性的小波,去噪效果非常好...
这是一个小波去噪的程序,除了实现了最经典的图像去噪算法外,还使用了最新的带有方向性的小波,去噪效果非常好-This is a wavelet denoising procedure, in addition to realize the most classical image denoising algorithms, but also uses the latest with a directional wavelet, denoising effect is very good
- 2022-03-15 11:50:29下载
- 积分:1
-
用VC++做的,可以绘出一个运动的圆,并且可以变化。非常有趣!...
用VC++做的,可以绘出一个运动的圆,并且可以变化。非常有趣!-VC done, the campaign is likely to draw a circle, and can change. Very interesting!
- 2022-03-11 10:14:46下载
- 积分:1