-
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一
些特殊的符号,象变压器符号、开...
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一
些特殊的符号,象变压器符号、开关符号等等,用一般的编程方法来绘制比较困难,因此,笔者用C语言开发了一个手工绘制电力系统一次接线图
的键盘绘图程序,使用该程序绘制的一次接线图符合用户需求,效果良好。
2.使用方法
程序中定义了几个特殊键:
"V”:画笔提起
"W”:开始画图
"R”:开始擦图
"S”:当前图形存入文件
"E”:调出已有文件
"C”:画圆
程序一运行,屏幕上出现一个黄色的边框来设定画图的区域,区域中间出现提起的画笔符号 ,当按下”W“键时,画笔符号变为 ,此时可移动方向键(上、下、左、右、左上、左下、右上、右下)来画图;当按下”R“键时,画笔符号变为 ,此时可移动方向键来擦图;在画图过程中,按下“C”键,可画出一个半径为20个象素点的圆;当结束画图时,按下“S”键,将画好的图形存盘;按下“E”键可调出已有的图形进行编辑。-c
- 2022-05-21 20:17:39下载
- 积分:1
-
The graphic file examination source code, may to JPG, BMP, form
the and so on IC...
图形文件查看源代码,可以对JPG,BMP,ICO等格式的文件进行预览- The graphic file examination source code, may to JPG, BMP, form
the and so on ICO document carry on looks at in advance
- 2022-06-02 05:54:55下载
- 积分:1
-
image of this second program, which is suitable for athletes who are just portal...
此为图象编程之二,适合于刚入门之选手,请好好使用。-image of this second program, which is suitable for athletes who are just portal, please make good use of.
- 2023-06-21 11:00:03下载
- 积分:1
-
百叶窗图像显示(源码)
百叶窗图像显示(源码)- Louver image display (source code)
- 2022-03-06 02:21:11下载
- 积分:1
-
Notes of a curve or histogram display real
注释 以曲线或柱状图实时显示数据的控件 http://dev.csdn.net/article/71/71489.shtm-Notes of a curve or histogram display real-time data control http://dev.csdn.net/article/71/71489.shtm
- 2022-08-04 11:43:40下载
- 积分:1
-
在vc60下使用的GDI+ lib库及头文件 很全的
在vc60下使用的GDI+ lib库及头文件 很全的-VC60 used in GDI+ Lib libraries and header files are the whole of
- 2022-12-24 00:55:03下载
- 积分:1
-
right to conduct random zooming
对视图进行随意放大缩小-right to conduct random zooming
- 2022-01-26 07:16:04下载
- 积分:1
-
using OpenCV calibration procedures
利用opencv 进行标定的程序-using OpenCV calibration procedures
- 2022-04-11 13:08:51下载
- 积分:1
-
一个简单的画图程序,可以画线、矩形、圆等图形,并可进行相关操作。...
一个简单的画图程序,可以画线、矩形、圆等图形,并可进行相关操作。-a simple drawing program, line drawing, rectangle, circle and other graphics, can be associated operations.
- 2022-07-11 01:18:01下载
- 积分:1
-
基于分水岭算法的图像分割对比,通过引入3种分水岭分割算法进行对比比较,对层次感较强的图像进行处理。...
基于分水岭算法的图像分割对比,通过引入3种分水岭分割算法进行对比比较,对层次感较强的图像进行处理。-Based on watershed algorithm for image segmentation comparison, through the introduction of three kinds of watershed segmentation algorithm for contrast comparison, a strong sense of the level of image treatment.
- 2022-01-24 10:18:31下载
- 积分:1