所属分类:
通讯编程文档
开发工具:C/C++
文件大小:46KB
下载次数:9
上传日期:2006-06-23 20:36:01
说明: 《橡皮条画线》C语言
(可供C语言图形编程参考)
本程序模拟许多绘图工具中的画线方法和画框方法
其中工具条上的各个按钮的功能是:
1、画线(快捷键“l”)
2、画框(快捷键“f”)
3、剪去框外的直线(快捷键“c”)
4、刷新(快捷键“r”)
5、新建(快捷键“n”)
6、退出(快捷键“Esc”)
最左边的十字架用鼠标拖动时可以移动工具条
左上角的
framepoints为所画矩形框的左上角坐标和右下角坐标
mouse为鼠标当前坐标
linesnum为队列中的直线数
("rubber line drawing of the" C language (C language for graphics programming reference), the simulation of many of graphics tools line drawing methods and ways in which frames the various toolbar button function is : a painting line (shortcuts "l") 2, frames (shortcuts "f"), outside the box cut line (shortcuts "c"), 4 refresh (shortcuts "r") 5, the new (shortcuts "n") 6. Denunciation (shortcuts "Esc"), the most crosses with the left mouse drive mobile tools can be in the upper left corner of the Fram epoints for painting rectangular box in the upper left and lower right coordinates of the mouse coordinates of the mouse coordinates of the current lin esnum queue for the few straight)
文件列表:
橡皮条画线
..........\EGAVGA.BGI
..........\readme.txt
..........\SUCCESS.C
..........\SUCCESS.EXE