JPH04279984A - Graph data output control system - Google Patents

Graph data output control system

Info

Publication number
JPH04279984A
JPH04279984A JP3011447A JP1144791A JPH04279984A JP H04279984 A JPH04279984 A JP H04279984A JP 3011447 A JP3011447 A JP 3011447A JP 1144791 A JP1144791 A JP 1144791A JP H04279984 A JPH04279984 A JP H04279984A
Authority
JP
Japan
Prior art keywords
data
graph
graph data
command
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3011447A
Other languages
Japanese (ja)
Inventor
Hisao Nakamura
中村 尚生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3011447A priority Critical patent/JPH04279984A/en
Publication of JPH04279984A publication Critical patent/JPH04279984A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To enable a user to freely designate lines and graphics conforming to the international standard graph interface. CONSTITUTION:A register command by which extended graph data arbitrarily generated in accordance with standard graph data by the user is registered is provided in an application program. Extended graph data is stored in a data area 1 by this register command. This extended graph data is outputted by the same command as an output command for standard graph output.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、国際標準グラフインタ
フェースに準拠したグラフを表示する装置において、ユ
ーザが任意に定義する線種、マーカ種、縞種等の線や図
形を描画するグラフデータ出力制御方式に関する。
[Industrial Application Field] The present invention is a device for displaying graphs conforming to an international standard graph interface, which outputs graph data for drawing lines and figures of line type, marker type, stripe type, etc. arbitrarily defined by the user. Regarding control method.

【0002】0002

【従来の技術】国際標準グラフインタフェース(以下、
「CGI(Computer Graphics In
terface) 」という)は、線種、マーカ種、縞
種について、次のように番号を割り当てるよう、規定し
ている。 線種…1.実線、2.破線、3.点線、4.一点鎖線、
5.二点鎖線 マーカ種…1.ドット、2.破線、3.アスタリスク、
4.丸印、5.×印 縞線…1.横線等間隔、2.縦線等間隔、3.正方向の
斜線、4.負方向の斜線、5.縦横線の交差線、6.斜
線の交差線
[Prior art] International standard graph interface (hereinafter referred to as
“CGI (Computer Graphics In
``Terface'') specifies that numbers are assigned to line types, marker types, and stripe types as follows. Line type...1. Solid line, 2. Broken line, 3. Dotted line, 4. dashed line,
5. Double-dashed line marker type...1. Dot, 2. Broken line, 3. asterisk,
4. Circle mark, 5. × mark striped line…1. Horizontal lines equally spaced, 2. Vertical lines equally spaced, 3. Positive diagonal line, 4. Negative diagonal line, 5. Crossing lines of vertical and horizontal lines, 6. diagonal crossing lines

【0003】図2は、従来のグラフデータ出力制御方式
のブロック図である。図示において、データ領域21は
、複数、例えば、255 の格納領域に分割されており
、各格納領域には、番号“1”、“2”、“3”、…に
対応した標準グラフデータが格納されている。例えば、
図示の例では、実線、破線、点線、一点鎖線、二点鎖線
の各線種パターンデータが、データ領域21の先頭から
格納されている。
FIG. 2 is a block diagram of a conventional graph data output control system. In the illustration, the data area 21 is divided into a plurality of storage areas, for example, 255, and each storage area stores standard graph data corresponding to numbers "1", "2", "3", etc. has been done. for example,
In the illustrated example, line type pattern data for solid lines, broken lines, dotted lines, one-dot chain lines, and two-dot chain lines are stored from the beginning of the data area 21.

【0004】これらの標準グラフデータは、アプリケー
ションプログラム中の所定の出力コマンドによる命令に
応じて、グラフ制御プログラムが参照する。即ち、グラ
フ制御プログラムは、アプリケーションプログラム中の
出力コマンドに指定された番号に対応した標準パターン
データを読み出す。そして、その標準パターンデータに
従って、ディスプレイ装置又はプリンタ装置に標準化さ
れたグラフを出力する。
[0004] These standard graph data are referred to by a graph control program in response to a predetermined output command in an application program. That is, the graph control program reads standard pattern data corresponding to the number specified in the output command in the application program. Then, according to the standard pattern data, a standardized graph is output to a display device or a printer device.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来の技術には、次のような問題があった。即ち、C
GIで規定されている上述の線種、マーカ種、縞種以外
は、指定することができなかった。つまり、ユーザによ
り点線の点と点との間隔の長さを変えたり、上記以外の
マーカ種を使用したり、縞線の間隔を変えたりすること
ができなかった。
[Problems to be Solved by the Invention] However, the above-mentioned conventional technology has the following problems. That is, C
It was not possible to specify anything other than the above-mentioned line types, marker types, and stripe types stipulated by GI. In other words, the user cannot change the length of the interval between the dotted lines, use a marker type other than the above, or change the interval between the striped lines.

【0006】本発明は、以上の点に着目してなされたも
ので、CGIに従いつつ、ユーザにより自由に線や図形
を指定でき、汎用性に優れたグラフデータ出力制御方式
を提供することを目的とするものである。
The present invention has been made with attention to the above points, and an object of the present invention is to provide a highly versatile graph data output control method that allows the user to freely specify lines and figures while complying with CGI. That is.

【0007】[0007]

【課題を解決するための手段】本発明のグラフデータ出
力制御方式は、アプリケーションプログラム中で所定の
出力コマンドを使って、標準化されたグラフを出力する
ための標準グラフデータを所定のデータ領域に格納する
とともに、当該データ領域にユーザが前記標準グラフデ
ータに倣って任意に作成した拡張グラフデータを格納す
るため、アプリケーションプログラム中で使用できる登
録コマンドを用意し、当該登録コマンドによりユーザが
登録した前記データ領域内の拡張グラフデータによるグ
ラフを前記所定の出力コマンドを使って出力できるよう
にしたことを特徴とするグラフデータ出力制御方式。
[Means for Solving the Problems] The graph data output control method of the present invention uses a predetermined output command in an application program to store standard graph data for outputting a standardized graph in a predetermined data area. At the same time, in order to store expanded graph data arbitrarily created by the user following the standard graph data in the data area, a registration command that can be used in the application program is prepared, and the data registered by the user is stored using the registration command. A graph data output control method, characterized in that a graph based on expanded graph data within a region can be output using the predetermined output command.

【0008】[0008]

【実施例】以下、本発明の実施例を図面を参照して詳細
に説明する。図1は、本発明のグラフデータ出力制御方
式の実施例のブロック図である。図示の方式は、データ
領域1を持っている。このデータ領域1は、複数、例え
ば、255 の格納領域に分割されており、各格納領域
には、番号“1”、“2”、“3”、…に対応した標準
グラフデータが格納されている。例えば、図示の例では
、実線、破線、点線、一点鎖線、二点鎖線の各線種パタ
ーンデータが、データ領域1の先頭から格納されている
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the graph data output control method of the present invention. The system shown has a data area 1. This data area 1 is divided into a plurality of storage areas, for example, 255, and each storage area stores standard graph data corresponding to numbers "1", "2", "3", etc. There is. For example, in the illustrated example, line type pattern data for solid lines, broken lines, dotted lines, one-dot chain lines, and two-dot chain lines are stored from the beginning of data area 1.

【0009】これらの標準グラフデータは、アプリケー
ションプログラム中の所定の出力コマンドによる命令に
応じて、グラフ制御プログラムが参照する。即ち、グラ
フ制御プログラムは、アプリケーションプログラム中の
出力コマンドに指定された番号に対応した標準パターン
データを読み出す。そして、その標準パターンデータに
従って、ディスプレイ装置又はプリンタ装置に標準化さ
れたグラフが出力される。
[0009] These standard graph data are referred to by a graph control program in response to a predetermined output command in an application program. That is, the graph control program reads standard pattern data corresponding to the number specified in the output command in the application program. Then, a standardized graph is output to a display device or a printer device according to the standard pattern data.

【0010】データ領域1には、標準グラフデータに倣
ってユーザが任意に作成した拡張グラフデータを格納で
きるようになっている。このため、アプリケーションプ
ログラム中で使用できる登録コマンドが用意されている
。この登録コマンドにおいては、ユーザは拡張データを
作成するとともに、データ領域1の所定の格納領域を番
号により指定する。そして、この登録コマンドに従い、
グラフ制御プログラムは、ユーザが作成した拡張グラフ
データをバッファ領域から、データ領域1内の指定の番
号の格納領域に転送する。ここで、登録コマンドで指定
できる番号は、標準グラフデータに対応した番号と重複
しない番号になっている。即ち、標準グラフデータには
、“1”、“2”、“3”…の番号が対応しているので
、拡張グラフデータには、例えば、“255 ”、“2
54 ”、“253 ”…の番号を対応させるようにす
る。つまり、データ領域の反対側から拡張グラフデータ
を格納していくようにする。これにより、標準パターン
データがユーザにより壊されることがない。
[0010] The data area 1 can store extended graph data arbitrarily created by the user based on standard graph data. For this reason, registration commands are provided that can be used in application programs. In this registration command, the user creates extended data and also specifies a predetermined storage area of data area 1 by number. And follow this registration command,
The graph control program transfers the extended graph data created by the user from the buffer area to the storage area of the specified number in the data area 1. Here, the number that can be specified with the registration command is a number that does not overlap with the number corresponding to the standard graph data. That is, since the standard graph data corresponds to the numbers "1", "2", "3", etc., the extended graph data has, for example, "255", "2", etc.
The numbers ``54'', ``253'', etc. should be made to correspond.In other words, the extended graph data should be stored from the opposite side of the data area.This prevents the standard pattern data from being destroyed by the user. .

【0011】このような登録コマンドにより拡張グラフ
データをデータ領域1内に格納しておくことによって、
ユーザは、アプリケーションプログラム中で出力コマン
ドを用い、当該出力コマンドに所望のグラフに対応する
番号を指定して、データ領域1内の拡張グラフデータに
従った線や図形等のグラフをディスプレイ装置やプリン
タ装置等に出力できる。
[0011] By storing extended graph data in data area 1 using such a registration command,
The user uses an output command in the application program, specifies a number corresponding to the desired graph in the output command, and prints graphs such as lines and figures according to the extended graph data in data area 1 on a display device or printer. It can be output to a device, etc.

【0012】図3は、本発明の方式の実行手順の説明図
である。アプリケーションプログラムは、登録したい拡
張パターンデータを指定の番号に割り当てる指示を登録
コマンドを用いてグラフ制御プログラムに送信する。こ
れにより、グラフ制御プログラムは、アプリケーション
プログラムが指定した番号の格納領域に、拡張パターン
データを格納する。アプリケーションプログラムは、C
GIの線種指定コマンドにより線種を指定し、出力コマ
ンドにより線の出力を指示する。グラフ制御プログラム
は、拡張パターンデータが格納されているデータ領域か
らパターンデータを取出し、これに従って線の出力を行
なう。
FIG. 3 is an explanatory diagram of the execution procedure of the method of the present invention. The application program sends an instruction to assign the extended pattern data to be registered to a specified number to the graph control program using a registration command. Thereby, the graph control program stores the extended pattern data in the storage area with the number specified by the application program. The application program is C
The line type is specified using the GI line type specification command, and the output of the line is instructed using the output command. The graph control program extracts pattern data from the data area where extended pattern data is stored and outputs lines in accordance with the pattern data.

【0013】尚、上述した実施例においては、標準パタ
ーンデータ及び拡張パターンデータが線種パターンデー
タである場合について説明したが、本発明はこれに限ら
ず、CGIのマーカ種、縞種等のパターンデータについ
ても全く同様に適用できることはいうまでもない。
[0013] In the above-mentioned embodiment, the case where the standard pattern data and the extended pattern data are line type pattern data has been explained, but the present invention is not limited to this. It goes without saying that the same applies to data as well.

【0014】[0014]

【発明の効果】以上説明したように、本発明のグラフデ
ータ出力制御方式によれば、ユーザの定義する線種、マ
ーカ種、縞種等のパターンデータをアプリケーションプ
ログラムで登録できるようにしたので、次のような効果
がある。 ■標準パターンデータ以外の数多くのパターンデータを
予め登録しておく必要をなくすことができ、ユーザ毎に
グラフ制御プログラムのカスタマイズを行なう必要もな
いようにできる。即ち、グラフ制御プログラムの汎用化
を行なうことができる。 ■端末システムの運用途中でパターンデータの変更を行
なうことができる。即ち、グラフデータの出力を柔軟に
行なうことができる。
As explained above, according to the graph data output control method of the present invention, pattern data such as line types, marker types, stripe types, etc. defined by the user can be registered in an application program. It has the following effects. (2) It is possible to eliminate the need to previously register a large amount of pattern data other than the standard pattern data, and it is also possible to eliminate the need to customize the graph control program for each user. That is, the graph control program can be made more general. ■Pattern data can be changed during operation of the terminal system. In other words, graph data can be output flexibly.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明のグラフデータ出力制御方式の実施例の
ブロック図である。
FIG. 1 is a block diagram of an embodiment of a graph data output control method of the present invention.

【図2】従来のグラフデータ出力制御方式のブロック図
である。
FIG. 2 is a block diagram of a conventional graph data output control method.

【図3】本発明の方式の実行手順の説明図である。FIG. 3 is an explanatory diagram of the execution procedure of the method of the present invention.

【符号の説明】[Explanation of symbols]

1  データ領域 1 Data area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  アプリケーションプログラム中で所定
の出力コマンドを使って、標準化されたグラフを出力す
るための標準グラフデータを所定のデータ領域に格納す
るとともに、当該データ領域にユーザが前記標準グラフ
データに倣って任意に作成した拡張グラフデータを格納
するため、アプリケーションプログラム中で使用できる
登録コマンドを用意し、当該登録コマンドによりユーザ
が登録した前記データ領域内の拡張グラフデータによる
グラフを前記所定の出力コマンドを使って出力できるよ
うにしたことを特徴とするグラフデータ出力制御方式。
Claim 1: Using a predetermined output command in an application program, standard graph data for outputting a standardized graph is stored in a predetermined data area, and a user can input the standard graph data into the data area. In order to store extended graph data arbitrarily created by copying, a registration command that can be used in the application program is prepared, and a graph based on the extended graph data in the data area registered by the user is stored using the specified output command. A graph data output control method characterized by being able to output using.
JP3011447A 1991-01-08 1991-01-08 Graph data output control system Pending JPH04279984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3011447A JPH04279984A (en) 1991-01-08 1991-01-08 Graph data output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3011447A JPH04279984A (en) 1991-01-08 1991-01-08 Graph data output control system

Publications (1)

Publication Number Publication Date
JPH04279984A true JPH04279984A (en) 1992-10-06

Family

ID=11778352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3011447A Pending JPH04279984A (en) 1991-01-08 1991-01-08 Graph data output control system

Country Status (1)

Country Link
JP (1) JPH04279984A (en)

Similar Documents

Publication Publication Date Title
JPH06124183A (en) Multiwindow system
JPH04279984A (en) Graph data output control system
JPS6263333A (en) Picture information controlling system
US6943801B2 (en) System and method for refreshing imaging devices or displays on a page-level basis
JPS62174824A (en) Printing method for picture display information
JP3118310B2 (en) Print processing method of page printer
JP2759972B2 (en) Segment disclosure processing method
JPS626358A (en) Common graphic library system
JPS62127932A (en) Print spooling control system
JPS63279369A (en) Double color painting system
JP2833366B2 (en) Display control device
JPS61182130A (en) Graphic display device
JPS62229184A (en) Character processor
JPS63104191A (en) Drawn picture processor
JPH036510B2 (en)
JPH0253797B2 (en)
JPH0612054A (en) Picture display control method for graphic display device
JPH01276196A (en) Image display controller
JPS62173573A (en) Vector display system
JPH01180038A (en) Printing device
JPH09146747A (en) Method and device for switching plotting attribute and graphic display device
JPS58161034A (en) Pattern printing device
JPS6158090A (en) Data output system for monochromatic hard copy device
JPS63226743A (en) Picture information display system
JPH0454678A (en) Graphic processor