-
opengl c++ 键盘鼠标交互 画圆 椭圆 矩形 三角形 旋转移动
opengl c++ 键盘鼠标交互 画圆 椭圆 矩形 三角形 旋转移动-opengl c++ keyboard and mouse interaction Circle Oval Rectangle Triangle rotational movement of the
- 2022-07-07 04:44:09下载
- 积分:1
-
Take advantage of Visual C++ 6.0 environment to create MFC AppWizard (exe), the...
利用在Visual C++ 6.0环境下创建MFC AppWizard(exe),实现以屏幕客户区中心为圆心绘制金刚石图案。-Take advantage of Visual C++ 6.0 environment to create MFC AppWizard (exe), the realization of the screen center as the center and draw the client area diamond pattern.
- 2023-02-22 18:35:04下载
- 积分:1
-
a curve display program
一个曲线显示程序-a curve display program
- 2022-07-13 01:09:20下载
- 积分: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
-
在这一风险投资项目的均值漂移算法进行了探讨。你可以打开它,和鳍…
mean shift algorithm is explored in this vc project. You can unzipped it,and find the source code,then build and debug it ,you ll get the content result.
- 2023-05-17 23:05:04下载
- 积分:1
-
一个directx9写的非常漂亮的场景,源码和资源
一个directx9写的非常漂亮的场景,源码和资源
- 2022-01-28 08:34:41下载
- 积分:1
-
use of absolute and relative coordinates coordinates linear mapping algorithm
利用绝对坐标和相对坐标绘制直线的算法-use of absolute and relative coordinates coordinates linear mapping algorithm
- 2022-01-26 03:24:47下载
- 积分:1
-
老外写的样条书上的程序6
老外写的样条书上的程序6-foreigner writing of the book the kind of programs on the six
- 2022-05-22 20:39:51下载
- 积分:1
-
三维图形显示的程序
三维图形显示的程序-3D graphics procedures
- 2022-07-07 12:47:53下载
- 积分:1
-
This a use of the VC language digital image processing of the source code and ex...
这是一个使用VC语言编写的实现数字图像处理的源代码及说明文当,很好的-This a use of the VC language digital image processing of the source code and explanations when the text, very good! !
- 2022-09-06 15:30:03下载
- 积分:1