-
本文实现了将自定义的文本或者图形保存到位图bmp文件。提供源代码下载。
我们在用vc做程序时候,经常需要把输出的文本和图形保存到位图文件,当然可以有现...
本文实现了将自定义的文本或者图形保存到位图bmp文件。提供源代码下载。
我们在用vc做程序时候,经常需要把输出的文本和图形保存到位图文件,当然可以有现成的控件来实现,但总不能如自己所愿
-This article will realize a custom text or graphics in place plans to preserve bmp file. Provide the source code download. We have to do with vc procedures often need to output text and graphics document preservation plan in place, of course, can have ready-made controls to achieve, but should not, such as their wish
- 2023-05-24 23:55:02下载
- 积分:1
-
新建一个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
-
奥迪A4的3DS MAX模型,有多个制作好的模型,是学习3DS MAX的经典素材。...
奥迪A4的3DS MAX模型,有多个制作好的模型,是学习3DS MAX的经典素材。-3DS MAX models, produced a number of good model to study 3DS MAX is a classic material.
- 2022-04-02 11:13:50下载
- 积分:1
-
cosine 1.30 sine curve mapping, spent ListCtrl, Slider, etc. Controls for beginn...
正弦余弦三角曲线的绘制,用了ListCtrl,Slider等控件,供初学者学习参考.-cosine 1.30 sine curve mapping, spent ListCtrl, Slider, etc. Controls for beginners learning reference.
- 2022-02-24 22:09:03下载
- 积分:1
-
VTK用户指南中文版图像的第六章和三
vtk user guide中文版第六章 图像及三维体数据的可视化-vtk user guide Chinese version of Chapter VI of the image and three-dimensional volume data visualization
- 2022-03-25 18:40:51下载
- 积分:1
-
shortest path searching
shortest path searching
- 2022-01-31 14:58:15下载
- 积分:1
-
计算机图形学 用BRESEHAM方法制作直线的课程设计报告,内容有源码,调试过程,截图,有文档,希望大家下载...
计算机图形学 用BRESEHAM方法制作直线的课程设计报告,内容有源码,调试过程,截图,有文档,希望大家下载-Computer graphics methods used BRESEHAM straight report of the curriculum design, content source and debugging process, screenshot, there are documents, I hope you download
- 2023-04-28 10:05:04下载
- 积分:1
-
利用MFC和OpenGL制作了一个基于菜单的图形应用程序,能够使用菜单绘制圆,直线,矩形,并且能够使用鼠标拾取并且拖动,还可以通过键盘控制选择物体的转动...
利用MFC和OpenGL制作了一个基于菜单的图形应用程序,能够使用菜单绘制圆,直线,矩形,并且能够使用鼠标拾取并且拖动,还可以通过键盘控制选择物体的转动-Using MFC and OpenGL has produced a menu-based graphical applications, can use the menu draw circles, straight lines, rectangles, and can use the mouse to pick up and drag, you can also select using the keyboard and rotating objects
- 2022-06-02 21:16:21下载
- 积分:1
-
pnm压缩为jpeg2000的程序
pnm压缩为jpeg2000的程序-pnm JPEG2000 compression of the process
- 2022-02-05 07:44:00下载
- 积分:1
-
一个比例尺的源代码,使用VC开发。功能简单。
一个比例尺的源代码,使用VC开发。功能简单。-a scale of the source code, the use of VC. Simple functions.
- 2022-04-28 19:58:11下载
- 积分:1