-
新建一个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
-
经过一个系统下载哟,对初学者有一定的帮助。可以下载…
好不容易下载的一个系统哟,对初学者希望有一定的帮助。下载后可以自己好好看看哟-After a system to download yo, right beginners want to have some help. Can download a good look at yo
- 2022-03-19 09:05:23下载
- 积分:1
-
用Prewitt算子检测图像的边缘,用不同σ值的LoG算子检测图像的边缘,用Canny算子检测图像的边缘,将图像分为文字和非文字的两个类别等等...
用Prewitt算子检测图像的边缘,用不同σ值的LoG算子检测图像的边缘,用Canny算子检测图像的边缘,将图像分为文字和非文字的两个类别等等 -Edge detection using Prewitt edge of the image with different σ values LoG edge detection image edge detection using Canny operator the edge of the image, text and images are divided into two categories, and so on
- 2022-02-11 16:20:39下载
- 积分:1
-
sdk10 NVIDIA OpenGL GLSL的阴影图
NVIDIA SDK10 shadow map GLSL OpenGL
- 2022-02-13 23:44:23下载
- 积分:1
-
用 c实现jpeg 的压缩和解压 可以用于各种操作系统,里面有详细的说明文档...
用 c实现jpeg 的压缩和解压 可以用于各种操作系统,里面有详细的说明文档-c implementation of JPEG compression and decompression algorithm that supports all operating systems. detailed technical documents are included.
- 2022-01-24 16:30:06下载
- 积分:1
-
fir低通滤波器
用c语言设计的fir低通滤波器,经过调试,可以使用。包含几个函数,可以看清,注释比较多,方便看懂。
- 2022-02-24 19:41:08下载
- 积分:1
-
static images of multiple description coding, bmp image to a two JPEG2000 coding...
静态图像的多描述编码,将一副bmp图像编码成为两个JPEG2000格式的描述,在解码端收到的描述不同,将获得不同的解码效果,收到的描述越多解码效果越好。 -static images of multiple description coding, bmp image to a two JPEG2000 coding format description, received at the decoder description, will be different decoder effects, the description received more decoding the better the results.
- 2022-02-02 06:22:36下载
- 积分:1
-
snakes算法简单程序(可运行),对初步学习snakes算法有帮助
snakes算法简单程序(可运行),对初步学习snakes算法有帮助-snakes simple algorithm (runs), the preliminary study snakes help Algorithm
- 2022-03-16 12:01:16下载
- 积分:1
-
为圆插补的程序文档形式,直接解压后,把程序放在C++ builder上运行...
为圆插补的程序文档形式,直接解压后,把程序放在C++ builder上运行 -It is a program for arc interpolation in the form of documentation . Decompress the package directly and put the program on c++ builder to run.
- 2022-09-10 16:35:02下载
- 积分:1
-
CAD VBA beginners invited to share a small procedure, reference! ! !
CAD VBA初学者请进,分享一个小程序,参考-CAD VBA beginners invited to share a small procedure, reference! ! !
- 2023-05-26 18:50:03下载
- 积分:1