登录
首页 » 图形图像 » 设计思路: 对Windows XP自带的画笔程序进行分析,一般User画图过程: 首先鼠标选择绘图工具,然后选择颜色,接着按User需要作图。User对...

设计思路: 对Windows XP自带的画笔程序进行分析,一般User画图过程: 首先鼠标选择绘图工具,然后选择颜色,接着按User需要作图。User对...

于 2022-03-11 发布 文件大小:52.52 kB
0 221
下载积分: 2 下载次数: 1

代码说明:

设计思路: 对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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • WiFiWiFi普通会员
    2022-03-11 07:37:24
    回复

    scp: /var/packages/SurveillanceStation/target/lib/libsynoss_1.so: Permission denied

  • C Buider box for a list of the exchange of information, from a list box to anoth...
    C++Buider的列表框的数据交换,从一个列表框到另外一个列表框-C Buider box for a list of the exchange of information, from a list box to another in a list box
    2022-07-06 21:07:31下载
    积分:1
  • 地理信息系统的一个例子,一个可以实现三维的三维地球在线编辑系统…
    一个GIS的范例,一个3D地球在线编辑系统,可实现3D图形的编辑-An example of a GIS, a 3D earth online editing system which can realize 3D graphics editor
    2022-08-19 07:06:32下载
    积分:1
  • 实现2
    Kriging 算法实现 2维和3维地图等高线,在地理信息系统或者医学图象处理上很有用-Kriging algorithm realize 2-D and 3-dimensional map of contour lines, in geographic information systems or medical image processing on the very useful
    2023-04-27 06:45:03下载
    积分:1
  • Classical PCA
    经典的基于PCA面部识别系统,含注释及测试图片-Classical PCA-based facial recognition system, including the Notes and the test image
    2022-05-05 06:02:47下载
    积分:1
  • MFC对话框开发中,在控件上显示VTK的绘制窗口的一个例子
    MFC对话框开发中,在控件上显示VTK的绘制窗口的一个例子-The development of MFC dialog box, in the control display window VTK rendering an example of
    2023-04-11 23:05:03下载
    积分:1
  • 目的
    purpose converts raw YUV (4:2:2) image to PPM image, can handle frame offset compile gcc -g -o yuvmstoppm yuvmstoppm.c -lppm -lpgm -lpbm -lm -purpose converts raw YUV (,4 : 2) PPM image to image, can handle frame offset compile gcc-g-o yuvmst oppm yuvmstoppm.c- lppm- lpgm- lpbm- lm
    2022-02-02 18:14:31下载
    积分:1
  • 2Drawing画程序2Drawing,主要是VC开发的2维的画程序
    2Drawing画图程序2Drawing,主要是VC开发的2维图形的画图程序-2Drawing 2Drawing drawing program, the development of the VC is two-dimensional graphics drawing program
    2022-07-24 21:14:54下载
    积分:1
  • 用VC++6.0实现的一个可绘制旋转文本的简单程序源码
    用VC++6.0实现的一个可绘制旋转文本的简单程序源码-VC 6.0 can be of a rotating text rendering the simple procedure FOSS
    2023-03-30 01:45:03下载
    积分:1
  • A good text messaging to add to the picture to the procedure, I hope everyone wi...
    一个不错的把文本信息加入到图片中去的程序,希望大家会喜欢-A good text messaging to add to the picture to the procedure, I hope everyone will like
    2022-03-25 06:39:51下载
    积分:1
  • 这个数字识别应用程序。(OCR或ICR应用)。首先你画…
    This an digit recognition application. (OCR or ICR application). First you draw a digit in the picturebox. Then the image processing begins and recognize the digit and returns you the result. I used correlation matching algorithm for character recognition and k-neighbor classifying algorithm to select the true digit. Database includes handwritten digit examples which are collected from a hundred persons. These digit images converted to binary type before added to the database.-This an digit recognition application. (OCR or ICR application). First you draw a digit in the picturebox. Then the image processing be Huggins and recognize the digit and returns you the result. I used correlation matching algorithm for character recognition and k-neighbor clas sifying algorithm to select the true digit. Dat abase includes handwritten digit examples whi ch are collected from a hundred persons. These d igit images converted to binary type before add ed to the database.
    2022-03-05 08:49:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载