-
设计思路:
对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
-
Synthesis System Alphat transparent transparent Alphat source code synthesis sys...
Alphat透明合成系统源代码
Alphat透明合成系统
> 系统包括sort/nosort两部分
-Synthesis System Alphat transparent transparent Alphat source code synthesis system
- 2022-08-23 14:38:18下载
- 积分:1
-
三维形体可视化,并且可对三维形体交互修改,实时显示.
三维形体可视化,并且可对三维形体交互修改,实时显示.-make visualisation for 3d object is able to interact with and display 3d object in real time
- 2022-07-04 20:37:24下载
- 积分:1
-
用C++开发的3D图形,实现了旋转、透明等几个简单功能
用C++开发的3D图形,实现了旋转、透明等几个简单功能-C development of the 3D graphics and realized the rotation, transparency few simple function
- 2023-06-19 10:20:03下载
- 积分:1
-
Includes 24
里面包括24位真彩色图像类和其基础处理的类,包括灰度化,二值化和形态学操作-Includes 24-bit true color image processing based on class and class, including the gray-scale and binary morphological operations and
- 2023-07-09 06:40:03下载
- 积分:1
-
beautiful sky graphics
漂亮的蓝天白云图形-beautiful sky graphics
- 2022-01-24 16:08:27下载
- 积分:1
-
一个RGB转YUV420很好的程序,经典程序
一个RGB转YUV420很好的程序,经典程序-RGB switch to YUV420 great program
- 2022-05-23 02:35:37下载
- 积分:1
-
单片机编译环境,方便新手学习,能够得到哦不小的帮助
单片机编译环境,方便新手学习,能够得到哦不小的帮助-MCU build environment for novice learning, can be Oh no small help to
- 2023-05-31 04:15:03下载
- 积分:1
-
小波基的构造,每步均有说明,讲解很详细,值得学习
小波基的构造,每步均有说明,讲解很详细,值得学习-Wavelet construction, each step that has to explain in great detail, it is worth learning
- 2022-03-12 03:36:07下载
- 积分:1
-
text recognition system based on neural network tested under VC++
基于神经网络的文字识别系统,VC++下调试通过-text recognition system based on neural network tested under VC++
- 2022-08-03 16:14:36下载
- 积分:1