-
新建一个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
-
用Csharp绘制多边形和折线,其中用到了一些基本的绘图功能,程序直观易懂...
用Csharp绘制多边形和折线,其中用到了一些基本的绘图功能,程序直观易懂-with Csharp dogleg and polygon drawing, which uses some basic drawing functions, procedures is easy to understand
- 2022-01-24 09:52:28下载
- 积分:1
-
A presentation graphics, window area, as the transformation that the world coord...
图形学的一个演示,窗口视区变换,即世界坐标系到界面坐标系的转换,MFC实现-A presentation graphics, window area, as the transformation that the world coordinate system to the interface coordinate system conversion, MFC to achieve
- 2022-08-17 16:16:06下载
- 积分:1
-
数字图像常用的各种几何变换
数字图像常用的各种几何变换-digital images commonly used various geometric transformation
- 2023-07-20 14:55:03下载
- 积分:1
-
photoshop的图形解决方案
photoshop的图形解决方案-graphics solution of photoshop
- 2022-04-09 08:44:52下载
- 积分:1
-
check it yourself.turboway card
check it yourself.turboway card
- 2022-04-28 04:26:50下载
- 积分:1
-
This is an image into the source code is downloaded from elsewhere to, and now f...
这是一个图像编成的源代码,是从其他地方下载来的,现在提供给各位,如果有用的话就是最好的事情了
-This is an image into the source code is downloaded from elsewhere to, and now for you. If so useful is the best thing
- 2022-02-21 19:10:19下载
- 积分:1
-
计算机视觉。图像处理程序。Hough变换检测的结构。
计算机视觉.图像处理程序.Hough变换检测直线-Computer Vision. Image processing procedures. Hough transform detection of a straight line
- 2023-08-28 13:30:05下载
- 积分:1
-
本代码是用vc开发的水印的源文件,包括水印的嵌入…
本代码是用VC++开发的水印源程序,包括水印的嵌入和提取-the code is developed by VC watermark source files, including the watermark embedding and extraction
- 2023-02-16 12:55:03下载
- 积分:1
-
vc编的图形学里的zbuffer算法,可以参考下做法
vc编的图形学里的zbuffer算法,可以参考下做法-vc-series graphics zbuffer in the algorithm, can refer to practices under
- 2022-05-26 10:47:00下载
- 积分:1