-
新建一个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
-
一个开发出来的桌面琮物
一个开发出来的桌面琮物-developed a desktop Cong-
- 2022-07-21 05:30:10下载
- 积分:1
-
VC++实现的图像配准算法,代码全,有窗口。本代码来自《数字图像处理典型算实现》一书...
VC++实现的图像配准算法,代码全,有窗口。本代码来自《数字图像处理典型算实现》一书-VC++ Realize image registration algorithm, code-wide, has a window. This code from
- 2022-04-22 09:44:22下载
- 积分:1
-
VC6下vtk编程,用vtkImplicitPlaneWidget实现任意平面切割
VC6下vtk编程,用vtkImplicitPlaneWidget实现任意平面切割-Vtk under VC6 programming, with the realization of arbitrary planar cutting vtkImplicitPlaneWidget
- 2022-02-24 16:57:46下载
- 积分:1
-
tiff文件格式的处理程序
tiff文件格式的处理程序-tiff document format disposal procedure
- 2022-03-12 11:17:12下载
- 积分:1
-
VRML源代码,该程序用于演示企业产品的设计,程序中利用并设计实现了VRML的复杂动画。...
VRML源代码,该程序用于演示企业产品的设计,程序中利用并设计实现了VRML的复杂动画。-VRML source code, the procedure used for demonstration enterprise product design, process design and realization of the use of the complex VRML animation.
- 2023-08-26 12:20:03下载
- 积分:1
-
a good VRML virtual procedures, oh look at the letter
一个很好的VRML虚拟的程序,不信看一看哦-a good VRML virtual procedures, oh look at the letter
- 2022-04-25 16:11:33下载
- 积分:1
-
剪贴的生成的算法
剪贴的生成的算法-cut-and-paste generation algorithm
- 2023-04-29 23:55:03下载
- 积分:1
-
图像的领域处理 ,图像平滑,一阶微分边沿监测,二阶微分边沿监测。...
图像的领域处理 ,图像平滑,一阶微分边沿监测,二阶微分边沿监测。-The field of image processing, image smoothing, the first-order differential edge monitoring, monitoring of second-order differential edge.
- 2023-05-31 08:55:03下载
- 积分:1
-
图像识别,文字识别,手写输入识别,还包括打印处理等与图像相关处理方法...
图像识别,文字识别,手写输入识别,还包括打印处理等与图像相关处理方法-Image recognition, text recognition, handwriting recognition, but also deal with, such as print and image-related treatment methods
- 2022-03-07 08:28:02下载
- 积分:1