JPH0719198B2 - Display control method in multi-window display device - Google Patents

Display control method in multi-window display device

Info

Publication number
JPH0719198B2
JPH0719198B2 JP62326129A JP32612987A JPH0719198B2 JP H0719198 B2 JPH0719198 B2 JP H0719198B2 JP 62326129 A JP62326129 A JP 62326129A JP 32612987 A JP32612987 A JP 32612987A JP H0719198 B2 JPH0719198 B2 JP H0719198B2
Authority
JP
Japan
Prior art keywords
point
line segment
partial
intersection
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 - Fee Related
Application number
JP62326129A
Other languages
Japanese (ja)
Other versions
JPH01166126A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62326129A priority Critical patent/JPH0719198B2/en
Publication of JPH01166126A publication Critical patent/JPH01166126A/en
Publication of JPH0719198B2 publication Critical patent/JPH0719198B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 [概要] 表示画面上にいくつかの部分画面を互いに重なり合うこ
とを許して表示できるようにしたマルチウィンドウ表示
装置における表示制御方法に関し、 各矩形領域の境界相互間でのドット欠落のない線分を表
示できるようにすることを目的とし、 ウィンドウの配置、重複の優先順位を制御するためにウ
ィンドウ表示画面全体をいくつかの部分矩形の和として
管理する画面制御方式を用い、描画する線分が部分矩形
から外にでる場合、当該矩形領域の境界線と線分の交点
を求め、次に境界線から1ドット離れる点を求めその点
より1ドット手前の点を求め交点ドットとして表示し、
描画する線分が部分矩形内に入る場合、当該矩形領域の
境界より1ドット手前の線において交点を求め、次に境
界線上に乗る点を求め当該点を交点ドットとして表示す
るように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A display control method in a multi-window display device capable of displaying several partial screens on a display screen while allowing them to overlap each other. A screen control method that manages the entire window display screen as the sum of several partial rectangles is used to control the placement of windows and the priority of duplication in order to display line segments without missing dots. , If the line segment to be drawn is outside the partial rectangle, find the intersection of the boundary and the line segment of the rectangular area, then find the point 1 dot away from the boundary, and find the point 1 dot before that point. Displayed as dots,
When the line segment to be drawn falls within the partial rectangle, an intersection is obtained on a line one dot before the boundary of the rectangular area, a point on the boundary is then obtained, and the point is displayed as an intersection dot.

[産業上の利用分野] 本発明は、表示画面上に、いくつかの部分画面を互いに
重なり合うことを許して表示できるようにしたマルチウ
ィンドウ表示装置における表示制御方法に関し、更に詳
しくは、マルチウィンドウ表示画面全体をいくつかの部
分矩形の和として管理する画面制御において、DDAを利
用して部分矩形領域でのドット欠落のないクリッピング
を行なうようにした表示制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display control method in a multi-window display device capable of displaying several partial screens on a display screen while allowing them to overlap with each other. The present invention relates to a display control method that uses DDA to perform clipping without missing dots in a partial rectangular area in screen control that manages the entire screen as the sum of several partial rectangles.

[従来の技術] 第15図はマルチウィンドウ画面の説明図であり、第16図
はマルチウィンドウ表示画面全体を部分矩形領域の和と
して表示するメモリ上での領域分割の様子を示す概念図
である。
[Prior Art] FIG. 15 is an explanatory view of a multi-window screen, and FIG. 16 is a conceptual diagram showing a state of area division on a memory for displaying the entire multi-window display screen as a sum of partial rectangular areas. .

マルチウィンドウ表示装置は、CRT等の表示装置の画面
全体を表示画面としたとき、その表示画面内に、第15図
に示すように複数の独立小表示領域(ウィンドウ)を部
分画面A,B,Cとしてマルチウィンドウ表示するものであ
る。ここで、マルチウィンドウが部分的に重なる場合、
どちらかが上にくるか(上になったものは表示される
が、下になる部分は隠れて表示されなくなる)の表示制
御を行なう必要がある。
When the entire screen of a display device such as a CRT is used as a display screen, the multi-window display device has a plurality of independent small display areas (windows) in the display screen as shown in FIG. It is a multi-window display as C. Here, if the multi-windows partially overlap,
It is necessary to control the display of which one is on top (the one above is displayed, but the one below is hidden and not displayed).

このような表示制御方式として、第16図に示すように、
部分画面のうち表示可能な領域(他の部分画面の影にな
らない領域)を一定の規則に従っていくつかの部分矩形
領域に分割し(例えばB1,B2に分割する)、表示画面全
体をこのような部分矩形領域の和として管理するものが
ある(特開昭59−102284号公報)。
As such a display control method, as shown in FIG.
The displayable area (area not shaded by other partial screens) of the partial screen is divided into some partial rectangular areas (for example, B1 and B2) according to a certain rule, and the entire display screen is Some are managed as the sum of partial rectangular areas (Japanese Patent Laid-Open No. 59-102284).

このような表示制御方式は、部分画面の設定、変更が容
易であり、しかもこれらを画素単位で行なうことができ
るという特長を有している。
Such a display control method has a feature that it is easy to set and change the partial screen, and these can be performed in pixel units.

[発明が解決しようとする問題点] しかしながら、例えば第16図において2つの部分矩形領
域B1,B2にまたがる線分を表示するような場合、2つの
部分矩形領域外となる線分が画面上に表示されなくな
り、線分の途中に隙間ができ不自然な表示になるという
問題があった。
[Problems to be Solved by the Invention] However, for example, in the case of displaying a line segment extending over two partial rectangular areas B1 and B2 in FIG. 16, a line segment outside the two partial rectangular areas is displayed on the screen. There was a problem that it was not displayed and there was a gap in the middle of the line segment, resulting in an unnatural display.

第17図は、第16図における部分矩形領域B1,B2の境界部
分を拡大して示す表示説明図である。2つの部分矩形領
域B1,B2にまたがる線分lを表示する場合、実際の画面
表示は、図示するように線分lに最も近いx軸座標とy
軸座標の交点上のドットで行なわれる。ここで、互いに
隣接する矩形領域B1,B2は1本の境界線で区切られてい
るのではなく、各々の境界線で区切られている。このた
めに、矩形領域B1の境界線と線分lとの交点と、矩形領
域B2の境界線と線分lとの交点はそれぞれx1,x2とな
り、x1〜x2の部分の点(○印で示すドット)が表示され
なくなり、線分の途中に隙間ができるのである。なお、
各矩形領域B1,B2内では、各領域内での線分を表示し、
領域外は排除するX,Y座標上の点を与える処理(クリッ
ピング)が行なわれる。
FIG. 17 is a display explanatory diagram showing a boundary portion between the partial rectangular areas B1 and B2 in FIG. 16 in an enlarged manner. When displaying a line segment l that spans two partial rectangular areas B1 and B2, the actual screen display is as shown in the figure, the x-axis coordinate closest to the line segment l and y.
Done on the intersection of the axis coordinates. Here, the rectangular areas B1 and B2 adjacent to each other are not separated by one boundary line, but are separated by each boundary line. For this reason, the intersection of the boundary line of the rectangular area B1 and the line segment l and the intersection point of the boundary line of the rectangular area B2 and the line segment l are x1 and x2, respectively, and the points of the part of x1 to x2 (marked with a circle). The indicated dot) is not displayed, and a gap is created in the middle of the line segment. In addition,
In each rectangular area B1, B2, display the line segment in each area,
A process (clipping) of giving points on the X and Y coordinates to be excluded outside the region is performed.

本発明は、このような点に鑑みてなされたものであっ
て、各矩形領域の境界相互間でのドット欠落のない線分
を表示することのできるマルチウィンドウ表示装置にお
ける表示制御方法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and provides a display control method in a multi-window display device capable of displaying a line segment without a dot drop between boundaries of respective rectangular areas. The purpose is to

[問題点を解決するための手段] 第1図は本発明の原理を示すフローチャートである。本
発明は、ディスプレイ画面上に複数のウィンドウを重複
して設定できるようにしたマルチウィンドウ表示装置に
おいて、ウィンドウの配置や重複の優先順位を制御する
ためにウィンドウ表示画面全体をいくつかの部分矩形の
和として管理する画面制御方式を用い、描画する線分が
部分矩形から外に出る場合、当該矩形領域の境界線と線
分の交点を求める(ステップ)。次に境界線から1ド
ット離れる点を求めその点より1ドット手前の点を求
め、交点ドットとして表示する(ステップ)。また、
描画する線分が部分矩形内に入る場合、当該矩形領域の
境界より1ドット手前の線において交点を求める(ステ
ップ)。次に境界線上に乗る点を求め当該点を交点ド
ットとして表示する(ステップ)。
[Means for Solving Problems] FIG. 1 is a flowchart showing the principle of the present invention. The present invention is a multi-window display device capable of overlappingly setting a plurality of windows on a display screen. In order to control the arrangement of windows and the priority order of overlapping, the entire window display screen is divided into several partial rectangles. When the line segment to be drawn goes out of the partial rectangle using the screen control method of managing as a sum, the intersection of the boundary line of the rectangular region and the line segment is obtained (step). Next, a point 1 dot away from the boundary line is obtained, and a point 1 dot before the point is obtained and displayed as an intersection dot (step). Also,
When the line segment to be drawn falls within the partial rectangle, an intersection is obtained in a line one dot before the boundary of the rectangular area (step). Next, a point on the boundary line is obtained and the point is displayed as an intersection dot (step).

[作用] 一方の部分矩形領域上の交点から他方の部分矩形領域上
の交点への線分は、DDAアルゴリズムを利用する本発明
の方法によって新しい交点が求められ、その点が表示さ
れる。従って、部分矩形領域の境界におけるドット欠落
がなくなる。
[Operation] For the line segment from the intersection on one partial rectangular area to the intersection on the other partial rectangular area, a new intersection is obtained by the method of the present invention using the DDA algorithm, and the point is displayed. Therefore, there is no dot dropout at the boundary of the partial rectangular area.

[実施例] 以下、図面を用いて本発明の実施例を詳細に説明する。Embodiments Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の表示制御方法の概念図である。図にお
いてB1,B2は表示画面上での部分矩形領域である。l1
矢印(a)に示すように部分矩形領域B1から外に出るよ
うに引く線分、l2は矢印(b)に示すように部分矩形領
域B1に入るように引く線分である。
FIG. 2 is a conceptual diagram of the display control method of the present invention. In the figure, B1 and B2 are partial rectangular areas on the display screen. l 1 is a line segment drawn out from the partial rectangular area B1 as shown by an arrow (a), and l 2 is a line segment drawn so as to enter the partial rectangular area B1 as shown by an arrow (b).

線分l1の場合、まず、部分矩形領域B1の境界線と線分l1
の交点P1を求めた後、境界線から1ドット離れる点P2を
求め、その点P2より1ドット手前の点P3を、求めるべき
交点とする。
In the case of the line segment l 1 , first, the boundary line of the partial rectangular area B1 and the line segment l 1
After obtaining the intersection point P1 of P1, the point P2 that is one dot away from the boundary line is obtained, and the point P3 that is one dot before the point P2 is the intersection point to be obtained.

また、線分l2の場合、部分矩形領域B2の境界より1ドッ
ト手前の線における交点Q1を求めた後、境界線上に乗る
点Q2を求め、その点を求めるべき交点とする。これによ
って、部分矩形領域B2の境界線上におけるこれまで抜け
た状態となっていたドットを表示することができる。こ
こで、前記した境界線上で求めた点P3や点Q2は、公知の
DDAのアルゴリズムを利用したものであって、第3図に
その概略概念図を示す。
Further, in the case of the line segment l 2 , after obtaining the intersection point Q1 in the line one dot before the boundary of the partial rectangular area B2, the point Q2 on the boundary line is obtained, and that point is set as the intersection point to be obtained. As a result, it is possible to display the dots on the boundary line of the partial rectangular area B2 that have been missing until now. Here, the points P3 and Q2 obtained on the above-mentioned boundary line are known
It uses the DDA algorithm, and its schematic concept is shown in FIG.

このDDAアルゴリズムは、線分描画アルゴリズムであっ
て、図における線分lを描画する際、始点のx座標x=
x1から1ずつx座標を増加させていった場合、y座標を
現y座標と等しいか、又は1つ増加するかを線分lから
のy軸方向距離に応じて始点から終点に向けて順次判定
しながらドットで示すように交点上における表示点を求
めるものである。このようなDDAアルゴリズムを部分矩
形領域の境界線上のドットを求める場合に利用すること
によって、各部分矩形領域間で連続性のある線分を表示
することを可能としている。
This DDA algorithm is a line segment drawing algorithm, and when drawing the line segment l in the figure, the x coordinate of the starting point x =
When the x coordinate is increased by 1 from x1, whether the y coordinate is equal to the current y coordinate or is increased by 1 is sequentially performed from the start point to the end point according to the y-axis direction distance from the line segment l. While making the determination, the display point on the intersection point is obtained as indicated by a dot. By using such a DDA algorithm to obtain dots on the boundary line of a partial rectangular area, it is possible to display a continuous line segment between the partial rectangular areas.

第4図は、本発明の表示制御方法を実現する装置の構成
概念図である。図において、1はCRTのようなディスプ
レイ、2はディスプレイ1に表示する画像データを格納
したフレームメモリ、3は表示制御部で、この中には、
複数個に分割された各部分矩形領域(ウィンドウ)内に
線分を引き、該当領域外は排除するクリッピング処理を
行なうクリッピング手段31と、各部分矩形領域の境界線
上のドットをDDAを利用して求める補正手段32とを有し
ている。4は表示データを格納したメモリで、線分近似
のベクトルデータが格納されている。5は主制御部で、
データバスBSを介してメモリ4、表示制御部3、フレー
ムメモリ2にそれぞれ結合している。この主制御部5
は、プログラムによって動作するCPUが用いられてお
り、ディスプレイ1に対するマルチウィンドウ制御や、
メモリ4内のデータをディスプレイ1上での座標値に変
換する座標変換等を行なう。
FIG. 4 is a conceptual diagram of the configuration of an apparatus that realizes the display control method of the present invention. In the figure, 1 is a display such as a CRT, 2 is a frame memory that stores image data to be displayed on the display 1, and 3 is a display control unit.
By using a DDA to draw a line segment in each of the divided partial rectangular areas (windows) and perform clipping processing to eliminate the outside of the applicable area, and dots on the boundary line of each partial rectangular area. It has a correction means 32 for obtaining. Reference numeral 4 is a memory for storing display data, and vector data for line segment approximation is stored therein. 5 is a main control unit,
The memory 4, the display controller 3, and the frame memory 2 are coupled to each other via a data bus BS. This main control unit 5
Uses a CPU that operates according to a program, multi-window control for display 1,
Coordinate conversion for converting the data in the memory 4 into the coordinate values on the display 1 is performed.

このように構成された装置の動作を説明すれば以下の通
りである。
The operation of the apparatus thus configured will be described below.

第5図は、全体動作の概要を示すフローチャートであ
る。はじめに主制御部5は、描画すべき線分(ディスプ
レイ1上に描画すべき図形はすべて線分の情報として格
納されている)のデータをメモリ4から読み出し、この
線分が部分矩形外であるかどうか、また、部分矩形内で
あるかどうか判断する(ステップ1,2)。この判断によ
って、描画する線分がクリッピングの対象となるかどう
か決定される。
FIG. 5 is a flowchart showing the outline of the entire operation. First, the main control unit 5 reads the data of the line segment to be drawn (all the figures to be drawn on the display 1 are stored as the information of the line segment) from the memory 4, and this line segment is outside the partial rectangle. It is determined whether or not it is within the partial rectangle (steps 1 and 2). By this determination, it is determined whether or not the line segment to be drawn is to be clipped.

第6図は、描画すべき線分lと、部分矩形領域Bとの関
係を示す図である。ここでクリッピングの対象とならな
いのは、(a)に示すように、線分lが部分矩形領域B
より外側にある場合、(b)に示すように線分lが部分
矩形領域Bの内側にある場合である。これらの場合に
は、ステップ1からステップ11に、又はステップ2から
ステップ21にそれぞれ分岐し、描画領域なしとして処理
するか、又は線分全部を描画かる処理を行なう。前記以
外の場合はクリッピングの対象となり、クリッピング処
理を行なう(ステップ3)。ここでクリッピングの対象
となる場合としては、(c)に示すように、線分lの始
点と終点位置が共に部分矩形領域Bより外にある場合、
(d)に示すように、始点が部分矩形領域B内にあり、
終点が外にある場合、(e)に示すように始点が部分矩
形領域B外にあり終点が内側にある場合の3通りとな
る。
FIG. 6 is a diagram showing the relationship between the line segment l to be drawn and the partial rectangular area B. Here, as shown in (a), the line segment 1 is not a target of clipping because the line segment l is a partial rectangular area B.
The case where the line segment 1 is on the outer side is the case where the line segment 1 is on the inner side of the partial rectangular area B as shown in FIG. In these cases, the process branches from step 1 to step 11 or from step 2 to step 21, respectively, and the process is performed without the drawing region or the process of drawing the entire line segment is performed. In cases other than the above, clipping is performed and clipping processing is performed (step 3). Here, as a case to be the object of clipping, as shown in (c), when both the start point and the end point of the line segment l are outside the partial rectangular area B,
As shown in (d), the starting point is in the partial rectangular area B,
When the end point is outside, as shown in (e), there are three cases where the start point is outside the partial rectangular area B and the end point is inside.

これらのうちで、(c)の場合は始点のクリッピング及
び終点のクリッピングが必要であり、(d)の場合は、
終点のクリッピングが必要であり、(e)の場合は始点
のクリッピングが必要となる。始点のクリッピングは、
第2図において、矢印a方向に線分l1を引く場合であ
り、終点のクリッピングは、第2図において、矢印b方
向に線分l2を引く場合である。
Of these, in the case of (c), the clipping of the start point and the clipping of the end point are necessary, and in the case of (d),
The end point needs to be clipped, and in the case of (e), the start point needs to be clipped. The clipping of the starting point is
In FIG. 2, the line segment l 1 is drawn in the direction of arrow a, and the clipping of the end point is the case where the line segment l 2 is drawn in the direction of arrow b in FIG.

第7図はクリッピング処理の流れを示すフローチャート
である。クリッピング処理は、始点クリッピングと、終
点クリッピングとからなり、各クリッピングの概略フロ
ーを第8図及び第9図に示す。
FIG. 7 is a flowchart showing the flow of clipping processing. The clipping process consists of start point clipping and end point clipping, and a schematic flow of each clipping is shown in FIGS. 8 and 9.

ここで始点クリッピングは、第10図に示す線分l1と、部
分矩形境界よりも1ドット広い仮想領域境界BOとの交点
O1を求め(ステップ31)、その後にDDAアルゴリズムに
よって判定を続け(ステップ32)、実際の部分矩形領域
境界B1に乗った点O2を交点として採用する(ステップ3
3,34)。
Here, the starting point clipping is the intersection of the line segment l 1 shown in FIG. 10 and the virtual area boundary BO that is 1 dot wider than the partial rectangular boundary.
O1 is obtained (step 31), and then the determination is continued by the DDA algorithm (step 32), and the point O2 on the actual partial rectangular area boundary B1 is adopted as the intersection (step 3).
3,34).

また、終点クリッピングは、第11図に示す線分l2と、部
分矩形領域境界B1との交点O1を求め(ステップ35)た
後、部分矩形領域より1ドット広い仮想領域境界BOに点
が乗るまでDDAアルゴリズムによって判定を続け(ステ
ップ36,37)、乗る直前の点O2を交点として採用する
(ステップ38)。
In the end point clipping, after obtaining the intersection O1 of the line segment l 2 shown in FIG. 11 and the partial rectangular area boundary B1 (step 35), the point is placed on the virtual area boundary BO which is one dot wider than the partial rectangular area. The determination is continued by the DDA algorithm until then (steps 36 and 37), and the point O2 immediately before riding is adopted as the intersection (step 38).

このようにして求められた始点、終点に対し、始点から
終点に向かう線分を描画する(第5図、ステップ4)。
A line segment extending from the starting point to the ending point is drawn with respect to the starting point and the ending point thus obtained (FIG. 5, step 4).

以上のような動作によって、マルチウィンドウ境界上で
のドット抜けを補間することが可能となる。
With the above-described operation, it becomes possible to interpolate the dot omission on the multi-window boundary.

第12図は第8図に示した始点クリップの更に詳細を示す
フローチャートであり、第13図は第9図に示した終点ク
リップの更に詳細を示すフローチャートである。
FIG. 12 is a flow chart showing the details of the start point clip shown in FIG. 8, and FIG. 13 is a flow chart showing the details of the end point clip shown in FIG.

これらのフローチャートの中で、交点X,Yにおけるdinit
を求めるステップがあるが、これは、BresenhamのDDAア
ルゴリズムを想定しており、dの値はアルゴリズムに従
ってd1から順に求めてもよいが、時間がかかるため計算
により求められる。dは(1)式によって定義されてい
る。
In these flow charts, dinit at intersection X, Y
, Which assumes the Bresenham DDA algorithm, and the value of d may be calculated sequentially from d1 according to the algorithm, but it is calculated by calculation because it takes time. d is defined by the equation (1).

d=dx(S−t) …(1) ここで、s,tは第14図に示すようにy軸方向の距離(1
ドットより小)を表わしている。
d = dx (S−t) (1) Here, s and t are distances (1) in the y-axis direction as shown in FIG.
(Smaller than dot).

(1)式から、 d=dx(S−t) =dx{S−(1−S)} =dx(2S−1) …(2) ここで、sは第14図より S=y0+(dy/dx)(x−x0)−Y …(3) で表わされる。From the equation (1), d = dx (S−t) = dx {S− (1−S)} = dx (2S−1) (2) where s is S = y 0 + from FIG. (Dy / dx) (x−x 0 ) −Y (3)

(3)式を(2)式に代入すると(4)式が得られ、こ
れが点(X,Y)におけるdの値となる。
By substituting the equation (3) into the equation (2), the equation (4) is obtained, which is the value of d at the point (X, Y).

d=dx[2{y0+(dy/dx) (x−x0)−Y}−1] =2{dy(x−x0)+dx(y0−Y)} −d× …(4) [発明の効果] 以上詳細に説明したように、本発明によれば部分矩形領
域の境界での交点からDDAアルゴリズムを利用して新た
な交点を求め、その交点を線分の一部として描画するよ
うにしたもので、各部分矩形領域の境界相互間で、ドッ
ト欠落のない線分を表示することのできる表示制御方法
を提供することができる。
d = dx [2 {y 0 + (dy / dx) (x-x 0) -Y} -1] = 2 {dy (x-x 0) + dx (y 0 -Y)} -d × ... (4 [Effects of the Invention] As described above in detail, according to the present invention, a new intersection is obtained from the intersection at the boundary of the partial rectangular area by using the DDA algorithm, and the intersection is drawn as a part of the line segment. By doing so, it is possible to provide a display control method capable of displaying a line segment having no missing dots between the boundaries of the respective partial rectangular areas.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の原理を示すフローチャート、 第2図は本発明の表示制御方法の概念図、 第3図はDDAアルゴリズムの概略説明図、 第4図は本発明の表示制御方法を実現する装置の構成概
念図、 第5図は全体動作の概要を示すフローチャート、 第6図は描画すべき線分と部分矩形領域との関係を示す
図、 第7図はクリッピング処理の流れを示すフローチャー
ト、 第8図及び第9図は始点及び終点クリッピングの概略を
示すフローチャート、 第10図は始点クリッピングの説明図、 第11図は終点クリッピングの説明図、 第12図及び第13図は始点及び終点クリッピングの更に詳
細を示すフローチャート、 第14図はDDAアルゴリズムにおけるdの値を求める説明
図、 第15図はマルチウィンドウの説明図、 第16図はメモリ上での領域分割の様子を示す概念図、 第17図は第16図における部分矩形領域B1,B2の境界部分
を拡大して示す表示説明図である。 第4図において、 1はディスプレイ、2はフレームメモリ、3は表示制御
部、4はメモリ、5は主制御部、31はクリッピング手
段、32は補正手段である。
FIG. 1 is a flow chart showing the principle of the present invention, FIG. 2 is a conceptual diagram of a display control method of the present invention, FIG. 3 is a schematic explanatory diagram of a DDA algorithm, and FIG. 4 is a display control method of the present invention. FIG. 5 is a conceptual diagram of the configuration of the apparatus, FIG. 5 is a flowchart showing the outline of the overall operation, FIG. 6 is a diagram showing the relationship between the line segment to be drawn and the partial rectangular area, and FIG. 7 is a flowchart showing the flow of clipping processing. 8 and 9 are flowcharts showing the outline of the start point and end point clipping, FIG. 10 is an explanatory view of the start point clipping, FIG. 11 is an explanatory view of the end point clipping, and FIGS. 12 and 13 are the start point and end point clipping. Fig. 14 is an explanatory diagram for obtaining the value of d in the DDA algorithm, Fig. 15 is an explanatory diagram of multi-window, and Fig. 16 is a schematic diagram showing how areas are divided on the memory. Fig, 17 Fig. Is a display diagram showing an enlarged boundary of the partial rectangular region B1, B2 in FIG. 16. In FIG. 4, 1 is a display, 2 is a frame memory, 3 is a display controller, 4 is a memory, 5 is a main controller, 31 is clipping means, and 32 is correction means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ディスプレイ画面上に複数のウィンドウを
重複して設定できるようにしたマルチウィンドウ表示装
置において、ウィンドウの配置、重複の優先順位を制御
するためにウィンドウ表示画面全体をいくつかの部分矩
形の和として管理する画面制御方式を用い、描画する線
分が部分矩形から外に出る場合、当該矩形領域の境界線
と線分の交点を求め(ステップ)、 次に境界線から1ドット離れる点を求めその点より1ド
ット手前の点を求め交点ドットとして表示し(ステップ
)、 描画する線分が部分矩形内に入る場合、当該矩形領域の
境界より1ドット手前の線において交点を求め(ステッ
プ)、 次に境界線上に乗る点を求め当該点を交点ドットとして
表示する(ステップ) ことを特徴とするマルチウィンドウ表示装置における表
示制御方法。
1. In a multi-window display device capable of overlappingly setting a plurality of windows on a display screen, several partial rectangles are formed on the entire window display screen to control the arrangement of windows and the priority of overlapping. When the line segment to be drawn goes out of the partial rectangle using the screen control method that manages it as the sum of the two, the intersection point of the rectangle area and the line segment is obtained (step), and then the point 1 dot away from the border line Then, the point one dot before that point is calculated and displayed as an intersection dot (step), and if the line segment to be drawn falls within the partial rectangle, the intersection point is calculated on the line one dot before the boundary of the rectangular area (step). ), Next, a point on the boundary line is found and the point is displayed as an intersection dot (step) Display on a multi-window display device characterized by the following: Control method.
JP62326129A 1987-12-22 1987-12-22 Display control method in multi-window display device Expired - Fee Related JPH0719198B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62326129A JPH0719198B2 (en) 1987-12-22 1987-12-22 Display control method in multi-window display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62326129A JPH0719198B2 (en) 1987-12-22 1987-12-22 Display control method in multi-window display device

Publications (2)

Publication Number Publication Date
JPH01166126A JPH01166126A (en) 1989-06-30
JPH0719198B2 true JPH0719198B2 (en) 1995-03-06

Family

ID=18184390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62326129A Expired - Fee Related JPH0719198B2 (en) 1987-12-22 1987-12-22 Display control method in multi-window display device

Country Status (1)

Country Link
JP (1) JPH0719198B2 (en)

Also Published As

Publication number Publication date
JPH01166126A (en) 1989-06-30

Similar Documents

Publication Publication Date Title
JP3870109B2 (en) Image display apparatus, image display method, and image display program
US4780709A (en) Display processor
US5200738A (en) Method of image display with scrolling capability
JP2585515B2 (en) Drawing method
JP3892900B2 (en) Window system with individual windows of arbitrary resolution for display on multiple devices of arbitrary resolution
JP3788524B2 (en) Graphics controller
EP0300502B1 (en) High speed page turning control system
US4511893A (en) Method of storing images in the form of contours and photo-typesetting apparatus thereof
JPH03273368A (en) Graphic processor
KR100770622B1 (en) Display controller enabling superposed display
US5469189A (en) Display apparatus and method with multi-window function
JPH06168334A (en) Plotting device
JPH0719198B2 (en) Display control method in multi-window display device
US5691743A (en) Image display device
US5204945A (en) Method of displaying thick line and information unit and display system used therefor
JP3363028B2 (en) Image display method
JP3493745B2 (en) Drawing device
JP2667187B2 (en) Line clipping method in multi-window
JP3760492B2 (en) Multi-window display device and multi-window display method
JP2537223B2 (en) Graphic processing device
JP2714114B2 (en) Graphic processing method and graphic system
JPH05249951A (en) Image information presenting device
JPH01147593A (en) Automatic window area setting for information retrieving screen
JPS63240682A (en) Clipping processing system for graphic display
JPH09311626A (en) Image displaying method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees