-
设计思路:
对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
-
关键的影象对矫正程序,选择尽量在250分辨率的民用效果
关键的影象对矫正程序,选择尽量在250分辨率的民用效果-The key image of the correction procedure, to choose as far as 250 civilian-resolution effect
- 2022-03-16 05:21:22下载
- 积分:1
-
图像得简单编辑,有兴趣得可以
图像得简单编辑,有兴趣得可以-images were simple editing, interested to see if they can
- 2022-01-29 01:10:39下载
- 积分:1
-
本原代码集是对计算机图形学的编程实践,包括画直线、反走样直线、画圆、画椭圆、画矩形、画多边形、矩形填充、多边形填充、3D变换、光照、贴图等。出于简化编程的考虑,...
本原代码集是对计算机图形学的编程实践,包括画直线、反走样直线、画圆、画椭圆、画矩形、画多边形、矩形填充、多边形填充、3D变换、光照、贴图等。出于简化编程的考虑,许多地方指定了常数,未做通用处理。解压缩后建立gui16目录,在其下有原代码和工程文件。在gui16下建立release目录,其下有一可执行文件及其所须的位图及模型文件。如在release目录之外执行程序,必须复制所需位图及模型文件。内含r-primitive code of computer graphics programming practice, including painting line, anti-aliasing straight Circle, painted oval, rectangular painting, drawing polygon, rectangle filling, polygon filling, 3D transformation, lighting, textures, etc.. To simplify programming for consideration, in many places designated constant, GM declined to handle. Decompress gui16 established after the catalog under the original code and engineering documents. Established in gui16 release directory, under which an executable file and the necessary bitmap, and model documents. If the release catalog implementation procedures, must copy the necessary bitmap and model documents. R intron
- 2022-03-10 00:00:53下载
- 积分:1
-
the subroutines that can be directly added to the bcb program, Grasp will be abl...
该子程序可以直接添加到bcb程序中,抓取将能够直接对两幅图像所做的处理结果,将其显示在图像上
- 2022-01-31 19:43:17下载
- 积分:1
-
一个简单的绘图软件源代码
一个简单的绘图软件源代码-a simple mapping software source code
- 2022-01-22 12:28:12下载
- 积分:1
-
用matlab开发的文字识别程序
用matlab开发的文字识别程序-developed using Matlab language identification procedures
- 2022-08-18 13:14:29下载
- 积分:1
-
我自己写的一个程序,决没有重复啊!主要是一些基本的图像处理的算法,希望同大家交流。...
我自己写的一个程序,决没有重复啊!主要是一些基本的图像处理的算法,希望同大家交流。-I write a procedure, and must not repeat ah! Mainly some basic image processing algorithm, we hope that with the exchange.
- 2022-10-30 19:15:02下载
- 积分:1
-
A simple drawing program to achieve class inheritance. Can draw a straight line,...
一个简单的绘图程序,实现类的继承。可以画直线、圆、矩形。并实现简单的图形保存。直线画法为DDA,圆的画法为中点画圆法,矩形在直线基础上画。程序比较适合初学者。-A simple drawing program to achieve class inheritance. Can draw a straight line, round, rectangular. And to achieve a simple, save the drawing. Straight-line painting for the DDA, a circle drawing method for the midpoint drawcircle, rectangular paintings in a straight line basis. Program is more suitable for beginners.
- 2022-04-27 02:59:34下载
- 积分:1
-
Proyecto摩托罗拉V180
应用背景ES有书店对支队的LCD显示de摩托罗拉V180,苏controlador Y关键技术使用EL MPLAB assebbler PARA EL普通富恩特
- 2022-01-24 17:21:38下载
- 积分:1