JP2895887B2 - Layouter for flyers and catalogs - Google Patents

Layouter for flyers and catalogs

Info

Publication number
JP2895887B2
JP2895887B2 JP33035889A JP33035889A JP2895887B2 JP 2895887 B2 JP2895887 B2 JP 2895887B2 JP 33035889 A JP33035889 A JP 33035889A JP 33035889 A JP33035889 A JP 33035889A JP 2895887 B2 JP2895887 B2 JP 2895887B2
Authority
JP
Japan
Prior art keywords
point
line segment
length
allocation
graphic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP33035889A
Other languages
Japanese (ja)
Other versions
JPH03189651A (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.)
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 JP33035889A priority Critical patent/JP2895887B2/en
Publication of JPH03189651A publication Critical patent/JPH03189651A/en
Application granted granted Critical
Publication of JP2895887B2 publication Critical patent/JP2895887B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野」 本発明はチラシ・カタログ類の割付装置、特にディス
プレイ画面を見ながら対話形式で割付作業を行うチラシ
・カタログ類の割付装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an apparatus for allocating flyers and catalogs, and more particularly to an apparatus for allocating flyers and catalogs that performs an interactive work while watching a display screen.

〔従来の技術〕[Conventional technology]

チラシ・カタログ等の印刷物では、多数の商品につい
ての写真や文字列、あるいは所望の図形を1枚の印刷物
中にうまく割り付ける必要がある。最近では、このよう
な割付作業をコンピュータを利用して行うことのできる
割付装置が用いられている。この種の装置では、各商品
についての写真や文字列は、デジタルデータとしてコン
ピュータに入力される。そして、ディスプレイ画面上
に、これらのデータに基づく画像を表示させて割付作業
を行うことができる。オペレータは、ディスプレイ画面
を見ながら、特定の商品についての写真や文字列を配置
する位置を指定することができ、必要に応じて倍率や傾
きを変えて割り付けることができる。また、図形につい
ては、所定の指示を入力することにより、ディスプレイ
画面上に所望の図形を所望の割付位置に作成することが
できる。このようにして得られた割付結果は、コンピュ
ータのメモリ上に記憶されたデータの形で保持されてい
るため、割付修正作業も容易に行うことができ、オペレ
ータはコンピュータとの対話形式で割付作業を進めてゆ
くことができる。
In printed materials such as flyers and catalogs, it is necessary to properly assign photos, character strings, or desired graphics for many commodities to one printed material. Recently, an allocating device that can perform such an allocating operation using a computer has been used. In this type of device, a photograph or a character string of each product is input to a computer as digital data. Then, an image based on these data is displayed on the display screen to perform an assignment operation. The operator can specify the position of arranging a photograph or a character string for a specific product while looking at the display screen, and can change the magnification and the inclination as needed to allocate the product. For a figure, a desired figure can be created at a desired layout position on the display screen by inputting a predetermined instruction. The assignment result obtained in this way is stored in the form of data stored in the memory of the computer, so that the assignment can be easily corrected, and the operator can perform the assignment operation interactively with the computer. Can be advanced.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、従来の割付装置には、図形の交点上の
1点をディスプレイ画面上で正確に位置指定する作業が
自由に行えないという問題がある。すなわち、オペレー
タがディスプレイ画面を見ながら、マウスなどの入力装
置で1点を指定する場合、画面上のカーソルを目測で位
置合わせすることになるため、正確な位置指定は困難と
なる。特に、ディスプレイ画面が縮小表示されているよ
うな場合には、物理的にも正確な位置指定を行うことは
できなくなる。
However, the conventional allocating device has a problem in that it is not possible to freely perform an operation of accurately specifying a position on a display screen at one point on the intersection of a figure. That is, when the operator designates one point with an input device such as a mouse while looking at the display screen, the cursor on the screen is positioned by eye measurement, so that it is difficult to specify the exact position. In particular, when the display screen is displayed in a reduced size, physically accurate position designation cannot be performed.

図形の頂点を指定するのであれば、この頂点座標は図
形データとして記憶されているため、その近傍が指定さ
れた場合にこれを正確な頂点座標に修正する処理が可能
である。ところが、図形の交点の座標は、データとして
記憶されていないため、このような修正処理を行うこと
ができないのである。すべての図形について交点の座標
を求める演算を行えば、理論的にはこのような修正処理
が可能であるが、演算量が膨大となり、現実的には不可
能である。
If the vertices of the figure are specified, the coordinates of the vertices are stored as the figure data. Therefore, when the vicinity of the vertices is specified, it is possible to correct the vertices into accurate vertex coordinates. However, since the coordinates of the intersection of the figures are not stored as data, such correction processing cannot be performed. If the calculation for finding the coordinates of the intersections is performed for all the figures, such correction processing can be theoretically performed, but the amount of calculation is enormous, and it is practically impossible.

そこで本発明は、図形の交点上の1点をディスプレイ
画面上で正確に位置指定することのできるチラシ・カタ
ログ類の割付装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a flyer / catalog allocating apparatus capable of accurately specifying a position on an intersection of a graphic on a display screen.

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

本願発明は、 チラシ・カタログ類に掲載する商品に関する商品デー
タを入力する商品データ入力装置と、 掲載する図形に関する図形データを入力する図形デー
タ入力装置と、 オペレータからの割付指示を入力する割付指示入力装
置と、 この入力した割付指示に基づいて、商品データおよび
図形データに対する割付作業を行う割付作業装置と、 この割付作業の結果を、割付結果として記憶する記憶
装置と、 この割付結果を出力する割付結果出力装置と、 割付作業の作業経過を画面表示するディスプレイ装置
と、 ディスプレイ装置の表示画面上の1点を指定点として
入力する指定点入力装置と、 記憶装置内の図形データを参照して、入力した指定点
を新たな点に変換し、この変換後の点を割付指示入力装
置に与える指定点変換装置と、 を備えるチラシ・カタログ類の割付装置に関するもの
である。
The present invention provides a merchandise data input device for inputting merchandise data relating to merchandise to be published in a flyer / catalog, a graphic data input device for inputting graphic data regarding a graphic to be posted, and an allocation instruction input for inputting an allocation instruction from an operator. A device, an allocating device for performing an allocating operation on product data and graphic data based on the input allocating instruction, a storage device for storing the result of the allocating operation as an allocation result, and an allocation for outputting the allocation result A result output device, a display device for displaying the work progress of the allocation work on a screen, a designated point input device for inputting one point on the display screen of the display device as a designated point, and a graphic data in a storage device. A designated point conversion device that converts the input designated point to a new point and gives the converted point to the assignment instruction input device. The present invention relates to an apparatus for allocating flyers and catalogs.

(1)本願第1の発明は、上述のチラシ・カタログ類の
割付装置において、指定点変換装置に、 入力した指定点Sについて、線分ASの長さと線分BSの
長さとの和が、線分ABの長さと第1の所定の長さL1との
和よりも小さくなるような線分ABを、記憶装置内の図形
データから捜索し、 捜索された線分によって形成されるすべての交点を求
め、 求めた交点のうち、指定点Sに最も近い交点Qを選
び、線分QSの長さが第2の所定の長さL2よりも短い場合
に、指定点Sを前記交点Qに変換する機能を与えたもの
である。
(1) The first invention of the present application is the layout apparatus for flyers and catalogs described above, wherein the sum of the length of the line segment AS and the length of the line segment BS for the specified point S input to the specified point conversion device is A line segment AB smaller than the sum of the length of the line segment AB and the first predetermined length L1 is searched from the graphic data in the storage device, and all intersections formed by the searched line segments are searched. From the obtained intersections, the intersection Q closest to the specified point S is selected. If the length of the line segment QS is shorter than the second predetermined length L2, the specified point S is converted to the intersection Q. Function to perform

(2)本願第2の発明は、上述のチラシ・カタログ類の
割付装置において、指定点変換装置に、 入力した指定点Sについて、線分CSの長さが、半径r
から第1の所定の長さL1を減じた差よりも大きく、か
つ、半径rに第2の所定の長さL2を加えた和よりも小さ
いという条件を満たす、中心点Cをもつ半径rの円を、
記憶装置内の図形データから捜索し、 捜索された円によって形成されるすべての交点を求
め、 求めた交点のうち、指定点Sに最も近い交点Qを選
び、線分QSの長さが第3の所定の長さL3よりも短い場合
に、指定点Sを交点Qに変換する機能を与えたものであ
る。
(2) The second invention of the present application is the above-mentioned flyer / catalog layout device, wherein the specified point S inputted to the specified point conversion device has the length of the line segment CS equal to the radius r
Of the radius r having the center point C, which satisfies the condition that the difference is larger than the difference obtained by subtracting the first predetermined length L1 from the above, and is smaller than the sum of the radius r and the second predetermined length L2. The circle
A search is made from the graphic data in the storage device, all the intersections formed by the searched circles are obtained, and the intersection Q closest to the designated point S is selected from the obtained intersections, and the length of the line segment QS is the third. The function of converting the designated point S to the intersection Q when the length is shorter than the predetermined length L3 is provided.

(3)本願第3の発明は、上述のチラシ・カタログ類の
割付装置において、指定点変換装置に、 入力した指定点Sについて、線分ABの長さと線分BSの
長さとの和が、線分ABの長さと第1の所定の長さL1との
和よりも小さくなるような線分ABを、記憶装置内の図形
データから捜索し、 入力した指定点Sについて、線分CSの長さが、半径r
から第2の所定の長さL2を減じた差よりも大きくかつ、
半径rに第3の所定の長さL3を加えた和よりも小さいと
いう条件を満たす、中心点Cをもつ半径rの円を、記憶
装置内の図形データから捜索し、 捜索された線分および円によって形成されるすべての
交点を求め、 求めた交点のうち、指定点Sに最も近い交点Qを選
び、線分QSの長さが第4の所定の長さL4よりも短い場合
に、指定点Sを交点Qに変換する機能を与えたものであ
る。
(3) The third invention of the present application is the layout apparatus for flyers and catalogs described above, wherein the sum of the length of the line segment AB and the length of the line segment BS for the specified point S input to the specified point conversion device is A line segment AB smaller than the sum of the length of the line segment AB and the first predetermined length L1 is searched from the graphic data in the storage device. Is the radius r
Is larger than the difference obtained by subtracting the second predetermined length L2 from
A circle having a center point C and having a radius r that satisfies the condition that the radius r is the sum of the third predetermined length L3 and the third predetermined length L3 is searched from the graphic data in the storage device. Find all the intersections formed by the circles, select the intersection Q closest to the specified point S from the obtained intersections, and specify if the length of the line segment QS is shorter than the fourth predetermined length L4. The function of converting the point S into the intersection Q is provided.

〔作用〕[Action]

本願発明によるチラシ・カタログ類の割付装置では、
オペレータが指定点を入力すると、その指定点付近の図
形の交点座標が求められる。本願第1の発明では、指定
点Sの付近にある線分が捜索され、捜索された線分につ
いてのすべての交点座標が演算によって求められる。本
願第2の発明では、指定点Sの付近にある円が捜索さ
れ、捜索された円についてのすべての交点座標が演算に
よって求められる。また、本願第3の発明では、指定点
Sの付近にある線分および円の両方が捜索され、捜索さ
れた線分おおび円についてのすべての交点座標が演算に
よって求められる。そして、求められた交点のうち、指
定点Sに最も近く、かつ指定点Sから所定の距離内ある
交点を、オペレータが指定しようと意図した点であると
認識することになる。このように、指定点の付近にある
線分あるいは円についてのみ交点を求めるようにしたた
め、必要な演算を必要最小限にどどめることができ、現
在一般に用いられているコンピュータで処理が可能とな
る。こうして、座標値がデータとして記憶されていない
図形の交点についても、その近傍を指定すると、交点を
指定したと認識する修正処理を行うことができ、正確な
位置指定が可能になる。
In the flyer / catalog layout device according to the present invention,
When the operator inputs a designated point, intersection coordinates of a figure near the designated point are obtained. In the first invention of this application, a line segment near the designated point S is searched, and all intersection coordinates of the searched line segment are calculated. In the second invention of the present application, a circle near the designated point S is searched, and all intersection coordinates of the searched circle are calculated. Further, in the third invention of this application, both the line segment and the circle near the designated point S are searched, and all the intersection coordinates of the searched line segment and the circle are obtained by calculation. Then, of the obtained intersections, the intersection closest to the designated point S and within a predetermined distance from the designated point S is recognized as the point that the operator intends to designate. As described above, the intersection is obtained only for the line segment or the circle near the designated point, so that the necessary calculation can be minimized to a minimum and the processing can be performed by a computer generally used at present. Become. In this manner, if the vicinity of an intersection of a figure whose coordinate value is not stored as data is designated, a correction process for recognizing that the intersection has been designated can be performed, and an accurate position can be designated.

〔実施例〕 以下本発明を図示する実施例に基づいて説明する。[Embodiments] The present invention will be described below based on embodiments illustrated in the drawings.

装置の基本構成 第1図は本発明のチラシ・カタログ類の割付装置の基
本構成を示すブロック図である。商品データ入力装置1
は、チラシ・カタログ類に掲載する商品に関する商品デ
ータを入力する装置である。ここで、商品データは、商
品の写真、商品や価格などを示す文字列、などのデータ
である。具体的にはこの実施例では、商品の写真を入力
するための装置としては入力スキャナ装置が用いられ、
文字列を入力するための装置としてはワードプロセッサ
が用いられている。写真の場合は画像のラスターデータ
として入力され、文字列の場合は文字コード(級数や書
体のコードを含む)として入力されることになる。
Basic Configuration of Apparatus FIG. 1 is a block diagram showing a basic configuration of an apparatus for allocating flyers and catalogs according to the present invention. Product data input device 1
Is a device for inputting product data relating to products to be published in flyers and catalogs. Here, the product data is data such as a photograph of the product, a character string indicating the product or the price, and the like. Specifically, in this embodiment, an input scanner device is used as a device for inputting a photograph of a product,
A word processor is used as a device for inputting a character string. In the case of a photograph, it is input as raster data of an image, and in the case of a character string, it is input as a character code (including a series and a typeface code).

一方、図形は図形データ入力装置2によって入力され
る。ここで入力される図形は、割付枠や罫線として用い
られる。線分であればその両端点の座標値で、多角形で
あればその頂点座標値で、円であれば中心点座標値と半
径値で、それぞれ表現され、図形データとして入力され
る。
On the other hand, a graphic is input by the graphic data input device 2. The figure input here is used as an allocation frame or a ruled line. If it is a line segment, it is expressed by the coordinate values of both end points, if it is a polygon, it is the vertex coordinate value, and if it is a circle, it is expressed by the center point coordinate value and the radius value, and is input as graphic data.

割付指示入力装置3は、オペレータからの割付指示を
入力する装置であり、キーボードやマウスなどの装置を
用いることができる。割付作業装置4は、この入力した
割付指示に基づいて、入力した商品や図形データに対す
る割付作業を行う装置であり、具体的にはコンピュータ
本体を構成するハードウエアとこれを動作させるソフト
ウエアによって実現される。割付作業の最終結果は、割
付結果出力装置5から出力されるが、作業経過はディス
プレイ装置6に逐次画面表示される。割付結果出力装置
5としては、出力スキャナ装置やプリンタなどが用いら
れる。通常は、オペレータが割付作業を完了した後、割
付結果出力装置5に出力指定を与えることになる。これ
に対し、ディスプレイ装置6は、常にその時点における
割付状態を表示する機能を有する。したがって、オペレ
ータが割付指示入力装置3から割付指示を入力し、この
指示にしたがって割付作業装置4が所定の商品データや
図形データを所定の位置に割り付ける作業を行うと、そ
の結果はディスプレイ装置6に直ちに表示される。オペ
レータは、自分の与えた指示による割付結果をディスプ
レイ装置6上の表示によって確認することができるた
め、対話形式で割付作業を行ってゆくことができる。割
付作業装置4には、記憶装置7が接続されている。この
記憶装置7は、割付作業装置4を構成するコンピュータ
に用いるメモリであり、割付作業の結果がデータとして
保存される。
The allocation instruction input device 3 is a device for inputting an allocation instruction from an operator, and a device such as a keyboard and a mouse can be used. The allocation work device 4 is a device that performs an allocation work on the input product or graphic data based on the input allocation instruction, and is specifically realized by hardware constituting a computer main body and software for operating the same. Is done. The final result of the assignment work is output from the assignment result output device 5, and the progress of the work is sequentially displayed on the display device 6. As the assignment result output device 5, an output scanner device, a printer, or the like is used. Normally, the operator gives an output designation to the assignment result output device 5 after completing the assignment work. On the other hand, the display device 6 has a function of always displaying the allocation state at that time. Therefore, when the operator inputs an allocation instruction from the allocation instruction input device 3 and the allocation work device 4 performs an operation of allocating predetermined product data and graphic data to predetermined positions according to the instruction, the result is displayed on the display device 6. Appears immediately. Since the operator can confirm the allocation result according to the instruction given by the operator on the display on the display device 6, the operator can perform the allocation work in an interactive manner. The storage device 7 is connected to the assignment work device 4. The storage device 7 is a memory used for the computer constituting the allocating work device 4, and stores the result of the allocating work as data.

この装置の特徴は、更に指定点入力装置8および指定
点変換装置9を設けた点にある。これらの各装置は、具
体的には割付作業装置4として用いるコンピュータおよ
びその入力機器をそのまま利用し、それぞれ専用のソフ
トウエアを用意することによって実現できる。指定点入
力装置8は、ディスプレイ装置6の表示画面上の1点を
指定点Sとして入力する装置であり、具体的にはマウス
などの座標入力装置が用いられる。ハードウエアとして
は、割付指示入力装置3と共用してもよい。オペレータ
が、マウスの操作により、ディスプレイ装置6の画面上
のカーソルを移動し、所望の1点Sを指定すると、この
指定点Sの座標値が取り込まれることになる。指定点変
換装置9は、この指定点Sを別な点Qに変換して割付指
示入力装置3に与える機能を有する。この変換は、記憶
装置7内に記憶されている図形データを参照して行われ
る。この変換は、オペレータの入力した指定点Sを、正
しい点Qに変換する意図で行われる。オペレータは、デ
ィスプレイ装置6に表示されている図形の交点Qを指定
しようと思った場合、正確に交点Qを指定する必要はな
く、その近傍の点Sを指定すれば十分である。近傍の点
Sを指定しても、指定点変換装置9によって変換された
交点Qが割付指示入力装置3に与えられるため、交点Q
を正確に指定したのと同じ結果が得られる。
The feature of this device is that a designated point input device 8 and a designated point conversion device 9 are further provided. Each of these devices can be realized by specifically using a computer used as the assignment work device 4 and its input device as it is, and preparing dedicated software for each. The designated point input device 8 is a device for inputting one point on the display screen of the display device 6 as a designated point S, and more specifically, a coordinate input device such as a mouse is used. The hardware may be shared with the assignment instruction input device 3. When the operator moves the cursor on the screen of the display device 6 by operating the mouse and designates a desired one point S, the coordinate value of the designated point S is fetched. The designated point conversion device 9 has a function of converting the designated point S into another point Q and giving the same to the assignment instruction input device 3. This conversion is performed with reference to the graphic data stored in the storage device 7. This conversion is performed with the intention of converting the designated point S input by the operator into a correct point Q. When the operator intends to specify the intersection Q of the graphic displayed on the display device 6, it is not necessary to specify the intersection Q exactly, but it is sufficient to specify the point S in the vicinity thereof. Even if a nearby point S is designated, the intersection Q converted by the designated point conversion device 9 is given to the assignment instruction input device 3, so that the intersection Q
Produces the same result as specifying exactly

変換作業 それでは、指定点変換装置9による変換作業を、具体
例について説明する。第2図は、この変換作業の手順を
示す流れ図である。いま、第3図に示すように、ディス
プレイ装置6の表示画面に複数の図形が表示されている
ものとする。この例では、矩形11,12,円13、線分14が表
示されている。これらの図形は、図形データ入力装置2
から入力され、割付作業装置4によってこの位置に割り
付けられたものである。したがって、これらの図形デー
タは、記憶装置7に記憶されている。記憶装置7のメモ
リスペースを節約するために、これらの図形データは点
の座標値として記憶されている。たとえば、矩形11は4
頂点P1〜P4の座標値がデータとして記憶されており、矩
形12は4頂点P5〜P8の座標値がデータとして記憶されて
いる。また、円13は、中心点P9の座標値と半径rの値と
がデータとして記憶されている。線分14は、両端点P10,
P11の座標値がデータとして記憶されている。したがっ
て、記憶装置7内に座標値が記憶されている点は、P1〜
P11だけである。このため、矩形11および12の交点Q1,Q2
は、記憶装置7内では点としては認識されていない。
Conversion Work Now, a specific example of the conversion work by the designated point conversion device 9 will be described. FIG. 2 is a flowchart showing the procedure of this conversion work. Now, assume that a plurality of figures are displayed on the display screen of the display device 6 as shown in FIG. In this example, rectangles 11, 12, a circle 13, and a line segment 14 are displayed. These figures are stored in the figure data input device 2
And is assigned to this position by the assignment work device 4. Therefore, these graphic data are stored in the storage device 7. In order to save the memory space of the storage device 7, these graphic data are stored as coordinate values of points. For example, rectangle 11 is 4
The coordinates of the vertices P1 to P4 are stored as data, and the coordinates of the four vertices P5 to P8 of the rectangle 12 are stored as data. In the circle 13, the coordinate value of the center point P9 and the value of the radius r are stored as data. Line segment 14 is defined by both end points P10,
The coordinate value of P11 is stored as data. Therefore, the point where the coordinate value is stored in the storage device 7 is represented by P1 to
Only P11. Therefore, intersections Q1, Q2 of rectangles 11 and 12
Are not recognized as points in the storage device 7.

第4図は第3図の部分拡大図である。いまここで、オ
ペレータが頂点P5を指定しようとして、指定点入力装置
8から実際には点S1を指定点として入力した場合を考え
る。この場合、頂点P5の座標値は記憶装置7に記憶され
ているため、指示点S1の近傍の半径l以内の領域a内に
あり、指定点S1に最も近い頂点P5は、記憶装置7内を捜
索することによって見付け出すことができる。したがっ
て、指定点変換装置9によって指定点S1を頂点P5に変換
し、これを割付指示入力装置3に与えれば、オペレータ
が頂点P5を直接指定したのと同じ結果となる。すなわ
ち、指定点変換装置9は、指定点入力装置8から与えら
れた指定点S1の座標値の代わりに、頂点P5の座標値を割
付指示入力装置3に与える機能を果たす。これは、従来
装置にも備わっている修正機能である。ところが、オペ
レータが交点Q1を指定しようとして、指定点入力装置8
から実際には点S2を指定点として入力した場合、従来装
置では、指定点S2を交点Q1に変換することができなかっ
たのである。なぜなら、交点Q1は前述のように、記憶装
置7内に点としては記憶されていないため、指定点S2の
近傍の半径l以内の領域b内にある点を捜索しても、記
憶装置7内には交点Q1は見付け出せないからである。こ
のような交点を見付け出すために、すべての図形につい
て交点を求める演算を行う方法が理論的には考えられ
る。しかし、実際には膨大な演算量が必要になり現実的
ではない。
FIG. 4 is a partially enlarged view of FIG. Here, it is assumed that the operator tries to designate the vertex P5 and actually inputs the point S1 as the designated point from the designated point input device 8. In this case, since the coordinate value of the vertex P5 is stored in the storage device 7, the vertex P5 located in the area a within the radius 1 near the designated point S1 and closest to the designated point S1 is stored in the storage device 7. It can be found by searching. Therefore, if the designated point S1 is converted into the vertex P5 by the designated point converting device 9 and given to the assignment instruction input device 3, the result is the same as when the operator directly specifies the vertex P5. That is, the designated point conversion device 9 has a function of giving the coordinate value of the vertex P5 to the assignment instruction input device 3 instead of the coordinate value of the designated point S1 given from the designated point input device 8. This is a correction function provided in the conventional device. However, when the operator attempts to designate the intersection Q1, the designated point input device 8
Therefore, when the point S2 is actually input as the designated point, the conventional device cannot convert the designated point S2 to the intersection Q1. Because the intersection Q1 is not stored as a point in the storage device 7 as described above, even if a search is made for a point in the area b within the radius 1 near the designated point S2, Cannot find the intersection Q1. In order to find such an intersection, it is theoretically possible to perform a calculation for finding the intersection for all the figures. However, it requires a huge amount of calculation, which is not practical.

本願装置の要点は、指定点の近くにある交点のみを演
算によって求めるという手法にある。この手法により指
定点変換装置9は、指定点入力装置8から交点Qの近傍
の指定点Sが与えられた場合にも、指定点Sを交点Qに
変換する機能を有するのである。第2図はこの手法を示
す流れ図である。まず、ステップS1において、指定点入
力装置8から指定点Sの座標値を入力する。続くステッ
プS2は、指定点Sの近傍にある線分を捜索する作業であ
る。すなわち、所定の長さ1を予め定めておき、 線分AS+線分BS<線分AB+1 なる条件を満たすような線分ABを、記憶装置7内から捜
索するのである(本明細書では、条件式中の線分○○と
いう表現は、この線分の長さを示す)。この条件式の意
味するところは、第5図によって理解できよう。第5図
において、線分15の両端点ABと任意の1点Sを考えたと
き、 線分AS+線分BS=線分AB+1 なる等式を満たす点Sの軌跡は、図の破線に示すような
楕円16となる。上述の不等号を含んだ条件式により、指
定点Sが楕円16の内側に位置することになるような条件
を満たす線分15、すなわち指定点Sの近傍にある線分が
捜索されることになる。長さ1としては、この近傍の
度合いを示すパラメータとして適当な値を設定するよう
にする。
The gist of the apparatus of the present application is a method of calculating only intersections near a designated point by calculation. With this method, the designated point conversion device 9 has a function of converting the designated point S into the intersection Q even when the designated point S near the intersection Q is given from the designated point input device 8. FIG. 2 is a flowchart showing this technique. First, in step S1, the coordinate value of the designated point S is input from the designated point input device 8. The following step S2 is an operation of searching for a line segment near the designated point S. That is, a predetermined length 1 is determined in advance, and a line segment AB that satisfies the condition of line segment AS + line segment BS <line segment AB + 1 is searched from the storage device 7 (in this specification, the condition The expression of the line segment XX in the equation indicates the length of this line segment). The meaning of this conditional expression can be understood from FIG. In FIG. 5, when considering both end points AB of the line segment 15 and an arbitrary point S, the locus of the point S satisfying the equation of line segment AS + line segment BS = line segment AB + 1 is shown by a broken line in the figure. The ellipse becomes 16. With the above conditional expression including the inequality sign, a line segment 15 that satisfies the condition that the designated point S is located inside the ellipse 16, that is, a line segment near the designated point S is searched. . As the length 1, an appropriate value is set as a parameter indicating the degree of the neighborhood.

続くステップS3は、指定点Sの近傍にある円を捜索す
る作業である。すなわち、所定の長さl2およびl3を予め
定めておき、 r−l2<線分CS<r+l3 なる条件を満たすような中心点Cおよび半径rをもった
円を記憶装置7内から捜索するのである。この条件式の
意味するところは、第6図によって理解できよう。第6
図において、中心点Cおよび半径rをもった円17を考え
たとき、上述の条件が満足されるのは、指定点Sが半径
(r−l2)の円18と半径(r+l3)の円19との間の領域
に位置する場合であることがわかる。したがって、この
条件を満足するような円を捜索すると、その円周が指定
点Sの近傍にある円が捜索されることになる。長さl2お
よびl3としては、この近傍の度合いを示すパラメータと
して適当な値を設定するようにし、通常は、l2=l3とし
てよい。
The following step S3 is an operation of searching for a circle near the designated point S. That is, predetermined lengths l2 and l3 are determined in advance, and a circle having a center point C and a radius r that satisfies the condition of r−l2 <line segment CS <r + l3 is searched from the storage device 7. . The meaning of this conditional expression can be understood from FIG. Sixth
In the figure, when considering a circle 17 having a center point C and a radius r, the above condition is satisfied because the designated point S is a circle 18 having a radius (r-l2) and a circle 19 having a radius (r + l3). It can be seen that this is the case in which it is located in the region between. Therefore, when a circle that satisfies this condition is searched, a circle whose circumference is near the designated point S is searched. As the lengths l2 and l3, appropriate values are set as parameters indicating the degree of the neighborhood, and usually l2 = l3.

このように、ステップS2において指定点Sの近傍の線
分が捜索され、ステップS3において指定点Sの近傍の円
が捜索される。そこで、ステップS4では、捜索の結果見
付かった線分および円についてのすべての交点を求める
作業が行われる。捜索の結果、複数の線分や円が見付か
ることもあるが、これらについてのすべての交点が演算
によって求められるのである。たとえば第4図におい
て、指定点S2を与えた場合には、この指定点S2の近傍の
線分として、線分11aと線分12aが見付け出される。線分
11b,12bをはじめとするその他の線分や円は見付け出さ
れない。したがってこの場合、演算によって求められる
すべての交点は、交点Q1ただ1つだけである。
Thus, in step S2, a line segment near the designated point S is searched, and in step S3, a circle near the designated point S is searched. Therefore, in step S4, a work of finding all the intersections of the line segment and the circle found as a result of the search is performed. As a result of the search, a plurality of line segments and circles may be found, but all intersections of these are calculated. For example, in FIG. 4, when a designated point S2 is given, a line segment 11a and a line segment 12a are found as line segments near the designated point S2. line segment
No other line segments or circles, including 11b and 12b, are found. Therefore, in this case, all the intersections obtained by the calculation are only one intersection Q1.

最後のステップS5において、求めた交点のうち、指定
点Sに最も近い交点Qが選び出される。そして、所定の
長さl4に対して、線分QS<l4である場合には、指定点S
を交点Qに変換する作業が行われる。線分QS≧l4の場合
には、指定点Sは変換されずにそのまま割付指示入力装
置3に与えられる。長さl4は、指定点Sが交点Qの近傍
の点であることを最終的に確認するために用いるパラメ
ータである。2つの線分がいずれも指定点Sの近傍にあ
ったとしても、その交点は必ずしも指定点Sの近傍には
ならない場合がある。長さl4はこのような場合に有効な
パラメータとなる。
In the last step S5, the intersection Q closest to the designated point S is selected from the obtained intersections. If the line segment QS <l4 with respect to the predetermined length l4, the designated point S
Is converted to an intersection Q. If the line segment QS ≧ l4, the designated point S is given to the assignment instruction input device 3 without conversion. The length l4 is a parameter used for finally confirming that the designated point S is a point near the intersection Q. Even if the two line segments are both near the designated point S, the intersection may not always be near the designated point S. The length l4 is an effective parameter in such a case.

このようにして本願装置によれば、第4図に示す指定
点S2を与えた場合であっても、この指定点S2はその近傍
にある交点Q1に変換されることになり、交点の正確な指
定が可能になる。
In this way, according to the apparatus of the present application, even when the designated point S2 shown in FIG. 4 is given, the designated point S2 is converted into the intersection Q1 in the vicinity thereof, and the accurate intersection It becomes possible to specify.

なお、本願発明は上述の実施例に限定されるものでは
なく、種々の態様で実施可能である。たとえば、上述の
実施例では、多角形として4頂点をもった矩形を例にと
ったが、これは任意の多角形でかまわない。また、本願
発明における交点は、実際に割付対象となった図形につ
いての交点だけに限定されるものではなく、たとえば、
割付作業の目安として表示させるような補助線同士の交
点、あるいは補助線と図形との交点についても本願発明
を適用することができる。
It should be noted that the present invention is not limited to the above-described embodiment, but can be implemented in various modes. For example, in the above-described embodiment, a rectangle having four vertices is taken as an example of the polygon, but this may be an arbitrary polygon. In addition, the intersection in the present invention is not limited to only the intersection of the graphic that is actually assigned, and for example,
The present invention can be applied to an intersection between auxiliary lines or an intersection between an auxiliary line and a graphic, which is displayed as a guide for the layout operation.

また、第2図の流れ図に示す実施例では、ステップS2
において線分の捜索を行い、ステップS3において円の捜
索を行っているが、線分だけしか扱わない装置であれば
ステップS2だけを行えば足り、円だけしか扱わない装置
であればステップS3だけを行えば足りる。本願第1の発
明は、線分についての捜索を行う装置に関するものであ
り、本願第2の発明は、円についての捜索を行う装置に
関するものであり、本願第3の発明は、線分と円との両
方についての捜索を行う装置に関するものである。
In the embodiment shown in the flowchart of FIG. 2, step S2
In step S3, a search for a line segment is performed, and a search for a circle is performed.If the device handles only the line segment, only step S2 is sufficient.If the device handles only the circle, only step S3 is performed. Is sufficient. The first invention of the present application relates to a device for searching for a line segment, the second invention of the present application relates to a device for searching for a circle, and the third invention of the present application relates to a line and a circle. And a device that searches for both.

〔発明の効果〕〔The invention's effect〕

以上のとおり本発明のチラシ・カタログ類の割付装置
によれば、指定点が与えられたときに、この指定点の近
傍の線分、円についての交点を演算することにより、こ
の指定点近傍の交点を求めるようにしたため、図形の交
点上の1点をディスプレイ画面上で正確に位置指定する
ことができる。
As described above, according to the flyer / catalog allocating apparatus of the present invention, when a designated point is given, by calculating the intersection of a line segment and a circle near the designated point, the vicinity of the designated point is calculated. Since the intersection is obtained, one point on the intersection of the figure can be accurately specified on the display screen.

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

第1図は本発明に係るチラシ・カタログ類の割付装置の
構成を示すブロック図、第2図は第1図に示す装置にお
ける指定点変換装置の動作を説明する流れ図、第3図は
第1図に示す装置におけるディスプレイ装置の表示画面
の一例を示す図、第4図は第3図の部分拡大図、第5図
は第2図に示す流れ図のステップS2における条件式を説
明する図、第6図は第2図に示す流れ図のステップS3に
おける条件式を説明する図である。 11…矩形、11a,11b…線分、12…矩形、12a,12b…線分、
13…円、14…線分、15…線分、16…楕円、17,18,19…
円、a,b…近傍領域、A,B…端点、C…中心点、P1〜P11
…頂点、Q1,Q2…交点、S,S1,S2…指定点。
FIG. 1 is a block diagram showing the structure of a flyer / catalog allocating apparatus according to the present invention, FIG. 2 is a flowchart for explaining the operation of a designated point conversion apparatus in the apparatus shown in FIG. 1, and FIG. FIG. 4 is a view showing an example of a display screen of a display device in the apparatus shown in FIG. 4, FIG. 4 is a partially enlarged view of FIG. 3, FIG. 5 is a view for explaining conditional expressions in step S2 of the flowchart shown in FIG. FIG. 6 is a diagram for explaining the conditional expression in step S3 of the flowchart shown in FIG. 11 ... rectangle, 11a, 11b ... line segment, 12 ... rectangle, 12a, 12b ... line segment,
13 ... circle, 14 ... line segment, 15 ... line segment, 16 ... oval, 17, 18, 19 ...
Circle, a, b: neighborhood area, A, B: end point, C: center point, P1 to P11
... vertex, Q1, Q2 ... intersection, S, S1, S2 ... designated point.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小谷 幸司 東京都新宿区市谷加賀町1丁目1番1号 大日本印刷株式会社内 (72)発明者 関口 隆 東京都新宿区市谷加賀町1丁目1番1号 大日本印刷株式会社内 (56)参考文献 特開 昭55−117146(JP,A) 特開 昭57−74741(JP,A) (58)調査した分野(Int.Cl.6,DB名) G03F 1/00 - 1/06 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Koji Kotani 1-1-1, Ichigaya-Kaga-cho, Shinjuku-ku, Tokyo Inside Dai Nippon Printing Co., Ltd. (72) Takashi Sekiguchi 1-1-1, Ichigaga-cho, Ichigaya-cho, Shinjuku-ku, Tokyo No. 1 Dai Nippon Printing Co., Ltd. (56) References JP-A-55-117146 (JP, A) JP-A-57-74741 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB Name) G03F 1/00-1/06

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】チラシ・カタログ類に掲載する商品に関す
る商品データを入力する商品データ入力装置と、 掲載する図形に関する図形データを入力する図形データ
入力装置と、 オペレータからの割付指示を入力する割付指示入力装置
と、 この入力した割付指示に基づいて、前記商品データおよ
び前記図形データに対する割付作業を行う割付作業装置
と、 前記割付作業の結果を、割付結果として記憶する記憶装
置と、 前記割付結果を出力する割付結果出力装置と、 前記割付作業の作業経過を画面表示するディスプレイ装
置と、 前記ディスプレイ装置の表示画面上の1点を指定点とし
て入力する指定点入力装置と、 前記記憶装置内の図形データを参照して、前記指定点を
新たな点に変換し、この変換後の点を前記割付指示入力
装置に与える指定点変換装置と、 を備え、前記指定点変換装置が、 入力した指定点Sについて、線分ASの長さと線分BSの長
さとの和が、線分ABの長さと第1の所定の長さL1との和
よりも小さくなるような線分ABを、前記記憶装置内の図
形データから捜索し、 捜索された線分によって形成されるすべての交点を求
め、 求めた交点のうち、前記指定点Sに最も近い交点Qを選
び、線分QSの長さが第2の所定の長さL2よりも短い場合
に、前記指定点Sを前記交点Qに変換する機能を有する
ことを特徴とするチラシ・カタログ類の割付装置。
1. A product data input device for inputting product data relating to a product to be published in a flyer / catalog, a graphic data input device for inputting graphic data relating to a graphic to be published, and an allocation instruction for inputting an allocation instruction from an operator. An input device, an allocating device that performs an allocating operation on the product data and the graphic data based on the input allocating instruction, a storage device that stores a result of the allocating operation as an allocation result, and An allocation result output device for outputting, a display device for displaying the work progress of the allocation work on a screen, a designated point input device for inputting one point on a display screen of the display device as a designated point, and a graphic in the storage device With reference to the data, the designated point is converted into a new point, and the point after this conversion is given to the allocation instruction input device. A point conversion device, wherein the specified point conversion device calculates, for the input specified point S, the sum of the length of the line segment AS and the length of the line segment BS, the length of the line segment AB and the first predetermined length. A line segment AB smaller than the sum of the line segment AB is searched from the graphic data in the storage device, and all intersections formed by the searched line segments are obtained. It has a function of selecting the intersection Q closest to the point S and converting the designated point S to the intersection Q when the length of the line segment QS is shorter than a second predetermined length L2. Layouter for flyers and catalogs.
【請求項2】チラシ・カタログ類に掲載する商品に関す
る商品データを入力する商品データ入力装置と、 掲載する図形に関する図形データを入力する図形データ
入力装置と、 オペレータからの割付指示を入力する割付指示入力装置
と、 この入力した割付指示に基づいて、前記商品データおよ
び前記図形データに対する割付作業を行う割付作業装置
と、 前記割付作業の結果を、割付結果として記憶する記憶装
置と、 前記割付結果を出力する割付結果出力装置と、 前記割付作業の作業経過を画面表示するディスプレイ装
置と、 前記ディスプレイ装置の表示画面上の1点を指定点とし
て入力する指定点入力装置と、 前記記憶装置内の図形データを参照して、前記指定点を
新たな点に変換し、この変換後の点を前記割付指示入力
装置に与える指定点変換装置と、 を備え、前記指定点変換装置が、 入力した指定点Sについて、線分CSの長さが、半径rか
ら第1の所定の長さL1を減じた差よりも大きく、かつ、
半径rに第2の所定の長さL2を加えた和よりも小さいと
いう条件を満たす、中心点Cをもつ半径rの円を、前記
記憶装置内の図形データから捜索し、 捜索された円によって形成されるすべての交点を求め、 求めた交点のうち、前記指定点Sに最も近い交点Qを選
び、線分QSの長さが第3の所定の長さL3よりも短い場合
に、前記指定点Sを前記交点Qに変換する機能を有する
ことを特徴とするチラシ・カタログ類の割付装置。
2. A product data input device for inputting product data relating to a product to be posted in a flyer / catalog, a graphic data input device for inputting graphic data regarding a graphic to be posted, and an allocation instruction for inputting an allocation instruction from an operator. An input device, an allocating device that performs an allocating operation on the product data and the graphic data based on the input allocating instruction, a storage device that stores a result of the allocating operation as an allocation result, and An allocation result output device for outputting, a display device for displaying the work progress of the allocation work on a screen, a designated point input device for inputting one point on a display screen of the display device as a designated point, and a graphic in the storage device With reference to the data, the designated point is converted into a new point, and the point after this conversion is given to the allocation instruction input device. A point conversion device, wherein the specified point conversion device is configured such that, for the input specified point S, the length of the line segment CS is larger than the difference obtained by subtracting the first predetermined length L1 from the radius r, and ,
A circle having a center point C and having a radius r that satisfies a condition that the radius is smaller than the sum of the radius r and the second predetermined length L2 is searched from the graphic data in the storage device. All intersections to be formed are obtained. From the obtained intersections, an intersection Q closest to the specified point S is selected. If the length of the line segment QS is shorter than a third predetermined length L3, the specified An apparatus for allocating flyers and catalogs, having a function of converting a point S into the intersection point Q.
【請求項3】チラシ・カタログ類に掲載する商品に関す
る商品データを入力する商品データ入力装置と、 掲載する図形に関する図形データを入力する図形データ
入力装置と、 オペレータからの割付指示を入力する割付指示入力装置
と、 この入力した割付指示に基づいて、前記商品データおよ
び前記図形データに対する割付作業を行う割付作業装置
と、 前記割付作業の結果を、割付結果として記憶する記憶装
置と、 前記割付結果を出力する割付結果出力装置と、 前記割付作業の作業経過を画面表示するディスプレイ装
置と、 前記ディスプレイ装置の表示画面上の1点を指定点とし
て入力する指定点入力装置と、 前記記憶装置内の図形データを参照して、前記指定点を
新たな点に変換し、この変換後の点を前記割付指示入力
装置に与える指定点変換装置と、 を備え、前記指定点変換装置が、 入力した指定点Sについて、線分ASの長さと線分BSの長
さとの和が、線分ABの長さと第1の所定の長さL1との和
よりも小さくなるような線分ABを、前記記憶装置内の図
形データから捜索し、 入力した指定点Sについて、線分CSの長さが、半径rか
ら第2の所定の長さL2を減じた差よりも大きく、かつ、
半径rに第3の所定の長さL3を加えた和よりも小さいと
いう条件を満たす、中心点Cをもつ半径rの円を、前記
記憶装置内の図形データから捜索し、 捜索された線分および円によって形成されるすべての交
点を求め、 求めた交点のうち、前記指定点Sに最も近い交点Qを選
び、線分QSの長さが第4の所定の長さL4よりも短い場合
に、前記指定点Sを前記交点Qに変換する機能を有する
ことを特徴とするチラシ・カタログ類の割付装置。
3. A merchandise data input device for inputting merchandise data relating to merchandise to be posted in a flyer / catalog, a graphic data input device for inputting graphic data regarding a graphic to be posted, and an allocation instruction for inputting an allocation instruction from an operator. An input device, an allocating device that performs an allocating operation on the product data and the graphic data based on the input allocating instruction, a storage device that stores a result of the allocating operation as an allocation result, and An allocation result output device for outputting, a display device for displaying the work progress of the allocation work on a screen, a designated point input device for inputting one point on a display screen of the display device as a designated point, and a graphic in the storage device With reference to the data, the designated point is converted into a new point, and the point after this conversion is given to the allocation instruction input device. A point conversion device, wherein the specified point conversion device determines that the sum of the length of the line segment AS and the length of the line segment BS for the input specified point S is the length of the line segment AB and the first predetermined length. A line segment AB smaller than the sum of the line segment AB and the length L1 is searched from the graphic data in the storage device. It is larger than the difference obtained by reducing the length L2, and
A circle having a center point C and having a radius r that satisfies the condition that the radius r is the sum of the third predetermined length L3 and the third predetermined length L3 is searched from the graphic data in the storage device. And all the intersections formed by the circles are obtained. From the obtained intersections, an intersection Q closest to the specified point S is selected, and when the length of the line segment QS is shorter than the fourth predetermined length L4, And a function for converting the designated point S into the intersection point Q.
JP33035889A 1989-12-19 1989-12-19 Layouter for flyers and catalogs Expired - Lifetime JP2895887B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33035889A JP2895887B2 (en) 1989-12-19 1989-12-19 Layouter for flyers and catalogs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33035889A JP2895887B2 (en) 1989-12-19 1989-12-19 Layouter for flyers and catalogs

Publications (2)

Publication Number Publication Date
JPH03189651A JPH03189651A (en) 1991-08-19
JP2895887B2 true JP2895887B2 (en) 1999-05-24

Family

ID=18231720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33035889A Expired - Lifetime JP2895887B2 (en) 1989-12-19 1989-12-19 Layouter for flyers and catalogs

Country Status (1)

Country Link
JP (1) JP2895887B2 (en)

Also Published As

Publication number Publication date
JPH03189651A (en) 1991-08-19

Similar Documents

Publication Publication Date Title
EP0051857B1 (en) Method for editing document
JP3092711B2 (en) Output control device and method
US5524198A (en) Character or graphic processing method and apparatus
JP2895887B2 (en) Layouter for flyers and catalogs
EP0461811A2 (en) Pattern processing method
JP2895884B2 (en) Layouter for flyers and catalogs
JP2895885B2 (en) Layouter for flyers and catalogs
JP2895891B2 (en) Layouter for flyers and catalogs
JP2813815B2 (en) Layouter for flyers and catalogs
JP3066060B2 (en) Polygonal approximation method for Besee curve section
JP2663967B2 (en) Information storage control method
JP3065507B2 (en) Image output device
JP2915413B2 (en) Character processing method and apparatus
JP2813814B2 (en) Layouter for flyers and catalogs
JP2896544B2 (en) Character generation method and apparatus
JP2895890B2 (en) Layouter for flyers and catalogs
JP2998198B2 (en) Outline font creation device
JP3443840B2 (en) Ruled line output method and ruled line output device
JP2813818B2 (en) Layouter for flyers and catalogs
JP2721344B2 (en) Image processing method
JPH05233612A (en) Data processor
JPH03105681A (en) Method and device for picture layout
JPH10188009A (en) Graph preparing device and its method
JPH06168309A (en) Device and method for displaying graphic processing
JPH11110573A (en) Graphics plotter and storage medium thereof