-
新建一个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
-
图表编辑程序,VB源代码。
图表编辑程序,VB源代码。-charts editor, VB source code.
- 2022-06-17 19:39:31下载
- 积分:1
-
一个简单的三维图形,autoCAD做的桌子,上面有尺寸标注
一个简单的三维图形,autoCAD做的桌子,上面有尺寸标注-A simple three-dimensional graphics, autoCAD do table above have dimension
- 2022-03-25 19:50:51下载
- 积分:1
-
vchome资料库图形图像编程技术文章编程技术…
vchome资料库图形图像编程技术篇图形图像编程技术篇-Graphics vchome database programming technology articles programming technology articles Graphics
- 2022-01-26 04:24:06下载
- 积分:1
-
曲线曲面重建方法研究,发现一个关于曲线曲面有关算法方面的好资料,与大家分享下.可作逆向工程研究参考....
曲线曲面重建方法研究,发现一个关于曲线曲面有关算法方面的好资料,与大家分享下.可作逆向工程研究参考.-Reconstruction of curves and surfaces and found that a related algorithm for curves and surfaces on good information to share with you the next. Can be used for reverse engineering study.
- 2022-01-26 05:56:28下载
- 积分:1
-
图像识别,包括完整的图像识别
关于图象识别,里面完整的包括相关的类和实现方法,很系统和全面的处理过程-On image recognition, which includes the complete-related classes and methods, it is systematic and comprehensive process
- 2022-02-06 09:15:30下载
- 积分:1
-
sparsebayes版本1。
SPARSEBAYES VERSION 1.
- 2022-10-12 12:10:03下载
- 积分:1
-
图象识别的不错方法,希望大家能够多多交流,有什么好的想法欢迎...
图象识别的不错方法,希望大家能够多多交流,有什么好的想法欢迎-Image Recognition Yes, in the hope that we can interact more, have any good ideas welcome
- 2022-12-15 23:10:03下载
- 积分:1
-
round
这是一个里用计算机图形学画圆的C语言算法,-round
- 2023-01-23 01:50:04下载
- 积分:1
-
颜色一致性矢量
颜色一致向量的核心代码,有限对图像进行平滑处理,然后计算图像连通区域,最后讲像素分为一致性像素和不一致像素。-Color coherence vector
- 2022-03-25 05:25:50下载
- 积分:1