-
新建一个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
-
hotdraw,2D图形软件的开发是非常适合学习二维矢量…
HotDraw,2d图形开发的软件,非常适合学习2d矢量化图形开发-HotDraw, 2d graphics software developed is very suitable for learning 2d Vector Graphics Development
- 2022-01-31 23:20:48下载
- 积分:1
-
本系统是为了实现辨认识别图像中的数字而设计的,通过对图片的一系列处理,最后识别得出图片中显示的数字。...
本系统是为了实现辨认识别图像中的数字而设计的,通过对图片的一系列处理,最后识别得出图片中显示的数字。-In order to realize this system is to identify the number of images to identify and design, through a series of picture deal, and finally come to identify the figures shown in the picture.
- 2022-07-17 11:42:32下载
- 积分:1
-
graphics operations of the B
图形作业B样条曲线的C 程序-graphics operations of the B-spline curve C Program
- 2022-02-26 16:44:05下载
- 积分:1
-
一个用C编写的计算器,是我课程设计的作业。
一个用C编写的计算器,是我课程设计的作业。-a prepared calculators, yes I course design work.
- 2023-07-04 19:40:02下载
- 积分:1
-
VC++图象处理虑波处理的多种方法wavefilter
VC++图象处理虑波处理的多种方法wavefilter-VC-image processing to consider the various methods wavefilter
- 2022-12-25 20:15:03下载
- 积分:1
-
快速三维显示CLOD模型,不同于BunnyLLOD模型,对3D有兴趣的网友可以做做比较!...
快速三维显示CLOD模型,不同于BunnyLLOD模型,对3D有兴趣的网友可以做做比较!-CLOD rapid 3-D display model, which is different from BunnyLLOD model 3 D pairs are interested in the discussion can do it more!
- 2022-05-18 17:47:37下载
- 积分:1
-
high
高质量的扫描线填充算法-high-quality scanning fill algorithm
- 2023-07-09 17:10:03下载
- 积分:1
-
C Builder interface beautifully prepared irregular media players
用C++Builder5编制不规则界面精美媒体播放器-C Builder interface beautifully prepared irregular media players
- 2023-01-03 06:50:03下载
- 积分:1
-
数字图像处理相关实习内容,包括图像平滑、滤波、变换。图像的重建和复原...
数字图像处理相关实习内容,包括图像平滑、滤波、变换。图像的重建和复原-digital image processing image smoothing wave filtering image reconstruction
- 2022-02-13 05:36:24下载
- 积分:1