搜索资源列表
drawline
- 程序运行Bresenham的直线算法,所用坐标系为笛卡尔直角坐标系, 起始状态:用户输入所画线段的起点和终点坐标(要求起点横坐标小于终点横坐标) 结束状态:程序打印出所画线段-Bresenham run a straight line algorithm, used for the Cartesian coordinates Cartesian coordinate system, the initial state: the user to enter the painting o
Paint-program
- 一、使用方法 003 程序中定义了几个特殊键: 004 \"V":画笔提起 005 \"W":开始画图 006 \"R":开始擦图 007 \"S":当前图形存入文件 008 \"E":调出已有文件 009 \"C":画圆 010 程序一运行,屏幕上出现一个黄色的边框来设定画图的区域,区域中间出现提起的画笔符号 ,当按下"W"键时,画笔符号变为 ,此时可移动方向键(上、