JPH08305775A - Processing method for discriminating free closed area and documents design system - Google Patents

Processing method for discriminating free closed area and documents design system

Info

Publication number
JPH08305775A
JPH08305775A JP7135684A JP13568495A JPH08305775A JP H08305775 A JPH08305775 A JP H08305775A JP 7135684 A JP7135684 A JP 7135684A JP 13568495 A JP13568495 A JP 13568495A JP H08305775 A JPH08305775 A JP H08305775A
Authority
JP
Japan
Prior art keywords
point
intersections
processing
graphic
closed area
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.)
Withdrawn
Application number
JP7135684A
Other languages
Japanese (ja)
Inventor
Takahito Kanazawa
貴人 金沢
Naomi Nomura
尚美 野村
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP7135684A priority Critical patent/JPH08305775A/en
Publication of JPH08305775A publication Critical patent/JPH08305775A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To speed up the system response and to surely and easily execute specification operation by specifying a point on a main screen for design and discriminating a graphic including the point and a closed area in the graphic from the number of intersections among x and y straight lines and a graphic including the point. CONSTITUTION: This system consists of a free closed area discriminating processor 1, a LAN 2, a data storing system 3 for mutually transferring stored data to/from the processor 1 through the LAN 2, an input device 4, and an output device 5. When a point is specified on a plane coordinate system, x and y straight lines to be two straight lines including the specified point and not parallel with each other are generated and a graphic in the plane coordinate system is selected. The number of x intersections where the selected graphic intersects with the x straight line and the number of y intersections where the selected graphic intersects with the y stright lines are calculated. When each of the number of x intersections and the number of y intersections is an even number more than two, a state that the graphic includes the specified point is judged, and in other cases, a state that the graphic does not include the specified point is judged.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プリミティブ等の図形
の内部に指定された点が含まれるか否かの判別処理に関
し、特にデザインデータを作成する過程の表示画面にお
いてプリミティブ等の図形を指示ポイントで処理対象と
して指定する等の場合に有効な自由閉領域判別処理方法
およびそれを適用した帳票類のデザインシステムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process for discriminating whether or not a specified point is included in a figure such as a primitive, and particularly, to indicate a figure such as a primitive on a display screen in the process of creating design data. The present invention relates to a free closed area discrimination processing method which is effective when designated as a processing target by points, and a design system of forms to which the method is applied.

【0002】[0002]

【従来の技術】プリミティブは例えば、矩形、円形、直
線等の図形、地紋、絵柄、マーク、記号、文字列等のデ
ザインの基礎部品であり、このプリミティブを組み合わ
せてデザインが行われる。プリミティブは必ずしも内容
が簡単でなくてもよく、また種類が限定されるものでも
なく、任意の使用頻度の高いものをプリミティブとする
ことができる。プリミティブを用いたデザインはプリミ
ティブの指定を行う過程と指定されたプリミティブに対
する処理を行う過程の2つの過程が基本となっている。
通常において頻繁に行われる処理にレイアウトがある
が、その他にも多くの処理が行われる。レイアウトされ
たプリミティブ(例えば矩形等の図形)に対して、その
内部に網点を生成する網生成処理、テキストデータを流
し込む流込み処理、等もその1つである。このように処
理を行うためには、デザインを行う画面上に表示されて
いる複数のプリミティブから、処理の対象として特定の
プリミティブを指定することが必要である。特にその内
部に対して処理を行う場合にはプリミティブが形成する
閉領域の内部を指定することが必要である。
2. Description of the Related Art Primitives are basic components for designing figures such as rectangles, circles, and straight lines, tint blocks, pictures, marks, symbols, and character strings, and the design is performed by combining these primitives. The primitive does not have to have a simple content, and the type is not limited, and any frequently used primitive can be used as the primitive. The design using primitives is basically based on two processes: a process of designating a primitive and a process of processing a designated primitive.
Layout is one of the processes that is usually performed frequently, but many other processes are also performed. One of them is a halftone generating process for generating halftone dots inside the laid-out primitives (for example, a figure such as a rectangle) and a pouring process for pouring text data. In order to perform such processing, it is necessary to specify a specific primitive as a processing target from a plurality of primitives displayed on the screen for designing. In particular, when processing the inside, it is necessary to specify the inside of the closed area formed by the primitive.

【0003】従来におけるプリミティブ閉領域の指定処
理は、プリミティブ閉領域の内部にマウスの指示ポイン
トを置いて、マウスボタンをクリックすることによって
行われる。このような操作によってプリミティブ閉領域
の指定が行われる理由、すなわちシステムにおいて閉領
域が判別される処理は、以下の〜の処理過程で行わ
れる。 平面座標系において点を指定し、 指定された点を起点とし線分を生成し、 平面座標系における図形の1つを選択し、 選択された図形と前記線分の交わる交点数を、r重点
はrとしてその他の交点は1として累計した交点数を演
算し、 交点数が奇数の場合に図形が点を含むと判定し、交点
数が偶数の場合に図形が点を含まないと判定する処理を
行い、 図形が点を包含しない場合はにおいて別の図形を選
択し以降の処理を繰返し、図形が点を包含する場合は、
その点に隣接する画素を図形境界まで辿り、全ての隣接
する画素の集合でもってプリミティブ閉領域とする。
The conventional process for designating a closed primitive region is performed by placing a mouse pointing point inside the closed primitive region and clicking a mouse button. The reason why the primitive closed region is specified by such an operation, that is, the process of determining the closed region in the system is performed in the following process steps (1) to (3). Specify a point in the plane coordinate system, generate a line segment starting from the specified point, select one of the figures in the plane coordinate system, and specify the number of intersections of the selected figure and the line Is r and the other intersections are 1 and the accumulated intersections are calculated. If the number of intersections is odd, it is determined that the figure contains points, and if the number of intersections is even, it is determined that the figure does not contain points. If the figure does not include the point, select another figure in and repeat the following process. If the figure contains the point,
Pixels adjacent to that point are traced to the figure boundary, and a set of all adjacent pixels is set as a primitive closed region.

【0004】[0004]

【発明が解決しようとする課題】しかし、このような処
理は計算負荷が大きく、デザインデータの内に図形が多
数ある場合には計算時間がかかるためシステムの応答が
遅くなるという問題があった。また、指定しようとする
プリミティブの内部の点を必ず指定しなければならず、
細かい図形、細長い図形等では点の指定が困難な場合が
あった。そこで本発明の目的は、システムの応答が速
く、かつ指定操作が確実で容易な自由図形閉領域判別処
理方法および帳票類デザインシステムを提供することに
ある。
However, there is a problem that such a processing has a heavy calculation load, and if the design data includes a large number of figures, it takes a long time to perform the calculation and the response of the system becomes slow. Also, you have to specify a point inside the primitive you want to specify,
In some cases, it was difficult to specify points for small figures and elongated figures. Therefore, an object of the present invention is to provide a free graphic closed area discrimination processing method and a form design system in which the response of the system is fast and the designation operation is reliable and easy.

【0005】[0005]

【課題を解決するための手段】上記目的は下記の本発明
によって達成される。即ち、本発明は、平面座標系にお
いて点を指定する点指定処理過程と、前記指定された点
を含み平行でない2つの直線であるx直線と、y直線
と、を生成する直線生成処理過程と、前記平面座標系に
おける図形を選択する図形選択処理過程と、前記選択さ
れた図形と前記x直線の交わる交点数であるx交点数
と、前記選択された図形と前記y直線の交わる交点数で
あるy交点数と、を演算する交点数演算処理過程と、前
記x交点数とy交点数がともに2以上の偶数の場合に前
記図形が前記点を含むと判定し、それ以外の場合に前記
図形が前記点を含まないと判定する処理を行う包含判定
処理過程と、を有する自由閉領域判別処理方法、であ
る。
The above object can be achieved by the present invention described below. That is, the present invention includes a point designation processing step of designating a point in a plane coordinate system, and a straight line generation processing step of generating two non-parallel straight lines including the designated point, namely an x straight line and ay straight line. , A figure selection processing step of selecting a figure in the plane coordinate system, the number of x intersections, which is the number of intersections of the selected figure and the x line, and the number of intersections of the selected figure and the y line. An intersection number calculation process of calculating a certain number of y intersections, and it is determined that the figure includes the point when both the number of x intersections and the number of y intersections are even numbers of 2 or more. A free closed area determination processing method, which includes an inclusion determination processing step of performing processing to determine that the figure does not include the point.

【0006】また本発明は、前記図形には平面代数曲線
で表される第1群図形と自由曲線で閉じられた第2群図
形とが含まれ、前記図形選択処理過程は前記第1群図形
を前記第2群図形に優先して選択し、選択された図形が
前記点を含むと判定されるまで新たな図形選択を行う処
理過程である自由閉領域判別処理方法、である。
Further, according to the present invention, the figures include a first group figure represented by a plane algebraic curve and a second group figure closed by a free curve, and the figure selecting process is performed by the first group figure. Is selected in preference to the second group of figures, and a new figure is selected until it is determined that the selected figure includes the point.

【0007】また本発明は、自由閉領域判別手段を有す
る帳票類デザインシステムであって、前記自由閉領域判
別手段は点指定処理手段と、直線生成処理手段と、図形
選択処理手段と、交点数演算処理手段と、包含判定処理
手段を有し、前記点指定処理手段は平面座標系において
点を指定する処理を行い、前記直線生成処理手段は前記
指定された点を含み平行でない2つの直線であるx直線
と、y直線と、を生成し前記図形選択処理手段は前記平
面座標系における図形を選択し、前記交点数演算処理手
段は前記選択された図形と前記x直線の交わる交点数で
あるx交点数と、前記選択された図形と前記y直線の交
わる交点数であるy交点数と、を演算し、前記包含判定
処理手段は前記x交点数とy交点数がともに2以上の偶
数の場合に前記図形が前記点を含むと判定し、それ以外
の場合に前記図形が前記点を含まないと判定する処理を
行う、帳票類デザインシステム、である。
The present invention is also a form design system having a free closed area determination means, wherein the free closed area determination means is a point designation processing means, a straight line generation processing means, a figure selection processing means, and the number of intersections. Comprising arithmetic processing means and inclusion determination processing means, the point designation processing means performs processing for designating points in a plane coordinate system, and the straight line generation processing means includes two straight lines that include the designated points and are not parallel. A certain x line and a y line are generated, the figure selection processing means selects a figure in the plane coordinate system, and the intersection number calculation processing means is the number of intersection points at which the selected figure and the x line intersect. The number of x intersections and the number of y intersections, which is the number of intersections of the selected figure and the y straight line, are calculated, and the inclusion determination processing means determines that both the number of x intersections and the number of y intersections are even numbers of 2 or more. If the above figure There were determined to contain the point, the graphic makes a process of determining and not including the point otherwise, a paper sheet design system.

【0008】[0008]

【作用】本発明の自由閉領域判別処理方法によれば、点
指定処理過程により平面座標系において点が指定され、
直線生成処理過程により前記指定された点を含み平行で
ない2つの直線であるx直線と、y直線と、が生成さ
れ、図形選択処理過程により前記平面座標系における図
形が選択され、交点数演算処理過程により前記選択され
た図形と前記x直線の交わる交点数であるx交点数と、
前記選択された図形と前記y直線の交わる交点数である
y交点数と、が演算され、包含判定処理過程により前記
x交点数とy交点数がともに2以上の偶数の場合に前記
図形が前記点を含むと判定され、それ以外の場合に前記
図形が前記点を含まないと判定される。前記図形に前記
点が含まれる場合には、前記図形が特定され従って、前
記図形を特定するデータに前記図形の閉領域を示すデー
タを付随させることによって、前記図形の閉領域が判別
される。
According to the free closed area discrimination processing method of the present invention, points are designated in the plane coordinate system in the point designation processing step,
In the straight line generation processing step, two straight lines including the designated point and not parallel, x straight line and y straight line, are generated, and a figure in the plane coordinate system is selected in the figure selection processing step, and the number of intersections calculation processing is performed. The number of x intersections, which is the number of intersections of the selected figure and the x straight line in the process,
The y number of intersections, which is the number of intersections of the selected figure and the y line, is calculated, and when the x number of intersections and the number of y points of intersection are both an even number of 2 or more by the inclusion determination process, the figure is It is determined to include the point, and in other cases, it is determined that the graphic does not include the point. When the figure includes the point, the figure is specified. Therefore, the closed area of the figure is determined by attaching data indicating the closed area of the figure to the data specifying the figure.

【0009】また本発明の自由閉領域判別処理方法によ
れば、前記図形には平面代数曲線で表される第1群図形
と自由曲線で閉じられた第2群図形とが含まれ、前記図
形選択処理過程により前記第1群図形を前記第2群図形
に優先して選択し、選択された図形が前記点を含むと判
定されるまで新たな図形選択が行われる。
According to the free closed area discrimination processing method of the present invention, the graphic includes a first group graphic represented by a plane algebraic curve and a second group graphic closed by the free curve, and the graphic In the selection process, the first group graphic is selected in preference to the second group graphic, and new graphic selection is performed until it is determined that the selected graphic includes the point.

【0010】また本発明の帳票類デザインシステムによ
れば、自由閉領域判別手段を有する帳票類デザインシス
テムであって、前記自由閉領域判別手段は点指定処理手
段と、直線生成処理手段と、図形選択処理手段と、交点
数演算処理手段と、包含判定処理手段を有し、前記点指
定処理手段により平面座標系において点を指定する処理
が行われ、前記直線生成処理手段により前記指定された
点を含み平行でない2つの直線であるx直線と、y直線
と、が生成され、前記図形選択処理手段により前記平面
座標系における図形が選択され、前記交点数演算処理手
段により前記選択された図形と前記x直線の交わる交点
数であるx交点数と、前記選択された図形と前記y直線
の交わる交点数であるy交点数と、が演算され、前記包
含判定処理手段により前記x交点数とy交点数がともに
2以上の偶数の場合に前記図形が前記点を含むと判定
し、それ以外の場合に前記図形が前記点を含まないと判
定する処理が行われる。前記図形に前記点が含まれる場
合には、前記図形が特定され従って、前記図形を特定す
るデータに前記図形の閉領域を示すデータを付随させる
ことによって、前記図形の閉領域が判別される。
According to the form design system of the present invention, there is provided a form design system having a free closed area discriminating means, wherein the free closed area discriminating means is a point designation processing means, a straight line generation processing means, and a graphic. It has a selection processing means, an intersection number calculation processing means, and an inclusion determination processing means, the point specifying processing means performs a processing of specifying a point in a plane coordinate system, and the straight line generation processing means performs the specified point. X straight line and y straight line which are not parallel to each other are generated, the figure in the plane coordinate system is selected by the figure selection processing means, and the selected figure is obtained by the intersection number calculation processing means. The number of x intersections, which is the number of intersections of the x line, and the number of y intersections, which is the number of intersections of the selected figure and the y line, are calculated, and the inclusion determination processing means Ri wherein x number of intersections and y intersection number is the figure in the case of both an even number of 2 or more is determined to include the point, is the graphic otherwise determines processing to be free of the point is performed. When the figure includes the point, the figure is specified. Therefore, the closed area of the figure is determined by attaching data indicating the closed area of the figure to the data specifying the figure.

【0011】[0011]

【実施例】以下、本発明の自由閉領域判別処理方法およ
び帳票類デザインシステムについて好適な実施例により
説明する。図1は本発明の自由閉領域判別処理方法を実
施する装置の構成を示す図である。図1において、1の
実線の枠で囲まれた部分は本発明の自由閉領域判別処理
方法を実施する自由閉領域判別処理装置、2はイーサー
ネット等のLAN(LocalArea Network)、3は基礎部
品(プリミティブ)データ、デザインデータ、その他の
データを保存するとともにそれらのデータをLANを通
じて自由閉領域判別処理装置との間で相互に転送するデ
ータストアシステム、4はキーボード、マウス等の入力
装置、5はディスプレイ、プリンタ等の出力手段であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A free closed area discrimination processing method and a form design system of the present invention will be described below with reference to preferred embodiments. FIG. 1 is a diagram showing the configuration of an apparatus for carrying out the free closed area discrimination processing method of the present invention. In FIG. 1, a portion surrounded by a solid line frame 1 is a free closed area discrimination processing device for implementing the free closed area discrimination processing method of the present invention, 2 is a LAN (Local Area Network) such as Ethernet, and 3 is a basic component. A data store system that stores (primitive) data, design data, and other data, and transfers the data to and from the free closed area discrimination processing device through a LAN. Reference numeral 4 denotes an input device such as a keyboard and a mouse. Is an output means such as a display or a printer.

【0012】図1において、自由閉領域判別処理装置1
は更に細部から構成されており、6は記憶手段、7は演
算手段であり、パーソナルコンピュータ、エンジニアリ
ングワークステーション等のコンピュータの本体部分で
ある。そして記憶手段6において、8はデータストアシ
ステム3から読込んだ、あるいはもともと記憶され、処
理対象となっているデザインデータにおいて使用されて
いるプリミティブデータ等の図形データの全ての図形要
素を含む図形テーブル、9は図形データ8に対し自由閉
領域判別処理を行って得た図形閉領域データである。さ
らに演算手段7において、10はデザインを行う主画面
において1点を指定し、その点を含むx直線とy直線と
図形との交点数から点を包含する図形とその図形の閉領
域の判別を行う自由閉領域判別処理ルーチンである。
In FIG. 1, a free closed area discrimination processing device 1
Is further composed of details, 6 is a storage means, 7 is a calculation means, and is a main body of a computer such as a personal computer or an engineering workstation. In the storage means 6, 8 is a graphic table including all graphic elements of graphic data such as primitive data read from the data store system 3 or originally stored and used in the design data to be processed. , 9 are graphic closed area data obtained by performing free closed area discrimination processing on the graphic data 8. Further, in the calculating means 7, 10 designates one point on the main screen for designing, and determines the figure including the point and the closed area of the figure from the number of intersections of the x line and the y line including the point and the figure. It is a free closed region determination processing routine to be performed.

【0013】図2は自由閉領域判別処理の流れを示すフ
ロー図である。図2に基づいて自由閉領域判別処理の詳
細を説明する。版下データ等のデザインデータが表示さ
れている主画面において、閉領域を判別する対象図形の
1点を指定する。その1点は通常は対象図形の内部の1
点であるが、後述するように本発明においては必ずしも
対象図形の内部でない対象図形の近辺であってもよい
(S1)。1点が指定されると演算手段7において、そ
の1点を含み、平行でない2つの直線であるx直線と、
y直線と、を生成する(S2)。
FIG. 2 is a flow chart showing the flow of the free closed area discrimination processing. Details of the free closed region determination processing will be described with reference to FIG. On the main screen on which design data such as block copy data is displayed, one point of the target graphic for discriminating the closed area is designated. That one point is usually one inside the target graphic
Although it is a point, in the present invention, it may be near the target graphic which is not necessarily inside the target graphic as will be described later (S1). When one point is designated, the computing means 7 includes two straight lines that include the one point and are not parallel to each other, and
The y straight line and are generated (S2).

【0014】次にデザインデータを構成する全ての図形
データのテーブルである図形テーブルから1つの図形の
データが読出され(S3)、その図形に対してx直線と
y直線との交点数が演算される(S4)。図3は図形と
指定された点との関係を示す図である。図3(A)は指
定点が三角形の内部にある場合を示し、図3(B)は指
定点が三角形の外部にある場合を示す。また図3(C)
は三角形に内接する矩形を示し、図3(D)は三角形に
隣接して円形が存在する場合の2つの内接する矩形を示
している。図3(A)に示すように、指定点が三角形の
内部にある場合は“交点がx直線に2つ、かつ、y直線
に2つある”。また図3(B)に示すように、指定点が
三角形の外部にある場合は“交点がx直線に2つ、か
つ、y直線に2つある”という条件を満たさない。この
ように交点の数から読出された図形が指定点を含むか否
かを判定することができる。
Next, the data of one figure is read from the figure table, which is a table of all figure data constituting the design data (S3), and the number of intersections of the x line and the y line is calculated for the figure. (S4). FIG. 3 is a diagram showing a relationship between a graphic and a designated point. FIG. 3A shows the case where the designated point is inside the triangle, and FIG. 3B shows the case where the designated point is outside the triangle. Also, FIG. 3 (C)
Shows a rectangle inscribed in a triangle, and FIG. 3D shows two inscribed rectangles when a circle exists adjacent to the triangle. As shown in FIG. 3A, when the designated point is inside the triangle, "there are two intersections on the x line and two intersections on the y line". Further, as shown in FIG. 3B, when the designated point is outside the triangle, the condition "there are two intersections on the x line and two on the y line" is not satisfied. In this way, it can be determined from the number of intersections whether or not the figure read out includes the designated point.

【0015】ところで、“交点がx直線に2つ、かつ、
y直線に2つある”という条件を満たすのは、必ずしも
指定点が三角形の内部にある場合に限らない。指定点が
三角形の内部にある場合は“交点がx直線に2つ、か
つ、y直線に2つある”という条件を満たす充分条件で
あり、必要条件ではない。図3(C)に示すように、三
角形に内接する矩形の内部に指定点があれば“交点がx
直線に2つ、かつ、y直線に2つある”という条件を満
たすことがわかる。本発明においては、このように図形
に内接する矩形の内部に指定点がある場合はその図形は
指定点を含むと判定され、図3(B)に示すように図形
に内接する矩形の外部に指定点がある場合はその図形は
指定点を含まないと判定される(S5)。
By the way, "two intersections exist on the x line, and
The condition "there are two in the y line" is not necessarily satisfied when the specified point is inside the triangle. When the specified point is inside the triangle, "two intersections exist in the x line and y It is a sufficient condition, not a necessary condition, that the condition "there are two straight lines" is satisfied. As shown in FIG. 3C, if there is a specified point inside the rectangle inscribed in the triangle, "the intersection point is x.
It can be seen that the condition "there are two in a straight line and two in a y straight line." In the present invention, if there is a designated point inside the rectangle inscribed in the figure, the designated point is set in the figure. If it is judged that the specified point is included, and the specified point is outside the rectangle inscribed in the figure as shown in FIG. 3B, it is judged that the figure does not include the specified point (S5).

【0016】S5における包含判定処理の結果、その図
形が指定点を含まないと判定された場合には、S3の図
形選択処理に戻り、別の図形のデータが読出され上述の
処理が繰り返される。またその図形が指定点を含むと判
定された場合には、その図形のデータに付随する閉領域
を示すデータから図形閉領域データが導き出すことがで
きる。 すなわち、図形のデータに付随する閉領域を示
すデータとは、その図形の内部の1点を与えるデータ、
あるいは条件式等である。例えば図形が円(a2 /x2
+b2 /y2 )=1あれば、円の内部の1点(x0 ,y
0 )、または、条件式(a2 /x2 +b2 /y2 )<1
である。
When it is determined as a result of the inclusion determination process in S5 that the graphic does not include the designated point, the process returns to the graphic selection process of S3, the data of another graphic is read, and the above-described process is repeated. When it is determined that the figure includes the designated point, the figure closed area data can be derived from the data indicating the closed area accompanying the data of the figure. That is, the data indicating the closed area attached to the data of the graphic is the data that gives one point inside the graphic,
Alternatively, it is a conditional expression or the like. For example, if the figure is a circle (a 2 / x 2
+ B 2 / y 2 ) = 1, one point (x 0 , y) inside the circle
0 ) or conditional expression (a 2 / x 2 + b 2 / y 2 ) <1
Is.

【0017】前述のように図3(D)は三角形に隣接し
て円形が存在する場合の2つの内接する矩形を示してい
る。図3(D)に示すように、2つの内接する矩形は斜
線の部分で重複している。この重複している部分を指定
点とした場合、この指定点は三角形と円形の2つの図形
に含まれることとなる。この場合は、図形テーブルから
読出される順番によって、早く読出された方が指定点を
含むと判定されることになる。
As described above, FIG. 3D shows two inscribed rectangles when a circle exists adjacent to the triangle. As shown in FIG. 3D, the two inscribed rectangles overlap each other in the shaded area. When this overlapping portion is designated as a designated point, this designated point is included in two figures of a triangle and a circle. In this case, depending on the order of reading from the figure table, it is determined that the one read earlier includes the designated point.

【0018】判定された図形を、判定されたことが判る
ように異なった表示形式で出力装置5のディスプレイに
表示するようにする。そのようにすると、判定が所望の
とおりに行われたか否かを知ることができる。図3
(D)に示す斜線部分を指定点とし、三角形が指定点を
含むと判定されたが、実は円形が所望の図形である、と
いうような場合には、そこで自由閉領域判別処理を終了
せず、さらに続行することにより、円形が指定点を含む
と判定される。このようなことを実行する操作は、たと
えば、1点を指定する操作はマウスの指示ポイントを指
定する点の位置においてマウスボタンをクリックするこ
とによって行い、また、判定された図形を変更する操作
は、その図形が判定されたことを示す状態において、再
度マウスボタンをクリックすることによって行うことが
できる。
The determined graphic is displayed on the display of the output device 5 in a different display format so that it can be understood that the graphic has been determined. By doing so, it is possible to know whether or not the determination is made as desired. FIG.
Although it is determined that the triangle includes the designated point with the shaded portion shown in (D) as the designated point, but in the case where the circle is actually the desired figure, the free closed area determination processing is not ended there. By further continuing, it is determined that the circle includes the designated point. To perform such an operation, for example, the operation of designating one point is performed by clicking the mouse button at the position of the point designating the mouse, and the operation of changing the determined figure is not performed. , Can be performed by clicking the mouse button again in the state that the figure is determined.

【0019】図4は自由閉領域判別処理に続く処理の一
例を示す図である。図4(A)は図形の内部に網点を生
成する処理が行われた例を示し、図4(B)は文字列を
図形の内部に貼付ける処理が行われた例を示している。
このように、自由閉領域判別処理は図形の内部に何らか
の処理を行うデザインの過程において、その処理の前段
として行われる処理である。
FIG. 4 is a diagram showing an example of processing following the free closed area discrimination processing. FIG. 4A shows an example in which a process of generating a halftone dot is performed inside the figure, and FIG. 4B shows an example in which a process of pasting a character string inside the figure is performed.
As described above, the free closed region determination process is a process performed as a preceding stage of the process in the design process in which some process is performed inside the figure.

【0020】図5は自由閉領域判別処理のより実践的な
流れを示すフロー図である。図5において図2との主な
相違点は、図形テーブルを第1群の図形テーブルと第2
群の図形テーブルに分け、判定を行う図形を選択する図
形選択処理の優先順位を設けた点にある。このようにす
ることによって、処理を効率化することができる。たと
えば、高速演算が可能な平面代数曲線で表される図形を
第1群の図形テーブルに格納し、多数のセグメントで表
現される図形を第2群の図形テーブルに格納すること
で、短時間に多数の図形に対して閉領域判別処理を実行
することができる。また、閉領域に対する図4に示すよ
うな処理を行う可能性の高い図形を第1群の図形テーブ
ルに格納し、そうでない図形を第2群の図形テーブルに
格納することで短時間に閉領域判別処理を実行すること
ができる。
FIG. 5 is a flow chart showing a more practical flow of the free closed area discrimination processing. The main difference between FIG. 5 and FIG. 2 is that the graphic table is divided into a first group of graphic tables and a second group of graphic tables.
The point is that the priority is given to the figure selection processing for selecting the figure to be determined by dividing the figure table into groups. By doing so, the processing can be made efficient. For example, by storing a figure represented by a plane algebraic curve capable of high-speed operation in the figure table of the first group and a figure represented by a large number of segments in the figure table of the second group, it is possible to shorten the time. The closed area determination process can be executed for many figures. Further, by storing a graphic having a high possibility of performing the processing as shown in FIG. 4 for the closed area in the graphic table of the first group and storing a graphic which is not so in the graphic table of the second group, the closed area can be formed in a short time. The determination process can be executed.

【0021】次に図5の処理フローについて説明する。
まず、デザインデータ上の1点を指定する(S10
1)。第1群の図形テーブルの図形を検索し(S10
2)、閉領域判別処理を実行してない図形があるか否か
を判定し(S103)、ある場合には交点産出処理を行
う(104)。“交点がx直線に2つ、かつ、y直線に
2つある”という条件を満たすか否かが判定され(S1
05)、条件を満たす場合には対象閉図形が判別された
こととなり(S106)終了する。そうでない場合に
は、S102に戻り、上述の過程を繰り返す。
Next, the processing flow of FIG. 5 will be described.
First, one point on the design data is designated (S10
1). A graphic in the graphic table of the first group is searched (S10
2) Then, it is determined whether or not there is a figure for which the closed region determination process has not been executed (S103), and if there is, a cross point production process is performed (104). It is determined whether or not the condition "there are two intersections on the x line and two on the y line" is satisfied (S1).
05), if the condition is satisfied, it means that the target closed figure is determined (S106), and the process ends. If not, the process returns to S102 and the above process is repeated.

【0022】S103において、閉領域判別処理を実行
してない図形があるか否かが判定され、ない場合には、
第2群の図形テーブルの図形を検索し(S107)、閉
領域判別処理を実行してない図形があるか否かを判定し
(S108)、ある場合には交点産出処理を行う(10
9)。“交点がx直線に2つ、かつ、y直線に2つあ
る”という条件を満たすか否かが判定され(S11
0)、条件を満たす場合には対象閉図形が判別されたこ
ととなり(S111)終了する。そうでない場合には、
S107に戻り、上述の過程を繰り返す。S103にお
いて、閉領域判別処理を実行してない図形があるか否か
が判定され、ない場合には、指定点は閉領域外であると
してメッセージ等を応答し(S112)、処理を終了す
る。
In S103, it is determined whether or not there is a figure for which the closed area determination processing has not been executed.
A graphic in the graphic table of the second group is searched (S107), it is determined whether or not there is a graphic for which the closed region determination processing has not been executed (S108), and if there is, an intersection production processing is performed (10).
9). It is determined whether or not the condition "there are two intersections on the x line and two on the y line" is satisfied (S11).
0), if the condition is satisfied, it means that the target closed figure is determined (S111), and the process ends. If not,
Returning to S107, the above process is repeated. In S103, it is determined whether or not there is a figure for which the closed region determination processing has not been executed. If there is not, a message is returned that the designated point is outside the closed region (S112), and the processing ends.

【0023】次に上述の自由閉領域判別処理方法を帳票
類デザインシステムに適用した本発明の帳票類デザイン
システムについて説明する。前述のように自由閉領域判
別処理方法は下記の帳票類デザインシステムにおいて、
図形の内部に何らかの処理を行う過程において、その処
理の前段として行われる。なおここでは帳票類とは、伝
票、複写伝票、OCR帳票、通帳、申込票、通知票、等
の所定のデータを記入するための項目(記入欄)が設け
られているものを指す。図6は本発明の帳票類デザイン
システムとその周辺装置を含み、メイン事業所と遠隔事
業所とを結ぶ総合システムの構成の一例を示す図であ
る。図6において、21a,21bは自由閉領域判別処
理処理機能を有する本発明の帳票類デザインシステムと
入出力装置からなるBFD(Business Form Design)タ
ーミナル、22はLANのイーサネット、23はBFD
データ、各種画像データ(カラー画像、部品画像等)の
データを保管・管理するデータストアシステム、24は
原稿画像等の入力を行う製版用スキャナー、25は写真
フィルムに画像データを出力するフィルム出力機、26
はBFDデータのデータ形式を変換した画像データを得
るBFD変換サーバー、27はカラー画像データを普通
紙上にプリントアウトするカンプ出力機、28は印刷用
の版下を作成する版下作成システムであるFCS(Form
Composing System )、29は遠隔地間のネットワーク
を接続する装置のルータである。
Next, the form design system of the present invention in which the above-described free closed area discrimination processing method is applied to the form design system will be described. As described above, the free closed area discrimination processing method is as follows in the form design system.
In the process of performing some kind of processing inside the figure, it is performed as a preceding stage of the processing. Here, the forms refer to items provided with items (entry fields) for entering predetermined data such as slips, copy slips, OCR slips, passbooks, application slips, and notification slips. FIG. 6 is a diagram showing an example of the configuration of an integrated system including a form design system of the present invention and its peripheral devices and connecting a main business office and a remote business office. In FIG. 6, 21a and 21b are BFD (Business Form Design) terminals including a form design system of the present invention having a free closed area discrimination processing function and an input / output device, 22 is a LAN Ethernet, and 23 is a BFD.
Data, a data store system for storing and managing various image data (color image, component image, etc.), 24 is a plate-making scanner for inputting original images, etc., 25 is a film output device for outputting image data to photographic film , 26
Is a BFD conversion server that obtains image data in which the data format of BFD data is converted, 27 is a comp output device that prints out color image data on plain paper, and 28 is an FCS that is a plate making system that creates a block for printing. (Form
Composing System), 29 is a router of a device for connecting a network between remote places.

【0024】図7は本発明の帳票類デザインシステム2
1(a,b)のメインルーチンの処理の流れを示すフロ
ー図である。図7において、帳票類デザインシステム2
1を立ち上げるとディスプレイにメインメニューが表示
される(S21)。メインメニューには“ユーティリテ
ィ”、“帳票作成”、“出力”、“終了”の4つのメニ
ューがあって、それらの1つを選択することによって、
それらの処理に進む(S22)。“ユーティリティ”が
選択されるとユーティリティ処理ルーチン(S23)が
起動され、“帳票作成”が選択されると帳票作成処理ル
ーチン(S24)が起動され、“出力”が選択されると
出力処理ルーチン(S25)が起動され、“終了”が選
択されると帳票類デザインシステムが終了する。“終
了”以外の処理ルーチンが終了した場合にはメインルー
チンのメインメニュー表示(S21)に戻る。
FIG. 7 shows a form design system 2 according to the present invention.
It is a flowchart which shows the flow of a main routine of 1 (a, b). In FIG. 7, the form design system 2
When 1 is activated, the main menu is displayed on the display (S21). There are four menus in the main menu: "Utility", "Form creation", "Output", and "End". By selecting one of them,
Proceed to those processes (S22). When "utility" is selected, the utility processing routine (S23) is started, when "form preparation" is selected, the form preparation processing routine (S24) is started, and when "output" is selected, the output processing routine ( When S25) is activated and "End" is selected, the form design system is ended. When a processing routine other than "end" is completed, the main routine of the main routine is displayed (S21).

【0025】ユーティリティ処理ルーチン(S23)に
おいては、さらにサブメニューがあり、“部品画像管
理”、“カラー画像管理”、“BFDデータ管理”、
“帳票部品データ管理”、“サンプル帳票データ管
理”、“WS(Workstation )データの取り込み処
理”、が行われる。“部品画像管理”においては、ユー
ザ単位でのロゴデータの管理、約物等の管理処理を行
う。また部品画像(プリミティブ)用のカートリッジM
Tのイニシャライズ、部品画像データのセーブ、部品画
像データのロードの各処理を行う。“カラー画像管理”
においては、写真画像の管理処理を行う。またカラー画
像用のカートリッジMTのイニシャライズ、カラー画像
データのセーブ、カラー画像データのロードの各処理を
行う。
In the utility processing routine (S23), there are further submenus, "component image management", "color image management", "BFD data management",
“Form part data management”, “sample form data management”, and “WS (Workstation) data import processing” are performed. In "component image management", management of logo data and management of punctuation marks and the like are performed for each user. In addition, a cartridge M for a component image (primitive)
Each process of T initialization, saving of component image data, and loading of component image data is performed. "Color image management"
In, the management processing of the photographic image is performed. Further, each processing of initializing the color image cartridge MT, saving the color image data, and loading the color image data is performed.

【0026】“BFDデータ管理”においては、BFD
で作成したデータの管理処理を行う。またBFDデータ
用のカートリッジMTのイニシャライズ、BFDデータ
のセーブ、BFDデータのロードの各処理を行う。“帳
票部品データ管理”においては、帳票部品(必要箇所の
み分割して部品格納している帳票)の管理処理を行う。
また帳票部品データ用のカートリッジMTのイニシャラ
イズ、帳票部品データのセーブ、帳票部品データのロー
ドの各処理を行う。“サンプル帳票データ管理”におい
ては、サンプル帳票(プレゼンテーション帳票)の管理
処理を行う。またサンプル帳票データ用のカートリッジ
MTのイニシャライズ、サンプル帳票データのセーブ、
サンプル帳票データのロードの各処理を行う。“WS
(Workstasion )データの取り込み処理”においては、
WSを経由してスキャナーから取込んだ画像データの余
白除去、データ登録を行う処理を行う。
In "BFD data management", the BFD
Manage the data created in. Further, each processing of initializing the cartridge MT for BFD data, saving BFD data, and loading BFD data is performed. In the “form part data management”, management processing of form parts (forms in which only necessary parts are divided and parts are stored) is performed.
Further, each process of initializing the cartridge MT for form part data, saving the form part data, and loading the form part data is performed. In the “sample form data management”, a sample form (presentation form) is managed. In addition, initialization of the cartridge MT for sample form data, saving of sample form data,
Perform each process of loading sample form data. "WS
(Workstasion) Data import process ”,
A process of removing a margin of image data captured from the scanner via WS and registering the data is performed.

【0027】出力処理ルーチン(S25)においては、
カンプ出力機27(図6参照)に全色合成出力、または
C(Cyan),M(Mgenta),Y(Yellow),Bk(Blac
k ),特色1〜特色24までの分色出力を行う“カンプ
出力処理”、フィルム出力機25(図6参照)にC,
M,Y,Bk,特色1〜特色24までの分色ポジフィル
ム、または分色ネガフィルムを出力する“フィルム出力
処理”を行う。またそれらの出力を行う際にレイアウト
して出力する“レイアウト出力処理”を行う。
In the output processing routine (S25),
All color composite output to the comp output device 27 (see FIG. 6), or C (Cyan), M (Mgenta), Y (Yellow), Bk (Blac
k), “Comp output processing” for performing color separation output of spot color 1 to spot color 24, C on the film output machine 25 (see FIG. 6),
"Film output processing" for outputting a color-separating positive film of M, Y, Bk, spot color 1 to spot color 24, or a color-separating negative film is performed. In addition, a "layout output process" for laying out and outputting when performing the output is performed.

【0028】“レイアウト出力処理”においては、さら
にサブメニューがあり、“レイアウト”、“オフセッ
ト”、“回転出力”が行われる。“レイアウト”におい
ては、さらにサブメニューがあり、“自動”、“位置指
定”が行われる。“自動”は、帳票をマルチ出力(配列
して複数の帳票を出力)する際、直前までの帳票のレイ
アウトに対し、次に配置する帳票を右側に配置するの
か、下側に配置するのかを指定することにより自動的に
配置を完了する処理を行う。“位置指定”は、差し替え
出力、および合成出力等を行う場合に指定する処理であ
り、指定した帳票の左上を基準とした座標値入力により
レイアウト指定を行う。すなわち、位置指定サブメニ
ューが指定された時点で、対象となる帳票をマウスにて
指定する。座標入力ウインドウにて指定された帳票の
左上を基準とした相対座標値を入力する。
In the "layout output process", there is a submenu further, and "layout", "offset", and "rotation output" are performed. In "Layout", there is a sub menu, and "automatic" and "position designation" are performed. "Automatic" indicates whether to place the next form on the right side or the bottom side of the form layout up to immediately before when outputting multiple forms (arranging and outputting multiple forms). Processing is automatically completed by specifying it. “Position designation” is a process designated when performing replacement output, composite output, etc., and layout is designated by inputting coordinate values with the upper left of the designated form as a reference. That is, when the position designation submenu is designated, the target form is designated with the mouse. Input the relative coordinate value based on the upper left of the specified form in the coordinate input window.

【0029】“オフセット”においては、さらにサブメ
ニューがあり、“オフセット有り”、“オフセット無
し”が行われる。デフォルトは“オフセット有り”であ
る。“オフセット有り”は、フィルムの外枠サイズに対
して、外枠から内側に所定のオフセット距離を有する仕
上がりサイズが与えられる。“オフセット無し”は、仕
上がりサイズとフィルムサイズが一致する状態であり、
仕上がりサイズ外に存在するトンボは除去される。“回
転出力”においては、さらにサブメニューがあり、“正
向き出力”、“90度回転出力”、“180度回転出
力”、“270度回転出力”、が行われる。デフォルト
は“正向き出力”である。“正向き出力”は、その名称
のとおり帳票が正向きに出力される。他はその名称のと
おりの角度だけ時計回りに回転されて出力される。
In the "offset", there is a submenu, and "offset" and "offset" are performed. The default is “with offset”. “With offset” gives a finished size having a predetermined offset distance from the outer frame to the inner side with respect to the outer frame size of the film. "No offset" is a state where the finished size and the film size match.
The registration marks existing outside the finished size are removed. In the "rotation output", there is a submenu further, and "forward output", "90 degree rotation output", "180 degree rotation output", and "270 degree rotation output" are performed. The default is "forward output". As for the "forward output", the form is output in the normal direction as its name implies. The others are output by being rotated clockwise by the angle as the name implies.

【0030】次にメインルーチンにおいて帳票作成処理
ルーチンが起動された場合について説明する。図8は帳
票作成処理ルーチンにおける処理の流れを示すフロー図
である。図8において帳票作成処理ルーチン(図7のS
24)が起動されると、この処理ルーチンにおけるサブ
メニューが表示される(S31)。サブメニューは、
“ファイル”、“デザイン”、“表示”、“分色”、
“ユーティリティ”、“レイアウト”、“編集”、“部
品”からなり、これらのサブメニューから1つが選択さ
れると、選択されたメニューの処理ルーチンが起動され
る(S32)。
Next, the case where the form creation processing routine is started in the main routine will be described. FIG. 8 is a flowchart showing the flow of processing in the form creation processing routine. In FIG. 8, the form creation processing routine (S in FIG. 7)
When 24) is activated, a submenu in this processing routine is displayed (S31). The submenu is
"File", "Design", "Display", "Color separation",
It consists of "utility", "layout", "edit", and "part", and when one of these submenus is selected, the processing routine of the selected menu is activated (S32).

【0031】ファイル処理ルーチン(S33)は、さら
にサブメニュー“読み込み”、“登録”、“合成”、
“属性”からなり、BFDファイルの読み込みまたは登
録処理を行う。“読み込み”はBFDファイルの読み込
みを行い、“登録”はBFDファイルの登録を行い、
“合成”は同一オーダーの各枚目を合成し一つの枚目に
合成を行い、“属性”は各枚目の属性(サイズ等を)の
指定を行う。デザイン処理ルーチン(S34)は、さら
にサブメニュー“作画ツール”、“テキスト”、“カラ
ー画像”、“部品画像”、“トンボ”からなり、帳票を
デザインするための各種ツールを提供する。“作画ツー
ル”は直線、ボックス、円、楕円、連続線、自由曲線、
等分割線、閉領域スクリーン(網版作成)、補助線の作
成を行い、“テキスト”は日本語、欧文の文章作成を行
い、“カラー画像”はカラー画像の貼り込みを任意の形
状でトリミングして行い、“部品画像”はロゴ画像の貼
り込みを任意の形状でトリミングして行い、“トンボ”
は印刷管理用のトンボ(位置合わせマーク)を貼り込み
を行うツールである。なおプリミティブ(すなわち部
品)もここで作成することができ、作成された図形、テ
キスト等のデータを後述の部品処理ルーチン(S40)
においてプリミティブとして登録することで、プリミテ
ィブとされる。
The file processing routine (S33) further includes submenus "read", "register", "composite",
It is made up of "attributes" and reads or registers a BFD file. "Read" reads the BFD file, "Register" registers the BFD file,
"Combining" composes each sheet of the same order and composes one sheet, and "attribute" specifies the attribute (size, etc.) of each sheet. The design processing routine (S34) further comprises submenus "drawing tool", "text", "color image", "part image", and "register mark", and provides various tools for designing a form. "Drawing tools" are straight lines, boxes, circles, ellipses, continuous lines, free curves,
Equal division lines, closed area screen (meshing), auxiliary lines are created, "text" is created in Japanese and European sentences, and "color image" is a color image paste trimmed in any shape. The "part image" is made by trimming the logo image pasted with an arbitrary shape, and then "register mark"
Is a tool for pasting registration marks (registration marks) for print management. It should be noted that primitives (that is, parts) can also be created here, and the created graphics, text, etc. data can be used for a part processing routine (S40) described later.
By registering as a primitive in, it becomes a primitive.

【0032】表示処理ルーチン(S35)は、さらにサ
ブメニュー“チャート設定”、“画面ズーム”、“補助
線表示”、“画面切り替え”、“画面スクロール”から
なり、ディスプレイ表示に関する各種ツールを提供す
る。“チャート設定”は指定のチャートをディスプレー
に表示し、“画面ズーム”は表示されている画面を拡大
表示し、“補助線表示”は補助線を表示し、“画面切り
替え”はフォーム台紙(登録データ作成画面)、作業台
紙(ワーク画面)の2つの画面を切り替え、“画面スク
ロール”は表示する画面をスクローする処理を行う。分
色処理ルーチン(S36)は、さらにサブメニュー“主
版設定”、“フィルター分色”、“個別分色”、“グラ
デーション処理”からなり、BFDデータ、およびFC
S版下データの分色作業を行う処理を行う。“主版設
定”は罫線、網版、文字の各データに対し主に使用する
色属性を一括して設定し、“フィルター分色”は任意形
状により、その中に含まれる罫線、網版、文字のそれぞ
れに対し色属性を指定し、“個別分色”は個々のデータ
に対し、簡易的に色属性のみを指定する処理を行う。ま
た、“グラデーション処理”は対象図形の角度とは独立
してグラデーション自体に角度を持たせ、対象図形にグ
ラデーションを施す処理を行う。
The display processing routine (S35) further includes submenus "chart setting", "screen zoom", "auxiliary line display", "screen switching", and "screen scroll", and provides various tools for display display. . "Chart setting" displays the specified chart on the display, "Screen zoom" enlarges the displayed screen, "Auxiliary line display" displays an auxiliary line, and "Screen switching" is a form mount (register The two screens of the data creation screen) and the work mount (work screen) are switched, and "screen scroll" performs a process of scrolling the screen to be displayed. The color separation processing routine (S36) further includes submenus "main plate setting", "filter color separation", "individual color separation", "gradation processing", BFD data, and FC.
Performs a process to perform color separation work of S block data. "Main plate setting" collectively sets the color attributes mainly used for each data of ruled line, halftone, and character, and "filter color separation" is an arbitrary shape and the ruled line, halftone, A color attribute is designated for each character, and "individual color separation" simply designates only the color attribute for individual data. In the "gradation processing", the gradation is given to the target graphic independently of the angle of the target graphic, and the gradation is applied to the target graphic.

【0033】ユーティリティ処理ルーチン(S37)
は、さらにサブメニュー“カラーコンバージョン”、
“スクリーン設定”、“部品画像DB検索”、“カラー
画像DB検索”からなり、帳票作成モードにおけるデザ
イン補助処理を行う。“カラーコンバージョン”は特色
にて作成した帳票データを一括してプロセスカラーに変
更し、“スクリーン設定”は使用する出力機の解像度、
線数、角度を設定し、“部品画像DB検索”は得意先ロ
ゴ等をデータベースより検索し、“カラー画像DB検
索”はカラー画像(写真等)をデータベースより検索す
る処理を行う。
Utility processing routine (S37)
Is the submenu "Color conversion",
It consists of "screen setting", "component image DB search", and "color image DB search", and performs design assistance processing in the form creation mode. "Color conversion" collectively changes the form data created with special colors to process colors, and "Screen setting" sets the resolution of the output machine to be used.
The number of lines and the angle are set, "part image DB search" searches the customer logo and the like from the database, and "color image DB search" performs color image (photograph, etc.) search from the database.

【0034】レイアウト処理ルーチン(S38)は、さ
らにサブメニュー“補助線移動”、“垂直線基準移
動”、“水平線基準移動”、“線対象コピー”、“コピ
ー鏡像”、“回転”、“リピート”からなり、デザイン
レイアウトに関する処理を行う。“補助線移動”は入力
した補助線に対し指定図形を揃え、“垂直線基準移動”
は指定した図形、テキスト等を垂直基準線に揃え、“水
平線基準移動”は指定した図形、テキスト等を水平基準
線に揃える処理を行う。また“線対象コピー”は指定し
た図形を基準線(垂直、水平)を基準とし対象にコピー
し、“コピー鏡像”は指定した図形を基準線(垂直、水
平)を基準とし鏡像イメージでコピーする処理を行う。
また“回転”は指定した図形を任意角度に回転し、“リ
ピート”は地紋等を主に作成する処理を行う。この“リ
ピート”処理においては単純な並べ処理とともに、拡大
または縮小を行いながらの並べ処理、回転を徐々に行い
ながらの並べ処理、網%を徐々に変化させながら図形を
並べる処理を行う。また、処理後は編集画面でのトリミ
ング処理により任意の形状に切り取ることができる。
The layout processing routine (S38) further includes submenus "move auxiliary line", "move vertical line", "move horizontal line", "copy line object", "copy mirror image", "rotate", "repeat". ", And performs processing related to design layout. "Move auxiliary line" aligns the specified figure with the input auxiliary line and "Move vertical line"
Aligns the specified figure, text, etc. with the vertical reference line, and "horizontal line reference movement" aligns the specified figure, text, etc. with the horizontal reference line. In addition, "line object copy" copies the specified figure to the object with the reference line (vertical, horizontal) as the reference, and "copy mirror image" copies the specified figure with the mirror image with the reference line (vertical, horizontal) as the reference. Perform processing.
"Rotate" rotates a specified figure at an arbitrary angle, and "Repeat" mainly creates a tint block. In the "repeat" processing, simple arranging processing, arranging processing while enlarging or reducing, arranging processing while gradually rotating, and arranging figures while gradually changing the mesh% are performed. Further, after the processing, it is possible to cut out into an arbitrary shape by trimming processing on the editing screen.

【0035】編集処理ルーチン(S39)は、サブメニ
ューとして図形の“移動”、“拡大または縮小”、“回
転”、“カット”、“コピー”、“パック”を有し、図
形編集に関する処理を行う。“パック”は複数図形をグ
ループ化し、各種操作の対象とする処理である。部品処
理ルーチン(S40)は、さらにサブメニュー“BFD
データ”、“FCSデータ”、“サンプル部品”、“帳
票部品”からなり、各種部品の読み込みまたは登録処理
を行う。プリミティブ(すなわち部品)はこの部品処理
ルーチンにおいて読み込みまたは登録処理が行われる。
“BFDデータ”はBFDデータの読み込みを行い、
“FCSデータ”はFCSにて作成された版下データの
読み込みを行い、“サンプル部品”はプレゼンテーショ
ン帳票の登録を行い、“帳票部品”は帳票中の必要箇所
のみ切り取り、部品として登録を行うとともに登録され
ている帳票部品を読み込み現在編集中のデータと合成す
る処理を行う。
The edit processing routine (S39) has "movement", "enlargement or reduction", "rotation", "cut", "copy", and "pack" of figures as submenus, and performs processing related to figure editing. To do. "Packing" is a process of grouping a plurality of figures and subjecting them to various operations. In the parts processing routine (S40), the sub menu "BFD" is added.
Data, "FCS data", "sample parts", and "form parts" are used to read or register various parts.Primitives (that is, parts) are read or registered in this part processing routine.
"BFD data" reads BFD data,
"FCS data" reads the block copy data created by FCS, "sample part" registers the presentation form, and "form part" cuts out only the necessary parts in the form and registers as parts. The registered form parts are read and combined with the data currently being edited.

【0036】[0036]

【発明の効果】以上のように本発明によれば、システム
の応答が速く、かつ指定操作が確実で容易な自由図形閉
領域判別処理方法および帳票類デザインシステムが提供
される。
As described above, according to the present invention, there is provided a free graphic closed area discrimination processing method and a form design system in which the response of the system is fast and the designation operation is reliable and easy.

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

【図1】本発明の自由閉領域判別処理方法を実施する装
置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an apparatus that implements a free closed region determination processing method of the present invention.

【図2】自由閉領域判別処理処理の流れを示すフロー図
である。
FIG. 2 is a flowchart showing a flow of a free closed area discrimination processing processing.

【図3】図形と指定された点との関係を示す図である。FIG. 3 is a diagram showing a relationship between a graphic and a designated point.

【図4】自由閉領域判別処理に続く処理の一例を示す図
である。
FIG. 4 is a diagram illustrating an example of a process that follows a free closed region determination process.

【図5】自由閉領域判別処理のより実践的な流れを示す
フロー図である。
FIG. 5 is a flowchart showing a more practical flow of free closed region determination processing.

【図6】本発明の帳票類デザインシステムとその周辺装
置を含み、メイン事業所と遠隔事業所とを結ぶ総合シス
テムの構成の一例を示す図である。
FIG. 6 is a diagram showing an example of the configuration of an overall system that connects the main business office and the remote business office, including the form design system of the present invention and its peripheral devices.

【図7】本発明の帳票類デザインシステムのメインルー
チンの処理の流れを示すフロー図である。
FIG. 7 is a flowchart showing a processing flow of a main routine of the form design system of the present invention.

【図8】帳票作成処理ルーチンにおける処理の流れを示
すフロー図である。
FIG. 8 is a flowchart showing a processing flow in a form creation processing routine.

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

1 自由閉領域判別処理装置 2 LAN 3,23 データストアシステム 4 入力装置 5 出力装置 6 記憶手段 7 演算手段 8 図形データ 9 グラデーション図形データ 10 自由閉領域判別処理理ルーチン 21a,21b BFDターミナル 22 イーサネット 24 製版用スキャナー 25 フィルム出力機 26 BFD変換サーバー 27 カンプ出力機 28 FCS 29 ルータ 1 Free Closed Region Discrimination Processing Device 2 LAN 3, 23 Data Store System 4 Input Device 5 Output Device 6 Storage Means 7 Computing Means 8 Graphic Data 9 Gradation Graphic Data 10 Free Closed Region Discrimination Processing Routine 21a, 21b BFD Terminal 22 Ethernet 24 Plate making scanner 25 Film output machine 26 BFD conversion server 27 Comp output machine 28 FCS 29 Router

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】平面座標系において点を指定する点指定処
理過程と、 前記指定された点を含み、平行でない2つの直線である
x直線と、y直線と、を生成する直線生成処理過程と、 前記平面座標系における図形を選択する図形選択処理過
程と、 前記選択された図形と前記x直線の交わる交点数である
x交点数と、前記選択された図形と前記y直線の交わる
交点数であるy交点数と、を演算する交点数演算処理過
程と、 前記x交点数とy交点数がともに2以上の偶数の場合に
前記図形が前記点を含むと判定し、それ以外の場合に前
記図形が前記点を含まないと判定する処理を行う包含判
定処理過程と、 を有することを特徴とする自由閉領域判別処理方法。
1. A point designation processing step of designating a point in a plane coordinate system, and a straight line generation processing step of generating two non-parallel straight lines including the designated point, that is, an x straight line and a y straight line. , A figure selection processing step of selecting a figure in the plane coordinate system, an x number of intersections, which is the number of intersections of the selected figure and the x line, and a number of intersections of the selected figure and the y line. A certain number of y intersections is calculated, and when the number of x intersections and the number of y intersections are both an even number of 2 or more, it is determined that the figure includes the point, and in other cases, the above An inclusion determination processing step of performing processing for determining that a figure does not include the point, and a free closed area determination processing method.
【請求項2】前記図形には平面代数曲線で表される第1
群図形と自由曲線で閉じられた第2群図形とが含まれ、
前記図形選択処理過程は前記第1群図形を前記第2群図
形に優先して選択し、選択された図形が前記点を含むと
判定されるまで新たな図形選択を行う処理過程であるこ
とを特徴とする請求項1記載の自由閉領域判別処理方
法。
2. The first figure represented by a plane algebraic curve in the figure.
Includes a group figure and a second group figure closed by a free-form curve,
The figure selection processing step is a processing step in which the first group figure is selected with priority over the second group figure, and a new figure is selected until it is determined that the selected figure includes the point. The free closed area discrimination processing method according to claim 1.
【請求項3】自由閉領域判別手段を有する帳票類デザイ
ンシステムであって、前記自由閉領域判別手段は点指定
処理手段と、直線生成処理手段と、図形選択処理手段
と、交点数演算処理手段と、包含判定処理手段を有し、 前記点指定処理手段は平面座標系において点を指定する
処理を行い、 前記直線生成処理手段は前記指定された点を含み平行で
ない2つの直線であるx直線と、y直線と、を生成し前
記図形選択処理手段は前記平面座標系における図形を選
択し、 前記交点数演算処理手段は前記選択された図形と前記x
直線の交わる交点数であるx交点数と、前記選択された
図形と前記y直線の交わる交点数であるy交点数と、を
演算し、 前記包含判定処理手段は前記x交点数とy交点数がとも
に2以上の偶数の場合に前記図形が前記点を含むと判定
し、それ以外の場合に前記図形が前記点を含まないと判
定する処理を行う、 ことを特徴とする帳票類デザインシステム。
3. A form design system having a free closed area determination means, wherein the free closed area determination means is a point designation processing means, a straight line generation processing means, a figure selection processing means, and an intersection number calculation processing means. And inclusion determination processing means, the point designation processing means performs processing for designating a point in a plane coordinate system, and the straight line generation processing means is two straight lines including the designated points and not parallel to each other. And a y straight line are generated, the figure selection processing means selects a figure in the plane coordinate system, and the intersection number calculation processing means is generated by the selected figure and the x line.
The number of intersections x, which is the number of intersections of straight lines, and the number of y intersections, which is the number of intersections of the selected figure and the y straight line, are calculated, and the inclusion determination processing means is the number of x intersections and the number of y intersections. Both are even numbers of 2 or more, it is determined that the figure includes the point, and in other cases, the figure is determined to not include the point.
JP7135684A 1995-05-10 1995-05-10 Processing method for discriminating free closed area and documents design system Withdrawn JPH08305775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7135684A JPH08305775A (en) 1995-05-10 1995-05-10 Processing method for discriminating free closed area and documents design system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7135684A JPH08305775A (en) 1995-05-10 1995-05-10 Processing method for discriminating free closed area and documents design system

Publications (1)

Publication Number Publication Date
JPH08305775A true JPH08305775A (en) 1996-11-22

Family

ID=15157506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7135684A Withdrawn JPH08305775A (en) 1995-05-10 1995-05-10 Processing method for discriminating free closed area and documents design system

Country Status (1)

Country Link
JP (1) JPH08305775A (en)

Similar Documents

Publication Publication Date Title
US8035826B2 (en) Method of processing image
JPH11328380A (en) Image processor, method for image processing and computer-readable recording medium where program allowing computer to implement same method is recorded
JP4338856B2 (en) Method and system for providing editing commands
JPH07134733A (en) Method for managing electronic data for plate making components
JP3661749B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND MEDIUM RECORDING PRINT CONTROL PROGRAM
JPH08305775A (en) Processing method for discriminating free closed area and documents design system
JPH08235284A (en) Pattern preparation method and slip kind design system
JPH08221500A (en) Primitive movement method and business forms design system
US7066665B2 (en) Printing apparatus and printing method
JP3802098B2 (en) Editing processing method and form design system
JPH096876A (en) Processing method for deciding rectangular closed area and design system for document or the like
JP3654946B2 (en) Graphic copy method and form design system
JP3701338B2 (en) Color separation processing method and form design system
JPH08241417A (en) Gradation processing method and business form design system
JPH08241399A (en) Imposition method and design system for document and the like
JPH08241398A (en) Processing method for specification of color classification and design system for document and the like
JPS61148574A (en) Catalog design system
EP0418868B1 (en) Image processing system
JPH08235269A (en) Character arraying method and slip kind design system
JPH08235270A (en) Updating data display method and slip kind design system
JP4735425B2 (en) Image processing apparatus and image processing method
JPH06110190A (en) Character and image processor
JPH06215096A (en) Menu selecting/displaying method in image processing system
JPS6289057A (en) Method of laying out graphic in printing system
JP2003346167A (en) Image processor and image processing program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020806