-
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一
些特殊的符号,象变压器符号、开...
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一
些特殊的符号,象变压器符号、开关符号等等,用一般的编程方法来绘制比较困难,因此,笔者用C语言开发了一个手工绘制电力系统一次接线图
的键盘绘图程序,使用该程序绘制的一次接线图符合用户需求,效果良好。
2.使用方法
程序中定义了几个特殊键:
"V”:画笔提起
"W”:开始画图
"R”:开始擦图
"S”:当前图形存入文件
"E”:调出已有文件
"C”:画圆
程序一运行,屏幕上出现一个黄色的边框来设定画图的区域,区域中间出现提起的画笔符号 ,当按下”W“键时,画笔符号变为 ,此时可移动方向键(上、下、左、右、左上、左下、右上、右下)来画图;当按下”R“键时,画笔符号变为 ,此时可移动方向键来擦图;在画图过程中,按下“C”键,可画出一个半径为20个象素点的圆;当结束画图时,按下“S”键,将画好的图形存盘;按下“E”键可调出已有的图形进行编辑。-c
- 2022-05-21 20:17:39下载
- 积分:1
-
Polygon triangulation code.
Polygon triangulation code.-Auto triangulation code.
- 2023-04-15 02:50:04下载
- 积分:1
-
这本书的标题是多智能体系统的基本仿真实例…
The title of this book is Fundamental of Multiagent Systems with NetLogo Examples. By Jose M Vidal. Artificial Intelligence
- 2023-08-09 07:00:03下载
- 积分:1
-
使用eigenimages鲁棒识别
Robust Recognition Using Eigenimages
- 2023-02-07 17:20:04下载
- 积分:1
-
use 2D 3D results show, this is a time for change with the cube, all from the di...
利用2D显示3D的效果,这个是一个随时间变化的立方体,各个面由菱形组成.-use 2D 3D results show, this is a time for change with the cube, all from the diamond surface composition.
- 2023-04-13 12:20:03下载
- 积分:1
-
一个画笔程序的例子,有很多种画图的例子,值得推荐
一个画笔程序的例子,有很多种画图的例子,值得推荐-Examples of a brush, there are many examples of drawing, it is recommended
- 2022-03-13 03:15:14下载
- 积分:1
-
经典的图形代码,别的我就不说了
经典的图形代码,别的我就不说了-classic graphics code, I will not say another of
- 2022-11-20 07:05:03下载
- 积分:1
-
CBitmap This is the type of operation, including BMP bitmap open, preservation,...
这是关于CBitmap的类操作,包括BMP位图的打开、保存、图像处理等各项操作,是位图编程的基础-CBitmap This is the type of operation, including BMP bitmap open, preservation, image processing and other operations, bitmap based programming
- 2022-03-23 02:22:56下载
- 积分:1
-
贴图的方法实现工业控制开关转换,VC用户界面源码
贴图的方法实现工业控制开关转换,VC用户界面源码-map of industrial control switch conversion, user interface VC FOSS
- 2023-06-04 20:05:03下载
- 积分:1
-
搜索到的比较好的箭头绘画源码,vc++下,大家可参考使用
搜索到的比较好的箭头绘画源码,vc++下,大家可参考使用-search of the relatively good source arrow painting, vc, we can use and reference
- 2023-04-22 23:25:03下载
- 积分:1