JP2680805B2 - Graphic coordinate controller - Google Patents

Graphic coordinate controller

Info

Publication number
JP2680805B2
JP2680805B2 JP60101026A JP10102685A JP2680805B2 JP 2680805 B2 JP2680805 B2 JP 2680805B2 JP 60101026 A JP60101026 A JP 60101026A JP 10102685 A JP10102685 A JP 10102685A JP 2680805 B2 JP2680805 B2 JP 2680805B2
Authority
JP
Japan
Prior art keywords
coordinate
area
control
value
dot
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.)
Expired - Lifetime
Application number
JP60101026A
Other languages
Japanese (ja)
Other versions
JPS61259290A (en
Inventor
健治郎 島津
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60101026A priority Critical patent/JP2680805B2/en
Publication of JPS61259290A publication Critical patent/JPS61259290A/en
Application granted granted Critical
Publication of JP2680805B2 publication Critical patent/JP2680805B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明はグラフィックス座標制御装置に関し、特にコ
ンピュータ等の情報処理装置を用いてCRT(陰極線管)
やイメージプリンタ、更にはX−Yプロッタ等の表示装
置に画像(文字、図形)を描画する際の描画位置を管理
制御するグラフィックス座標制御装置に関する。 従来技術 従来、この種の座標制御装置は、コンピュータに手続
を組入れて(プログラム化して)、文字位置認識はテキ
スト座標系で管理制御し、ドット位置認識はグラフィッ
クス座標系で管理制御しており、両管理制御機構は互い
に独立して構成されている。 ここで、高解像度グラフィックス機能を備えたCRT装
置のドット(画素)とテキスト(文字)領域との関係は
第14図に示す様になっている。CRTに表示される各テキ
ストとしては、図(B)に示すように2バイトテキスト
と、図(C)に示すように当該2バイトテキストを垂直
方向の分割線にて2分割してなる1バイトテキストとが
有り、一般的にはドットの集合によりテキスト(文字)
が表現される(図(D)参照)。 テキスト表示領域は、2バイトテキストの場合縦16ド
ット、横16ドット(これを16×16と表わす)分を占有す
る。このテキスト画面に表示する場合のテキスト位置
は、縦25行、横40桁(25行×40桁)の範囲内で図(A)
の例の様に数値表現される。 1バイトテキストの場合、16×8ドット分をテキスト
表示領域としては、25行×80桁の範囲内でテキスト位置
が表現される。更に、1バイトテキストと2バイトテキ
ストとが混在する場合には、通常25行×80桁のテキスト
位置で表現されることが一般的である。 一方、CRT画面上のドット位置は、図(A)の例の如
く400×640の範囲内で数値表現される。以下の説明で
は、これ等の位置を(縦方向数値、横方向数値)で表現
することとする。本例は2バイトテキストが16×16ドッ
ト領域を占有する場合であるが、24×24ドットであって
もよくまた多くのドットを占有しても良いことは勿論で
ある。 さて、近時日本語ワードプロセッサ等の文章入力装置
において、CRT画面上の文字データの移動を文字位置認
識カーソルを移動させて位置決め後、実行することが行
われているが、グラフ作成入力においても、特殊が画素
位置認識カーソルを用いて位置認識したり、直接画素位
置を数値で指示したりすることも行われている。 しかしながら、画素位置認識のために、例えば(0,
0)点から(0,539)点へカーソルを移動させるには相当
の時間を要するし、また直接数値で画素位置を指示する
ことは面倒となっている。 これは、テキストメモリとグラフィックスメモリとを
独立に構成し、前述した如くテキスト座標系とグラフィ
ックス座標系とを独立制御しているために生じるもので
ある。 また、文字位置認識カーソルにて認識される領域内で
ドット位置認識カーソルを移動制御して、この領域内に
おいて細い図形、文字等の描画をなすこともできない
し、更には、細い文字、図形等をより明確に目視すべく
これ等を拡大表示制御することも不可能となっている。 発明の目的 本発明は、画素位置認識カーソルと文字位置認識カー
ソルとを互いに独立移動させると共に画素位置認識カー
ソルを文字位置認識カーソルに連動させるようにするこ
とにより、画素位置認識を容易にかつ確実に実行可能と
したグラフィックス座標制御装置を提供することを目的
としている。 本発明の他の目的は、文字位置認識カーソルにて認識
される認識領域は拡大可能とすると共に、当該認識領域
及び拡大領域内において画素位置認識カーソルを自在に
移動制御するようにしたグラフィックス座標制御装置を
提供することである。 発明の構成 本発明によるグラフィックス座標制御装置は、表示画
面上の描画エントリーとして、該表示装置の画素を単位
として移動かつ位置認識するドット位置座標管理制御手
段と複数の画素からなる文字領域を単位として移動かつ
位置認識する文字位置座標管理制御手段とを有するグラ
フィックス座標制御装置であって、前記文字領域を縦横
に所望の倍率に拡大した第1の領域を単位とした座標系
(以下、P座標系という)において該第1の領域の位置
を示す第1の位置により得られる前記ドット座標系での
第1の始点と、該第1の始点および前記第1の領域1単
位分を基に得られる前記ドット座標系での第1の終点と
を生成し該第1の始点と該第1の終点とからなる領域
(以下、P領域という)を単位として前記表示画面上の
移動や位置認識を制御するP座標制御手段と、前記画素
を縦横に前記所望の倍率に拡大した第2の領域を単位と
した座標系(以下、仮想ドット座標系)において前記P
領域の前記第1の始点から前記第2の領域の位置を示す
第2の位置により指定される量だけ移動した前記ドット
座標系での第2の始点と、該第2の始点および前記第2
の領域1単位分を基に得られる前記ドット座標系での第
2の終点とからなる領域(以下、仮想ドットという)を
単位として自在に移動かつ位置認識する仮想ドット座標
制御手段とを含む。 実施例 次に、本発明について図面を参照して説明する。 第1図(A)は本発明の一実施例の全体構成ブロック
図である。CPU4はマイクロコンピュータ等のプロセッサ
であり、本構成の場合各種制御手段(機能ブロックとし
て示されている)11〜59をこのCPUが動作制御してい
る。9はCRT装置である。8はグラフィックス機能を具
備したCRI制御機構である。3はシステムバス機構であ
り、CPU4の制御によって記憶装置(RAM)6とデータの
授受がなされる。 71はG−RAM(グラフィックスメモリ)、72はキャラ
クタジェネレータ(CG)、73は仮想テキストメモリ(T
−RAM)である。カーソル表示制御59とカーソル情報保
持記憶64とは位置認識カーソルを表示制御する手段で、
拡大表示制御58は画像拡大制御手段である。 61〜62は、各種情報保持記憶であり、一般的には、記
憶装置6として収められている。また、外部記憶装置
(図中に記載なし)に収められていてもよい。 1および1′は各種動作指示手段であり、インターフ
ェース機構2を介しシステムバス3に接続されてCPU4に
よって動作する。特に1′はキー入力手段であり、カー
ソル移動指示手段11′、文字入力手段12′、各種機能指
示手段13′、モード切替手段10′を有し、入力データは
データ保持記憶61に保持され、Key解析手段45によって
グラフィックス座標制御手段57が動作する。また1は指
示手段として手続き(言語、文)を与える手段を示し、
プロセッサ(図中、手続き解析42で示されている)によ
って、動作指示手段43となり、グラフィックス座標制御
手段57が動作する。 第1図(B)にこの動作指示手段43の構成ブロック図
を示している。即ち、本発明の特徴とするグラフィック
ス座標制御手段57に対する動作指示手段としては、手続
入力手段1またはキー入力手段1′がある。特に、手続
入力指示手段1が有効であるので、以下の説明におい
て、手続入力指示手段1を動作指示手段として説明す
る。なお第1図(B)の61′は手続文で与えられたデー
タを保持する記憶部である。 第9図に本発明の特徴であるグラフィックス座標制御
装置の手続指示の1例が記憶されているので以下の説明
に於いて適時参照されるべきである。なお、説明文及び
図面に於いて、座標をカーソルと表現することがある。 次に本発明の特徴を示す実施例の構成に関し、第2図
を参照して説明する。 第2図(A)はグラフィックス座標制御手段57が動作
制御する座標管理情報保持手段62を詳細な系統で表わし
た図である。(図中(イ)のブロックで示されている)
CATS(拡大を意味するものとする)621(以下構成図付
記番号を省略)は第3図(B)で後述するCats指示状態
を保持する記憶部で、(KSIZ,JSIZ)は、Cats指示の拡
大サイズ(横拡大指示値、縦拡大指示値)が保持される
記憶部である。 (MOD)、(CK,CJ)、(BK,BJ)、(DK,DJ)、(RK,R
J)は(モード保持記憶)、(Cカーソル位置保持記
憶)、Bカーソル位置保持記憶)、(Dカーソル位置保
持記憶)、(連動カーソル位置保持記憶)であり、それ
ぞれの位置は、(横方向、縦方向)で表わす。(ニ)の
ブロック内の(TX,TY)、(DX,DY)、(RX,RY)は、グ
ラフィックス座標の管理範囲の保持記憶で、それぞれ
(キャラクタ範囲)、(ドット範囲)(連動カーソル範
囲又は文字領域構成ドット)を示す。 さらに(PK,PJ)は第3図(B)で後述するCats座標
保持記憶で、(ニ)に示される(PX,PY)は、その管理
範囲保持記憶である。(ハ)は、画面上またはG−RAM
上の座標を表わし、図中K/Xは横方向数値、J/Yは縦方向
数値で、原点(0,0)を左上隅にとった例であり、本発
明はこの座標仕様で説明する(原点を左下隅にとる例も
ある。)。(ホ)で示される領域は、第3図(B)で後
述するParts座標(Cats座標とも呼ぶ)で、その位置は
(PK,PJ)で示され、領域は(FP−TP)で示され、(始
点−終点)を意味する。この領域をP領域と呼ぶ。 FPは、ドット位置(FDK,FDJ)で表現され、TPはドッ
ト位置(TDK,TDJ)で表現される。(ヘ)、(ト)は従
来例で知られている2バイト系文字領域及び1バイト系
文字領域であり(それぞれB領域、C領域と略す)、そ
の位置は(BK,BJ)、(CK,CJ)で示される領域は(FB−
TB)、(FC−TC)で示される。FB,TB,FC,TCは、ドット
位置始点、終点で表現される。 Carea,Barea,VDarea(P領域に於ける仮想ドット領
域)で図示されているブロックは、それぞれの座標位置
より数理法則を用いて領域を計算し、領域始点、終点を
保持するブロックである(領域保持記憶は図中644ブロ
ックで示されている)。第2図(B)に各モードに於け
る文字位置と領域計算式が示されている。 (ロ)は位置変更指示手段で与えられる図示を図示し
たもので、変更指示には数値指定(図中XYで示す)と移
動指定(図中、+1/−1で示す)とがある。数値指定は
“X"値、“Y"値を設定し、移動指定は例えばカーソル移
動の如く、現時点の“X"又は“Y"値に“1"の加減を実行
するものである。図中Compは移動範囲の比較を示す。 (チ)はCRTの制御情報指示手段(一例としては、言
語文がある)であり、P,XM,YM等を指定する。なお、P
は水平方向アドレス数、XM,YMは終点位置を示し、XM,YM
は通常DX,DYと同一数値となる。(リ)はLIO(Loyical
Input Output)もしくはBIO(Basic Input Outpu
t)と考えてもよい)を示している。 なお、本実施例の構成(イ)を(リ)のLIOに含めて
構成することもできる。(ヌ)は(イ)と(リ)間の位
置情報を示し、全てドット座標値に変換され、(リ)に
渡されることを示している。このドット座標値により、
(リ)でEAD、dADに変換されGDCに於けるG−RAM71座標
制御が実行されてCRT9の座標に表示される。 次に図面を参照して、本発明によるグラフィックス座
標管理方式の動作、作用に関し、詳細に説明する。 第3図は第1図のC座標制御48及びB座標制御49の動
作系統図である。モード指示によるモード変換手段46の
動作でMODに“C"モード又は“B"モードが設定され(図
中aイで示される動作)、位置変更指示によって(CK,C
J)又は(BK,BJ)が+1の加減算が実行され(動作a
ロ)、予め設定されている(これを記号INITで示す)
(TX,TY)の範囲であれば(動作aハ)、(CK,CJ)又は
(BK,BJ)が更新される(動作aニ)と共にCarea又はBa
rea計算(動作aホ)によって、C領域又はB領域が設
定される(動作aへ)。 本図に於いては、モード指示や位置変更を指示する手
段はキー入力装置に限らず、言語手続きによってもこの
座標が管理出来るので、敢えて示している。また、位置
変更を指示する手段により“X"、“Y"値が指定されたと
きには、その“数値”で(CK,CJ)又は(BK,BJ)を更新
し、C又はB領域も設定される。 第3図(B)はグラフィックス座標をC領域またはB
領域を単位として任意に拡大した領域(これをParts領
域若しくはP領域と呼び、この座標をParts座標又はCat
s座標と呼ぶ)で座標制御する方式を示す第1図のP座
標制御51の動作系統図である。この指示手段をCats指示
と呼ぶ。なお、Cats指示は横方向拡大値(KSIZ)、縦方
向拡大値(JSIZ)及び位置指示“X"、“Y"を与える。こ
れらの指示手段の例としては第9図に詳細に記述されて
いる。 Cats制御手段47によってCats指示手段からの指示が解
析され、まず、CATS保持記憶にCatsモードを保持し(b
イ)、KSIZ、JSIZに“指示値”を保持する(bロ)。次
に、式2(第2図(B)に示されている)によりPX、PY
に“計算値”を保持する(bハ)、次に指示位置
(“X",“Y")がPX,PYの範囲にあれば、PK,PJに“指示
値”を保持する(bニ)。次に図示の系統による各種保
持記憶を参照してParea計算式によりP領域始点、終点
をFP,TPに保持する(bホ)。なお、位置変更手段によ
り、上述動作(aロ)と同様PK,PJの“保持値”を更新
することもできる(bヘ)。またKSIZ値とJSIZ値が同一
である場合には、ZOOM保持記憶に“数値”が保持され
る)(bト)。 第3図(C)はCモード、Bモードに於ける連動座標
制御又はCatsモードに於ける仮想ドット座標制御(第1
図ではVD座標制御52に当る)の動作系統図である。 モード指示によって、連動モード指示が与えられると
MODにモード保持情報(例えば“R")を保持する。さら
にDモード指示によりMODに例えば“D1"がセットされる
(動作cイ)。(Cats指示がある場合は、MODには、例
えば“D2"がセットされる。第4図にMODをCATSに含めた
保持情報例を示す)。 次に(RK,RJ)を“0"にクリアする(cロ)。次に位
置変更手段の指示に応じて(RX,RY)の範囲内の“値”
で(RK,RJ)を更新する(cハ)。この動作は第3図
(bニ),(bヘ)と同等である。次に図示の系統によ
る各種保持記憶状態を参照して、VDarea計算式により、
仮想ドット領域(VD領域)の始点、終点をFV,TVに保持
する(cニ)。一方Catsモードの場合は、“KSIZ値”
“JSIZ値”として各々“2"以上が与えられるので、FV−
TVで現される領域を持つ仮想ドット領域が保持される。 第4図はCats制御手段47とモード変換手段46を一体化
してCats制御手段としてのその指示情報をCATSに保持す
る実施例であり、CATS保持情報を表現したものである。
この様な構成により各種モードの組合わせがCATSに保持
され制御が都合良くなる。この様にCats指示に統一され
たグラフィックス座標制御方式をキャッツ(Cats)座標
制御方式と呼ぶ。 第5図(A)はCats座標を移動する手段と構成及び動
作を示す系統図で、第1図の座標移動制御53の動作を示
している。 まず、座標移動指示手段が与えられると、CATSに指示
情報(第4図のChangeを示す)を保持し、“指示値”
(“横方向移動値(±X)”、“縦方向移動値(±
Y"))が、式3(式は図示されている)で計算された範
囲内にあれば、(Kup,Jup)の“保持値”(初期値は
“0"である)に+/−加算して、(Kup,Jup)を更新す
る。この(Kup,Jup)は“ドット数値”であり、第3図
(A)〜(C)の領域計算(図中(イ)で示す)の際の
要素となる保持記憶である。具体的には、FC/FB/FP/FV
のそれぞれの始点(FDK,FDJ)の“値”にKupの“値”、
Jupの“値”を加算し、それぞれの始点を(FDK値+Kup
値、FDJ値+Jup値)で更新し、同様終点を(TDK値+Kup
値,TDJ値+Jup値)で更新する動作を行う。 第5図(B)にPart座標で、座標移動した作用例を示
した。図では、(2,1)で位置付けられたP領域が(Ku
p,Jup)値によって画面座標上(G−RAM座標上)移動し
ていることを示している。より具体的には、(イ)で示
されるP領域(2,1)が(Kup,Jup)=(+1,+n)だけ
移動して位置(ロ)に移動する。また、(ハ)で示され
るP領域(3,2)が(Kup,Jup)=(+1,−n)だけ移動
して位置(ニ)に移動する。 第6図(A)は、現在のCカーソル位置、Bカーソル
位置の属するP座標値を生成する制御(第1図では、相
関P座標制御55)の動作系統図である。まず、P関数指
示が与えられると、CATSに指示情報(第4図のP関数で
示されている)を保持し、CATSが示すCモード,Bモード
(およびDモード)又はRXの“数値”でモードを判別し
(動作(イ))。系統図で示される各保持記憶を参照
し、式1〜式6(第2図(B)及び本図に示す)により
P座標位置(“PK値",PJ値”)を生成し、P関数指示手
段へ転送する(動作(ロ))。なお、式6に従う系統
は、本方式の特徴とする所でないが、Cモード,Bモード
共に本座標制御方式、特に第3図(A)の系統制御で、
領域始点(FDK,FDJ)が保持されているので、式6の系
統で、P座標位置を生成させてもよい。又P関数に座標
表示の指示(これをFLAGと呼び実施例は第6図(C)に
記述)がある場合は、P座標発生値で(PK,PJ)を更新
したり、例えばP座標位置に矩形等を表示することもで
きる。(動作(ハ))。第6図(B)に具体例を示し
た。すなわち、(KSIZ,JSIZ)=(3,4)のP座標系で
は、Cモードにおける位置(10,10)が属するP座標値
として(PK,PK)=(3,2)が生成される。 第7図(A)は、第1図及び第2図(A)に示すグラ
フィックス座標管理情報保持手段62の各種保持記憶に対
し、その値の強制読取り、強制設定を可能にする座標値
設定制御54の動作系統図である。まず、座標値設定指示
が与えられると、CATSを参照し他の動作が実行中でなけ
れば、CATSに指示情報(第4図のR/Wで示される)を保
持し、指示されたFLAGに従って、座標情報保持手段62の
各種保持記憶を“指示値”で更新したり、“保持情報
値”を発生させ指示手段へ転送したりする。第7図
(B)はこのFLAGの構成例を示している。FLAGに示すR/
Wは“保持値”読取/“保持値”更新の動作指示であ
り、areaは“領域保持値”の読出し(areaは更新不可)
指示、Counterは領域以外の保持情報記憶の動作指示を
示す。第7図(B)に動作例が示されている。又第2図
(ニ)の保持情報に対しても同様な動作を実行すること
も可能である。 第8図(A)は、各座標系を連結させる座標Chain制
御56(第1図に示されている)の動作系統図である。グ
ラフィックス座標制御に於ける各座標(D座標,C座標,B
座標,P座標)はそれぞれ独立した制御を行う。第8図
(B)はこの説明図である。座標Chain制御56は指示さ
れたFLAG情報に従って上位指示座標に連結した下位座標
値で下位座標を更新する(下位座標とは、上位の座標領
域に含まれる座標で、P座標>B座標>C座標>D座標
の関係がある)。連結の具体的動作は、既に記述された
数理式に於いて、上位の領域の開始点を含む下位の“座
標値”で座標更新する動作を実行する。 第8図(C)に、FLAGによりP座標とC座標の連結が
指示され、制御56によって(CK,CJ)にあるCカーソル
がP(10,5)の領域内に属するC座標位置(30,10)に
連結された具体的を示している。 次に、本方式による、グラフ描画の応用実施例に関
し、図面を参照して説明する。 第10図(A)は言語文の構文構造であり(高級言語と
呼ばれる言語文は、この様な構造に分ける慣例はない
が)、説明の都合上命令部、第1パラメータ部、第2パ
ラメータ部に分離する。図の構文は座標位置と領域を指
定する命令とパラメータとを示している。いずれもドッ
ト座標値に基づいて指定されている(図中(イ)で示さ
れる型式(a),(b))。一方CATS制御方式に於いて
は、(ロ)で示す様に型式(c)による領域指定が可能
になる。すなわち、CATS制御方式では領域指定がより容
易になる。又(ハ)はCATS制御方式では通常機能(従来
例に示す機能)と異なる機能を実行することを示してい
る。 第10図は従来座標制御の下で言語文の例とその動作の
一例とを、又Cats座標制御の下での言語文の例とその動
作例とを比較して説明した図である。型式(a)に於い
て、第9図に示す“Cats0,1"指示中はドット座標に対し
機能する(図10.1の(イ))。“Cats2,3,4"指示中はそ
れぞれのパラメータはC座標、B座標、P座標を示し、
その座標に位置付け、領域にPaintしたり、領域始点
(ドット座標)間に線引したり、指定領域間をPaintし
たりする動作が可能になる。又“Cats5"指示中は、P領
域内の仮想ドット座標を対象に各種動作が実行出来る。
例えば、図10.1の(ロ)及び(ハ)は、仮想ドットに対
し、パターンがセットされた事を示している。型式
(b)に於いて、“Cats0,1"指示中はドット座標に対し
機能する。“Cats2,3"指示中は文字位置指定による領域
に対し機能する(図10.5に具体例を示した)。 “Cats4"指示は図10.6に示す移動機能が考えられる。
型式(c)に於いては、従来例の型式(b)の命令に対
してのみ許され、Cats2,3,4指示中の座標位置に対して
その領域内が機能対象となる。型式(d)は座標指示を
持たない機能指示で、Cats2,3,4指示中は通常機能と異
なる動作が実行される。図10.3は文字拡大機能の動作の
差異を示す図である。Cats制御下ではP座標による文字
の拡大表示が可能になる。図10.4は矩形表示の機能であ
り、Cats2,3,4,5で指定された座標領域に対し、矩形表
示することが可能となる。 第11図は本装置を従来制御に簡便に組み入れた応用実
施例を説明する図である。Cats座標制御は仮想的座標管
理の手段として利用される。第11図(A)は文字拡大制
御を本装置を用いて実行する一例を示す。図では、B座
標(5,10)領域をP座標(0,0)に拡大制御することを
示している(第11図(B)を参照)。第11図(C)は、
さらに上位の言語手続を組み立てた手続例であり、プロ
セッサによって展開されると、手続例1と同じ手続によ
ると考えて良い。 第12図は本装置を組み入れた応用実施例における第1
図に示した構成の動作を説明する図である。(イ)は手
続指示手段、(ハ)は手続、(ロ)は指示データ保持記
憶である。まず、Cats指示(CATS4)によって、
(ニ)Cats座標制御57が動作し、指示データに従って、
各種情報保持手段62(CATS,JSIZ,PK,PJ,FP等)を更新す
る。本例の場合、KSIZ=JSIZであり、ZOOMに“2"が保持
される。Catsは座標制御のみで、GDCに対してコマンド
を発生しない(GDCに対し、コマンドを出しても良い
が、描画動作を伴わない)次に、(ヘ)CHAR制御(第
1図では、拡大表示制御58に相当する)が動作し、位置
指示パラメータがあるので、内部よりPoint指示する。
次にZOOMに有効値がセットされているので(GDCの直接
拡大機能を実行することが出来る)指示された“漢”の
コードで、CGより文字パターンを取出し表示開始座標点
(FDK,FDJ)ZOOM値、表示パターン設定、表示指示等BIO
コマンドをGDCに対し発生する。 この一連の動作によって(ホ)の如く、P座標(2,
1)に縦横2倍の“漢”文字が表示される。さらに、
“字”も同様に表示されるが、CHAR制御で、“漢”
“字”表示の為のコマンドを発生すれば、“漢字”が表
示される。これらのaCats制御、CHAR制御は一般的に
はLIOに組み入れられる。 第13図はCats座標制御方式を採用した一応用例を示し
ている。第13図(A)はこの機能ブロックと系統の概略
図で、記号は第1図の構成と同じである。第13図(B)
はキー入力指示手段1′より入力されたキーの例であ
り、この手続きに従って動作の説明をする。まず第13図
(B)(イ)に示す様に手段13′によって、“Cats"Key
が入力され、12′よりCats機能指示(第9図に指示例が
記述されている)“4"に続いて、KSIZ“10"、JSIZ“5"
が入力されると、Cats制御手段47(又はモード変換手段
46)により、CATSにP座標情報を保持し、Cats座標制御
57により各種座標管理保持手段62(特にKSIZ,JSIZ)を
更新する。次に(ロ)に示す様に手段13′による“Cat
s"と手段12′による“3"Keyとが入力されると、47は
“B座標モード”をCATSに設定する。次に(ハ1)に示
す様に位置変更手段11′より“移動Key"が入力される
と、Cats座標制御57は第3図に示す動作を行う。 次にカーソル表示制御手段59を動作し、Bカーソルを
手段62の保持値で表示する。次に(ハ2)で示す様に、
手段12′より“猫”文字が入力されると、データ表示手
段(記号省略)により、CRT9上に“猫”文字が表示され
る。次に、手段13′より“拡"Keyが入力されると、拡大
制御手段が動作し、手段62の保持値を参照してCRT9上に
拡大対象文字“猫”を表示する(図中(ニ1)で示す。
次に(ニ2)で示す様にBカーソルを移動し、(ホ)で
示す様に手段13′と手段12′によりP関数表字指示を入
力すると、Cats座標制御57が働き、Bカーソルで位置付
けられたP座標を表示する。又、(ヘ)は、このP座標
を移動する座標変更指示である。次に(ト)に示す様に
手段13′より“X"Key(表示P指有表の決定指示手段)
が入力されると、編集制御手段(記号省略)が動作し手
段62の保持値を参照して、仮想ドット及びVDカーソルを
編集保持し、拡大表示制御58の動作により、図中(ト)
で示すCRT9上に拡大表示する。 次に(チ)で示す様に、手段1′より仮想ドット座標
が指示されて(リ)で示す様に移動指示Keyが入力され
ると、Cats座標制御57が第3図(C)の如く動作しかつ
VDカーソル制御(揮毫省略)によって、拡大表示領域中
でVDカーソルが移動し、(リ1)の様に手段12′よりデ
ータ入力があると、拡大表示手段58と同様な表示でVDデ
ータを表示する。 手段13′よりの“セット”、“リセット"Key入力は、
拡大表示の終了制御指示Keyである。また、“登"Key
(図示せず)は、CGへの保持登録指示、“バラ”は拡大
修正文字(画像)をカーソル情報(CKM,BKMやVDカーソ
ル保持記憶)として登録する指示Keyである。 発明の効果 以上説明したように本発明は、一連のCats座標制御を
用いる事により、グラフィックス座標位置認識手段とし
て、従来のドット座標管理(又は制御)に加え、文字座
標位置(C座標、B座標)だけでなく文字座標をさらに
拡大したP座標位置によって各々独立して位置認識でき
るので、数量的に大量かつ細かなドット位置を認識する
ことなく、C座標、B座標、P座標を指定し、領域認識
又は位置認識させることができる。更に、各領域内での
ドット座標(P座標の場合、仮想ドット(VD)座標)を
容易に制御できるのでDカーソルにより各領域内で細か
い線図形を描画できる効果がある。 又各座標(D座標を除く)をドット単位に移動した座
標管理も可能であり、C座標、B座標で位置認識される
P座標値を発生し、その領域を表示することも容易であ
る。 さらに、従来、手続文は全てドット座標値を指示して
いるが、Cats座標制御方式を取り入れると、例えば、PS
ET(X,Y)文で指示される位置(X,Y)を各モードによっ
て、D座標/C座標/B座標/P座標/VD座標上での位置とし
て取り扱い、ドットに表示したり、C領域/B領域/P領域
/VD領域にぬりつぶしたりする等の動作が期待できる。
又、異なる座標間への画像移送(例えば8座標位置画像
をP座標位置へ拡大移送する等)を座標位置を指定して
容易に実行できる。
Description: TECHNICAL FIELD The present invention relates to a graphics coordinate control device, and particularly
CRT (cathode ray tube) using an information processing device such as a computer
And image printers, and display devices such as XY plotters.
Manages the drawing position when drawing images (characters, figures)
The present invention relates to a graphics coordinate control device for controlling. 2. Description of the Related Art Conventionally, this type of coordinate control device requires a computer to perform a procedure.
By incorporating (programming), character position recognition is
It is managed and controlled by the strike coordinate system, and the dot position recognition is
Management control is performed in the central coordinate system, and both management control mechanisms
Is configured independently. Here, a CRT device equipped with high-resolution graphics
The relationship between the dots (pixels) and the text (character) area
It is as shown in FIG. Each text displayed on the CRT
As a strike, 2-byte text as shown in Fig. (B)
Then, the 2-byte text is vertically
1-byte text that is divided into two by the dividing line in the direction
Yes, generally text with a set of dots
Is represented (see FIG. (D)). The text display area is 16 dots vertically for 2-byte text.
Occupies 16 dots in the horizontal direction (16x16)
You. Text position when displayed on this text screen
Is within the range of 25 lines vertically and 40 columns horizontally (25 lines x 40 columns) (A)
It is expressed numerically as in the example. In the case of 1-byte text, 16x8 dots worth of text
As the display area, the text position within the range of 25 lines x 80 columns
Is expressed. 1-byte text and 2-byte text
When mixed with a list of text, it is usually 25 lines x 80 columns of text
It is generally expressed by position. On the other hand, the dot position on the CRT screen is as shown in the example in Fig. (A).
It is expressed numerically within the range of 400 × 640. In the description below
Represents these positions by (vertical numerical value, horizontal numerical value)
I decided to. In this example, the 2-byte text is 16x16 dots.
In the case of occupying the
Of course, you can also occupy many dots.
is there. By the way, recent text input devices such as Japanese word processors
At, the position of the character data on the CRT screen is recognized as a character position.
The cursor can be moved and positioned, and then executed.
However, even in graph creation input, the pixel is special
You can use the position recognition cursor to recognize the position or directly
It is also practiced to indicate the setting numerically. However, for pixel position recognition, for example (0,
Equivalent to move the cursor from point 0) to point (0,539)
Takes a lot of time, and the pixel position is directly indicated by a numerical value.
That is a hassle. It uses text memory and graphics memory
Independently configured, text coordinate system and graphics as described above
It is caused by the independent control of the x coordinate system.
is there. Also, within the area recognized by the character position recognition cursor
Move the dot position recognition cursor to control it within this area.
It is also not possible to draw thin figures, characters, etc.
In addition, in order to see thin letters and figures more clearly
It is also impossible to control the enlarged display of these. SUMMARY OF THE INVENTION The present invention is directed to a pixel position recognition cursor and a character position recognition car.
Pixel position recognition car
The sol is linked to the character position recognition cursor.
With, the pixel position can be recognized easily and surely.
To provide a customized graphics coordinate control device
And Another object of the present invention is to recognize with a character position recognition cursor.
The recognized area can be expanded and
And the pixel position recognition cursor can be freely set in the enlarged area
A graphics coordinate control device that controls movement
To provide. Configuration of the Invention A graphics coordinate control device according to the present invention is
The pixel of the display device is used as a drawing entry on the surface.
Move and recognize the position as dot position coordinate management control hand
Move in units of a character area consisting of columns and multiple pixels, and
A graph having character position coordinate management control means for position recognition.
A fixed coordinate control device, wherein the character area is vertically and horizontally
Coordinate system with the first area enlarged to the desired magnification as a unit
Position of the first area in (hereinafter referred to as P coordinate system)
In the dot coordinate system obtained by the first position indicating
A first starting point, and the first starting point and the first region 1
The first end point in the dot coordinate system obtained based on the position
A region consisting of the first start point and the first end point
(Hereinafter referred to as P area) as a unit on the display screen
P coordinate control means for controlling movement and position recognition, and the pixel
The second area obtained by enlarging the
In the coordinate system (hereinafter, virtual dot coordinate system)
Indicates the position of the second region from the first start point of the region
The dot moved by the amount specified by the second position
A second starting point in the coordinate system, the second starting point and the second
In the dot coordinate system obtained based on one unit of the area
A region consisting of the end point of 2 (hereinafter referred to as virtual dot)
Virtual dot coordinates that can be freely moved and recognized as a unit
And control means. Next, the present invention will be described with reference to the drawings. FIG. 1 (A) is an overall structural block of one embodiment of the present invention.
FIG. CPU4 is a processor such as a microcomputer
In the case of this configuration, various control means (function blocks
11 to 59) are controlled by this CPU.
You. 9 is a CRT device. 8 has graphics function
It is a CRI control mechanism provided. 3 is a system bus mechanism
Of the storage device (RAM) 6 and data under the control of the CPU 4.
It is given and received. 71 is G-RAM (graphics memory), 72 is character
Kuta Generator (CG), 73 is a virtual text memory (T
-RAM). Cursor display control 59 and cursor information storage
The holding memory 64 is a means for controlling the display of the position recognition cursor,
The enlargement display control 58 is image enlargement control means. 61 to 62 are various information holding memories, and generally,
It is stored as a storage device 6. Also, external storage device
(Not shown in the figure). 1 and 1 ′ are various operation instruction means,
Connected to the system bus 3 via the ace mechanism 2 to the CPU 4
Therefore, it works. Especially, 1'is a key input means,
Sol movement instruction means 11 ', character input means 12', various function fingers
It has an indicating means 13 'and a mode switching means 10', and the input data is
It is held in the data holding memory 61, and by the Key analysis means 45.
The graphics coordinate control means 57 operates. 1 is a finger
Shows the means to give the procedure (language, sentence) as an indication means,
By the processor (indicated by procedural analysis 42 in the figure)
Then, it becomes the operation instruction means 43, and the graphics coordinate control
Means 57 operate. FIG. 1 (B) is a block diagram showing the configuration of the operation instructing means 43.
Is shown. That is, the graphic characterizing the present invention
As the operation instruction means for the coordinate control means 57,
There is an input means 1 or a key input means 1 '. In particular, the procedure
Since the input instruction means 1 is effective, please refer to the following explanation.
The procedure input instruction means 1 will be described as an operation instruction means.
You. Note that 61 'in FIG. 1 (B) is the date given in the procedure statement.
Is a storage unit that holds data. FIG. 9 shows a graphic coordinate control which is a feature of the present invention.
One example of the procedure instruction of the device is stored, so the following explanation
Should be referenced in a timely manner. The explanation and
In the drawings, the coordinates may be expressed as a cursor. Next, regarding the configuration of the embodiment showing the features of the present invention, FIG.
This will be described with reference to FIG. In FIG. 2 (A), the graphics coordinate control means 57 operates.
The coordinate management information holding means 62 to be controlled is shown in a detailed system.
FIG. (Indicated by block (a) in the figure)
CATS (meaning enlargement) 621 (with configuration diagram below
The serial number is omitted) indicates the Cats instruction state described later in FIG. 3 (B).
(KSIZ, JSIZ) is a storage unit that holds
Large size (horizontal enlargement instruction value, vertical enlargement instruction value) is retained
It is a storage unit. (MOD), (CK, CJ), (BK, BJ), (DK, DJ), (RK, R
J) is (mode hold memory), (C cursor position hold record)
Memory), B cursor position hold memory), (D cursor position hold
Holding memory), (linked cursor position holding memory)
Each position is represented by (horizontal direction, vertical direction). (D)
(TX, TY), (DX, DY), (RX, RY) in the block are
Holds and stores the management range of rafix coordinates.
(Character range), (Dot range) (Linked cursor range
(Enclosed or character area configuration dot). Furthermore, (PK, PJ) is the Cats coordinates described later in FIG. 3 (B).
In the holding memory, (PX, PY) shown in (d) is the management
It is a range holding memory. (C) is on-screen or G-RAM
Represents the upper coordinates, where K / X is the horizontal value and J / Y is the vertical value.
This is an example of taking the origin (0,0) in the upper left corner with a numerical value.
Ming will be explained with this coordinate specification (Also an example where the origin is in the lower left corner
is there. ). The area indicated by (e) is shown in FIG.
In the Parts coordinates (also called Cats coordinates) described below, the position is
(PK, PJ), the region is (FP-TP), (start
Point-end point). This area is called the P area. FP is expressed by the dot position (FDK, FDJ) and TP is the dot
It is represented by the position (TDK, TDJ). (F) and (G) are subordinate
2-byte character area and 1-byte system known in the past
It is a character area (abbreviated as B area and C area, respectively).
Position is (BK, BJ), and the area indicated by (CK, CJ) is (FB-
TB) and (FC-TC). FB, TB, FC, TC are dots
It is expressed by the position start point and end point. Carea, Barea, VDarea (virtual dot area in P area
Areas) indicate the coordinate position of each block.
Area is calculated using the mathematical law, and the area start and end points are
This is the block to hold (the area holding memory is 644 blocks in the figure).
Is indicated by a clock). Fig. 2 (B) shows each mode
The character position and the area calculation formula are shown. (B) shows the illustration given by the position change instruction means
In the change instruction, specify the numerical value (indicated by XY in the figure) and move.
Dynamic designation (indicated by + 1 / -1 in the figure). The numerical designation
Set the "X" and "Y" values, and specify the movement by moving the cursor, for example.
Dynamically add or subtract "1" to the current "X" or "Y" value
Is what you do. In the figure, Comp indicates a comparison of movement ranges. (H) is the control information instruction means of the CRT (for example,
There are words) and specify P, XM, YM, etc. Note that P
Is the number of horizontal addresses, XM, YM is the end point position, XM, YM
Is usually the same value as DX and DY. (Ri) is LIO (Loyical
Input Output) or BIO (Basic Input Outpu)
It may be considered as t)). In addition, including the configuration (a) of this embodiment in the LIO of (ri)
It can also be configured. (Nu) is the position between (i) and (ri)
Shows the placement information, all are converted to dot coordinate values, and
Indicates that it will be passed. With this dot coordinate value,
It is converted into EAD and dAD in (i) and G-RAM71 coordinates in GDC.
The control is executed and displayed at the coordinates of CRT9. Referring now to the drawings, the graphics seat according to the present invention
The operation and action of the standard management system will be described in detail. FIG. 3 shows the operation of the C coordinate control 48 and the B coordinate control 49 of FIG.
It is a production system diagram. Of the mode conversion means 46 according to the mode instruction
MOD is set to "C" mode or "B" mode by operation (Fig.
Operation indicated by middle a)), by position change instruction (CK, C
J) or (BK, BJ) is added or subtracted by +1 (operation a
B), preset (this is indicated by the symbol INIT)
If it is in the range of (TX, TY) (operation a), (CK, CJ) or
(BK, BJ) is updated (operation a) and Carea or Ba
Area C or B is set by rea calculation (operation a).
Is determined (to action a). In this figure, the procedure for instructing mode
The stage is not limited to the key input device, but can be
Since the coordinates can be managed, it is shown intentionally. Also the position
If the "X" and "Y" values are specified by the means for instructing the change
In that case, update (CK, CJ) or (BK, BJ) with that "number".
However, the C or B area is also set. FIG. 3 (B) shows the graphics coordinates in the C area or the B area.
Area that is arbitrarily expanded in units of area (This is
Area or P area, and these coordinates are Parts coordinates or Cat
It is called the s coordinate) and the P seat of FIG.
6 is an operation system diagram of the target control 51. FIG. This instruction means Cats instruction
Call. In addition, the Cats instruction is the horizontal expansion value (KSIZ), vertical direction.
Give the direction magnification value (JSIZ) and position indications "X" and "Y". This
An example of these pointing means is described in detail in FIG.
I have. The Cats control means 47 causes the instructions from the Cats instruction means to be
First, the Cats mode is stored in the CATS storage memory (b
A), "Instruction value" is held in KSIZ and JSIZ (b). Next
To PX, PY according to Equation 2 (shown in FIG. 2B).
Holds the "calculated value" in (b), and then the designated position
If (“X”, “Y”) is in the range of PX, PY, “Instruct to PK, PJ”
Holds the value "(b). Next, hold various values according to the system shown in the figure.
P area start point and end point by Parea calculation formula with reference to memory
Is held in FP and TP (b). In addition, the position changing means
Update the "hold value" of PK and PJ as in the above operation (a)
It can also be done (b). Also, KSIZ value and JSIZ value are the same
If it is, the “numerical value” is stored in the ZOOM storage memory.
(B). Fig. 3 (C) is the interlocking coordinate in C mode and B mode.
Control or virtual dot coordinate control in Cats mode (1st
In the figure, it corresponds to the VD coordinate control 52). When the interlocking mode instruction is given by the mode instruction
The mode holding information (for example, "R") is held in MOD. Further
For example, "D1" is set to MOD by D mode instruction
(Operation c). (If you have Cats instructions, mods are examples
For example, "D2" is set. MOD included in CATS in Figure 4
Example of retained information). Next, (RK, RJ) is cleared to "0" (c). Next place
“Value” within the range of (RX, RY) according to the instruction of the change means
And update (RK, RJ) (c). This operation is shown in Fig. 3.
It is equivalent to (b-d) and (b-f). Next, according to the system shown
With reference to various holding storage states, the VDarea calculation formula
Keep the start and end points of the virtual dot area (VD area) in FV and TV
Yes (c). On the other hand, in Cats mode, “KSIZ value”
Since "2" or more is given as the "JSIZ value", FV-
The virtual dot area with the area exposed on the TV is retained. FIG. 4 shows that Cats control means 47 and mode conversion means 46 are integrated.
Then, the instruction information as Cats control means is stored in CATS.
This is an embodiment of the present invention and represents CATS holding information.
With such a configuration, the combination of various modes is held in CATS
And the control becomes convenient. In this way Cats instructions are unified
Graphics coordinates control system Cats coordinates
It is called a control method. FIG. 5 (A) shows a means for moving Cats coordinates, a structure and a movement.
In the system diagram showing the operation, the operation of the coordinate movement control 53 in Fig. 1 is shown.
doing. First, when the coordinate movement instruction means is given, the instruction is given to CATS.
Holds information (indicating Change in Fig. 4) and indicates "indicated value"
(“Horizontal movement value (± X)”, “Vertical movement value (±
Y ")) is the range calculated by Equation 3 (the equation is shown).
If it is within the range, the "hold value" of (Kup, Jup) (initial value is
Add (+/-) to "0" and update (Kup, Jup)
You. This (Kup, Jup) is a "dot value" and is shown in Fig. 3.
In the area calculation of (A) to (C) (shown by (A) in the figure)
It is a holding memory that is an element. Specifically, FC / FB / FP / FV
"Value" of Kup to "value" of each starting point (FDK, FDJ) of
Add the "value" of Jup and set the start point of each (FDK value + Kup
Value, FDJ value + Jup value) and update the end point (TDK value + Kup)
Value, TDJ value + Jup value). Fig. 5 (B) shows an example of action in which the coordinates are moved in Part coordinates.
did. In the figure, the P region located at (2,1) is (Ku
p, Jup) value moves on screen coordinates (on G-RAM coordinates)
It indicates that. More specifically, (a)
P region (2,1) to be processed is (Kup, Jup) = (+ 1, + n)
Move to move to position (b). Also indicated by (c)
P region (3,2) is moved by (Kup, Jup) = (+ 1, -n)
And move to position (d). FIG. 6A shows the current C cursor position and B cursor.
Control for generating the P coordinate value to which the position belongs (in FIG. 1, the phase
It is an operation system diagram of the function P coordinate control 55). First, P function finger
When the indication is given, the instruction information (in the P function of FIG.
(Shown), and CATS shows C mode, B mode
(And D mode) or RX “numerical value” determines the mode
(Operation (a)). Refer to each holding memory shown in the system diagram
Then, according to Equations 1 to 6 (shown in FIG. 2B and this figure)
Generate P coordinate position (“PK value”, PJ value ”)
Transfer to the stage (operation (b)). The system according to Equation 6
Is not the feature of this method, but C mode, B mode
Both of these coordinate control methods, especially the system control of FIG. 3 (A),
Since the area start point (FDK, FDJ) is held, the system of Equation 6
Alternatively, the P-coordinate position may be generated. In addition, the P function has coordinates
Display instruction (this is called FLAG and the embodiment is shown in FIG. 6C).
If there is a description), update (PK, PJ) with the P coordinate generation value
You can also display a rectangle at the P coordinate position.
Wear. (Operation (C)). A specific example is shown in FIG. 6 (B).
Was. That is, in the P coordinate system of (KSIZ, JSIZ) = (3,4)
Is the P coordinate value to which the position (10,10) in C mode belongs
As a result, (PK, PK) = (3,2) is generated. FIG. 7 (A) is a graph shown in FIG. 1 and FIG. 2 (A).
The fixed coordinate management information holding means 62 can be used for various holding memories.
Coordinate values that enable forced reading of that value and forced setting.
7 is an operation system diagram of setting control 54. FIG. First, the coordinate value setting instruction
Is given, it must refer to CATS
If so, the CATS stores instruction information (indicated by R / W in FIG. 4).
According to the instructed FLAG, the coordinate information holding means 62
Various holding memory can be updated with "instruction value" or "holding information"
A value "is generated and transferred to the instructing means.
(B) shows a configuration example of this FLAG. R / shown in FLAG
W is the operation instruction of “holding value” reading / “holding value” updating
, Area reads "area holding value" (area cannot be updated)
Instructor, Counter gives an operation instruction for storing retained information other than the area
Show. An operation example is shown in FIG. 7 (B). Fig. 2
Perform the same operation for the information held in (d).
Is also possible. Figure 8 (A) shows the coordinate chain system that connects the coordinate systems.
FIG. 5 is an operation system diagram of a controller 56 (shown in FIG. 1). The
Each coordinate in D-coordinate control (D coordinate, C coordinate, B
Coordinates and P coordinates) are independently controlled. Fig. 8
(B) is this explanatory view. Coordinate Chain Control 56 is directed
Lower coordinate linked to higher designated coordinate according to the generated FLAG information
Update the lower coordinate with the value (The lower coordinate is the upper coordinate range.
Coordinates included in the area, P coordinates> B coordinates> C coordinates> D coordinates
Has a relationship). The concrete operation of linking has already been described.
In the mathematical formula, the lower "Za" that includes the starting point of the upper area
The operation of updating the coordinates with the "standard value" is executed. As shown in FIG.
Indicated and C cursor at (CK, CJ) by control 56
At the C coordinate position (30,10) belonging to the area of P (10,5)
It shows the connected concrete. Next, regarding the application example of the graph drawing by this method,
Will be described with reference to the drawings. Figure 10 (A) shows the syntactic structure of language sentences (
There is no convention to divide a called language sentence into such a structure.
,), The instruction part, the first parameter part, and the second part for convenience of explanation.
Separate into the parameter section. The syntax of the figure specifies coordinate position and area.
The command and the parameter to be set are shown. Both are
It is specified based on the coordinate values (shown by (a) in the figure)
Type (a), (b)). On the other hand, in the CATS control system
Area can be specified by model (c) as shown in (b)
become. That is, in the CATS control method, the area designation is easier.
It will be easier. Also, (c) is a normal function in the CATS control method (conventional
It shows that it performs a different function (from the function shown in the example).
You. Figure 10 shows an example of a language sentence and its operation under conventional coordinate control.
An example, and an example of a language sentence and its movement under Cats coordinate control.
It is the figure which compared with the example and demonstrated. In model (a)
Then, during the "Cats0,1" instruction shown in Fig. 9,
It works ((a) in Figure 10.1). "Cats2,3,4"
Each parameter shows C coordinate, B coordinate, P coordinate,
Position at that coordinate, paint on the area, or start area
Draw between (dot coordinates) or paint between designated areas.
It becomes possible to move. Also, while instructing "Cats5", P area
Various operations can be executed for virtual dot coordinates in the area.
For example, (b) and (c) in Figure 10.1 correspond to virtual dots.
, Which indicates that the pattern has been set. Model
In (b), while the "Cats0,1" is instructed,
Function. Area specified by character position during "Cats2,3"
Functioning (see Figure 10.5 for a concrete example). The “Cats4” instruction may have the movement function shown in FIG. 10.6.
The type (c) corresponds to the instruction of the conventional type (b).
For the coordinate position in the Cats 2,3,4 instruction
The area is the functional target. Type (d) indicates coordinate
It is a function instruction that does not have, different from normal function during Cats 2, 3, 4 instructions.
Will be performed. Figure 10.3 shows the operation of the character expansion function.
It is a figure which shows a difference. Characters by P coordinate under Cats control
It becomes possible to enlarge the display. Figure 10.4 shows the rectangular display function.
, A rectangular table for the coordinate area specified by Cats2, 3, 4, and 5.
It becomes possible to show. Figure 11 shows an application example in which this device was easily incorporated into conventional control.
It is a figure explaining an example. Cats coordinate control is a virtual coordinate tube
It is used as a means of reason. Figure 11 (A) shows the character expansion system
An example of executing control using this device will be shown. In the figure, B seat
Control the enlargement of the target (5,10) area to the P coordinate (0,0).
It is shown (see FIG. 11 (B)). Figure 11 (C) shows
This is an example of a procedure in which a higher-level language procedure has been assembled.
When deployed by Sessa, the same procedure as in Procedure Example 1
You can think of it. FIG. 12 shows a first example of an application example incorporating the present apparatus.
It is a figure explaining operation | movement of the structure shown in the figure. (A) is a hand
Continuation instruction means, (C) procedure, (B) instruction data retention record
I remember. First, by the Cats instruction (CATS4),
(D) The Cats coordinate control 57 operates, and according to the instruction data,
Update various information holding means 62 (CATS, JSIZ, PK, PJ, FP, etc.)
You. In this example, KSIZ = JSIZ and "2" is held in ZOOM
Is done. Cats is a coordinate control only command to GDC
Does not occur (you may issue a command to GDC
However, (()) CHAR control (No.
1 corresponds to the enlarged display control 58), and the position
Since there is an instruction parameter, Point is given from the inside.
Next, since a valid value is set in ZOOM (directly from GDC
(Can execute the enlargement function)
Use code to extract character pattern from CG and start display coordinate point
(FDK, FDJ) ZOOM value, display pattern setting, display instruction, etc. BIO
Issue a command to GDC. By this series of operations, as shown in (e), the P coordinate (2,
In 1), "Kan" characters that are double the height and width are displayed. further,
"Characters" are displayed in the same way, but with CHAR control, "Kan"
If a command for displaying "Kanji" is issued, "Kanji" will be displayed.
Is shown. These aCats control and CHAR control are generally
Will be incorporated into LIO. Fig. 13 shows an application example that adopts the Cats coordinate control method.
ing. Figure 13 (A) is a schematic of this functional block and system.
In the figure, the symbols are the same as in the configuration of FIG. Figure 13 (B)
Is an example of a key input from the key input instruction means 1 '.
Then, the operation is explained according to this procedure. First, Fig. 13
(C) "Cats" Key by means 13 'as shown in (B) and (B)
Is input, and the Cats function instruction is given from 12 '(the instruction example is shown in Fig. 9).
(Described) "4" followed by KSIZ "10", JSIZ "5"
Is input, Cats control means 47 (or mode conversion means
46) holds P coordinate information in CATS and controls Cats coordinates
57 various coordinate management holding means 62 (especially KSIZ, JSIZ)
Update. Next, as shown in (b), "Cat
When s "and" 3 "Key by means 12 'are input, 47 becomes
Set "B coordinate mode" to CATS. Next, as shown in (C1)
"Move Key" is input from the position changing means 11 '
Then, the Cats coordinate control 57 performs the operation shown in FIG. Next, the cursor display control means 59 is operated to move the B cursor.
The value held by the means 62 is displayed. Next, as shown in (C2),
When the "cat" character is input from the means 12 ', the data display
The "cat" character is displayed on the CRT9 due to the step (symbol omitted).
You. Next, when the "expansion" Key is input from the means 13 ', the expansion
The control means operates and refers to the held value of the means 62 and displays it on the CRT9.
The enlargement target character "cat" is displayed (indicated by (D1) in the figure.
Next, move the B cursor as shown in (d2), and press (e).
As shown, input the P-function character designation by means 13 'and means 12'.
When you press it, the Cats coordinate control 57 will work, and position it with the B cursor.
Display the P coordinate that was set. In addition, (F) is the P coordinate
Is a coordinate change instruction for moving. Next, as shown in (g)
"X" Key from means 13 '(means for instructing determination of display P finger table)
When is input, the editing control means (symbol omitted) operates
Refer to the value held in column 62 and move the virtual dot and VD cursor.
Edited and held, and by the operation of enlarged display control 58, (g) in the figure
Enlarged display on CRT9 shown in. Next, as shown in (h), the virtual dot coordinates from the means 1 '
Is indicated and the move instruction key is input as shown in (i).
Then, the Cats coordinate control 57 operates as shown in FIG.
In the enlarged display area by VD cursor control (volatilization omitted)
The VD cursor moves with, and the device 12 '
If there is data input, the VD
Display the data. The "set" and "reset" key inputs from the means 13 'are
This is an end control instruction key for enlarged display. Also, the "Registration" Key
(Not shown) is an instruction to hold and register to CG, and "rose" is expanded
Corrected characters (images) are displayed as cursor information (CKM, BKM or VD
This is an instruction key to be registered as a (retention memory). As described above, the present invention provides a series of Cats coordinate control.
By using it as a graphics coordinate position recognition means
In addition to the conventional dot coordinate management (or control),
Not only the position (C coordinate, B coordinate) but also the character coordinate
The position can be recognized independently by the enlarged P coordinate position.
Therefore, it is possible to recognize a large number of fine dot positions quantitatively.
Area recognition without specifying C coordinates, B coordinates, and P coordinates
Alternatively, the position can be recognized. Furthermore, within each area
Dot coordinates (for P coordinates, virtual dot (VD) coordinates)
Since it can be easily controlled, you can use the D cursor
The effect is to draw a solid line figure. In addition, the coordinates of each coordinate (excluding D coordinate) are moved in dot units.
Mark management is also possible, and the position is recognized by C and B coordinates.
It is easy to generate P coordinate values and display the area.
You. Furthermore, conventionally, all procedural statements specify dot coordinate values.
However, if you adopt the Cats coordinate control method, for example, PS
The position (X, Y) pointed to by the ET (X, Y) sentence is changed according to each mode.
The position on the D coordinate / C coordinate / B coordinate / P coordinate / VD coordinate.
And display it in dots, C area / B area / P area
/ VD area can be expected to be filled.
Also, image transfer between different coordinates (eg 8 coordinate position image)
To the P coordinate position, etc.) and specify the coordinate position
Easy to do.

【図面の簡単な説明】 第1図(A)(B)は本発明の一実施例の全体構成図、
第2図(A)は第1図の座標管理情報保持手段を、グラ
フィック座標制御手段の動作と系統付けた系統図、第2
図(B)は同座標制御で計算される位置と領域の計算式
を示す図、第3図(A)は第1図のC座標制御手段及び
B座標制御手段の系統動作を説明する図、第3図(B)
は同じくP座標制御手段の系統動作を説明する図、第3
図(C)は同じくVD座標制御手段の系統動作を説明する
図、第4図はCats保持情報の構成例図、第5図(A)
(B)は第1図の座標移動制御手段の系統動作を説明す
る図、第6図(A)、(B)、(C)は同じく相関P座
標制御手段の系統動作を説明する図、第7図(A)
(B)は同じく座標値設定制御手段の系統動作を説明す
る図、第8図(A)(B)(C)は同じく座標連結制御
手段の系統動作を説明する図、第9図はCats制御手続き
指示例を示す図、第10図(A)(B)、第11図(A)
(B)(C)、第12図、第13図(A)(B)は本発明に
よるCats座標制御方式を取り入れた応用実施例を説明す
る図、第14図(A)〜(D)はCRT表示の画素と文字領
域との関係を示す図である。 主要部分の符号の説明 1……手続入力手段 1′……キー入力指示手段 4……CPU 6……RAM 8……GDC 9……CRT 43……手続指示手段 48……C座標制御手段 49……B座標制御手段 51……P座標制御手段 52……VD座標制御手段 53……座標移動制御手段 54……座標値設定制御手段 55……相関P座標制御手段 56……座標連結制御手段 62……座標管理情報保持手段
BRIEF DESCRIPTION OF THE DRAWINGS FIGS. 1 (A) and (B) are overall configuration diagrams of an embodiment of the present invention,
FIG. 2 (A) is a system diagram in which the coordinate management information holding means of FIG. 1 is systematized with the operation of the graphic coordinate control means.
FIG. 3B is a diagram showing the formulas for calculating the position and area calculated by the same coordinate control, and FIG. 3A is a diagram explaining the system operation of the C coordinate control means and the B coordinate control means of FIG. Fig. 3 (B)
Is a diagram for explaining the system operation of the P coordinate control means, and FIG.
FIG. 4C is a diagram for explaining the system operation of the VD coordinate control means, FIG. 4 is a structural example diagram of Cats holding information, and FIG. 5A.
(B) is a diagram for explaining the system operation of the coordinate movement control means of FIG. 1, and FIGS. 6 (A), (B), and (C) are diagrams for explaining the system operation of the correlated P coordinate control means. Figure 7 (A)
8B is a diagram for explaining the system operation of the coordinate value setting control means, FIGS. 8A, 8B and 8C are diagrams for explaining the system operation of the coordinate connection control means, and FIG. 9 is a Cats control. Figure showing example of procedure instruction, Figure 10 (A) (B), Figure 11 (A)
(B), (C), FIG. 12, and FIG. 13 (A) and (B) are diagrams for explaining an application example incorporating the Cats coordinate control method according to the present invention, and FIGS. 14 (A) to (D) are It is a figure which shows the relationship between the pixel of a CRT display, and a character area. Description of symbols of main parts 1 ... Procedure input means 1 '... Key input instruction means 4 ... CPU 6 ... RAM 8 ... GDC 9 ... CRT 43 ... Procedure instruction means 48 ... C coordinate control means 49 B coordinate control means 51 P coordinate control means 52 VD coordinate control means 53 Coordinate movement control means 54 Coordinate value setting control means 55 Correlation P coordinate control means 56 Coordinate connection control means 62 ... Coordinate management information holding means

Claims (1)

(57)【特許請求の範囲】 1.表示画面上の描画エントリーとして、該表示装置の
画素を単位として移動かつ位置認識するドット位置座標
管理制御手段と複数の画素からなる文字領域を単位とし
て移動かつ位置認識する文字位置座標管理制御手段とを
有するグラフィックス座標制御装置において、 前記文字領域を縦横に所望の倍率に拡大した第1の領域
を単位とした座標系(以下、P座標系という)において
該第1の領域の位置を示す第1の位置により得られる前
記ドット座標系での第1の始点と、該第1の始点および
前記第1の領域1単位分を基に得られる前記ドット座標
系での第1の終点とを生成し該第1の始点と該第1の終
点とからなる領域(以下、P領域という)を単位として
前記表示画面上の移動や位置認識を制御するP座標制御
手段と、 前記画素を縦横に前記所望の倍率に拡大した第2の領域
を単位とした座標系(以下、仮想ドット座標系)におい
て前記P領域の前記第1の始点から前記第2の領域の位
置を示す第2の位置により指定される量だけ移動した前
記ドット座標系での第2の始点と、該第2の始点および
前記第2の領域1単位分を基に得られる前記ドット座標
系での第2の終点とからなる領域(以下、仮想ドットと
いう)を単位として自在に移動かつ位置認識する仮想ド
ット座標制御手段とを含むことを特徴とするグラフィッ
クス座標制御装置。 2.前記所望の倍率を保持する保持手段を含むことを特
徴とする請求項1記載のグラフィックス座標制御装置。
(57) [Claims] As a drawing entry on the display screen, dot position coordinate management control means for moving and recognizing the pixel of the display device as a unit, and character position coordinate management control means for moving and recognizing the character area consisting of a plurality of pixels as a unit. A graphics coordinate control device having a first coordinate indicating a position of the first region in a coordinate system in which a first region obtained by enlarging the character region vertically and horizontally to a desired magnification is used as a unit (hereinafter referred to as a P coordinate system). A first start point in the dot coordinate system obtained by the position 1 and a first end point in the dot coordinate system obtained based on the first start point and one unit of the first area. Then, a P-coordinate control unit that controls movement and position recognition on the display screen in units of an area (hereinafter, referred to as a P area) formed of the first start point and the first end point, and the pixels in the vertical and horizontal directions. Designated by a second position indicating the position of the second area from the first start point of the P area in a coordinate system (hereinafter, virtual dot coordinate system) in which the second area enlarged to a desired magnification is used as a unit. And a second end point in the dot coordinate system obtained based on the second start point and one unit of the second area. A graphics coordinate control device comprising: virtual dot coordinate control means for freely moving and recognizing a position in units of regions (hereinafter referred to as virtual dots). 2. 2. The graphics coordinate control device according to claim 1, further comprising holding means for holding the desired magnification.
JP60101026A 1985-05-13 1985-05-13 Graphic coordinate controller Expired - Lifetime JP2680805B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60101026A JP2680805B2 (en) 1985-05-13 1985-05-13 Graphic coordinate controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60101026A JP2680805B2 (en) 1985-05-13 1985-05-13 Graphic coordinate controller

Publications (2)

Publication Number Publication Date
JPS61259290A JPS61259290A (en) 1986-11-17
JP2680805B2 true JP2680805B2 (en) 1997-11-19

Family

ID=14289678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60101026A Expired - Lifetime JP2680805B2 (en) 1985-05-13 1985-05-13 Graphic coordinate controller

Country Status (1)

Country Link
JP (1) JP2680805B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5736595B2 (en) * 1974-06-14 1982-08-04
JPS57185479A (en) * 1981-05-11 1982-11-15 Hitachi Ltd Position specifying system for display unit

Also Published As

Publication number Publication date
JPS61259290A (en) 1986-11-17

Similar Documents

Publication Publication Date Title
US4823303A (en) Display control apparatus for use in composite document processing apparatus
EP0259827A2 (en) Display apparatus
US4529978A (en) Method and apparatus for generating graphic and textual images on a raster scan display
US5745098A (en) Method and apparatus for scroll displaying an image on screen
KR890003033B1 (en) Listing system
EP0100798A1 (en) Computer aided design system
JP2680805B2 (en) Graphic coordinate controller
JP2692720B2 (en) Enlargement / reduction display control method of window figure
JP3228952B2 (en) Information processing device and display control circuit
JPS63108388A (en) Image processor
JPH0522933B2 (en)
JPS6228829A (en) Tablet input information processor
JPH02294687A (en) Cursor controller
JPS6355097B2 (en)
JPH0318999Y2 (en)
JP2564779B2 (en) Character output device
JP2560999B2 (en) String output method
JP2564778B2 (en) Character output device
JPH04354069A (en) Picture processor
JP3102979B2 (en) Document information processing device with ruled line conversion function
JPH06266706A (en) Word processor with character size changing function
JPH07121349A (en) Cursor display controller
JPH0728790A (en) Method and device for document processing
JPH09325872A (en) Sfc production device
JP2000194796A (en) Handwriting character recognizing device and character input method for handwriting character recognition

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term