JPH0454678A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH0454678A
JPH0454678A JP16449590A JP16449590A JPH0454678A JP H0454678 A JPH0454678 A JP H0454678A JP 16449590 A JP16449590 A JP 16449590A JP 16449590 A JP16449590 A JP 16449590A JP H0454678 A JPH0454678 A JP H0454678A
Authority
JP
Japan
Prior art keywords
marker
coordinate transformation
coordinate
value
setting
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
JP16449590A
Other languages
Japanese (ja)
Inventor
Miwako Yonezawa
米澤 美和子
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 JP16449590A priority Critical patent/JPH0454678A/en
Publication of JPH0454678A publication Critical patent/JPH0454678A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To execute the plotting at a high speed by deriving marker magnification and such a coordinate transformation value for a marker as a marker train is displayed in a display position, setting this derived coordinate transformation value to a coordinate transformation means, and executing plotting by coordinate transformation of marker train fundamental data. CONSTITUTION:When marker magnification M is requested from an application program 3, a first saving means 55 operates, a value M X Yd obtained by multiplying Yd stored in a their storage means 54 by the marker magnification M is written back to the storage means 54. Subsequently, when a second saving means 56 operates, a coordinate transformation value for a marker is obtained on a first storage means 52. Next, when a coordinate transformation value setting means 57 operates, the coordinate transformation value for a marker generated on the means 52 is set to a coordinate transformation means 21. Thereafter, when a marker train fundamental data setting means 58 operates, marker train fundamental data is sent as it is into a plotting mechanism 2, executed by the coordinate transformation means 21, and a marker is plotted on a display device 1.

Description

【発明の詳細な説明】 〔産業上の利用分野) 本発明は図形処理装置に関し、特にマーカ列の高速表示
が可能な図形処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic processing device, and more particularly to a graphic processing device capable of displaying marker rows at high speed.

〔従来の技術〕[Conventional technology]

−Mにコンピュータグラフィック装置等の図形処理装置
においζは、ディスプレイ装置に固有な座標すなわち装
置座標と、これとは別にアプリケーションプログラムが
使用する座標すなわち仮想装置座標とを導入しており、
表示に際しては、仮想装置座標による表示データを装置
座標による表示データに座標変換してディスプレイ装置
に描画するようにしている。そして、このような座標変
換を高速化するために、設定された座標変換値に従って
座41変換を行う座標変換手段を内蔵し、中央処理装置
上で動作する描画処理システムプログラムから入力され
た仮想装置座標による表示データを前記座標変換手段を
使って装置座標による表示データに変換し、ディスプレ
イ装置に図形を描画する描画機構を、ハードウェア的に
中央処理装置とは別に設けた図形処理装置が提案されて
いる。
- In a graphic processing device such as a computer graphics device, ζ is introduced into M, coordinates unique to the display device, that is, device coordinates, and separately, coordinates used by the application program, that is, virtual device coordinates,
When displaying, display data based on virtual device coordinates is coordinate-converted into display data based on device coordinates, and then drawn on the display device. In order to speed up such coordinate transformation, the virtual device is equipped with a built-in coordinate transformation means that performs a locus 41 transformation according to set coordinate transformation values, and is input from a drawing processing system program running on the central processing unit. A graphics processing device has been proposed in which a drawing mechanism for converting display data in coordinates into display data in device coordinates using the coordinate conversion means and drawing graphics on a display device is provided in terms of hardware separate from the central processing unit. ing.

〔発明が解決しようとする!I!!li)上述した図形
処理装置によれば、座標変換にかかる処理を中央処理装
置上でソフトウェア的に実行する必要がないので、各種
の図形を高速に描画することができる。しかしながら、
従来のこの種の図形処理装置においては、マーカ列の表
示に際して座標変換手段を使用し°ζおらず、描画処理
システムプログラムにおいて、アプリケーションプログ
ラムで指定されたマーカ表示位置から装置座標上に表示
される位置を求め、マーカ倍率に基づいて基本マーカ列
データの拡大、縮小を行い、更に、この拡大、縮小した
データが装置座標上の前記の表示位置を基準として表示
される位置を求め、そして、このような各種の処理を経
て生成したマーカ列にかかるデータをI!画機構に送り
込んでディスプレイ装置に描画するようにしていた。こ
のため、特に高精度のマーカ列を描画するときや大量の
マーカ列を表示するときには上記の計算に多大な時間を
費やし、マーカ列を高速に表示することができなかった
[Invention tries to solve! I! ! li) According to the above-described graphic processing device, there is no need to execute processing related to coordinate transformation using software on the central processing unit, so that various graphics can be drawn at high speed. however,
Conventional graphic processing devices of this type do not use coordinate conversion means when displaying marker rows, and in the drawing processing system program, the marker rows are displayed on the device coordinates from the marker display position specified by the application program. Find the position, enlarge or reduce the basic marker row data based on the marker magnification, further find the position where this enlarged or reduced data is displayed based on the display position on the device coordinates, and The data related to the marker string generated through various processes such as I! It was sent to the image mechanism and drawn on the display device. For this reason, especially when drawing a highly accurate marker string or displaying a large number of marker strings, a large amount of time is spent on the above calculation, making it impossible to display the marker string at high speed.

そこで本発明の目的は、描画機構の持つ座標変換手段を
マーカ列の表示に際して活用することより、マーカ列を
高速に表示し得るようにした図形処理装置を提供するこ
とにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a graphic processing device that can display a marker array at high speed by utilizing the coordinate conversion means of the drawing mechanism when displaying the marker array.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するために、ディスプレイ装
置と、設定された座標変換値に従っ°C座標変換を行う
座標変換手段を含み人力された仮想装置座標による表示
データを前記座標変換手段を使っ゛ζ装置座標による表
示データに変換して前記ディスプレイ装置に図形を描画
する描画機構と、アプリケーションプログラム出前記描
画機構との間に介在しグラフィック処理に関する各種の
機能を前記アプリケーションプログラムに提供する描画
制御機構とを備えた図形処理装置におい°ζ、前記描画
制御機構に次のような手段を設けている。
In order to achieve the above object, the present invention includes a display device and a coordinate conversion means for performing °C coordinate conversion according to a set coordinate conversion value, and converts display data based on manually input virtual device coordinates into the coordinate conversion means. a drawing mechanism that converts the data into display data based on device coordinates and draws figures on the display device; and a drawing mechanism that provides the application program with various functions related to graphic processing; In the graphic processing apparatus equipped with a control mechanism, the drawing control mechanism is provided with the following means.

■ マーカ列を基本サイズで描画するためのマーカ列基
本データを保持するマーカ列基本データ保持手段 ■ 前記アプリケージ・ヨンプログラムから指定された
マーカ倍率およびマーカ表示位置に基づいてマーカ用の
座標変換値を生成する座標変換値生成手段 ■ この座標変換値生成手段で生成されたマーカ用の座
標変換値を前記座標変換手段に設定する座標変換値設定
手段 ■ 前記マーカ列基本データ保持手段番こ保持されたマ
ーカ列基本データを前記描画機構に与えて描画を要求す
るマーカ列基本データ設定手段 更に、本発明の好ましい実施例においては、前記1!画
制御機横は、前記座標変換値設定手段によって前記マー
カ用の座標変換値が前記座標変換手段に設定されている
か否かを示す指示手段を有し、マーカ列以外の図形を前
記座標変換手段による座標変換を使って表示する際、前
記指示手段が設定済を示すときはその設定されたマーカ
用の座標変換値に代えて今回表示する図形に必要な座標
変換値を前記座標変換手段に設定する構成を有している
■ Marker row basic data holding means that holds marker row basic data for drawing the marker row in the basic size ■ Coordinate conversion values for markers based on the marker magnification and marker display position specified from the application program. A coordinate transformation value generating means for generating a coordinate transformation value.■ A coordinate transformation value setting means for setting the coordinate transformation value for the marker generated by the coordinate transformation value generation means in the coordinate transformation means.■ The marker string basic data retention means. Further, in a preferred embodiment of the present invention, the marker string basic data setting means provides the drawn marker string basic data to the drawing mechanism to request drawing. The image controller side has an instruction means for indicating whether or not the coordinate transformation value for the marker has been set in the coordinate transformation means by the coordinate transformation value setting means, and the coordinate transformation means When displaying using coordinate transformation by , if the instruction means indicates that the setting has been completed, set the coordinate transformation value necessary for the figure to be displayed this time in the coordinate transformation means instead of the coordinate transformation value for the set marker. It has a configuration that

〔作用〕[Effect]

本発明の図形処理装置においては、描画制御機構内にお
いζ、マーカ列基本データ保持手段がマーカ列を基本サ
イズでIM′#iするためのマーカ列基本データを保持
しており、アプリケーションプログラムからマーカ倍率
およびマーカ表示位置が指定されると座標変換値生成手
段がそれらに基づいてマーカ用の座標変換値を生成し、
座標変換値設定手段がその生成されたマーカ用の座標変
換値を描画機構の座標変換手段に設定し、その後にマー
カ列基本データ設定手段が上記マーカ列基本データ保持
手段に保持されたマーカ列基本データを描画機構に与え
°ζ描画を要求する。これにより、描画機構は、与えら
れたマーカ列基本データを、上記のマーカ用の座標変換
値が設定された座標変換手段を使って装置座標による表
示データに変換し、ディスプレイ装置にマーカ列を描画
する。
In the graphic processing device of the present invention, the marker string basic data holding means ζ in the drawing control mechanism holds marker string basic data for IM'#i of the marker string in the basic size, and When the magnification and marker display position are specified, the coordinate transformation value generation means generates coordinate transformation values for the marker based on them,
The coordinate transformation value setting means sets the generated coordinate transformation value for the marker in the coordinate transformation means of the drawing mechanism, and then the marker row basic data setting means sets the marker row basic data held in the marker row basic data holding means. Provides data to the drawing mechanism and requests °ζ drawing. As a result, the drawing mechanism converts the given marker string basic data into display data in device coordinates using the coordinate conversion means set with the coordinate conversion values for markers described above, and draws the marker string on the display device. do.

また、本発明の好ましい実施例においては、描画制御機
構に設けられた指示手段が座標変換値設定手段によっ′
ζマーカ用の座標変換値が座標変換手段に設定されてい
るか否かを示しており、描画制御機構は、マーカ列以外
の図形を座標変換手段による座標変換を使って表示する
際、指示手段が設定部を示すときはその設定されたマー
カ用の座標変換値に代えて今回表示する図形に必要な座
標変換値を座標変換手段に設定してから今回の表示にか
かるデータを描ii!jia構に送り込む。
Further, in a preferred embodiment of the present invention, the instruction means provided in the drawing control mechanism is controlled by the coordinate transformation value setting means.
This indicates whether or not the coordinate transformation value for the ζ marker is set in the coordinate transformation means. When indicating the setting section, instead of the coordinate transformation value for the set marker, set the coordinate transformation value necessary for the figure to be displayed this time in the coordinate transformation means, and then draw the data related to the current display ii! Send it to JIA structure.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して詳細に説
明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図を参照すると、本発明の一実施例の図形処理装置
は、グラフインク表示可能なディスプレイ装置1と、設
定された座標変換値に従って座標変換を行う座標変換手
段21を含み入力された仮想装置座標による表示データ
を座標変換手段21を使って装置座標による表示データ
に変換してディスプレイ装置lに図形を描ぺする描画機
構2と、アプリケーションプログラム3と描画機構2と
の間に介在しグラフインク処理に関する各種の機能をア
プリケーションプログラム3に提供する描画制御機構4
とを偵えている。また、描画制御#l楕4は、マーカ処
理部5と初期設定部6とその他の処理部7とソラグ8と
を含み、さらにマーカ処理部5は、マーカ列基本データ
保持手段51.第1乃至第3の記憶手段52,53,5
4.第1の保存手段55.第2の保存手段56.座標変
換値設定手段57およびマーカ列基本データ設定手段5
8を有し、その他の処理部7は座標変換値保持設定手段
71を含んでいる。ここで、描画制御機構4の各部およ
び各手段は次のような機能を有する。
Referring to FIG. 1, a graphic processing apparatus according to an embodiment of the present invention includes a display device 1 capable of displaying graph ink, and coordinate transformation means 21 for performing coordinate transformation according to set coordinate transformation values. A drawing mechanism 2 that converts display data based on device coordinates into display data based on device coordinates using a coordinate conversion means 21 and draws figures on a display device 1, and an application program 3 interposed between the drawing mechanism 2 and a graph. A drawing control mechanism 4 that provides various functions related to ink processing to the application program 3
I am spying on you. The drawing control #l ellipse 4 includes a marker processing section 5, an initial setting section 6, another processing section 7, and a SORAG 8, and the marker processing section 5 further includes a marker string basic data holding section 51. First to third storage means 52, 53, 5
4. First storage means 55. Second storage means 56. Coordinate conversion value setting means 57 and marker string basic data setting means 5
8, and the other processing section 7 includes coordinate transformation value holding and setting means 71. Here, each part and each means of the drawing control mechanism 4 has the following functions.

○マーカ処理部5 描画制御機構4が提供する機能のうちのマーカに関連す
る機能をサポートする。
Marker processing unit 5 Supports functions related to markers among the functions provided by the drawing control mechanism 4.

0初期設定部6 ゛?アプリケーションプログラムから初期処理を依願さ
れることにより、描画制御機構4内の各部を初期設定す
る機能を有する。
0 initial setting section 6 ゛? It has a function of initializing each part in the drawing control mechanism 4 upon receiving a request for initial processing from an application program.

○その他の処理部7 描画制御機構4が提供する機能のうちのマーカ関連機能
以外のIIj能をサポートする。
Other processing unit 7 Supports IIj functions other than marker-related functions among the functions provided by the drawing control mechanism 4.

Oマーカ列基本データ保持手段51 左下を原点とする仮想装置座標に基本サイズのマーカ列
を非連結線に分解し′ζ描ii!iiiるためマーカ列
基本データを保持する。
O Marker string basic data holding means 51 Decomposes the basic size marker string into unconnected lines in virtual machine coordinates with the origin at the lower left and draws 'ζii! iii, the marker column basic data is held.

○第1の記憶手段52 座標変換手段21に渡ずマーカ用の座標変換値を記f、
aするものであり、2次元描画であれば6領域(2X3
L3次元描画であれば12領域(3×4)の領域が設け
られる。ごごで、2次元描画の場合を例にして、第1の
記憶手段52にどのような座標変換値が記憶されるのか
を、その座標変換値の生成方法を含めて、第2図を参照
して以下説明しCおく。
○First storage means 52 for storing coordinate transformation values for markers without passing them to the coordinate transformation means 21;
In the case of two-dimensional drawing, six areas (2X3
For L3-dimensional drawing, 12 areas (3×4) are provided. Please refer to FIG. 2 for an explanation of what kind of coordinate transformation values are stored in the first storage means 52, including the method of generating the coordinate transformation values, using the case of two-dimensional drawing as an example. I will explain it below and put it in C.

前述したようにマーカ列基本データ保持手段51に保持
されているマーカ列基本データは、左下を原点とした仮
想装置座標に則しζいるが、座標変換を行う中心点は左
下ではなく、マーカ列の中心であるので、先ず、マーカ
列の中心に原点を移動するために必要な下記のような座
標変換用のマトリックスAを求める(第2図の31)。
As mentioned above, the marker array basic data held in the marker array basic data holding means 51 is based on the virtual device coordinates with the origin at the lower left, but the center point for coordinate transformation is not at the lower left but at the marker array. First, the following coordinate transformation matrix A necessary for moving the origin to the center of the marker row is found (31 in FIG. 2).

・マトリックスA ごこで、X、、Y、はマーカ列の中心点から左下原点ま
でのX軸方向、Y軸方向の距jilt(X軸の原点補正
値、Y軸の原点補正値)であり、その値はシステムで一
意に定まる。なお、描画機構2がマーカ列の中心をOと
してデータを渡せるような構成になっている場合は、こ
のような71−リソクスAを考慮から外すことが可能で
ある。
・Matrix A Here, X, Y are the distance jilt in the X-axis direction and Y-axis direction from the center point of the marker row to the lower left origin (X-axis origin correction value, Y-axis origin correction value). , its value is uniquely determined by the system. Note that if the drawing mechanism 2 is configured to pass data with the center of the marker row set to O, it is possible to exclude such 71-lithocs A from consideration.

次に、アプリケーションプログラム3で指定されたマー
カ倍率に拡大、縮小するために必要な下記のような座標
変換用のマトリックスBを求める(第2図の32)。
Next, the following coordinate transformation matrix B necessary for enlarging or reducing the marker to the magnification specified by the application program 3 is obtained (32 in FIG. 2).

・マトリックスB ここで、Mはマーカ倍率である。なお、マーカサイズが
倍率で示されているシステムではマーカ倍率はマーカサ
イズのことであり、マーカサイズが装置座標上での1=
・7 )イメージに対する大きさで示されているシステ
ムでは、マーカ列基本データで示されているマーカのド
ントサイズに対する比をマーカ倍率とする。
- Matrix B Here, M is the marker magnification. In addition, in a system where the marker size is indicated by a magnification, the marker magnification is the marker size, and the marker size is 1 = on the device coordinates.
-7) In a system where the size is indicated with respect to the image, the ratio of the marker to the don't size indicated in the marker row basic data is the marker magnification.

次に、拡大、縮小されたマーカを装置座標上の、アプリ
ケーションプログラム3で指定されたマーカ表示位置に
移動するために必要な下記のような座標変換用のマトリ
ックスCを求める(第2図の53)。
Next, find the following coordinate transformation matrix C necessary to move the enlarged or reduced marker to the marker display position specified by the application program 3 on the device coordinates (53 in Fig. 2). ).

・マトリックスに こで、xc、Ycはアプリケーションプログラム3から
構成される装置座標上のマーカ表示X座標、Y座標であ
る。
- In the matrix, xc and Yc are the marker display X and Y coordinates on the device coordinates configured by the application program 3.

次に、以上のマトリックスA、B、Cから、マーカ列基
本データの原点補正を行った後にマーカ列の拡大、縮小
を行い且つ装置座標上の指定された点に移動するための
下記のような座標変換用のマトリックスDを求める(第
2図の34)。
Next, from the above matrices A, B, and C, after correcting the origin of the marker row basic data, the following procedure is performed to enlarge or reduce the marker row and move it to a specified point on the device coordinates. A matrix D for coordinate transformation is determined (34 in FIG. 2).

・マトリックスD このマトリックスDが第1の記憶手段52への格納対象
となり、マトリ・2クスDの要素り、、、D、□D33
は0. 0. 1で固定になるため、実際にはその他の
6個の要素D++、  D+t+  Dts、  Dz
+、  Dzz。
- Matrix D This matrix D is to be stored in the first storage means 52, and the elements of matrix 2x D are..., D, □D33
is 0. 0. Since it is fixed at 1, the other six elements are actually D++, D+t+ Dts, Dz
+, Dzz.

Dts(1)4直M、0.  MXx、+xc、o、M
、MxYa+Ycが第1の記憶手段52の6領域に記憶
される。
Dts (1) 4 direct M, 0. MXx, +xc, o, M
, MxYa+Yc are stored in six areas of the first storage means 52.

再び第1図を参照し°ζ、その他の手段の機能を説明す
る。
Referring again to FIG. 1, the functions of °ζ and other means will be explained.

○第2の記憶手段53 上述したマトリックスDを作成する過程で必要なX軸に
かかるデータ、具体的にはMXLを保持する。
○Second storage means 53 Stores data related to the X-axis necessary in the process of creating the matrix D described above, specifically MXL.

O第3の記ti手段54 上述したマトリックスDを作成する過程で必要なY軸に
かかるデータ、具体的にはMXYdを保持する。
Third recording means 54 Holds data related to the Y axis, specifically MXYd, which is necessary in the process of creating the matrix D described above.

○第1の保存手段55 マーカ倍率がアプリケーションプログラム3から指定さ
れた際に、第1〜第3の記憶手段52〜54にそのマー
カ倍率番ご応した値を設定する機能を有する。
The first storage means 55 has a function of setting a value corresponding to the marker magnification number in the first to third storage means 52 to 54 when a marker magnification is designated from the application program 3.

O第2の保存手段56 マーカ描画がアプリケージジンプログラム3から依転さ
れた際に、同プログラムで指定されたマーカ表示位置を
獲得し、この獲得したマーカ表示位置と第2および第3
の記憶手段53.54に記憶されている値とに基づい°
ζ生成した値を第1の記憶手段52に記憶するごとによ
り、第1の記憶手段52上のマーカ用の座標変換値を完
成させる機能を有する。
O Second storage means 56 When marker drawing is transferred from the application engine program 3, the marker display position specified by the program is acquired, and this acquired marker display position and the second and third
Based on the values stored in the storage means 53 and 54 of
Each time the ζ generated value is stored in the first storage means 52, it has a function of completing the coordinate transformation value for the marker on the first storage means 52.

なお、本実施例の場合、第1〜第3の記憶手段52〜5
4.第1の保存手段55および第20保存手段56で、
アプリケーションプログラム3から指定されたマーカ倍
率およびマーカ表示位置に基づいてマーカ用の座標変換
値を生成する座標変換値生成手段が構成される。
In addition, in the case of this embodiment, the first to third storage means 52 to 5
4. The first storage means 55 and the twentieth storage means 56,
A coordinate transformation value generation means is configured to generate coordinate transformation values for markers based on the marker magnification and marker display position specified by the application program 3.

○座標変換値設定手段57 第2の保存手段56による処理完了後に起動されるごと
により、第1の記憶手段52に記憶されたマーカ用の座
標変換値を描画機構2の座標変換手段21に設定する機
能を有事る。なお、マーカ用の座標変換値を座標変換手
段21へ設定したときは、フラグ8をセットする。
○Coordinate transformation value setting means 57 Sets the coordinate transformation value for the marker stored in the first storage means 52 in the coordinate transformation means 21 of the drawing mechanism 2 each time it is activated after the processing by the second storage means 56 is completed. In case of emergency. Incidentally, when the coordinate transformation value for the marker is set in the coordinate transformation means 21, the flag 8 is set.

Oマーカ列基本データ設定手段58 座標変換値設定手段57による処理完了後に起動される
ことにより、マーカ列基本データ保持手段51に保持さ
れたマーカ列基本データを描画機構2に渡して描画を要
求する機能を有する。
O Marker string basic data setting means 58 When activated after the processing by the coordinate transformation value setting means 57 is completed, it passes the marker string basic data held in the marker string basic data holding means 51 to the drawing mechanism 2 and requests drawing. Has a function.

0フラグ8 座標変換値設定手段57によってマーカ用の座標変換値
が座標変換手段21に設定され°Cいるか否かを表示す
る機能を有する。
0 flag 8 Has a function of displaying whether or not the coordinate transformation value for the marker is set in the coordinate transformation means 21 by the coordinate transformation value setting means 57.

○座枕変換値保持設定手段71 その他の処理部7がマーカ列以外の図形を座標変換手段
21による座標変換を使って表示する際に必要な座標変
換値を保存しており、その表示の隙にフラグ8が設定部
を示Jときは、その設定されたマーカ用の座標変換値に
代えて今回表示する図形に必要な座標変換値を座標変換
手段21に設定する機能を持つ。その他の処理部7は、
この座+5変換値保持設定手段71による処理完了後に
今回表示する同形にかかるデータを描画機構2に与えて
描画を要求するものである。なお、このときフラグ8は
リセットされる。
○ Seat pillow conversion value storage setting means 71 Stores the coordinate conversion values necessary when the other processing section 7 displays figures other than the marker row using the coordinate conversion by the coordinate conversion means 21, When the flag 8 indicates the setting section, it has a function of setting the coordinate transformation value necessary for the figure to be displayed this time in the coordinate transformation means 21 instead of the coordinate transformation value for the set marker. Other processing units 7 are
After the processing by the locus+5 conversion value holding and setting means 71 is completed, data related to the isomorphism to be displayed this time is given to the drawing mechanism 2 to request drawing. Note that the flag 8 is reset at this time.

次に、上述のように構成された本実施例の動作を、第1
図、描画制御機構4の処理例の流れを示す第3図および
第1の記憶手段52の内容例を示す第4図を参照し°ζ
説明する。
Next, the operation of this embodiment configured as described above will be explained in the first section.
3, which shows an example of the processing flow of the drawing control mechanism 4, and FIG. 4, which shows an example of the contents of the first storage means 52.
explain.

第1図において、アプリケーションプログラム3が描画
制御機構に初期処理を依願すると、初期設定部6により
描画制御機横4内の各部の初期設定が行われる。そし“
ζ、この初期設定の一環として、第1の記憶手段52の
第1〜第6の領域DIl〜D ! 3に第4図(a)に
示1ように1. 0.  L、01、Yiが設定され(
第3図の5ll)、第2の記憶手段53にx4が、また
第3の記憶手段54にY4が設定される(第3図の51
2)。また、フラグ8もリセットされる。
In FIG. 1, when the application program 3 requests the drawing control mechanism to perform initial processing, the initial setting section 6 performs initial settings of each section in the horizontal drawing control device 4. stop"
ζ, as part of this initial setting, the first to sixth areas DIl to D! of the first storage means 52 are stored. 3. As shown in FIG. 4(a), 1. 0. L, 01, Yi are set (
5ll in FIG. 3), x4 is set in the second storage means 53, and Y4 is set in the third storage means 54 (51 in FIG. 3).
2). Additionally, flag 8 is also reset.

次に、アプリケーションプログラム3からマーカ倍率M
を指定したマーカ倍率設定機能の実行が要請されると、
第1の保存手段55が動作して第3図のS13〜S15
の処理が行われる。即ち、第4図(b)に示すように第
1の記憶手段52の第1の領域り、と第5の領域り。に
マーカ倍率Mを設定しく513)、第2の記憶手段53
に記憶されたx4にマーカ倍率Mを乗した値Mxxaを
同記憶手段53に書戻しく514)、第3の記憶手段5
4に記憶されたY4にマーカ倍率Mを乗した値MXY、
合同記憶手段54に書戻ず(S15)。
Next, from the application program 3, the marker magnification M
When a request is made to execute the marker magnification setting function that specifies
The first storage means 55 operates to perform S13 to S15 in FIG.
processing is performed. That is, as shown in FIG. 4(b), the first storage means 52 has a first area and a fifth area. 513), and the second storage means 53
The third storage means 5 writes back the value Mxxxa obtained by multiplying the marker magnification M by the x4 stored in the storage means 514).
MXY, the value obtained by multiplying Y4 stored in 4 by the marker magnification M,
It is not written back to the joint storage means 54 (S15).

その後、アプリケーションプログラム3からマーカ描画
機能の実行が依願されると、第2の保存手段56.座標
変換値設定手段57.マーカ列基本データ設定手段58
がその順で動作して第3図のS16〜S19の処理が行
われる。
Thereafter, when the application program 3 requests execution of the marker drawing function, the second storage means 56. Coordinate transformation value setting means 57. Marker column basic data setting means 58
are operated in that order, and the processes of S16 to S19 in FIG. 3 are performed.

先ず、第2の保存手段56が動作すると、アプリケーシ
ョンプログラム3から指定されたマーカ表示位置(Xc
、Yc)が獲得され、第2の記憶手段534こ現在記憶
されている値MXX、にマーカ表示位置のX座標値Xo
を加えた値MXX、+X。
First, when the second storage means 56 operates, the marker display position (Xc
, Yc) is acquired, and the value MXX currently stored in the second storage means 534 is set to the X coordinate value Xo of the marker display position.
The value added MXX, +X.

が、第4図(C)のように第1の記憶手段52の第3の
領域013に設定され(第3図の316)、第3の記憶
手段54に現在記憶されζいる値MXY。
is set in the third area 013 of the first storage means 52 as shown in FIG. 4(C) (316 in FIG. 3), and the value MXY currently stored in the third storage means 54.

にマーカ表示位置のY座標値Y、を加えた値M×Y、十
Y。が、同じく第4図(C)に示す如く第1の記憶手段
52の第6の領域D0に設定される(第3図の517)
。これによって、第1の記憶手段52上にマーカ用の座
標変換値が完成したごとになる。
The value obtained by adding the Y coordinate value Y of the marker display position to M×Y, 10Y. is set in the sixth area D0 of the first storage means 52 as shown in FIG. 4(C) (517 in FIG. 3).
. As a result, the coordinate transformation values for the marker are completed on the first storage means 52.

次に座4!変換値設定手段57が動作すると、第1の記
憶手段52上に生成された第4図(C)に示すようなマ
ーカ用の座標変換値が、描画機構2の座標変換手段21
に設定される(第3図の518)。
Next is za 4! When the conversion value setting means 57 operates, the coordinate conversion value for the marker as shown in FIG. 4(C) generated on the first storage means 52 is transferred to the coordinate conversion means 21 of the drawing mechanism 2.
(518 in FIG. 3).

そして、マーカ列基本データ設定手段58が動作すると
、マーカ列基本データ保持手段51に保持されているマ
ーカ列基本データがそのまま描画機構2に送り込まれ”
ζ描画が要求される(第31の319)。これにより描
画機構2は描画動作を開始し、設定された座標変換値に
応した座標変換(写像)を座標変換手段21で行い、座
標変換後のデータに従ってディスプレイ装置1にマーカ
を描画する。
Then, when the marker string basic data setting means 58 operates, the marker string basic data held in the marker string basic data holding means 51 is sent as is to the drawing mechanism 2.
ζ drawing is requested (31st 319). Thereby, the drawing mechanism 2 starts a drawing operation, the coordinate conversion means 21 performs coordinate conversion (mapping) according to the set coordinate conversion value, and draws a marker on the display device 1 according to the data after the coordinate conversion.

なお、その後、再びアプリケーションプログラム3から
マーカ表示位置を指定したマーカ描画機能の実行が依願
されると、第3図のS16〜S19の動作が行われるも
のである。
Thereafter, when the application program 3 again requests execution of the marker drawing function specifying the marker display position, the operations of S16 to S19 in FIG. 3 are performed.

また、アプリケーションプログラム3からマーカ列以外
の図形の描画機能の実行が依願されると、その他の処理
部7が動作し′ζ第3図のその他の処理S20が実行さ
れる。このとき、その他の処理部7では、座標変換手段
21による座標変換を使って図形を表示する場合、°?
−力用の座標変換値が座標変換手段21に設定されてい
ることがフラグ8で表示されているときは、座標変換値
保持設定手段71を使用して、その設定されたマーカ用
の座標変換値に代えて今回表示する図形に必要な座標変
換値を座標変換手段21に設定した後に、今■表示する
図形にかかるデータを描画機構2に与え°ζ描画を要求
する。
Further, when the application program 3 requests execution of the function of drawing figures other than the marker string, the other processing units 7 operate and the other processing S20 in FIG. 3 is executed. At this time, in the other processing section 7, when displaying the figure using the coordinate transformation by the coordinate transformation means 21, °?
- When the flag 8 indicates that the force coordinate transformation value is set in the coordinate transformation means 21, the coordinate transformation value holding setting means 71 is used to perform the coordinate transformation for the set marker. After setting coordinate conversion values necessary for the figure to be displayed this time in place of the values in the coordinate conversion means 21, the data related to the figure to be displayed now is given to the drawing mechanism 2 to request ζ drawing.

第5図は本発明の別の実施例の構成図であり、第1図と
同一符号は同一部分を示し、100は中央処理装置、1
01は主記憶装置、102は補助記憶装置、103はロ
ート手段、104は描画処理システムプログラムである
。この実施例では、第1図の描画制御機構4を描画処理
システムプログラム104とし゛ζ実現し、この描画処
理システムプログラム104とこのプログラム104を
使用して各種の図形やマーカを描画しようとするアプリ
ケーションプログラム3とを補助記す、α装置102に
格納し、ロード手段103によって主記憶装置101に
ロードして中央処理装置100上で各プログラムを実行
するようにしたものである。
FIG. 5 is a block diagram of another embodiment of the present invention, in which the same reference numerals as in FIG. 1 indicate the same parts, 100 is a central processing unit, 1
01 is a main storage device, 102 is an auxiliary storage device, 103 is a rotary means, and 104 is a drawing processing system program. In this embodiment, the drawing control mechanism 4 shown in FIG. 3 are stored in the α device 102, loaded into the main storage device 101 by the loading means 103, and executed on the central processing unit 100.

〔発明の効果〕 以上説明したように、本発明の図形処理装置においては
、マーカ列基本データを描画機構に与え゛ζマーカ列の
描画を行わせたとするとアプリケーションプログラムか
ら指定された°7−カ倍率および表示位置でマーカ列が
表示されるようなマーカ用の座標変換値(座標変換マト
リックス)を求め、この求めた座標変換値を座4!変換
手段に設定し“Cマーカ列基本データの座標変換による
描画を行わせるものであり、マーカ列の表示に座4!変
換手段を活用したごとにより、座標変換値を生成し設定
するという簡単な処理で所望のマーカ列の表示が可能と
なる。よって、高精度なマーカ列や大晋のマーカ列であ
っても高速に描画するごとが可能となる。
[Effects of the Invention] As explained above, in the graphic processing device of the present invention, when basic marker string data is given to the drawing mechanism to draw a ζ marker string, the Find the coordinate transformation value (coordinate transformation matrix) for the marker so that the marker row can be displayed at the magnification and display position, and use the coordinate transformation value thus found as 4! It is a simple method that generates and sets coordinate transformation values each time the marker row is displayed. Through processing, it is possible to display a desired marker array.Therefore, even highly accurate marker arrays or Dajin marker arrays can be drawn at high speed.

また、座標変換値設定手段によってマーカ用の座標変換
値が座標変換手段に設定されているか否かを示す指示手
段を設け、マーカ列以外の図形を座標変換手段による座
JIA変換を使って表示する際、座標変換手段にマーカ
用の座標変換値が設定され°ζいるときは、それに代え
て今回表示する図形に必要な座標変換値を座標変換手段
に設定し′ζから今回のマーカ列以外の図形にかかるデ
ータを描画機構に与えるようにしたごとにより、描画機
構の座標変換手段をマーカ列とそれ以外の図形とで兼用
するごとが可能となる。
Further, an instruction means is provided for indicating whether or not coordinate transformation values for markers are set in the coordinate transformation means by the coordinate transformation value setting means, and figures other than the marker row are displayed using the coordinate transformation means using the coordinate transformation means. At this time, if the coordinate transformation value for the marker is set in the coordinate transformation means, instead of that, set the coordinate transformation value necessary for the figure to be displayed this time in the coordinate transformation means, and from 'ζ, By supplying data related to figures to the drawing mechanism, it becomes possible to use the coordinate conversion means of the drawing mechanism for both marker arrays and other figures.

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

第1図は本発明の一実施例の構成図、 第2図は第1の記憶手段52に記憶されるマーカ用の座
標変換値の内容とその生成力法を説明する流れ図、 第3図は描画制御機構4の動作の一例を示す流れ図、 第4図は第1の記憶手段52の内容例を示す図および、 第5図は本発明の別の実施例の構成図である。 図において、 1・・・ディスプレイ装置 2・・・描画機構 21・・・座標変換手段 3・・・アブリケーションプログラム 4・・・描画制御機構 5・・・マーカ処理部 51・・・マーカ列基本データ保持手段52・・・第1
の記憶手段 53・・・第2の記1a手段 54・・・第3の記憶手段 55・・・第1の保存手段 56・・・第2の保存手段 57・・・座標変換値設定手段 58・・・マーカ列基本データ設定手段6・・・初期設
定部 7・・・その他の処理部 71・・・座標変換値保持設定手段 8・・・フラグ
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart explaining the contents of the coordinate transformation value for the marker stored in the first storage means 52 and its generation force method, and FIG. FIG. 4 is a flow chart showing an example of the operation of the drawing control mechanism 4, FIG. 4 is a diagram showing an example of the contents of the first storage means 52, and FIG. 5 is a configuration diagram of another embodiment of the present invention. In the figure, 1...Display device 2...Drawing mechanism 21...Coordinate conversion means 3...Application program 4...Drawing control mechanism 5...Marker processing section 51...Marker string basics Data holding means 52...first
Storage means 53...Second note 1a means 54...Third storage means 55...First storage means 56...Second storage means 57...Coordinate transformation value setting means 58 ... Marker row basic data setting means 6 ... Initial setting section 7 ... Other processing sections 71 ... Coordinate transformation value holding setting means 8 ... Flag

Claims (2)

【特許請求の範囲】[Claims] (1)ディスプレイ装置と、設定された座標変換値に従
って座標変換を行う座標変換手段を含み入力された仮想
装置座標による表示データを前記座標変換手段を使って
装置座標による表示データに変換して前記ディスプレイ
装置に図形を描画する描画機構と、アプリケーションプ
ログラムと前記描画機構との間に介在しグラフィック処
理に関する各種の機能を前記アプリケーションプログラ
ムに提供する描画制御機構とを備えた図形処理装置にお
いて、 マーカ列を基本サイズで描画するためのマーカ列基本デ
ータを保持するマーカ列基本データ保持手段と、 前記アプリケーションプログラムから指定されたマーカ
倍率およびマーカ表示位置に基づいてマーカ用の座標変
換値を生成する座標変換値生成手段と、 該座標変換値生成手段で生成されたマーカ用の座標変換
値を前記座標変換手段に設定する座標変換値設定手段と
、 前記マーカ列基本データ保持手段に保持されたマーカ列
基本データを前記描画機構に与えて描画を要求するマー
カ列基本データ設定手段とを、前記描画制御機構に備え
ることを特徴とする図形処理装置。
(1) It includes a display device and a coordinate conversion means for performing coordinate conversion according to set coordinate conversion values, and converts display data based on input virtual device coordinates into display data based on device coordinates using the coordinate conversion means. A graphics processing device that includes a drawing mechanism that draws graphics on a display device, and a drawing control mechanism that is interposed between an application program and the drawing mechanism and provides various functions related to graphic processing to the application program. a marker string basic data holding means for holding marker string basic data for drawing in a basic size, and a coordinate transformation that generates coordinate conversion values for the marker based on the marker magnification and marker display position specified from the application program. a coordinate transformation value setting means for setting a coordinate transformation value for a marker generated by the coordinate transformation value generation means in the coordinate transformation means; and a marker sequence basic held in the marker sequence basic data holding means. A graphic processing device characterized in that the drawing control mechanism is provided with a marker string basic data setting means for supplying data to the drawing mechanism to request drawing.
(2)前記描画制御機構は、前記座標変換値設定手段に
よって前記マーカ用の座標変換値が前記座標変換手段に
設定されているか否かを示す指示手段を含み、マーカ列
以外の図形を前記座標変換手段による座標変換を使って
表示する際、前記指示手段が設定済を示すときはその設
定されたマーカ用の座標変換値に代えて今回表示する図
形に必要な座標変換値を前記座標変換手段に設定する構
成を有する請求項1記載の図形処理装置。
(2) The drawing control mechanism includes an instruction means for indicating whether or not the coordinate transformation value for the marker is set in the coordinate transformation means by the coordinate transformation value setting means, and the drawing control mechanism When displaying using coordinate transformation by the transformation means, if the instruction means indicates that the setting has been completed, the coordinate transformation means uses the coordinate transformation values necessary for the figure to be displayed this time instead of the coordinate transformation values for the set marker. 2. The graphic processing apparatus according to claim 1, having a configuration in which the graphics processing apparatus is set to .
JP16449590A 1990-06-22 1990-06-22 Graphic processor Pending JPH0454678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16449590A JPH0454678A (en) 1990-06-22 1990-06-22 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16449590A JPH0454678A (en) 1990-06-22 1990-06-22 Graphic processor

Publications (1)

Publication Number Publication Date
JPH0454678A true JPH0454678A (en) 1992-02-21

Family

ID=15794249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16449590A Pending JPH0454678A (en) 1990-06-22 1990-06-22 Graphic processor

Country Status (1)

Country Link
JP (1) JPH0454678A (en)

Similar Documents

Publication Publication Date Title
JPS6310470B2 (en)
JPH03139777A (en) Graphic display system and method
JPH11353495A (en) Graphics device and graphic method
JPH0454678A (en) Graphic processor
JP2854174B2 (en) Enlargement drawing method in numerical controller
JPS6035075B2 (en) CRT display device
JP3106246B2 (en) Image processing device
JP2829051B2 (en) Character display method
JP2760522B2 (en) Display control device
JPH0394389A (en) Method for displaying three-dimensional graphic rotation and graphic processor
JPS6170610A (en) Numerical controller
JPH06290254A (en) Display processor for three-dimensional graphic
JPH0348928A (en) Display control system
JPH0588658A (en) Display controller
JPH0375905B2 (en)
JPH06202805A (en) Position information input system
JPS63115227A (en) Picture display address converter
JPH02273871A (en) Image display processor
JPS61109094A (en) Cursor display unit
JPS62296189A (en) Display unit
JPH05242214A (en) Input system for graphic processing system
JPS6312077A (en) Grid description system
JPS6165292A (en) Graphic display unit
JPH02201688A (en) Image data editing device
JPH06110773A (en) Memory controller