-
该类是对DIB API函数的封装,提供操作DIB文件的各种方法和属性
该类是对DIB API函数的封装,提供操作DIB文件的各种方法和属性-DIB API function package, the operators DIB document the various methods and attributes
- 2022-02-05 21:18:41下载
- 积分:1
-
设计思路:
对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
-
使用2D变换原理,绘制一个2D图形,并进行图形基本变换
使用2D变换原理,绘制一个2D图形,并进行图形基本变换-use 2D transform, drawing a 2D graphics, and basic graphics transformation
- 2022-11-25 05:30:03下载
- 积分:1
-
卡拉ok字幕效果显示
卡拉ok字幕效果显示-karaoke subtitles results show
- 2023-07-22 10:55:04下载
- 积分:1
-
Visual C++图象处理程序.可以识别人的脸部.速度快.不过要用响应的库文件....
Visual C++图象处理程序.可以识别人的脸部.速度快.不过要用响应的库文件.-Visual C++ Image processing procedures. Can identify people in the face. Faster. But in response to the library file to use.
- 2022-07-04 17:44:41下载
- 积分:1
-
Guide pdf format
Protel 2004 教程 pdf格式-Guide pdf format
- 2023-05-09 09:40:03下载
- 积分:1
-
122个毛衣编织图案。
122个毛衣编织图案。-122 sweater knitting patterns.
- 2023-03-05 01:05:03下载
- 积分:1
-
JPEG image compression and decompression
JPEG image compression and decompression
- 2022-02-26 20:50:27下载
- 积分:1
-
Experimental Graphics class to do basic graphic element mapping process, using o...
图形学实验课上做的基本图元绘制的程序,用opengl实现-Experimental Graphics class to do basic graphic element mapping process, using opengl realize
- 2023-02-05 11:00:03下载
- 积分:1
-
The program executes the construction of the graph of function of x+sin(x). Base...
The program executes the construction of the graph of function of x+sin(x). Based on the element of Canvas.
- 2022-08-19 11:13:03下载
- 积分:1