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

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

于 2022-03-11 发布 文件大小:52.52 kB
0 216
下载积分: 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

  • windows Direct3D C#封装
    windows Direct3D C#封装-C# Packaging
    2022-12-14 00:05:03下载
    积分:1
  • 基本的处理
    basic image prossesing
    2022-07-14 07:18:44下载
    积分:1
  • 中加入随机噪声的源代码,编译后的可执行文件须带参数运行。 使用方法:gaussnoise BMP文件名...
    在图像中加入随机噪声的源代码,编译后的可执行文件须带参数运行。 使用方法:gaussnoise BMP文件名-images in random noise added to the source code, compile the executable files carry operation parameters. Use : gaussnoise BMP File Name
    2022-04-18 18:12:32下载
    积分:1
  • 为了将零件固定在PCB上面,我们将它们的接脚直接焊在布线上。在最基本的PCB(单面板)上,零件都集中在其中一面,导线则都集中在另一面。这么一来我们就需要在板子上...
    为了将零件固定在PCB上面,我们将它们的接脚直接焊在布线上。在最基本的PCB(单面板)上,零件都集中在其中一面,导线则都集中在另一面。这么一来我们就需要在板子上打洞,这样接脚才能穿过板子到另一面,所以零件的接脚是焊在另一面上的。因为如此,PCB的正反面分别被称为零件面(Component Side)与焊接面(Solder Side)。-parts to be fixed above the PCB, we will take their feet welded directly on the wiring. At its most basic PCB (single-panel), parts of which are concentrated in the side, wire were concentrated on the other side. Suppose we need burrows on the board, then through the legs of another plank, then parts of the legs is another welding in the face. Because of this, the PCB is negative components were known as surface (Component Side) and the welding surface (Solder Side).
    2022-11-08 00:30:02下载
    积分:1
  • 上传片示例,显示片,Java实验课上做的。
    上传图片示例,显示图片,Java实验课上做的。-Upload pictures example, Java class to do experiments.
    2022-06-26 14:26:26下载
    积分:1
  • 本源码是学习VEGA虚拟现实驱动编程最好的起步程序,可以从中学到VEGA编程的一般思路和方法。...
    本源码是学习VEGA虚拟现实驱动编程最好的起步程序,可以从中学到VEGA编程的一般思路和方法。-the source is to learn from VEGA virtual reality-driven programming best start procedures can learn from VEGA programming to the general ideas and methods.
    2022-02-09 13:00:40下载
    积分:1
  • 人脸表情识别
    ========================================================================MICROSOFT 基础类库: sdi_opencv========================================================================应用程序向导已创建此为您的 sdi_opencv 应用程序。此应用程序不仅演示使用 Microsoft 基础类的基本知识但也是您编写应用程序的起始点。此文件包含的你会发现在每个文件的摘要,让您的 sdi_opencv 应用程序。sdi_opencv.dsp此文件 (项目文件) 包含在项目一级的信息和用于生成单个项目或子项目。其他用户可以共享项目 (.dsp) 文件,但他们应该导出到本地的生成文件。sdi_opencv.h这是应用程序的主头文件。它包括其他项目特定的标头 (包括 resource.h 中) 和声明CSdi_opencvApp 应用程序类。sdi_opencv.cpp这是主应用程序源文件包含的应用程序CSdi_opencvApp 的类。sdi_opencv.rc这是所有微软 Windows 资源的列表,程序使用。它包括图标、 位图和存储的游标在 RES 子目录中。在 Microsoft 中,可以直接编辑此文件Visual c + +。sdi_opencv.clw此文件包含向导用于编辑现有的信息类或添加新的类别。ClassWizard 也使用此文件来存储创建和编辑消息映射和对话框数据所需的信息映射和创建原型成员函数。ressdi_opencv.ico这是一个
    2022-08-04 06:16:12下载
    积分:1
  • 霍夫编码,在压缩中用到。在通信中使用
    霍夫编码,在图像压缩中用到。在通信中使用-Hough encoding, used in image compression. Used in communications
    2022-08-24 00:48:11下载
    积分:1
  • 源代码加载TIFF,和处理和操作程序…
    source code to load tiff images, and some procedure for image processing and operation with images.-source code to load tiff images, and some procedure for image processing and operation with images.
    2023-03-24 04:35:04下载
    积分:1
  • 快速提取红外中的运动亮点,能达到100帧/s的处理速度,需要HAlconSDK支持...
    快速提取红外图像中的运动亮点,能达到100帧/s的处理速度,需要HAlconSDK支持-Rapid Extraction of infrared images of sports highlights, to achieve 100/s processing speed, the need to support HAlconSDK
    2022-04-14 23:20:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载