基于点、直线和弧线的图形通用画法  被引量:1

A General Method of Drawing Graphic Symbol based on Point, Line and Arc

在线阅读下载全文

作  者:程玉荣[1] 刘向君[1] 黄信荣[1] 

机构地区:[1]青岛海军潜艇学院

出  处:《微计算机信息》2009年第33期182-183,181,共3页Control & Automation

摘  要:在战场环境等仿真程序的编写中,需要绘制许多特殊的图形符号。一般的做法是对每一个特殊的图形或符号编写一个画图函数,但函数通用性和可维护性不高。本文给出一种通用的基于点、直线和弧线的图形符号画法,对任何由点、直线和弧线构成的图形符号,按统一的转换规则转换出相应的字符串,将这些字符串交给同一个画图函数,就可以画出相应的图形或符号。In the simulation of war environment, many special graphic symbols were drawn. Ordinarily, for every graphic symbol, a drawing function was written., whose versatility and maintainability are lower. In this paper, a general method of drawing graphic symbol was given. For any graphic symbols made up of point, line and arc, it was transformed to a corresponding character string based on a rule. Then the character strings were given to one drawing function, the graphic symbols was drawn.

关 键 词:仿真 图形符号  线  动态链接库 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象