搜索资源列表
Shape
- 单文档应用程序,可以拖动鼠标画多个圆和矩形,并能把坐标存储起来。-Single-document application, you can drag the mouse to draw multiple circles and rectangles, and can coordinate stored.
DiaLine
- 鼠标绘制直线,坐标输入坐标点绘制直线,外加图形的重绘功能-The mouse to draw a straight line, the coordinates enter the coordinates to draw a straight line, plus graphics redraw function
pointdrawEX
- 一个简易的连点绘图实例,可以通过鼠标定义坐标,直接实现线段连点;对MFC初学者很有帮助;打开后先运行.dsw,Ctrl+F5,即可看到实例;-The connection point of drawing a simple example, you can define the coordinates of the mouse, direct line to achieve even point to MFC useful for beginners opened the first run
line
- 鼠标绘制曲线,避免重影,获取鼠标的坐标和坐标的转换-Mouse drawing curves, avoid ghosting, get the mouse coordinates and coordinate conversion
undee-display
- 波形绘制。在坐标系中显示正弦波,方波,三角波。随着鼠标的移动能够显示动态坐标位置。-Waveform drawing. Sine, square, triangle wave in the coordinate system. With the movement of the mouse to display dynamic coordinate position.
Circle
- 本程序实现的功能: 生成一个网格图,在网格中绘制圆,圆的圆心位置和半径可由对话框给定,网格的密度要能根据圆的直径大小而改变;也左键可用鼠标在屏幕上单击确定圆心,并拖动橡皮筋再单击鼠标右键确定半径大小。 具体操作说明: 菜单中的“绘图”菜单下有两个子菜单,分别为“鼠标交互”和“对话框设置”子菜单。 点击“鼠标交互”,即可用鼠标在窗口中画圆,鼠标左键按下的位置为圆心,采用橡皮筋画法,当拖动鼠标时,可看到圆也跟随变化,当再按下鼠标右键时即得到半径,从而绘制出圆形; 也可采用对话框设
first
- 坐标画线,可以改变线宽及颜色。可以用鼠标画线。-Coordinate drawing lines, you can change the line width and color. You can use the mouse to draw lines.
line2
- 绘制任意斜率的直线段 设计CLine直线类,其数据成员为直线段的起点坐标P0和终点坐标P1,成员函数为MoveTo()和LineTo()函数。 CLine类的LineTo()函数使用中点Bresenham算法绘制任意斜率k的直线段,包括k=±∞、k>1、0≤k≤1、-1≤k<0和k<-1五种情况。 在屏幕客户区按下鼠标左键选择直线的起点,保持鼠标左键按下并移动鼠标到另一位置,弹起鼠标左键绘制任意斜率的直线段。 在状态栏动态显示鼠标光标移动时的位置坐标。-The slope of
Bspine
- 主要功能是根据任意给定控制点,绘制B样条曲线。可以用鼠标、键盘输入控制点,并能记录输入控制点的坐标。也包含清除、退出等基本的GUI功能。(Drawing B-spline curve according to any given control point.)