登录
首页 » 图形图像 » 画线演示程序

画线演示程序

于 2022-06-13 发布 文件大小:46.02 kB
0 144
下载积分: 2 下载次数: 1

代码说明:

画线问题演示程序-painting Line Demonstration Program

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

发表评论

0 个回复

  • 设计思路: 对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
  • 数字处理最基础的打开显示片的源代码
    数字图像处理最基础的打开显示图片的源代码-The most basic digital image processing, the source code to open the Display pictures
    2022-05-16 23:07:03下载
    积分:1
  • 指纹识别技术源代码,自己调试过,很有用,欢迎下载。
    指纹识别技术源代码,自己调试过,很有用,欢迎下载。-Fingerprint recognition technology source code, its own debugging, and very useful, welcome to download.
    2022-08-13 00:04:22下载
    积分:1
  • GIF格式的C语言解码源程序GIF89A的标准文档
    GIF格式的C语言解码源程序GIF89A的标准文档-GIF format C language source code decoding standard document GIF89A
    2022-08-17 10:05:18下载
    积分:1
  • 动态缩略生成类,可方便生成片缩略,只生成一次
    动态缩略图生成类,可方便生成图片缩略图,只生成一次-Class to generate dynamic thumbnails, image thumbnails can be easily generated, only to generate a
    2022-01-26 07:30:21下载
    积分:1
  • VC下的对位的压缩程序
    VC下的对位图的压缩程序-VC under the right bitmap compression process
    2022-02-06 19:52:16下载
    积分:1
  • VC处理源代码,包括库,大量位和调色板源代码。实用。...
    VC图像处理源代码,包括图形库,大量位图和调色板源代码。实用。-VC image processing source code, including the graphics library, a large number of bitmap and palette source code. Practical.
    2022-08-19 15:01:17下载
    积分:1
  • Levenberg-Marquardt最优化C++源码
    Levenberg-Marquardt最优化C++实现。该实现是基于openCV的实现,易于理解,便于使用,具有较高的学习和利用价值,可以移植到各个平台。使用其它语言也可以方便地写出这个算法。资源可贵,敬请好好加以利用。
    2023-08-08 11:05:02下载
    积分:1
  • 计算直方的统计特征,包括平均值、方差…
    计算图像直方图的统计特征,包括均值,方差,熵,三阶矩等。-image histogram calculated the statistical characteristics, including mean, variance, entropy, such as third-order moments.
    2022-03-23 02:53:35下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载