没有合适的资源?快使用搜索试试~ 我知道了~
绘图软件的设计.doc
0 下载量 146 浏览量
2023-07-05
21:13:38
上传
评论
收藏 3.77MB DOC 举报
温馨提示
试读
66页
绘图软件的设计.doc
资源推荐
资源详情
资源评论
编 号
本 科 生 毕 业 设 计 ( 论 文 )
题目: 绘图软件的设计
学 院 计算机科学与技术专 业
学 号
学生姓名
指导教师
二〇 年 月
摘要
I
摘 要
随着多媒体技术的普及和发展,绘图软件在生活工作中的使用越来越频繁.现在各类绘
图软件数不胜数,但大多要么功能太简单,不能满足画图需要,要么设计太复杂,功能累
赘,缺乏易用性.Windows自带的画图软件(开始—附件—画图),是一款简单,易用的画图
软件,能满足一些画点、画线、画矩形、画圆等的简单功能.
根据所学的计算机图形学的知识,使用Visual Basic 作为开发工具,设计一个画图软件.
基本实现windows系统画图软件的所有功能.可以为左右键分别指定颜色,同时使用两种颜
色画图.可添加坐标轴及刻度,可以绘制简单函数曲线,可控制各图形的精准位置和尺寸.
可以使用纯色或多种材质使用喷枪或填充图形.可以实时截取全屏幕或动态窗口图片加以
编辑,保存.可以实现图形的复制、剪切、粘贴、删除,文件的打开和保存.设计有快速启
动页,可打开最近文件,提高效率;多窗口操作,界面美观,操作方便.
关键词: Visual Basic;随机文件读写;填充;贝塞尔;Bresenham
Abstract
II
ABSTRACT
With the popularization and development of multimedia technology, the use of drawing
software in the life and work are increasingly frequent.There are numerous of the various types
of drawing software, but most of them either function is too simple that can not meet the need of
drawing or design is too complex, functional burden, lack of ease of use. Paint software that
comes with Windows (Start - Accessories - Paint), is a simple, easy-to-use and meets the simple
function of the draw point, draw lines, draw a rectangle, circle, etc.
According to the knowledge of the computer graphics, using Visual Basic as a development
tool to design a drawing software. Basically all the features of the Microsoft Paint will be
included in this drawing software. For the left and right arrow keys to specify a color,you can use
both color drawing. Can be added to the axis scale, and can draw the curve of the simple
function, and you can control the precise location and size of the graph. You can use a solid
color or a variety of materials to use the gun or filled shapes. You can be capture real-time
interception of full-screen or dynamic window picture to edit, save. Graphics to copy, cut, paste,
delete, open and save files. The design of the Quick Start page to open the file, increase
efficiency; multi-window operation, beautiful interface, easy to operate.
Keywords: Visual Basic; Random file read and write; fill; Bezier; Bresenham
目录
i
i
目 录
第 1 章 绪论 .............................................................................................................1
1.1 课题背景 ...............................................................................................................................1
1.2 目前现状 ...............................................................................................................................1
1.3 绘图软件概述 .......................................................................................................................2
1.3.1 基本介绍..............................................................................................................................................2
1.3.2 语言简介..............................................................................................................................................2
1.3.3 研究内容..............................................................................................................................................2
1.3.4 预期目标..............................................................................................................................................2
第 2 章 开发技术与环境介绍 .................................................................................3
2.1 VISUAL BISIC ...........................................................................................................................3
2.1.1 VB 语言的特点....................................................................................................................................3
2.1.2 属性、方法和事件..............................................................................................................................3
2.1.3 对象与类..............................................................................................................................................4
2.2 开发环境介绍 .......................................................................................................................4
第 3 章 二维图形生成技术 .....................................................................................5
3.1 直线扫描转换算法 ...............................................................................................................5
3.1.1 直线 DDA 算法...................................................................................................................................6
3.1.2 中点画线算法......................................................................................................................................7
3.1.3 Bresenham 画线算法............................................................................................................................8
3.2 圆的扫描转换算法 .............................................................................................................10
3.2.1 圆的性质............................................................................................................................................10
3.2.2 中点画圆算法....................................................................................................................................10
3.2.3 Bresenham 画圆算法..........................................................................................................................12
3.3 填充技术 .............................................................................................................................13
3.3.1 种子填充算法....................................................................................................................................13
3.3.2 扫描线填充算法.................................................................................................................................14
3.4 BEZIER 曲线 ..........................................................................................................................16
3.4.1 Bezier 曲线的定义 .............................................................................................................................16
3.4.2 Bezier 曲线的离散生成 .....................................................................................................................18
第 4 章 界面设计与编码 .......................................................................................19
4.1 界面设计 .............................................................................................................................19
4.1.1 主界面................................................................................................................................................19
4.1.2 展示屏幕............................................................................................................................................20
剩余65页未读,继续阅读
资源评论
Mmnnnbb123
- 粉丝: 704
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功