Description: 程序的功能:
一、用两种不同算法(DDA法和中点法)画任意直线,输入方式有鼠标取点点法,和对话框输入直线端点法。直线颜色在画线前任意选取。
二、直线的属性控制。可以从对话框中任意输入线宽画直线。还有画虚线的功能,你可以输入虚线中实线部分的长度和空白间隔的长度来画虚线。
三、用两种算法(中点法和正负法)画任意圆。
四、画任意椭圆。画椭圆时限任意取两点确定一矩形,由该矩形确定椭圆的大小。
五、多边形填充。用鼠标取点画任意多边形,可选取任意颜色去填充多边形区域。
六、矩形填充。用鼠标任取两点确定矩形区域,选取任意颜色去填充。
七、直线裁剪。有两种算法实现这一功能,梁友栋法和编码法。先用鼠标画一直线,然后再取两点确定一矩形裁剪框,点击一下右键,裁剪成功。
八、多边形裁剪。先用鼠标取点画一任意多边形,点击右键后继续取两点确定裁剪矩形框,在点击一次右键裁剪执行。
九、弹球。-procedures functions : one, using two different algorithms (DDA law and midpoint) painting arbitrary line, input from a little mouse, and the dialog box input linear endpoint law. Linear color line drawing in the former arbitrary selection. Two straight attributes. From the dialog box indiscriminate importation linewidth linear paintings. The paintings are dotted line function, you can enter dotted line which is part of the length and spacing of the gap length to paint a dotted line. And, third, using two algorithms (the midpoint of law and the positive and negative) painting arbitrary round. Four paintings arbitrary elliptic. Elliptic painting from 2:00 arbitrary time limit to determine a rectangle, rectangle determined by the size of the ellipse. 5, polygon filling. Dotted with the mouse Platform: |
Size: 1239665 |
Author:wgz |
Hits:
Description: 程序的功能:
一、用两种不同算法(DDA法和中点法)画任意直线,输入方式有鼠标取点点法,和对话框输入直线端点法。直线颜色在画线前任意选取。
二、直线的属性控制。可以从对话框中任意输入线宽画直线。还有画虚线的功能,你可以输入虚线中实线部分的长度和空白间隔的长度来画虚线。
三、用两种算法(中点法和正负法)画任意圆。
四、画任意椭圆。画椭圆时限任意取两点确定一矩形,由该矩形确定椭圆的大小。
五、多边形填充。用鼠标取点画任意多边形,可选取任意颜色去填充多边形区域。
六、矩形填充。用鼠标任取两点确定矩形区域,选取任意颜色去填充。
七、直线裁剪。有两种算法实现这一功能,梁友栋法和编码法。先用鼠标画一直线,然后再取两点确定一矩形裁剪框,点击一下右键,裁剪成功。
八、多边形裁剪。先用鼠标取点画一任意多边形,点击右键后继续取两点确定裁剪矩形框,在点击一次右键裁剪执行。
九、弹球。-procedures functions : one, using two different algorithms (DDA law and midpoint) painting arbitrary line, input from a little mouse, and the dialog box input linear endpoint law. Linear color line drawing in the former arbitrary selection. Two straight attributes. From the dialog box indiscriminate importation linewidth linear paintings. The paintings are dotted line function, you can enter dotted line which is part of the length and spacing of the gap length to paint a dotted line. And, third, using two algorithms (the midpoint of law and the positive and negative) painting arbitrary round. Four paintings arbitrary elliptic. Elliptic painting from 2:00 arbitrary time limit to determine a rectangle, rectangle determined by the size of the ellipse. 5, polygon filling. Dotted with the mouse Platform: |
Size: 1928192 |
Author:upcorange |
Hits: