-
设计思路:
对Windows XP自带的画笔程序进行分析,一般User画图过程:
首先鼠标选择绘图工具,然后选择颜色,接着按User需要作图。User对...
设计思路:
对Windows XP自带的画笔程序进行分析,一般User画图过程:
首先鼠标选择绘图工具,然后选择颜色,接着按User需要作图。User对产出的图像进行操作。
对图形元素抽象出公共属性,设计我的画板的作图过程:
选择工具 、画预览效果、User满意并确定、绘制效果。
下面是程序用到主要变量:
当前绘图点粒度:int iGranularity
当前使用颜色:COLORREF curColor
当前绘图状态:int iPaintStatus
当前绘图状态属性:int iPaintProperty
前一个鼠标坐标:CPoint pOldPoint
多边形起点:CPoint pStartPoint
多边形终点:CPoint pEndPoint
当前鼠标坐标:CPoint pCurPoint
输出文本字符串缓存:CString strTextOut
对典型操作过程(画矩形)描述:
用户选择工具_RECTANGLE(使iPaintStatus=_RECTANGLE)、
选择绘图颜色(设定curColor)、
用户按下鼠标左键使绘图状态属性为预览(iPaintProperty=_PREVIEW)、
用户移动鼠标(绘制图形的橡皮线效果)
用户放开左键(绘制图形的实线效果)
-design : Windows XP"s own brush analysis procedures, the general User drawing process : first choice mouse drawing tool, then select colors, followed by Graphic User needs. User to output images to operate. Right abstract graphic elements from the public properties, design I slate of mapping process : select tools, painting preview effects, User satisfaction and identification, mappi
- 2022-03-11 03:27:30下载
- 积分:1
-
others based framework to achieve the intersection histogram image retrieval, I...
基于别人框架实现直方图的交集图像检索
本人感觉要比其颜色矩和分块直方图的要更优一些,在此对其框架表示感谢-others based framework to achieve the intersection histogram image retrieval, I feel than its color moments and the block to the histogram better, in which framework expressed their gratitude
- 2022-02-01 06:55:00下载
- 积分:1
-
立体视觉源程序,家当都拿出来了
立体视觉源程序,家当都拿出来了-stereoscopic source, the family had to come up with the
- 2022-08-11 13:18:11下载
- 积分:1
-
图像的旋转与缩放处理源代码(openCV)
图像的旋转与缩放处理源代码(openCV)-Image rotation and zoom handle the source code (openCV)
- 2023-06-28 09:50:03下载
- 积分:1
-
本程序是建立了三维椭球随机分布模型,并绘制出分布图像。...
本程序是建立了三维椭球随机分布模型,并绘制出分布图像。-This procedure is to establish a three-dimensional ellipsoid model of random distribution, and to map out the distribution of the image.
- 2022-03-30 11:22:00下载
- 积分:1
-
一个图片浏览编辑器
一个图片浏览编辑器-a photo editor View
- 2022-08-20 03:01:04下载
- 积分:1
-
各种图形、注释的绘制、存取及相关函数
功能介绍:
本组件继承于TCustomControl,功能包括:
1、图形的绘制,包括线条,多边型,多点曲线,圆形,椭圆形
2、注释的绘制,包括带指向点的绘制和不带指向点的绘制
3、图形的存取:从自已定义的文件格式中读入文件,写入的文件格式有自己定义的文件格式或位图格式。也可以从流数据中
进行存取。
4、F5可以进行刷新图面,DELETE键可以删除当前选择的图形,F6可以删除填充的地方。
- 2022-07-09 02:23:07下载
- 积分:1
-
在图像处理应用中几种并行计算技术的比较
在图像处理应用中几种并行计算技术的比较-in image processing applications of several parallel computing technologies comparison
- 2023-04-16 07:45:03下载
- 积分:1
-
C++的源程序,对CAD图形DXF文件的处理.读取DXF数据,是数控冲孔机上的一段程序....
C++的源程序,对CAD图形DXF文件的处理.读取DXF数据,是数控冲孔机上的一段程序.-C++ The source of the CAD graphic treatment DXF files. Read DXF data, is the CNC punching machine for some procedures.
- 2022-05-14 19:22:30下载
- 积分:1
-
显示栅格图像的源码,最基本的遥感图像处理
显示栅格图像的源码,最基本的遥感图像处理- Demonstrated the grid picture the source code, the most basic
remote sensing picture processes
- 2022-03-07 11:54:37下载
- 积分:1