-
新建一个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
-
在图形上附加文本,见过没有,没有就来吧!给你一个惊喜!...
在图形上附加文本,见过没有,没有就来吧!给你一个惊喜!-imposed on the graphic text, not seen, not honest! A pleasant surprise for you!
- 2022-02-03 12:53:57下载
- 积分:1
-
对数极坐标变换
代码应用三个函数实现图像从直角坐标系到对数极坐标的转换,可以自己输入变换尺度,变换方法,变换图形等参数。
- 2022-01-28 04:39:30下载
- 积分:1
-
这是一个基于神经网络法的字符识别系统,神经网络法的使用使本系统识别率很高。...
这是一个基于神经网络法的字符识别系统,神经网络法的使用使本系统识别率很高。-This is a neural network based on the character recognition system, neural network to enable the use of the system to identify high rate.
- 2022-04-07 14:44:50下载
- 积分:1
-
位图 按钮
实现任意不规则按钮
使用双缓冲技术
不会闪烁...
位图 按钮
实现任意不规则按钮
使用双缓冲技术
不会闪烁-Bitmap button button to achieve arbitrary irregular use double buffering is not blinking
- 2023-03-15 03:40:03下载
- 积分:1
-
在gl_lines简单演示。
Simple demonstration on GL_lines.
- 2022-02-07 09:07:16下载
- 积分:1
-
3次样条插值的c++实现 主要针对图形应用而写,对函数已经给出详细的注释,只需要按照插值过程调用函数即可
3次样条插值的c++实现 主要针对图形应用而写,对函数已经给出详细的注释,只需要按照插值过程调用函数即可-3rd spline interpolation c achieve targeted at graphics applications written to function has been given detailed notes, only the need to process called interpolation function can be
- 2022-03-21 12:09:51下载
- 积分:1
-
Graphite-2-a6
Graphite is a research platform for computer graphics, 3D modeling and numerical geometry.
Graphite was awarded the special prize "most innovative project" and the third prize "scientific software category" at the "trophées du libre" international free software competition.
- 2022-04-23 09:21:35下载
- 积分:1
-
3-D Chart的绘制代码form www.codeproject.com-3-D chart mapping code form www.codeproject.com
- 2022-08-23 17:00:46下载
- 积分:1
-
一个关于EPS的库
一个关于EPS的库-a library of EPS
- 2022-02-26 01:58:01下载
- 积分:1