JP2002373179A - Symbol rotating device, symbol rotating method, program for allowing computer to execute the method, cad system and graphic editing system - Google Patents

Symbol rotating device, symbol rotating method, program for allowing computer to execute the method, cad system and graphic editing system

Info

Publication number
JP2002373179A
JP2002373179A JP2001178881A JP2001178881A JP2002373179A JP 2002373179 A JP2002373179 A JP 2002373179A JP 2001178881 A JP2001178881 A JP 2001178881A JP 2001178881 A JP2001178881 A JP 2001178881A JP 2002373179 A JP2002373179 A JP 2002373179A
Authority
JP
Japan
Prior art keywords
area
rotation
segment
symbol
character string
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.)
Granted
Application number
JP2001178881A
Other languages
Japanese (ja)
Other versions
JP4664534B2 (en
Inventor
Yoko Sekimoto
陽子 関本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2001178881A priority Critical patent/JP4664534B2/en
Publication of JP2002373179A publication Critical patent/JP2002373179A/en
Application granted granted Critical
Publication of JP4664534B2 publication Critical patent/JP4664534B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To rotate a symbol having character strings and a graphic by preventing the character strings from being overlapped with the graphic, and preventing those character strings from being overlapped with each other even when the character strings are not associated with a certain point in the graphic. SOLUTION: A CPU 11 obtains segment areas for each attribute and segment areas of a graphic with respect to read parts, and divides an area in the neighborhood of the graphic into 8 areas by extending respective sides of the segment areas of the graphic. Then, the CPU 11 groups parts attributes and pin attributes, and obtains the segment areas of the grouped attributes, and rotates the whole parts after the grouping at X degrees with the central point of the segment areas of the graphics as a center. Then, the CPU 11 rotates the attributes or the attribute group at (-X) degrees with the central points of the segment areas as centers, and corrects the overlap of the attributes after the rotation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字列及び図形を
有するシンボルに対して回転処理を実行するシンボル回
転装置、シンボル回転方法、その方法をコンピュータに
実行させるプログラム、CADシステムおよび図形編集
システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a symbol rotation device and a symbol rotation method for executing a rotation process on a symbol having a character string and a graphic, a program for causing a computer to execute the method, a CAD system and a graphic editing system. Things.

【0002】[0002]

【従来の技術】CAD(コンピュータが支援する設計)
図面作成時には、一つのパーツをある角度で回転させて
配置する作業が多く発生する。一方、回転したパーツの
属性の向きは通常横書きであり、単純にパーツの回転を
行うと、図形と属性とが、また属性と属性とが重なる場
合がある。そのような場合には、CAD作業者が属性の
位置を修正していた。
2. Description of the Related Art CAD (computer-assisted design)
When a drawing is created, a lot of operations are performed to rotate and arrange one part at a certain angle. On the other hand, the direction of the attribute of the rotated part is usually horizontal writing, and if the part is simply rotated, the graphic and the attribute may overlap, and the attribute may overlap. In such a case, the CAD operator has corrected the position of the attribute.

【0003】このような属性の位置の修正を削減する方
法として、特開昭62−206677号公報に記載され
た画像データ回転方法が知られている。この画像データ
回転方法では、回転処理の際に、図形との関連座標とそ
の座標から一番近い文字の中心座標との位置関係を保っ
たまま回転処理を行い、かつ、文字が図形との関連座標
と重複しないように補正を行うようにしている。そし
て、求められた文字座標の位置に文字方向を変えずに文
字を表示させる。すなわち、文字データは文字表示方向
を変えず、回転後の図形に合わせて平行移動する。これ
により、文字は回転せず、かつ、図形と文字が重なるこ
とがない。
As a method for reducing such correction of the position of the attribute, there is known an image data rotation method described in Japanese Patent Application Laid-Open No. 62-206677. In this image data rotation method, during the rotation processing, the rotation processing is performed while maintaining the positional relationship between the coordinates related to the figure and the center coordinates of the character closest to the figure, and the character is related to the figure. The correction is made so as not to overlap with the coordinates. Then, the character is displayed at the position of the obtained character coordinate without changing the character direction. That is, the character data does not change the character display direction and moves in parallel with the rotated figure. Thus, the character does not rotate, and the figure and the character do not overlap.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記公
報に記載された画像データ回転方法では、文字列が図形
中のある点と関連付けられていることを前提としている
ので、関連付けがない場合は文字列と図形中のある点と
の関連付けを定義しなければならず、このため回転のた
めにパーツ情報を変更する必要がある。
However, the image data rotation method described in the above publication assumes that a character string is associated with a certain point in a figure. It is necessary to define the association between the object and a certain point in the figure, and therefore, it is necessary to change the part information for rotation.

【0005】この発明は上記に鑑みてなされたもので、
文字列と図形中のある点とを関連付けし無くとも、文字
列と図形とが重なり合わず、しかも文字列同士が重なり
合うこと無く、文字列および図形を有するシンボルを回
転させることができるシンボル回転装置、シンボル回転
方法、その方法をコンピュータに実行させるプログラ
ム、CADシステムおよび図形編集システムを得ること
を目的とする。
[0005] The present invention has been made in view of the above,
A symbol rotation device capable of rotating a symbol having a character string and a graphic without overlapping the character string and the graphic without associating the character string with a certain point in the graphic. It is an object to obtain a symbol rotation method, a program for causing a computer to execute the method, a CAD system, and a graphic editing system.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
この発明にかかるシンボル回転装置は、文字列及び図形
を有するシンボルに対して回転処理を実行するシンボル
回転装置において、前記文字列のセグメント領域を求め
る第1の領域求め手段と、前記図形のセグメント領域を
求める第2の領域求め手段と、前記シンボルについて、
前記第2の領域求め手段により求められたセグメント領
域の中心点を中心として所定の回転方向に角度αをもっ
て回転処理を実行する第1の回転処理手段と、該第1の
回転処理手段による回転処理後のシンボル中の文字列に
ついて、前記第1の領域求め手段により求められたセグ
メント領域の中心点を中心として、回転処理前と同一の
表示方向となるように角度βをもって回転処理を実行す
る第2の回転処理手段と、を具備したことを特徴とす
る。
According to a first aspect of the present invention, there is provided a symbol rotator for performing a rotation process on a symbol having a character string and a graphic. A first area obtaining means for obtaining the symbol, a second area obtaining means for obtaining the segment area of the figure,
First rotation processing means for executing a rotation processing at an angle α in a predetermined rotation direction about a center point of the segment area determined by the second area determination means, and rotation processing by the first rotation processing means A rotation process is performed on the character string in the subsequent symbol with an angle β around the center point of the segment area obtained by the first area obtaining means so as to have the same display direction as before the rotation processing. 2 rotation processing means.

【0007】この発明によれば、第1の回転処理手段
が、文字列及び図形を有するシンボルについて、第2の
領域求め手段により求められたセグメント領域の中心点
を中心として所定の回転方向に角度αをもって回転処理
を実行すると、第2の回転処理手段が、第1の回転処理
手段による回転処理後のシンボル中の文字列について、
第1の領域求め手段により求められたセグメント領域の
中心点を中心として、回転処理前と同一の表示方向とな
るように角度βをもって回転処理を実行する。
According to this invention, the first rotation processing means sets the angle of the symbol having the character string and the graphic in a predetermined rotation direction about the center point of the segment area obtained by the second area obtaining means. When the rotation process is executed with α, the second rotation processing unit performs the following processing on the character string in the symbol after the rotation process by the first rotation processing unit.
The rotation processing is executed around the center point of the segment area obtained by the first area obtaining means at an angle β so as to have the same display direction as before the rotation processing.

【0008】つぎの発明にかかるシンボル回転装置は、
上記の発明において、前記第2の回転処理手段による回
転処理後の文字列のセグメント領域が前記図形のセグメ
ント領域と重複する場合は、これら各セグメント領域が
重複しないように当該文字列のセグメント領域を移動す
る移動手段を更に具備したことを特徴とする。
[0008] A symbol rotation device according to the next invention comprises:
In the above invention, when the segment area of the character string after the rotation processing by the second rotation processing means overlaps with the segment area of the figure, the segment area of the character string is set so that these segment areas do not overlap. It is characterized by further comprising moving means for moving.

【0009】この発明によれば、第2の回転処理手段に
よる回転処理後の文字列のセグメント領域が図形のセグ
メント領域と重複する場合は、移動手段によって、前記
各セグメント領域が重複しないように、当該文字列のセ
グメント領域が所定の位置に移動される。
According to this invention, when the segment area of the character string after the rotation processing by the second rotation processing means overlaps with the segment area of the graphic, the moving means prevents the segment areas from overlapping. The segment area of the character string is moved to a predetermined position.

【0010】つぎの発明にかかるシンボル回転装置は、
複数の文字列及び図形を有するシンボルに対して回転処
理を実行するシンボル回転装置において、前記各文字列
毎のセグメント領域を求める第1の領域求め手段と、前
記図形のセグメント領域を求める第2の領域求め手段
と、前記複数の文字列を所定の規則にしたがってグルー
ピングするグルーピング手段と、該グルーピング手段に
よりグループ化された文字列のセグメント領域を求める
第3の領域求め手段と、前記シンボルについて、前記第
2の領域求め手段により求められたセグメント領域の中
心点を中心として所定の回転方向に角度αをもって回転
処理を実行する第1の回転処理手段と、前記第1の回転
処理手段による回転処理後のシンボル中の文字列につい
て、前記第1の領域求め手段により求められたセグメン
ト領域または前記第3の領域求め手段により求められた
セグメント領域の中心点を中心として、回転処理前と同
一の表示方向となるように角度βをもって回転処理を実
行する第2の回転処理手段と、を具備したことを特徴と
する。
[0010] A symbol rotation device according to the next invention comprises:
In a symbol rotator for performing a rotation process on a symbol having a plurality of character strings and a graphic, a first area obtaining means for obtaining a segment area for each of the character strings, and a second area obtaining means for obtaining a segment area of the graphic Area obtaining means, grouping means for grouping the plurality of character strings according to a predetermined rule, third area obtaining means for obtaining a segment area of a character string grouped by the grouping means, First rotation processing means for performing rotation processing at an angle α in a predetermined rotation direction about the center point of the segment area determined by the second area determination means, and after rotation processing by the first rotation processing means For the character string in the symbol of the segment area, the segment area obtained by the first area obtaining means or the And a second rotation processing means for executing a rotation processing around the center point of the segment area obtained by the area obtaining means at an angle β so as to have the same display direction as before the rotation processing. Features.

【0011】この発明によれば、第1の回転処理手段
が、複数の文字列及び図形を有するシンボルについて、
第2の領域求め手段により求められたセグメント領域の
中心点を中心として所定の回転方向に角度αをもって回
転処理を実行すると、第2の回転処理手段が、第1の領
域求め手段により求められたセグメント領域または第3
の領域求め手段により求められたセグメント領域の中心
点を中心として、回転処理前と同一の表示方向となるよ
うに角度βをもって回転処理を実行する。
According to the present invention, the first rotation processing means determines whether the symbol having a plurality of character strings and graphics
When the rotation process is performed at an angle α in a predetermined rotation direction about the center point of the segment area obtained by the second area obtaining means, the second rotation processing means is obtained by the first area obtaining means. Segment area or third
The rotation process is executed around the center point of the segment region obtained by the region obtaining means at an angle β so as to have the same display direction as before the rotation process.

【0012】つぎの発明にかかるシンボル回転装置は、
上記の発明において、前記第2の領域求め手段により求
められた図形のセグメント領域の各辺を延長して、当該
図形近傍の領域を分割する分割手段を更に具備し、前記
グルーピング手段は、前記分割手段による分割処理後の
各領域を基準にして前記複数の文字列をグルーピングす
ることを特徴とする
[0012] The symbol rotation device according to the next invention comprises:
In the above invention, the image processing apparatus may further include a dividing unit that extends each side of the segment region of the graphic obtained by the second region obtaining unit and divides an area near the graphic, and the grouping unit includes the dividing unit. The plurality of character strings are grouped based on each area after the division processing by the means.

【0013】この発明によれば、分割手段が、第2の領
域求め手段により求められた図形のセグメント領域の各
辺を延長して、当該図形近傍の領域を分割すると、グル
ーピング手段は、分割手段による分割処理後の各領域を
基準にして複数の文字列をグルーピングする。
According to this invention, when the dividing means extends each side of the segment area of the graphic obtained by the second area obtaining means and divides the area near the graphic, the grouping means comprises A plurality of character strings are grouped based on each area after the division processing by.

【0014】つぎの発明にかかるシンボル回転装置は、
上記の発明において、前記第2の回転処理手段による回
転処理後の文字列のセグメント領域が前記図形のセグメ
ント領域と重複する場合は、これら各セグメント領域が
重複しないように当該文字列のセグメント領域を移動す
る移動手段を更に具備したことを特徴とする。
The symbol rotation device according to the next invention is as follows.
In the above invention, when the segment area of the character string after the rotation processing by the second rotation processing means overlaps with the segment area of the figure, the segment area of the character string is set so that these segment areas do not overlap. It is characterized by further comprising moving means for moving.

【0015】この発明によれば、第2の回転処理手段に
よる回転処理後の文字列のセグメント領域が図形のセグ
メント領域と重複する場合は、移動手段によって、前記
各セグメント領域が重複しないように、当該文字列のセ
グメント領域が所定の位置に移動される。
According to this invention, when the segment area of the character string after the rotation processing by the second rotation processing means overlaps with the segment area of the graphic, the moving means prevents the segment areas from overlapping. The segment area of the character string is moved to a predetermined position.

【0016】つぎの発明にかかるシンボル回転装置は、
上記の発明において、前記移動手段による移動処理後の
複数の文字列のセグメント領域が重複する場合は、これ
ら各セグメント領域が重複しないように前記第1の領域
求め手段または前記第3の領域求め手段により求められ
たセグメント領域単位で、当該文字列のセグメント領域
を移動する文字列移動手段を更に具備したことを特徴と
する。
The symbol rotation device according to the next invention is as follows.
In the above invention, when segment areas of a plurality of character strings after the movement processing by the moving means overlap, the first area obtaining means or the third area obtaining means so that these segment areas do not overlap. And a character string moving means for moving the segment area of the character string in units of the segment area obtained by (1).

【0017】この発明によれば、移動手段による移動処
理後の複数の文字列のセグメント領域が重複する場合
は、文字列移動手段によって、前記各セグメント領域が
重複しないように第1の領域求め手段または第3の領域
求め手段により求められたセグメント領域単位で、当該
文字列のセグメント領域が所定の位置に移動される。
According to the present invention, when the segment areas of a plurality of character strings after the movement processing by the moving means overlap, the first area obtaining means by the character string moving means so that the segment areas do not overlap. Alternatively, the segment area of the character string is moved to a predetermined position in segment area units obtained by the third area obtaining unit.

【0018】つぎの発明にかかるシンボル回転方法は、
文字列及び図形を有するシンボルに対して回転処理を実
行するシンボル回転方法において、前記文字列のセグメ
ント領域を求める第1の領域求め工程と、前記図形のセ
グメント領域を求める第2の領域求め工程と、前記シン
ボルについて、前記第2の領域求め工程により求められ
たセグメント領域の中心点を中心として所定の回転方向
に角度αをもって回転処理を実行する第1の回転処理工
程と、該第1の回転処理工程による回転処理後のシンボ
ル中の文字列について、前記第1の領域求め工程により
求められたセグメント領域の中心点を中心として、回転
処理前と同一の表示方向となるように角度βをもって回
転処理を実行する第2の回転処理工程と、を含むことを
特徴とする。
The symbol rotation method according to the next invention is as follows.
In a symbol rotation method for performing a rotation process on a symbol having a character string and a graphic, a first area obtaining step for obtaining a segment area of the character string, and a second area obtaining step for obtaining a segment area of the figure A first rotation processing step of performing a rotation processing on the symbol at an angle α in a predetermined rotation direction about a center point of the segment area obtained in the second area obtaining step, and the first rotation processing; The character string in the symbol after the rotation processing in the processing step is rotated around the center point of the segment area obtained in the first area obtaining step by the angle β so as to have the same display direction as before the rotation processing. And a second rotation processing step of executing the processing.

【0019】この発明によれば、第1の回転処理工程に
よって、文字列及び図形を有するシンボルについて、第
2の領域求め手段により求められたセグメント領域の中
心点を中心として所定の回転方向に角度αをもって回転
処理を実行すると、第2の回転処理工程によって、第1
の回転処理手段による回転処理後のシンボル中の文字列
について、第1の領域求め手段により求められたセグメ
ント領域の中心点を中心として、回転処理前と同一の表
示方向となるように角度βをもって回転処理を実行す
る。
According to the present invention, in the first rotation processing step, the symbol having the character string and the graphic is rotated in the predetermined rotation direction about the center point of the segment area obtained by the second area obtaining means. When the rotation processing is performed with α, the first rotation processing is performed by the second rotation processing step.
Of the character string in the symbol after the rotation processing by the rotation processing means, the angle β is set around the center point of the segment area obtained by the first area obtaining means so as to be in the same display direction as before the rotation processing. Execute the rotation process.

【0020】つぎの発明にかかるシンボル回転方法は、
上記の発明において、前記第2の回転処理工程による回
転処理後の文字列のセグメント領域が前記図形のセグメ
ント領域と重複する場合は、これら各セグメント領域が
重複しないように当該文字列のセグメント領域を移動す
る移動工程を更に含むことを特徴とする。
A symbol rotation method according to the next invention is as follows.
In the above invention, when the segment area of the character string after the rotation processing in the second rotation processing step overlaps with the segment area of the figure, the segment area of the character string is changed so that these segment areas do not overlap. The method further includes a moving step of moving.

【0021】この発明によれば、第2の回転処理工程に
より回転処理された後の文字列のセグメント領域が図形
のセグメント領域と重複する場合は、移動工程によっ
て、前記各セグメント領域が重複しないように、当該文
字列のセグメント領域を所定の位置に移動する。
According to this invention, when the segment area of the character string after the rotation processing in the second rotation processing step overlaps the segment area of the graphic, the moving step prevents the segment areas from overlapping. Then, the segment area of the character string is moved to a predetermined position.

【0022】つぎの発明にかかるシンボル回転方法は、
複数の文字列及び図形を有するシンボルに対して回転処
理を実行するシンボル回転方法において、前記各文字列
毎のセグメント領域を求める第1の領域求め工程と、前
記図形のセグメント領域を求める第2の領域求め工程
と、前記複数の文字列を所定の規則にしたがってグルー
ピングするグルーピング工程と、該グルーピング工程に
よりグループ化された文字列のセグメント領域を求める
第3の領域求め工程と、前記シンボルについて、前記第
2の領域求め工程により求められたセグメント領域の中
心点を中心として所定の回転方向に角度αをもって回転
処理を実行する第1の回転処理工程と、該第1の回転処
理工程による回転処理後のシンボル中の文字列につい
て、前記第1の領域求め工程により求められたセグメン
ト領域または前記第3の領域求め工程により求められた
セグメント領域の中心点を中心として、回転処理前と同
一の表示方向となるように角度βをもって回転処理を実
行する第2の回転処理工程と、を含むことを特徴とす
る。
The symbol rotation method according to the next invention is as follows.
In a symbol rotation method for performing a rotation process on a symbol having a plurality of character strings and a graphic, a first area obtaining step of obtaining a segment area for each of the character strings, and a second area obtaining step of obtaining a segment area of the graphic An area obtaining step, a grouping step of grouping the plurality of character strings according to a predetermined rule, a third area obtaining step of obtaining a segment area of the character string grouped by the grouping step, A first rotation processing step of executing a rotation processing at an angle α in a predetermined rotation direction about a center point of the segment area obtained by the second area determination step, and after the rotation processing by the first rotation processing step For the character string in the symbol, the segment area obtained in the first area obtaining step or the third area. A second rotation processing step of performing a rotation processing around the center point of the segment area obtained by the area obtaining step at an angle β so as to have the same display direction as before the rotation processing. I do.

【0023】この発明によれば、第1の回転処理工程に
よって、複数の文字列及び図形を有するシンボルについ
て、第2の領域求め手段により求められたセグメント領
域の中心点を中心として所定の回転方向に角度αをもっ
て回転処理を実行すると、第2の回転処理工程によっ
て、第1の領域求め手段により求められたセグメント領
域または第3の領域求め手段により求められたセグメン
ト領域の中心点を中心として、回転処理前と同一の表示
方向となるように角度βをもって回転処理を実行する。
According to the present invention, in the first rotation processing step, for a symbol having a plurality of character strings and figures, a predetermined rotation direction is set around the center point of the segment area obtained by the second area obtaining means. When the rotation processing is executed at an angle α, the second rotation processing step is performed with the center of the segment area determined by the first area determination means or the center of the segment area determined by the third area determination means as a center. The rotation process is executed at an angle β so as to have the same display direction as before the rotation process.

【0024】つぎの発明にかかるシンボル回転方法は、
上記の発明において、前記第2の領域求め工程により求
められた図形のセグメント領域の各辺を延長して、当該
図形近傍の領域を分割する分割工程を更に含み、前記グ
ルーピング工程は、前記分割工程による分割処理後の各
領域を基準にして前記複数の文字列をグルーピングする
ことを特徴とする。
A symbol rotation method according to the next invention is as follows.
In the above invention, the method further includes a dividing step of extending each side of the segment area of the graphic obtained by the second area obtaining step to divide an area near the graphic, and the grouping step includes: The plurality of character strings are grouped on the basis of each area after the division processing by.

【0025】この発明によれば、分割工程によって、第
2の領域求め手段により求められた図形のセグメント領
域の各辺を延長して、当該図形近傍の領域を分割する
と、グルーピング工程によって、分割手段による分割処
理後の各領域を基準にして複数の文字列をグルーピング
する。
According to the present invention, in the dividing step, each side of the segment area of the figure obtained by the second area obtaining means is extended to divide the area in the vicinity of the figure. A plurality of character strings are grouped based on each area after the division processing by.

【0026】つぎの発明にかかるシンボル回転方法は、
上記の発明において、前記第2の回転処理工程による回
転処理後の文字列のセグメント領域が前記図形のセグメ
ント領域と重複する場合は、これら各セグメント領域が
重複しないように当該文字列のセグメント領域を移動す
る移動工程を更に含むことを特徴とする。
A symbol rotation method according to the next invention is as follows.
In the above invention, when the segment area of the character string after the rotation processing in the second rotation processing step overlaps with the segment area of the figure, the segment area of the character string is changed so that these segment areas do not overlap. The method further includes a moving step of moving.

【0027】この発明によれば、第2の回転処理工程に
より回転処理された後の文字列のセグメント領域が図形
のセグメント領域と重複する場合は、移動工程によっ
て、前記各セグメント領域が重複しないように、当該文
字列のセグメント領域が所定の位置に移動される。
According to this invention, when the segment area of the character string after the rotation processing in the second rotation processing step overlaps with the segment area of the figure, the moving step prevents the segment areas from overlapping. Then, the segment area of the character string is moved to a predetermined position.

【0028】つぎの発明にかかるシンボル回転方法は、
上記の発明において、前記移動工程による移動処理後の
複数の文字列のセグメント領域が重複する場合は、これ
ら各セグメント領域が重複しないように前記第1の領域
求め工程または前記第3の領域求め工程により求められ
たセグメント領域単位で、当該文字列のセグメント領域
を移動する文字列移動工程を更に含むことを特徴とす
る。
The symbol rotation method according to the next invention is as follows.
In the above invention, when the segment areas of the plurality of character strings after the moving process in the moving step overlap, the first area obtaining step or the third area obtaining step is performed so that these segment areas do not overlap. The method further includes a character string moving step of moving the segment area of the character string in units of the segment area obtained by (1).

【0029】この発明によれば、移動工程により移動処
理された後の複数の文字列のセグメント領域が重複する
場合は、文字列移動工程によって、前記各セグメント領
域が重複しないように第1の領域求め工程または第3の
領域求め工程により求められたセグメント領域単位で、
当該文字列のセグメント領域が所定の位置に移動され
る。
According to the present invention, when the segment areas of a plurality of character strings after the movement processing in the moving step overlap, the first area is controlled by the character string moving step so that the segment areas do not overlap. In the segment area unit obtained by the obtaining step or the third area obtaining step,
The segment area of the character string is moved to a predetermined position.

【0030】つぎの発明にかかるプログラムは、上記の
発明のいずれか一つに記載された方法をコンピュータに
実行させるプログラムであり、そのプログラムがコンピ
ュータ読み取り可能となり、これによって、上記の発明
のいずれか一つの動作をコンピュータによって実行する
ことができる。
A program according to the next invention is a program for causing a computer to execute the method described in any one of the above-described inventions, and the program becomes readable by a computer. One operation can be performed by a computer.

【0031】つぎの発明にかかるCADシステムは、上
記の発明のいずれか一つに記載された方法にしたがって
シンボルの回転処理を実行することを特徴とする。
[0031] A CAD system according to the next invention is characterized in that a symbol rotation process is executed according to the method described in any one of the above inventions.

【0032】つぎの発明にかかるCADシステムは、上
記プログラムを実行することにより、上記の発明のいず
れか一つに記載された方法にしたがってシンボルの回転
処理を実行することを特徴とする。
[0032] A CAD system according to the next invention is characterized in that by executing the above-mentioned program, symbol rotation processing is executed in accordance with the method described in any one of the above-mentioned inventions.

【0033】つぎの発明にかかる図形編集システムは、
上記の発明のいずれか一つに記載された方法にしたがっ
てシンボルの回転処理を実行することを特徴とする。
[0033] The graphic editing system according to the next invention comprises:
According to another aspect of the present invention, a symbol rotation process is performed according to the method described above.

【0034】つぎの発明にかかる図形編集システムは、
上記プログラムを実行することにより、上記の発明のい
ずれか一つに記載された方法にしたがってシンボルの回
転処理を実行することを特徴とする。
[0034] The graphic editing system according to the next invention comprises:
By executing the program, a symbol rotation process is performed according to the method described in any one of the above aspects of the invention.

【0035】[0035]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかるシンボル回転装置、シンボル回転方法、そ
の方法をコンピュータに実行させるプログラム、CAD
システムおよび図形編集システムの好適な実施の形態を
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS With reference to the accompanying drawings, a symbol rotation device, a symbol rotation method, a program for causing a computer to execute the method, and a CAD according to the present invention will be described below.
Preferred embodiments of the system and the graphic editing system will be described in detail.

【0036】実施の形態1.図1は、この発明の実施の
形態であるシンボル回転装置の構成を示すブロック図で
ある。図1において、シンボル回転装置は、装置本体1
0、表示装置20、キーボード30およびマウス40か
ら構成されている。このようなシンボル回転装置は、た
とえば汎用コンピュータ、パーソナルコンピュータ、ワ
ークステーションなどのコンピュータにより実現される
ものである。
Embodiment 1 FIG. 1 is a block diagram showing a configuration of a symbol rotation device according to an embodiment of the present invention. In FIG. 1, a symbol rotating device includes a device main body 1.
0, a display device 20, a keyboard 30, and a mouse 40. Such a symbol rotation device is realized by a computer such as a general-purpose computer, a personal computer, and a workstation.

【0037】装置本体10は、装置全体を統括的に制御
するCPU11と、ハードディスク等の記録媒体で構成
される補助記憶装置12と、RAM等の記録媒体で構成
される主記憶装置13と、入出力制御部14とを有して
いる。補助記憶装置12は、テキスト付き電子部品図形
を示すデータ、後述する回転アルゴリズム(回転処理手
順)を示すプログラムを含む図形編集エディタを記憶し
ている。主記憶装置13は、補助記憶装置12からロー
ディングされたプログラムやデータ、キーボード30あ
るいはマウス40からの入力データ、CPU11が演算
処理する際に必要となるデータを記憶する。
The apparatus main body 10 includes a CPU 11 for overall control of the entire apparatus, an auxiliary storage device 12 formed of a recording medium such as a hard disk, and a main storage device 13 formed of a recording medium such as a RAM. And an output control unit 14. The auxiliary storage device 12 stores data indicating an electronic part graphic with text, and a graphic editing editor including a program indicating a rotation algorithm (rotation processing procedure) described later. The main storage device 13 stores programs and data loaded from the auxiliary storage device 12, input data from the keyboard 30 or the mouse 40, and data required when the CPU 11 performs arithmetic processing.

【0038】CPU11は、補助記憶装置12および主
記憶装置13に対してアクセスして、たとえば後述する
回転処理手順に基づいて処理を実行する。なお、CPU
11には、入出力制御部14を介して、テキスト付き電
子部品図形などの表示情報を表示する表示装置20、上
記図形編集エディタの起動指示、各種の入力データを入
力するためのキーボード30およびマウス40が接続さ
れている。
The CPU 11 accesses the auxiliary storage device 12 and the main storage device 13 and executes processing based on, for example, a rotation processing procedure described later. In addition, CPU
Reference numeral 11 denotes a display device 20 for displaying display information such as an electronic part graphic with a text via the input / output control unit 14, a start instruction of the graphic editing editor, a keyboard 30 for inputting various input data, and a mouse. 40 are connected.

【0039】ここで、以降の説明において記載される
「パーツ」、「図形」、「属性」、「パーツ属性」、
「ピン属性」、「パーツのピン」、「接続線」および
「セグメント領域」の用語を定義する。
Here, "parts", "graphics", "attributes", "part attributes",
The terms "pin attribute", "part pin", "connection line", and "segment area" are defined.

【0040】「パーツ」とは、電気図記号などのシンボ
ルのことである。「図形」とは、パーツのうち、文字列
以外の図形部分のことである。「属性」とは、図形以外
の各文字列のことである。「パーツ属性」とは、パーツ
全体の種類および機能を説明する文字列のことである。
「ピン属性」とは、パーツのピンの機能を説明する文字
列のことである。ここで、パーツの一例を、図2(a)
〜(c)に示し、「図形」、「属性」、「パーツ属性」
および「ピン属性」の一例を、図3に示す。
"Parts" are symbols such as electrical diagram symbols. The “graphic” is a graphic part other than the character string in the parts. “Attribute” refers to each character string other than a figure. The “part attribute” is a character string that describes the type and function of the entire part.
"Pin attribute" is a character string that describes the function of a pin of a part. Here, an example of the parts is shown in FIG.
-(C), "figure", "attribute", "part attribute"
FIG. 3 shows an example of the “pin attribute”.

【0041】図3の例においては、符号100で示され
る部分(点線で囲まれている部分)が「パーツ」を示
し、また、符号110で示される部分(点線で囲まれて
いる部分)が「図形」を示し、さらに、符号121、1
22で示される部分が「属性」を示している。その属性
のうち、符号121で示す部分、たとえば「NFB」、
「KN」、「KT」、「Z」、「AT」の文字列が「パ
ーツ属性」を示し、一方、符号122で示す部分、たと
えば「1」、「2」、「3」、「4」の文字列(数字)
が「ピン属性」を示している。なお、パーツ100に付
いている属性121、122には、パーツ属性かあるい
はピン属性かの情報が付加されている。また、ピン属性
122の場合は、図形のどのピンの属性であるかは既に
定義されているものとする。
In the example shown in FIG. 3, a portion indicated by reference numeral 100 (portion surrounded by a dotted line) indicates a "part", and a portion indicated by reference numeral 110 (portion surrounded by a dotted line). "Graphic", and reference numerals 121, 1
The part indicated by 22 indicates “attribute”. In the attribute, a portion indicated by reference numeral 121, for example, “NFB”,
The character strings "KN", "KT", "Z", and "AT" indicate "part attributes", while portions indicated by reference numeral 122, for example, "1", "2", "3", "4". Character string (number)
Indicates a “pin attribute”. Note that information on whether the attribute is a part attribute or a pin attribute is added to the attributes 121 and 122 attached to the part 100. In the case of the pin attribute 122, it is assumed that the pin attribute of the figure is already defined.

【0042】また、「パーツのピン」とは、パーツと接
続線とを繋ぐことができる点のことであり、「接続線」
とは、あるパーツのピンと他のパーツのピンとを結ぶ
線、あるいは接続線同士を繋ぐ線のことである。ここ
で、「パーツのピン」および「接続線」の一例を、図4
に示す。同図4において、符号130で示される部分
(記号「×」参照)が「パーツのピン」を示し、符号1
40で示される部分(線分)が「接続線」を示してい
る。
A "part pin" is a point at which a part can be connected to a connection line.
Is a line connecting a pin of a certain part and a pin of another part, or a line connecting connection lines. Here, an example of “part pins” and “connection lines” is shown in FIG.
Shown in In FIG. 4, the portion indicated by reference numeral 130 (see the symbol “x”) indicates “part pins” and the reference numeral 1
A portion (line segment) indicated by 40 indicates a “connection line”.

【0043】さらに、「セグメント領域」とは、図形ま
たは文字列(属性)を囲った最小の長方形(矩形)のこ
とである。ここで、図形のセグメント領域の一例を図5
に示し(符号150で示される長方形)、属性(つまり
文字列)のセグメント領域の一例を図6に示す(符号1
60で示される長方形)。
The "segment area" is a minimum rectangle (rectangle) surrounding a figure or a character string (attribute). Here, an example of a segment area of a figure is shown in FIG.
FIG. 6 shows an example of a segment area having the attribute (that is, a character string) shown in FIG.
Rectangle shown at 60).

【0044】ところで、図3に示したようなパーツ10
0、すなわち図形110および属性(つまり文字列)1
21、122を示すデータ、図4に示したようなピン1
30および接続線140を示すデータは、補助記憶装置
12に格納されており、図形の編集処理時に、主記憶装
置13にローディングされる。
By the way, the part 10 as shown in FIG.
0, ie, figure 110 and attribute (ie, character string) 1
Data indicating 21 and 122, pin 1 as shown in FIG.
Data indicating the connection line 30 and the connection line 140 is stored in the auxiliary storage device 12, and is loaded into the main storage device 13 during a graphic editing process.

【0045】かかる構成のシンボル回転装置による図形
の編集処理について説明する。最初に、図形編集者など
のユーザが、たとえばキーボード30又はマウス40を
操作して、例えば表示装置20に表示される図形編集エ
ディタ起動用のアイコンやメニューを選択することで、
図形編集エディタを起動する旨の指令を入力すると共
に、表示装置20に表示されるパーツ名中の編集対象の
パーツ名を指定(あるいは選択)する。これら指令デー
タや編集対象のパーツ名を示すデータは、入出力制御部
14を介してCPU11に入力される。
The graphic editing process performed by the symbol rotating device having such a configuration will be described. First, a user such as a graphic editor operates, for example, the keyboard 30 or the mouse 40 to select, for example, an icon or a menu for starting the graphic editing editor displayed on the display device 20.
A command to start the graphic editing editor is input, and a part name to be edited in the part names displayed on the display device 20 is designated (or selected). These command data and data indicating the name of the part to be edited are input to the CPU 11 via the input / output control unit 14.

【0046】CPU11は、入力されたデータを基に、
補助記憶装置12に記憶されている図形編集エディタ
(後述する回転処理手順を示すプログラムを含む)を主
記憶装置13に読み込んで起動すると共に、補助記憶装
置12に記憶されている編集対象のパーツ名に対応する
パーツのデータを主記憶装置13に読み込む。そして、
CPU11は、図形編集エディタを実行することで編集
対象のパーツに対して回転処理を施す。
The CPU 11 performs the following based on the input data.
A graphic editing editor (including a program indicating a rotation processing procedure to be described later) stored in the auxiliary storage device 12 is read into the main storage device 13 and activated, and a part name to be edited stored in the auxiliary storage device 12 is stored. Is read into the main storage device 13. And
The CPU 11 performs a rotation process on the part to be edited by executing the graphic editing editor.

【0047】次に、シンボル回転装置のCPU11によ
る回転処理について、図7を参照して説明する。図7
は、その回転処理手順を示すフローチャートである。
Next, rotation processing by the CPU 11 of the symbol rotation device will be described with reference to FIG. FIG.
Is a flowchart showing the rotation processing procedure.

【0048】ここでは、パーツをX度回転させる回転処
理について説明するものとし、また、この回転処理する
に際し、図形編集エディタおよび編集対象のパーツのデ
ータは、CPU11によって補助記憶装置12から主記
憶装置13に読み込まれているものとする。
Here, a rotation process for rotating a part by X degrees will be described. In this rotation process, the data of the graphic editing editor and the part to be edited are transferred from the auxiliary storage device 12 to the main storage device by the CPU 11. 13 is read.

【0049】さて、CPU11は、主記憶装置13に読
み込んだパーツの属性について、当該パーツに付加され
ている情報を基に「パーツ属性」と「ピン属性」の二種
類に分類する。ここで、読み込まれたパーツの一例を図
8に示す。図8に示す例においては、「PINa」、
「MEMO」、「PIN2」の各文字列がピン属性であ
り、それ以外の属性たとえば「PARTS」、「NF
B」、「NFB22」などの各文字列がパーツ属性であ
る。また、「PINa」および「MEMO」のピン属性
は、図8中のA点のピンAについて関係した文字列であ
り、一方、「PIN2」のピン属性は、図8中のB点の
ピンBについて関係した文字列である。
The CPU 11 classifies the attributes of the parts read into the main storage device 13 into two types, "part attributes" and "pin attributes", based on information added to the parts. Here, an example of the read parts is shown in FIG. In the example shown in FIG. 8, "PINa",
Each character string of “MEMO” and “PIN2” is a pin attribute, and other attributes such as “PARTS” and “NF”
Character strings such as "B" and "NFB22" are part attributes. The pin attribute of “PINa” and “MEMO” is a character string related to the pin A at point A in FIG. 8, while the pin attribute of “PIN2” is the pin B at point B in FIG. Is a character string related to

【0050】次に、CPU11は、読み込んだパーツに
ついて、属性(文字列)ごとのセグメント領域を求める
と共に(ステップS11)、図形のセグメント領域を求
める(ステップS12)。ここで、求められた属性(文
字列)ごとのセグメント領域の一例を図9に示す。この
例では、符号201〜209で示される各パーツ属性の
セグメント領域と、符号210〜212で示される各ピ
ン属性のセグメント領域とが求められている。この図9
に示した例において、さらに図形のセグメント領域22
0を求めた様子を、図10に示す。この図10では符号
201〜212は省略している。
Next, the CPU 11 obtains a segment area for each attribute (character string) for the read part (step S11), and obtains a graphic segment area (step S12). Here, an example of a segment area for each attribute (character string) obtained is shown in FIG. In this example, a segment area of each part attribute indicated by reference numerals 201 to 209 and a segment area of each pin attribute indicated by reference numerals 210 to 212 are obtained. This figure 9
In the example shown in FIG.
FIG. 10 shows how 0 is obtained. In FIG. 10, reference numerals 201 to 212 are omitted.

【0051】なお、図9および図10中の 記号"×" 印
は図形ではなく、この回転処理を説明するに際し、ピン
を明示するために表記している印であり、実際の図形の
一部ではない。このため、セグメント領域を求める際に
は無視している。
Note that the symbol "x" in FIGS. 9 and 10 is not a figure but a mark written to clearly indicate a pin in explaining this rotation processing, and is a part of an actual figure. is not. For this reason, they are ignored when obtaining the segment area.

【0052】続いて、CPU11は、ステップS12で
求めたセグメント領域220の各辺を延長して、図11
に示すように、図形近傍の領域を、領域1〜領域8の8
つの領域に分割し(ステップS13)、さらに、パーツ
属性とピン属性の各々の属性をグルーピングすると共に
(ステップS14)、グルーピングした属性(文字列)
についてセグメント領域を求める(ステップS15)。
Subsequently, the CPU 11 extends each side of the segment area 220 obtained in step S12, and
As shown in FIG.
Is divided into two areas (step S13), and further, each of the part attribute and the pin attribute is grouped (step S14), and the grouped attribute (character string)
Is obtained for the segment area (step S15).

【0053】このグルーピングするに際し、パーツ属性
については、ステップS13で求めた各領域について、
同じ領域内にある属性同士(文字列同士)をグルーピン
グする。このとき、パーツ属性が複数の領域に跨ってい
る場合は、パーツ属性のセグメント領域が最も大きく重
なっている領域を、当該パーツ属性が属する領域とみな
す。一方、ピン属性については、同じピンに属する属性
同士(文字列同士)をグルーピングする。このようにし
てグルーピングされた結果を図12に示す。
At the time of this grouping, regarding the part attribute, for each region obtained in step S13,
The attributes (character strings) in the same area are grouped. At this time, if the part attribute extends over a plurality of areas, the area where the segment area of the part attribute overlaps the largest is regarded as the area to which the part attribute belongs. On the other hand, regarding the pin attributes, attributes belonging to the same pin (character strings) are grouped. FIG. 12 shows the result of the grouping in this manner.

【0054】この図12に示す例においては、符号20
1および符号202の各セグメント領域(図9参照)の
パーツ属性がグルーピングされて、そのグルーピングさ
れた属性について長方形(矩形)のセグメント領域23
1が求められている。同様に、符号203および符号2
04の各セグメント領域のパーツ属性がグルーピングさ
れて、それらの属性についてセグメント領域232が求
められている。同様に、符号205〜208の各セグメ
ント領域のパーツ属性がグルーピングされて、それらの
属性についてセグメント領域233が求められている。
さらに、符号210および符号211の各セグメント領
域のピン属性がグルーピングされて、それらの属性につ
いてセグメント領域234が求められている。
In the example shown in FIG.
The part attributes of the segment areas 1 and 202 (see FIG. 9) are grouped, and a rectangular (rectangular) segment area 23 is defined for the grouped attributes.
One is required. Similarly, reference numeral 203 and reference numeral 2
The part attributes of each of the segment areas 04 are grouped, and the segment area 232 is determined for those attributes. Similarly, the part attributes of the segment areas denoted by reference numerals 205 to 208 are grouped, and the segment area 233 is obtained for those attributes.
Further, the pin attributes of the segment areas denoted by reference numerals 210 and 211 are grouped, and the segment area 234 is determined for those attributes.

【0055】次に、CPU11は、図12に示したパー
ツ全体について、図13に示すように、ステップS12
で求めた図形のセグメント領域220の中心点を中心と
してX度回転する(ステップS16)。ここでは、反時計
回り(左回り)方向にX=90度回転させるものとす
る。
Next, as shown in FIG. 13, the CPU 11 executes step S12 for the entire part shown in FIG.
The image is rotated by X degrees about the center point of the segment area 220 of the figure obtained in (step S16). Here, it is assumed that X is rotated 90 degrees in a counterclockwise (counterclockwise) direction.

【0056】続いて、CPU11は、図13に示すパー
ツの状態から、属性または属性グループについて、図1
4に示すように、それぞれのセグメント領域の中心点を
中心として(−X)度回転する(ステップS17)。こ
こでは、時計回り(右回り)方向にX=90度回転させ
ている。勿論、反時計回り(左回り)方向に「360−
X(=90)」=270度回転させるようにしても良
い。
Subsequently, the CPU 11 determines the attribute or attribute group from the state of the parts shown in FIG.
As shown in FIG. 4, the rotation is performed by (−X) degrees about the center point of each segment area (step S17). Here, X is rotated 90 degrees clockwise (clockwise). Of course, in the counterclockwise (counterclockwise) direction, "360-
X (= 90) "= 270 degrees.

【0057】最後に、CPU11は、図15に示すパー
ツの状態(図14に示すパーツと同一の状態)に対し
て、回転後の属性の重なりを補正する(ステップS1
8)。この補正処理の詳細については後述するが、ここ
では簡単に説明する。
Finally, the CPU 11 corrects the overlapping of the attributes after rotation with respect to the state of the parts shown in FIG. 15 (the same state as the parts shown in FIG. 14) (step S1).
8). The details of this correction processing will be described later, but will be briefly described here.

【0058】まず、ピン属性と図形との重なりを補正す
ることにより、図15に示すパーツの状態(図14に示
すパーツと同一の状態)は、図16に示すパーツの状態
に変化する。すなわち、図形のセグメント領域220に
重なっていたセグメント領域212が、セグメント領域
220と重ならない位置に移動されている。
First, the state of the part shown in FIG. 15 (the same state as the part shown in FIG. 14) is changed to the state of the part shown in FIG. 16 by correcting the overlap between the pin attribute and the figure. That is, the segment area 212 that has overlapped with the segment area 220 of the figure has been moved to a position that does not overlap with the segment area 220.

【0059】また、この状態から、ピン属性同士の重な
りを補正すると、図16に示すパーツの状態は図17に
示すパーツの状態に変化する。すなわち、互いに重なっ
ていたセグメント領域212とセグメント領域231
は、セグメント領域231が所定の位置に移動されて、
重ならない状態になっている。
When the overlap between the pin attributes is corrected from this state, the state of the part shown in FIG. 16 changes to the state of the part shown in FIG. That is, the segment area 212 and the segment area 231 that have overlapped each other
Indicates that the segment area 231 has been moved to a predetermined position,
It does not overlap.

【0060】さらに、この状態から、パーツ属性と図形
との重なりを補正すると、図17に示すパーツの状態は
図18に示すパーツの状態に変化する。すなわち、互い
に重なっていたセグメント領域220とセグメント領域
233は、セグメント領域233が所定の位置に移動さ
れて、重ならない状態になっている。
Further, when the overlap between the part attribute and the figure is corrected from this state, the state of the part shown in FIG. 17 changes to the state of the part shown in FIG. That is, the segment area 220 and the segment area 233 that have overlapped each other are in a state where the segment area 233 is moved to a predetermined position and do not overlap.

【0061】この実施の形態1では、ピン属性またはピ
ン属性グループについては、属する図形のピンをインデ
ックスとする配列によって管理する。たとえばピン1〜
4が、図19(a)に示すような配置関係にあるものと
した場合には、ピン1〜4の各値をインデックスとし
て、属性値(つまりピンのピン属性)が登録された配列
250とする。この場合、ピン属性の配列250は、イ
ンデックス251と属性値252とから構成されてい
る。したがって、CPU11は、パーツの回転前に、図
19(b)に示すようなピン属性の配列250を主記憶
装置13に作成することで、パーツに対して所定の角度
をもって回転処理したとしても、ピンとそのピン属性
(属性値)との関係を認識することができる。
In the first embodiment, the pin attribute or the pin attribute group is managed by an array in which the pins of the figure to which the pin belongs are indexed. For example, pin 1
4 is in an arrangement relationship as shown in FIG. 19A, the values of pins 1 to 4 are used as indices, and an array 250 in which attribute values (that is, pin attributes of pins) are registered. I do. In this case, the pin attribute array 250 includes an index 251 and an attribute value 252. Therefore, even if the CPU 11 creates the pin attribute array 250 as shown in FIG. 19B in the main storage device 13 before rotating the part, even if the CPU 11 rotates the part at a predetermined angle, The relationship between the pin and the pin attribute (attribute value) can be recognized.

【0062】また、パーツ属性またはパーツ属性グルー
プについては、属する領域をインデックスとする配列に
よって管理する。たとえば領域1〜8が、図20(a)
に示すような配置関係にあるものとした場合には、領域
1〜8の各値をインデックスとして、属性値(領域に属
するパーツ属性)が登録された配列260とする。この
場合、パーツ属性の配列260は、インデックス261
と属性値262とから構成されている。したがって、C
PU11は、パーツの回転前に、図20(b)に示すよ
うなパーツ属性の配列260を主記憶装置13に作成す
ることで、パーツに対して所定の角度をもって回転処理
したとしても、領域とその領域に属するパーツ属性(属
性値)との関係を認識することができる。
The part attribute or the part attribute group is managed by an array in which the area to which the part belongs is indexed. For example, the regions 1 to 8 correspond to those shown in FIG.
In the case where it is assumed that there is an arrangement relationship as shown in FIG. 8, the array 260 in which attribute values (part attributes belonging to the area) are registered using each value of the areas 1 to 8 as an index. In this case, the part attribute array 260 has the index 261
And an attribute value 262. Therefore, C
The PU 11 creates an array 260 of part attributes as shown in FIG. 20B in the main storage device 13 before the rotation of the part, so that even if the rotation processing is performed at a predetermined angle with respect to the part, the area The relationship with the part attribute (attribute value) belonging to the area can be recognized.

【0063】次に、上記ステップS18での回転後の属
性の重なりの補正処理について、詳細に説明する。
Next, the process of correcting the overlap of attributes after rotation in step S18 will be described in detail.

【0064】この補正処理においては、回転後のパーツ
について、属性同士、または図形と属性との重なりを除
くため、次のステップS18−1〜S18−5の順序で
属性の位置補正を行う。なお、ステップS18−1〜S
18−5の各処理は、ステップS18の処理に含まれる
ものである。したがって、これら各ステップS18−1
〜S18−5の処理手順を含んだ回転処理手順(図7参
照)を示すプログラムが、コンピュータ読み取り可能な
記録媒体としての補助記憶装置12に格納(記録)され
ている。
In this correction processing, the position of the attribute is corrected in the order of the following steps S18-1 to S18-5 in order to eliminate the overlap between the attributes or the figure and the attribute with respect to the rotated part. Steps S18-1 to S18-1
Each process of 18-5 is included in the process of step S18. Therefore, each of these steps S18-1
A program indicating a rotation processing procedure (see FIG. 7) including the processing procedures of S18-5 is stored (recorded) in the auxiliary storage device 12 as a computer-readable recording medium.

【0065】ステップS18−1(「ピン属性」と「図
形」との重なりの補正)この補正は、図21に示すよう
に、図形のセグメント領域310と複数(たとえば2
つ)のピン属性のセグメント領域321、322とが重
なっている場合に、セグメント領域321およびセグメ
ント領域322を移動させることで、「ピン属性」と
「図形」とが重複しないようにするためのものである。
なお、単一のピン属性が図形と重なるときは、そのピン
属性を移動させる。
Step S18-1 (Correction of overlap between "pin attribute" and "graphic") This correction is performed, as shown in FIG.
In the case where the segment areas 321 and 322 having the pin attribute overlap each other, the segment area 321 and the segment area 322 are moved so that the “pin attribute” and the “figure” do not overlap. It is.
When a single pin attribute overlaps a figure, the pin attribute is moved.

【0066】具体的に説明すると、CPU11は、図形
中のピンの数をN個と定義して、i=1〜Nまで次の処
理を繰り返す。すなわち、図形中のピンiのピン属性ま
たはピン属性のグループのセグメント領域が、図形のセ
グメント領域に重なる場合、互いの距離が回転前の距離
と等しくなるようにピン属性を位置移動する。この場
合、位置移動は、図形が存在する方向と反対の方向に行
う。
More specifically, the CPU 11 defines the number of pins in the figure as N, and repeats the following processing from i = 1 to N. That is, when the segment area of the pin attribute of the pin i or the pin attribute group in the figure overlaps the segment area of the figure, the pin attributes are moved so that the distance between them becomes equal to the distance before rotation. In this case, the position is moved in the direction opposite to the direction in which the figure exists.

【0067】たとえば、図22(a)に示すように、回
転前の図形のセグメント領域310と回転前の「PIN
2」のピン属性のセグメント領域321とが、「t1」
の距離をもって配置されていた場合に、回転後でかつ補
正前において、図22(b)に示すように図形のセグメ
ント領域310と「PIN2」のピン属性のセグメント
領域321とが重なるときは、図22(c)に示すよう
に、「PIN2」のピン属性のセグメント領域321
を、互いのセグメント領域の距離が回転前の距離t1と
等しくなるように図形(のセグメント領域)とは反対方
向(図22(c)の左方向)に移動させる。
For example, as shown in FIG. 22A, the segment area 310 of the figure before rotation and the “PIN
The segment area 321 having the pin attribute “2” is “t1”.
If the segment area 310 of the figure and the segment area 321 of the pin attribute of “PIN2” overlap as shown in FIG. 22B after rotation and before correction as shown in FIG. As shown in FIG. 22C, the segment area 321 having the pin attribute “PIN2”
Are moved in the opposite direction (to the left in FIG. 22 (c)) to the figure (segment area) so that the distance between the segment areas is equal to the distance t1 before rotation.

【0068】ステップS18−2(「ピン属性」と「ピ
ン属性」との重なりの補正)この補正は、図23に示す
ように、図形のセグメント領域310と複数(たとえば
2つ)のピン属性のセグメント領域321、322とは
離れているものの、その2つのセグメント領域321、
322同士が重なっている場合に、何れかのピン属性を
移動させることで、「ピン属性」同士が重複しないよう
にするためのものである。
Step S18-2 (Correction of Overlap between "Pin Attribute" and "Pin Attribute") This correction is performed, as shown in FIG. Although separated from the segment areas 321 and 322, the two segment areas 321 and
When the pins 322 overlap each other, any one of the pin attributes is moved so that the “pin attributes” do not overlap.

【0069】具体的に説明すると、CPU11は、図形
中のピンの数をN個と定義して、i=1〜Nまで次の処
理を繰り返す。すなわち、図形中のピンiのピン属性ま
たはピン属性のグループのセグメント領域が、図形中の
ピン(i−1)のピン属性またはピン属性のグループの
セグメント領域に重なる場合、互いの距離が回転前の距
離と等しくなるように前者を位置移動する。この場合、
位置移動は、図形が存在する方向と反対の方向に行う。
More specifically, the CPU 11 defines the number of pins in the figure as N, and repeats the following processing from i = 1 to N. In other words, when the pin attribute of the pin i or the segment area of the group of the pin attribute in the figure overlaps the segment area of the pin attribute or the group of the pin attribute of the pin (i-1) in the figure, the distance between the pins before the rotation The position of the former is moved so as to be equal to the distance of. in this case,
The position is moved in the direction opposite to the direction in which the figure exists.

【0070】たとえば、図24(a)に示すように、回
転前の「PIN1」のピン属性のセグメント領域321
と回転前の「PIN2」のピン属性のセグメント領域3
22とが、「t2」(この場合、t2=0)の距離をも
って配置されていた場合に、回転後でかつ補正前におい
て、図24(b)に示すように「PIN1」のピン属性
のセグメント領域321と「PIN2」のピン属性のセ
グメント領域322とが重なるときは、図24(c)に
示すように、「PIN2」のピン属性のセグメント領域
321を、互いのセグメント領域の距離が回転前の距離
t2と等しくなるように図形(のセグメント領域)とは
反対方向(図24(c)の左方向)に移動させる。
For example, as shown in FIG. 24A, a segment area 321 having a pin attribute of “PIN1” before rotation is provided.
And segment area 3 with pin attribute of “PIN2” before rotation
22 are arranged with a distance of “t2” (in this case, t2 = 0), and after rotation and before correction, as shown in FIG. 24B, a segment having a pin attribute of “PIN1” When the area 321 and the segment area 322 of the pin attribute of “PIN2” overlap, as shown in FIG. 24C, the segment area 321 of the pin attribute of “PIN2” is shifted by a distance between the segment areas before rotation. Is moved in the opposite direction (to the left in FIG. 24C) to the figure (segment area) so as to be equal to the distance t2.

【0071】ステップS18−3(「パーツ属性」と
「図形」との重なりの補正)この補正は、図25に示す
ように、図形のセグメント領域310と複数(たとえば
2つ)のパーツ属性のセグメント領域331、332と
が重なっている場合に、セグメント領域331およびセ
グメント領域332を移動させることで、「パーツ属
性」と「図形」とが重複しないようにするためのもので
ある。なお、単一のパーツ属性が図形と重なるときは、
そのパーツ属性を移動させる。
Step S18-3 (Correction of Overlap between "Parts Attribute" and "Figure") This correction is performed by, as shown in FIG. 25, a segment area 310 of the figure and a segment having a plurality of (for example, two) parts attributes. When the regions 331 and 332 overlap, the segment region 331 and the segment region 332 are moved so that the “part attribute” and the “graphic” do not overlap. When a single part attribute overlaps a figure,
Move the part attribute.

【0072】具体的に説明すると、CPU11は、領域
の数を「8」と定義して、j=1〜8まで次の処理を繰
り返す。すなわち、領域jに属するパーツ属性のセグメ
ント領域またはパーツ属性のグループのセグメント領域
が、図形のセグメント領域に重なる場合、互いの距離が
回転前の距離と等しくなるようにパーツ属性を位置移動
する。この場合、位置移動は、図形が存在する方向と反
対の方向に行う。
More specifically, the CPU 11 defines the number of areas as “8” and repeats the next processing until j = 1 to 8. That is, when the segment area of the part attribute belonging to the area j or the segment area of the group of the part attribute overlaps the segment area of the graphic, the position of the part attribute is moved so that the distance between them becomes equal to the distance before rotation. In this case, the position is moved in the direction opposite to the direction in which the figure exists.

【0073】たとえば、図26(a)に示すように、回
転前の図形のセグメント領域310と回転前の「パーツ
属性」のセグメント領域331とが、「t3」の距離を
もって配置されていた場合に、回転後でかつ補正前にお
いて、図26(b)に示すように図形のセグメント領域
310と「パーツ属性」のセグメント領域331とが重
なるときは、図26(c)に示すように、「パーツ属
性」のセグメント領域331を、互いのセグメント領域
の距離が回転前の距離t3と等しくなるように図形(の
セグメント領域)とは反対方向(図26(c)の左方
向)に移動させる。
For example, as shown in FIG. 26A, when the segment area 310 of the figure before rotation and the segment area 331 of the “part attribute” before rotation are arranged with a distance of “t3”. When the segment area 310 of the graphic overlaps the segment area 331 of the “part attribute” as shown in FIG. 26B after the rotation and before the correction, as shown in FIG. The segment area 331 of “attribute” is moved in the opposite direction (left direction in FIG. 26C) to the (segment area) so that the distance between the segment areas is equal to the distance t3 before rotation.

【0074】ステップS18−4(「ピン属性」と「パ
ーツ属性」との重なりの補正)この補正は、図27に示
すように、図形のセグメント領域310とピン属性のセ
グメント領域321およびパーツ属性のセグメント領域
331とは離れているものの、ピン属性のセグメント領
域321とパーツ属性のセグメント領域331とが重な
っている場合に、パーツ属性を移動させることで、「ピ
ン属性」と「パーツ属性」とが重複しないようにするた
めのものである。
Step S18-4 (Correction of Overlap between "Pin Attribute" and "Part Attribute") As shown in FIG. 27, this correction is performed by using the segment area 310 of the figure, the segment area 321 of the pin attribute, and the part attribute. By moving the part attribute when the segment area 321 of the pin attribute and the segment area 331 of the part attribute overlap with each other, while being separated from the segment area 331, the “pin attribute” and the “part attribute” are changed. This is to avoid duplication.

【0075】具体的に説明すると、CPU11は、領域
の数を「8」と定義して、j=1〜8まで次の処理を繰
り返す。すなわち、領域ごとの繰返しの処理において、
さらに図形中のピンの数をN個と定義して、i=1〜N
まで次の処理を繰り返す。すなわち、領域jに属するパ
ーツ属性のセグメント領域またはパーツ属性のグループ
のセグメント領域が、図形中のピンiのピン属性または
ピン属性のグループのセグメント領域が、図形のセグメ
ント領域に重なる場合、互いの距離が回転前の距離と等
しくなるように前者を位置移動する。この場合、位置移
動は、図形が存在する方向と反対の方向に行う。
More specifically, the CPU 11 defines the number of areas as “8” and repeats the next processing until j = 1 to 8. That is, in the repetitive processing for each area,
Further, the number of pins in the figure is defined as N, and i = 1 to N
Repeat the following process until That is, if the segment area of the part attribute or the group area of the part attribute group belonging to the area j is overlapped with the segment area of the pin attribute or the group of the pin attribute of the pin i in the graphic, the distance between the segment area of the graphic Move the former so that is equal to the distance before rotation. In this case, the position is moved in the direction opposite to the direction in which the figure exists.

【0076】ステップS18−5(「パーツ属性」と
「パーツ属性」との重なりの補正)この補正は、図28
に示すように、図形のセグメント領域310と複数(た
とえば2つ)のパーツ属性のセグメント領域331、3
32とは離れているものの、パーツ属性のセグメント領
域331とパーツ属性のセグメント領域332とが重な
っている場合に、何れかのパーツ属性を移動させること
で、「パーツ属性」同士が重複しないようにするための
ものである。
Step S18-5 (Correction of overlap between "parts attribute" and "parts attribute")
As shown in the figure, the segment area 310 of the figure and the segment areas 331, 3 of plural (for example, two) part attributes
32, but when the segment area 331 of the part attribute overlaps the segment area 332 of the part attribute, any one of the part attributes is moved so that the “part attributes” do not overlap with each other. It is for doing.

【0077】具体的に説明すると、CPU11は、領域
の数を「8」と定義して、j=1〜8まで次の処理を繰
り返す。すなわち、領域ごとの繰返しの処理において、
さらに図形中のピンの数をN個と定義して、i=1〜N
まで次の処理を繰り返す。すなわち、領域jに属するパ
ーツ属性のセグメント領域同士またはパーツ属性のグル
ープのセグメント領域同士が重なる場合、互いの距離が
回転前の距離と等しくなるように何れかの属性を位置移
動する。この場合、位置移動は、図形が存在する方向と
反対の方向に行う。
More specifically, the CPU 11 defines the number of areas as “8” and repeats the following processing until j = 1 to 8. That is, in the repetitive processing for each area,
Further, the number of pins in the figure is defined as N, and i = 1 to N
Repeat the following process until That is, when the segment regions of the part attribute belonging to the region j or the segment regions of the group of the part attribute overlap, any one of the attributes is moved so that the distance between them becomes equal to the distance before rotation. In this case, the position is moved in the direction opposite to the direction in which the figure exists.

【0078】ここで、「ピン属性」と「パーツ属性」と
の重なりの補正および「パーツ属性」と「パーツ属性」
のと重なりの補正について、具体例を挙げて説明する。
Here, the correction of the overlap between the “pin attribute” and the “part attribute” and the “part attribute” and the “part attribute”
The correction of the overlap will be described with a specific example.

【0079】たとえば、図29(a)に示すように、回
転前の「PIN1」のピン属性のセグメント領域321
と回転前の「パーツ属性1」のパーツ属性のセグメント
領域331とが、「t4」の距離をもって配置され、ま
た、回転前の「パーツ属性1」のパーツ属性のセグメン
ト領域331と回転前の「パーツ属性2」のパーツ属性
のセグメント領域332とが、「t5」の距離をもって
配置されていた場合とする。
For example, as shown in FIG. 29A, a segment area 321 having a pin attribute of “PIN1” before rotation is provided.
And the segment area 331 of the part attribute of “part attribute 1” before rotation is arranged with a distance of “t4”, and the segment area 331 of the part attribute of “part attribute 1” before rotation and the segment area 331 of “part attribute 1” before rotation. Assume that the part attribute 2 and the segment area 332 of the part attribute 2 are arranged at a distance of “t5”.

【0080】そして、回転後でかつ補正前において、図
29(b)に示すように「PIN1」のピン属性のセグ
メント領域321と「パーツ属性1」のパーツ属性のセ
グメント領域331とが重なり、さらに「パーツ属性
1」のパーツ属性のセグメント領域331と「パーツ属
性2」のパーツ属性のセグメント領域332とが重なる
ときは、最初に、図29(c)に示すように、「パーツ
属性1」のセグメント領域331を、「PIN1」のセ
グメント領域321との間の距離が回転前の距離t4と
等しくなるように図形(のセグメント領域)とは反対方
向(図29(c)の左方向)に移動させる。
Then, after the rotation and before the correction, as shown in FIG. 29B, the segment area 321 of the pin attribute of “PIN1” and the segment area 331 of the part attribute of “Parts attribute 1” are overlapped. When the segment area 331 of the part attribute of “part attribute 1” and the segment area 332 of the part attribute of “part attribute 2” overlap, first, as shown in FIG. The segment area 331 is moved in the opposite direction (to the left in FIG. 29 (c)) to the figure (segment area) such that the distance between the segment area 331 and the “PIN1” segment area 321 becomes equal to the distance t4 before rotation. Let it.

【0081】この図29(c)のパーツの状態において
は、依然として、「パーツ属性1」のセグメント領域3
31と「パーツ属性2」のセグメント領域332とが重
なっているので、このようなときは、図29(d)に示
すように、「パーツ属性2」のセグメント領域332
を、互いのセグメント領域の距離が回転前の距離t5と
等しくなるように図形(のセグメント領域)とは反対方
向(図29(d)の左方向)に移動させる。
In the state of the parts shown in FIG. 29C, the segment area 3 of the "part attribute 1" is still
31 and the segment area 332 of “part attribute 2” overlap, in such a case, as shown in FIG. 29D, the segment area 332 of “part attribute 2”
Are moved in the opposite direction (left direction in FIG. 29D) from the figure (segment region) so that the distance between the segment regions becomes equal to the distance t5 before rotation.

【0082】上述した回転処理手順にしたがって回転処
理した場合のパーツの例を図30および図31に示す。
図30に示す例では、回転前のパーツ410が、反時計
回りに90度回転処理されて、パーツ410Aの状態に
なっている。また、図31に示す例では、回転前のパー
ツ420が、反時計回りに90度回転処理されてパーツ
420Aの状態になり、このパーツ420Aが、反時計
回りに180度回転処理されてパーツ420Bの状態に
なり、さらに、このパーツ420Bが、反時計回りに2
70度(あるいは時計回り90度)回転処理されてパー
ツ420Cの状態になっている。
FIGS. 30 and 31 show examples of parts when the rotation processing is performed according to the above-described rotation processing procedure.
In the example shown in FIG. 30, the part 410 before rotation is rotated 90 degrees counterclockwise to be in the state of the part 410A. Also, in the example shown in FIG. 31, the part 420 before rotation is rotated 90 degrees counterclockwise to become a part 420A, and the part 420A is rotated 180 degrees counterclockwise to turn the part 420B. And the part 420B is moved counterclockwise by 2
The part 420C is rotated 70 degrees (or 90 degrees clockwise).

【0083】なお、上述した実施の形態1では、シンボ
ル回転装置(コンピュータ)の各機能を実現し、上記回
転処理の回転処理手順を示すプログラムを、記録媒体と
してのハードディスク等の補助記憶装置12に記録する
ようにしているが、本発明はこれに限定されることな
く、次のようにしても良い。
In the first embodiment, the functions of the symbol rotation device (computer) are realized, and a program indicating the rotation processing procedure of the rotation processing is stored in the auxiliary storage device 12 such as a hard disk as a recording medium. Although the recording is performed, the present invention is not limited to this, and may be as follows.

【0084】すなわち、上記プログラムをROMに格納
しておき、CPU11が、このプログラムをこのROM
から主記憶装置13へローディングして実行するように
しても良い。
That is, the above program is stored in the ROM, and the CPU 11
May be loaded to the main storage device 13 and executed.

【0085】また、上記プログラムを、DVD−RO
M、CD−ROM、MO(光磁気ディスク)、フロッピ
ー(登録商標)ディスクなどのコンピュータ読み取り可
能な記憶媒体に格納して配布するようにしても良い。こ
の場合、その記録媒体に記録されたプログラムをシンボ
ル回転装置(コンピュータ)がインストールした後、こ
のプログラムをCPU11が実行するようにする。この
プログラムのインストール先としては、RAMやEPR
OM等のメモリやハードディスクなどの記憶装置があ
る。そして、シンボル回転装置(コンピュータ)は、必
要に応じてこの記憶装置に記憶したプログラムを主記憶
装置13にローディングして実行するようにする。
Further, the above program is stored in a DVD-RO
The program may be stored in a computer-readable storage medium such as an M, CD-ROM, MO (magneto-optical disk), or floppy (registered trademark) disk and distributed. In this case, after the program recorded on the recording medium is installed by the symbol rotation device (computer), the CPU 11 executes the program. The installation destination of this program is RAM or EPR
There are storage devices such as a memory such as an OM and a hard disk. Then, the symbol rotation device (computer) loads the program stored in this storage device to the main storage device 13 and executes the program, if necessary.

【0086】さらには、シンボル回転装置(コンピュー
タ)を電気通信回線(たとえばインターネット)を介し
てサーバ装置あるいはホストコンピュータ等のコンピュ
ータと接続するようにし、当該シンボル回転装置(コン
ピュータ)が、サーバ装置あるいはコンピュータから上
記プログラムをダウンロードした後、このプログラムを
CPU11が実行するようにしても良い。この場合、こ
のプログラムのダウンロード先としては、RAMやEP
ROM等のメモリやハードディスクなどの記憶装置(記
録媒体)がある。そして、当該シンボル回転装置(コン
ピュータ)が、必要に応じてこの記憶装置に記憶された
上記プログラムを主記憶装置13にローディングして実
行するようにする。
Further, the symbol rotating device (computer) is connected to a server device or a computer such as a host computer via an electric communication line (for example, the Internet), and the symbol rotating device (computer) is connected to the server device or the computer. The program may be downloaded from and then executed by the CPU 11. In this case, the download destination of this program is RAM or EP
There are memories such as ROMs and storage devices (recording media) such as hard disks. Then, the symbol rotator (computer) loads the program stored in the storage device into the main storage device 13 and executes the program as necessary.

【0087】また、上述した実施の形態1においては、
上述したシンボル回転装置をCAD(コンピュータ支援
による設計)システムに適用することができる。このC
ADシステム(たとえば電気系CADシステム)におい
ても、上述したシンボル回転装置による回転処理と同様
の回転処理を実行することができ、これにより、テキス
ト付き電子部品図形を、図形と属性とが、また属性同士
が重なり合うことなく、回転させることができる。
In the first embodiment described above,
The above-described symbol rotation device can be applied to a CAD (computer-aided design) system. This C
In an AD system (for example, an electrical CAD system), a rotation process similar to the above-described rotation process by the symbol rotation device can be executed. They can be rotated without overlapping each other.

【0088】さらに、上述した実施の形態1において
は、上述したシンボル回転装置を図形編集システムに適
用することもできる。この図形編集システムにおいて
も、上述したシンボル回転装置による回転処理と同様の
回転処理を実行することができ、これにより、テキスト
付き図形を、図形と属性とが、また属性同士が重なり合
うことなく、回転させることができる。
Further, in the above-described first embodiment, the above-described symbol rotation device can be applied to a graphic editing system. In this figure editing system, the same rotation processing as the above-described rotation processing by the symbol rotation device can be executed, whereby the figure with the text can be rotated without overlapping the figure and the attribute and the attributes. Can be done.

【0089】以上説明したように、この実施の形態1に
よれば、上述した回転処理手順にしたがって電子部品図
形を回転させることで、互いに属性が重なり合うことが
無く、しかも、図形のある点に属性を関連付けし無くて
も、図形と属性とが、また属性同士が重なり合わずに回
転させることができる。
As described above, according to the first embodiment, by rotating the electronic component figures according to the above-described rotation processing procedure, the attributes do not overlap each other, and the attributes are set at a certain point in the figure. Can be rotated without associating them with each other without causing the figure and the attribute to overlap with each other.

【0090】また、この実施の形態1によれば、上述し
た回転処理手順にしたがって電子部品図形を回転させる
ことで、電子部品図形の回転編集時に人手による修正を
行う必要がなく、図面の設計作業の効率化を図ることが
できる。
Further, according to the first embodiment, the electronic component graphic is rotated according to the above-described rotation processing procedure, so that it is not necessary to perform manual correction at the time of rotating and editing the electronic component graphic. Efficiency can be improved.

【0091】さらに、この実施の形態1によれば、ピン
属性およびパーツ属性を配列(図19および図20参
照)で管理するようにしているので、電子部品データを
回転角度ごとに登録する必要がないこととなり、よって
電子部品データの管理および保守の軽減を図ることがで
きる。
Further, according to the first embodiment, since the pin attribute and the part attribute are managed in an array (see FIGS. 19 and 20), it is necessary to register the electronic component data for each rotation angle. Therefore, management and maintenance of electronic component data can be reduced.

【0092】[0092]

【発明の効果】以上説明したように、この発明によれ
ば、文字列と図形中のある点とを関連付けし無くとも、
文字列と図形とが重なり合わず、しかも文字列同士が重
なり合うこと無く、文字列および図形を有するシンボル
(たとえば電子部品図形)を回転させることができる。
また、文字列と図形とが重なり合わず、しかも文字列同
士が重なり合うこと無く、シンボル(たとえば電子部品
図形)を回転させることができるので、電子部品図形の
回転編集時に人手による修正を行う必要がなく、図面の
設計作業の効率化を図ることができる。
As described above, according to the present invention, even if a character string is not associated with a certain point in a graphic,
A symbol having a character string and a graphic (for example, an electronic component graphic) can be rotated without the character string and the graphic overlapping each other and without overlapping the character strings.
In addition, since a character string (for example, an electronic component graphic) can be rotated without overlapping the character string and the graphic and without overlapping the character strings, it is necessary to perform manual correction at the time of rotating and editing the electronic component graphic. In addition, the efficiency of the drawing design work can be improved.

【0093】つぎの発明によれば、回転処理後の文字列
が図形と重なり合うような場合には、これらが重ならな
いように、文字列が移動されるので、確実に、文字列と
図形とが重なり合わないように、シンボル(たとえば電
子部品図形)を回転させることができる。
According to the next invention, when the character string after the rotation process overlaps the figure, the character string is moved so that these do not overlap, so that the character string and the figure are surely Symbols (for example, electronic component figures) can be rotated so that they do not overlap.

【0094】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボル(たとえば電子部品図
形)を回転させることができる。また、文字列と図形と
が重なり合わず、しかも文字列同士が重なり合うこと無
く、シンボル(たとえば電子部品図形)を回転させるこ
とができるので、電子部品図形の回転編集時に人手によ
る修正を行う必要がなく、図面の設計作業の効率化を図
ることができる。
According to the next invention, even if the character string is not associated with a certain point in the graphic, the character string and the graphic do not overlap each other, and the character strings and the graphic can be stored without overlapping the character strings. Symbols (for example, electronic component graphics) can be rotated. In addition, since a character string (for example, an electronic component graphic) can be rotated without overlapping the character string and the graphic and without overlapping the character strings, it is necessary to perform manual correction at the time of rotating and editing the electronic component graphic. In addition, the efficiency of the drawing design work can be improved.

【0095】つぎの発明によれば、回転処理前の複数の
文字列がグルーピングされるので、このグルーピングさ
れた複数の文字列同士については、回転処理された後に
おいては重なり合うことがないので、より一層、文字列
同士が重なり合うことを防止することができる。
According to the next invention, a plurality of character strings before the rotation processing are grouped, and the plurality of grouped character strings do not overlap after the rotation processing. Further, it is possible to prevent the character strings from overlapping each other.

【0096】つぎの発明によれば、回転処理後の文字列
が図形と重なり合うような場合には、これらが重ならな
いように文字列が移動(文字列の位置が補正)されるの
で、確実に、文字列と図形とが重なり合わないように、
シンボル(たとえば電子部品図形)を回転させることが
できる。
According to the next invention, when the character string after the rotation processing overlaps with the figure, the character string is moved (the position of the character string is corrected) so that they do not overlap. , So that the text and the figure do not overlap,
Symbols (for example, electronic component graphics) can be rotated.

【0097】つぎの発明によれば、回転処理後の複数の
文字列同士が重なり合うような場合には、これらが重な
らないように単一文字列又はグルーピングされた文字列
単位で、何れかの文字列が移動(文字列の位置が補正)
されるので、確実に、文字列同士が重なり合わないよう
に、シンボル(たとえば電子部品図形)を回転させるこ
とができる。
According to the next invention, when a plurality of character strings after the rotation process are overlapped with each other, any one of the character strings in a single character string or a grouped character string unit so that they do not overlap. Moves (the position of the character string is corrected)
Therefore, the symbols (for example, electronic component figures) can be rotated so that the character strings do not overlap each other.

【0098】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボル(たとえば電子部品図
形)を回転させることができる。また、文字列と図形と
が重なり合わず、しかも文字列同士が重なり合うこと無
く、シンボル(たとえば電子部品図形)を回転させるこ
とができるので、電子部品図形の回転編集時に人手によ
る修正を行う必要がなく、図面の設計作業の効率化を図
ることができる。
According to the next invention, even if the character string is not associated with a certain point in the graphic, the character string and the graphic do not overlap each other, and the character strings and the graphic can be stored without overlapping the character strings. Symbols (for example, electronic component graphics) can be rotated. In addition, since a character string (for example, an electronic component graphic) can be rotated without overlapping the character string and the graphic and without overlapping the character strings, it is necessary to perform manual correction at the time of rotating and editing the electronic component graphic. In addition, the efficiency of the drawing design work can be improved.

【0099】つぎの発明によれば、回転処理後の文字列
が図形と重なり合うような場合には、これらが重ならな
いように、文字列が移動されるので、確実に、文字列と
図形とが重なり合わないように、シンボル(たとえば電
子部品図形)を回転させることができる。
According to the next invention, when the character string after the rotation processing overlaps the figure, the character string is moved so that these do not overlap, so that the character string and the figure are surely Symbols (for example, electronic component figures) can be rotated so that they do not overlap.

【0100】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボル(たとえば電子部品図
形)を回転させることができる。また、文字列と図形と
が重なり合わず、しかも文字列同士が重なり合うこと無
く、シンボル(たとえば電子部品図形)を回転させるこ
とができるので、電子部品図形の回転編集時に人手によ
る修正を行う必要がなく、図面の設計作業の効率化を図
ることができる。
According to the next invention, even if the character string is not associated with a certain point in the graphic, the character string and the graphic do not overlap each other, and the character strings and the graphic can be stored without overlapping the character strings. Symbols (for example, electronic component graphics) can be rotated. In addition, since a character string (for example, an electronic component graphic) can be rotated without overlapping the character string and the graphic and without overlapping the character strings, it is necessary to perform manual correction at the time of rotating and editing the electronic component graphic. In addition, the efficiency of the drawing design work can be improved.

【0101】つぎの発明によれば、回転処理前の複数の
文字列がグルーピングされるので、このグルーピングさ
れた複数の文字列同士については、回転処理された後に
おいては重なり合うことがないので、より一層、文字列
同士が重なり合うことを防止することができる。
According to the next invention, a plurality of character strings before the rotation processing are grouped, and the plurality of grouped character strings do not overlap after the rotation processing. Further, it is possible to prevent the character strings from overlapping each other.

【0102】つぎの発明によれば、回転処理後の文字列
が図形と重なり合うような場合には、これらが重ならな
いように文字列が移動(文字列の位置が補正)されるの
で、確実に、文字列と図形とが重なり合わないように、
シンボル(たとえば電子部品図形)を回転させることが
できる。
According to the next invention, when the character string after the rotation processing overlaps with the figure, the character string is moved (the position of the character string is corrected) so that they do not overlap. , So that the text and the figure do not overlap,
Symbols (for example, electronic component graphics) can be rotated.

【0103】つぎの発明によれば、回転処理後の複数の
文字列同士が重なり合うような場合には、これらが重な
らないように単一文字列又はグルーピングされた文字列
単位で、何れかの文字列が移動(文字列の位置が補正)
されるので、確実に、文字列同士が重なり合わないよう
に、シンボル(たとえば電子部品図形)を回転させるこ
とができる。
According to the next invention, when a plurality of character strings after the rotation process overlap each other, any one of the character strings in a single character string or a grouped character string unit so that they do not overlap. Moves (the position of the character string is corrected)
Therefore, the symbols (for example, electronic component figures) can be rotated so that the character strings do not overlap each other.

【0104】つぎの発明によれば、上記の発明のいずれ
か一つに記載された方法をコンピュータに実行させるプ
ログラムをコンピュータが読み取り実行することで、文
字列と図形中のある点とを関連付けし無くとも、文字列
と図形とが重なり合わず、しかも文字列同士が重なり合
うこと無く、文字列および図形を有するシンボル(たと
えば電子部品図形)を回転させることができる。また、
文字列と図形とが重なり合わず、しかも文字列同士が重
なり合うこと無く、シンボル(たとえば電子部品図形)
を回転させることができるので、電子部品図形の回転編
集時に人手による修正を行う必要がなく、図面の設計作
業の効率化を図ることができる。
According to the next invention, a program that causes a computer to execute the method described in any one of the above-described inventions is read and executed by the computer to associate a character string with a certain point in a graphic. At least, a symbol (for example, an electronic component graphic) having a character string and a graphic can be rotated without overlapping the character string and the graphic, and without overlapping the character strings. Also,
Symbols (for example, electronic component figures) without overlapping character strings and figures and without overlapping character strings
Can be rotated, so that there is no need to perform manual correction at the time of rotating and editing the electronic component graphic, and the efficiency of drawing design work can be improved.

【0105】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボル(たとえば電子部品図
形)を回転させることができるCADシステムを得るこ
とができる。また、文字列と図形とが重なり合わず、し
かも文字列同士が重なり合うこと無く、シンボル(たと
えば電子部品図形)を回転させることができるので、電
子部品図形の回転編集時に人手による修正を行う必要が
なく、図面の設計作業の効率化を図ることができるCA
Dシステムを得ることができる。
According to the next invention, even if the character string is not associated with a certain point in the graphic, the character string does not overlap with the graphic, and furthermore, the character string and the graphic do not overlap each other. A CAD system capable of rotating symbols (for example, electronic component graphics) can be obtained. In addition, since a character string (for example, an electronic component graphic) can be rotated without overlapping the character string and the graphic and without overlapping the character strings, it is necessary to perform manual correction at the time of rotating and editing the electronic component graphic. CA that can improve the efficiency of drawing design work
D system can be obtained.

【0106】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボル(たとえば電子部品図
形)を回転させることができるCADシステムを得るこ
とができる。また、文字列と図形とが重なり合わず、し
かも文字列同士が重なり合うこと無く、シンボル(たと
えば電子部品図形)を回転させることができるので、電
子部品図形の回転編集時に人手による修正を行う必要が
なく、図面の設計作業の効率化を図ることができるCA
Dシステムを得ることができる。
According to the next invention, even if the character string is not associated with a certain point in the graphic, the character string and the graphic do not overlap each other, and the character strings and the graphic do not overlap each other. A CAD system capable of rotating symbols (for example, electronic component graphics) can be obtained. In addition, since a character string (for example, an electronic component graphic) can be rotated without overlapping the character string and the graphic and without overlapping the character strings, it is necessary to perform manual correction at the time of rotating and editing the electronic component graphic. CA that can improve the efficiency of drawing design work
D system can be obtained.

【0107】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボル(たとえば電子部品図
形)を回転させることができる図形編集システムを得る
ことができる。また、文字列と図形とが重なり合わず、
しかも文字列同士が重なり合うこと無く、シンボル(た
とえば電子部品図形)を回転させることができるので、
電子部品図形の回転編集時に人手による修正を行う必要
がなく、図面の設計作業の効率化を図ることができる図
形編集システムを得ることができる。
According to the next invention, even if the character string and a certain point in the graphic are not associated with each other, the character string and the graphic do not overlap each other, and the character strings and the graphic have no overlap. A graphic editing system capable of rotating a symbol (for example, an electronic component graphic) can be obtained. Also, character strings and figures do not overlap,
Moreover, since symbols (for example, electronic component figures) can be rotated without overlapping character strings,
There is no need to perform manual correction at the time of rotating and editing an electronic part figure, and a figure editing system that can improve the efficiency of drawing design work can be obtained.

【0108】つぎの発明によれば、文字列と図形中のあ
る点とを関連付けし無くとも、文字列と図形とが重なり
合わず、しかも文字列同士が重なり合うこと無く、文字
列および図形を有するシンボルを回転させることができ
る図形編集システムを得ることができる。また、文字列
と図形とが重なり合わず、しかも文字列同士が重なり合
うこと無く、シンボルを回転させることができるので、
電子部品図形の回転編集時に人手による修正を行う必要
がなく、図面の設計作業の効率化を図ることができる図
形編集システムを得ることができる。
According to the next invention, even if the character string is not associated with a certain point in the figure, the character string does not overlap with the figure, and furthermore, the character string and the figure can be stored without overlapping. A graphic editing system capable of rotating a symbol can be obtained. Also, since the character string and the figure do not overlap, and the character strings can be rotated without overlapping, the symbol can be rotated.
There is no need for manual correction at the time of rotational editing of an electronic part figure, and a figure editing system can be obtained that can improve the efficiency of drawing design work.

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

【図1】 この発明の実施の形態1であるシンボル回転
装置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a symbol rotation device according to a first embodiment of the present invention.

【図2】 パーツの例を説明するための図である。FIG. 2 is a diagram illustrating an example of a part.

【図3】 パーツ、図形および属性の定義を説明するた
めの図である。
FIG. 3 is a diagram for explaining definitions of parts, figures, and attributes.

【図4】 ピンおよび接続線の定義を説明するための図
である。
FIG. 4 is a diagram for explaining definitions of pins and connection lines.

【図5】 図形のセグメント領域を説明するための図で
ある。
FIG. 5 is a diagram for explaining a segment area of a graphic;

【図6】 属性のセグメント領域を説明するための図で
ある。
FIG. 6 is a diagram illustrating a segment area of an attribute.

【図7】 図1に示したシンボル回転装置による回転処
理手順を示すフローチャートである。
FIG. 7 is a flowchart illustrating a rotation processing procedure performed by the symbol rotation device illustrated in FIG. 1;

【図8】 読み込まれたパーツのピン属性とパーツ属性
を説明するための図である。
FIG. 8 is a diagram for explaining a pin attribute and a part attribute of a read part;

【図9】 図7に示した回転処理手順のステップS11
の処理内容を説明するための図である。
FIG. 9 is a step S11 of the rotation processing procedure shown in FIG. 7;
FIG. 4 is a diagram for explaining the processing content of FIG.

【図10】 図7に示した回転処理手順のステップS1
2の処理内容を説明するための図である。
10 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 2;

【図11】 図7に示した回転処理手順のステップS1
3の処理内容を説明するための図である。
11 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 3;

【図12】 図7に示した回転処理手順のステップS1
4、S15の処理内容を説明するための図である。
12 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 4 is a diagram for explaining the processing contents of S15.

【図13】 図7に示した回転処理手順のステップS1
6の処理内容を説明するための図である。
13 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 6;

【図14】 図7に示した回転処理手順のステップS1
7の処理内容を説明するための図である。
14 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 7 is a diagram for explaining processing contents of FIG.

【図15】 図7に示した回転処理手順のステップS1
8の処理内容を説明するための図である。
15 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 8;

【図16】 図7に示した回転処理手順のステップS1
8の処理内容を説明するための図である。
FIG. 16 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 8;

【図17】 図7に示した回転処理手順のステップS1
8の処理内容を説明するための図である。
FIG. 17 is a step S1 of the rotation procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 8;

【図18】 図7に示した回転処理手順のステップS1
8の処理内容を説明するための図である。
18 is a step S1 of the rotation processing procedure shown in FIG. 7;
FIG. 9 is a diagram for explaining processing contents of No. 8;

【図19】 補正処理する際に参照されるピン属性の配
列を説明するための図である。
FIG. 19 is a diagram illustrating an array of pin attributes referred to when performing a correction process.

【図20】 補正処理する際に参照されるパーツ属性の
配列を説明するための図である。
FIG. 20 is a diagram illustrating an array of part attributes referred to when performing a correction process.

【図21】 補正処理におけるピン属性と図形との重な
りの補正を説明するための図である。
FIG. 21 is a diagram for describing correction of overlap between a pin attribute and a figure in a correction process.

【図22】 補正処理におけるピン属性と図形との重な
りの補正を説明するための図である。
FIG. 22 is a diagram for describing correction of overlap between a pin attribute and a figure in a correction process.

【図23】 補正処理におけるピン属性とピン属性との
重なりの補正を説明するための図である。
FIG. 23 is a diagram for describing correction of overlap between pin attributes in a correction process.

【図24】 補正処理におけるピン属性とピン属性との
重なりの補正を説明するための図である。
FIG. 24 is a diagram for describing correction of overlap between pin attributes in a correction process.

【図25】 補正処理におけるパーツ属性と図形との重
なりの補正を説明するための図である。
FIG. 25 is a diagram for describing correction of overlap between a part attribute and a graphic in a correction process.

【図26】 補正処理におけるパーツ属性と図形との重
なりの補正を説明するための図である。
FIG. 26 is a diagram for describing correction of overlap between a part attribute and a graphic in a correction process.

【図27】 補正処理におけるピン属性とパーツ属性と
の重なりの補正を説明するための図である。
FIG. 27 is a diagram illustrating correction of overlap between a pin attribute and a part attribute in a correction process.

【図28】 補正処理におけるパーツ属性とパーツ属性
との重なりの補正を説明するための図である。
FIG. 28 is a diagram for explaining correction of overlap between part attributes in a correction process.

【図29】 補正処理におけるピン属性とパーツ属性と
の重なりの補正およびパーツ属性とパーツ属性との重な
りの補正を説明するための図である。
FIG. 29 is a diagram for explaining correction of overlap between a pin attribute and a part attribute and correction of overlap between a part attribute and a part attribute in a correction process.

【図30】 回転処理処理手順にしたがって回転したパ
ーツの例を説明するための図である。
FIG. 30 is a diagram for describing an example of a part rotated according to a rotation processing procedure;

【図31】 回転処理処理手順にしたがって回転したパ
ーツの例を説明するための図である。
FIG. 31 is a diagram illustrating an example of a part rotated according to a rotation processing procedure;

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

10 装置本体、11 CPU、12 補助記憶装置、
13 主記憶装置、14 入出力制御部、20 表示装
置、30 キーボード、40 マウス、100パーツ、
110 図形、121 パーツ属性、122 ピン属
性、130 ピン、140 接続線、150,160,
201〜212,220,231〜234,310,3
21,322,331,332 セグメント領域、25
0 ピン属性の配列、260 パーツ属性の配列。
10 device main body, 11 CPU, 12 auxiliary storage device,
13 main storage device, 14 input / output control unit, 20 display device, 30 keyboard, 40 mouse, 100 parts,
110 figure, 121 part attribute, 122 pin attribute, 130 pin, 140 connection line, 150, 160,
201-212,220,231-234,310,3
21, 322, 331, 332 segment area, 25
0 Pin attribute array, 260 part attribute array.

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 文字列及び図形を有するシンボルに対し
て回転処理を実行するシンボル回転装置において、 前記文字列のセグメント領域を求める第1の領域求め手
段と、 前記図形のセグメント領域を求める第2の領域求め手段
と、 前記シンボルについて、前記第2の領域求め手段により
求められたセグメント領域の中心点を中心として所定の
回転方向に角度αをもって回転処理を実行する第1の回
転処理手段と、 前記第1の回転処理手段による回転処理後のシンボル中
の文字列について、前記第1の領域求め手段により求め
られたセグメント領域の中心点を中心として、回転処理
前と同一の表示方向となるように角度βをもって回転処
理を実行する第2の回転処理手段と、 を具備したことを特徴とするシンボル回転装置。
1. A symbol rotation device for performing a rotation process on a symbol having a character string and a graphic, a first area obtaining means for obtaining a segment area of the character string, and a second area obtaining means for obtaining a segment area of the graphic. First rotation processing means for performing a rotation process on the symbol at an angle α in a predetermined rotation direction around a center point of the segment area obtained by the second area calculation means; The display direction of the character string in the symbol after the rotation processing by the first rotation processing means is the same as the display direction before the rotation processing centering on the center point of the segment area obtained by the first area obtaining means. And a second rotation processing means for performing a rotation process at an angle β.
【請求項2】 前記第2の回転処理手段による回転処理
後の文字列のセグメント領域が前記図形のセグメント領
域と重複する場合は、これら各セグメント領域が重複し
ないように当該文字列のセグメント領域を移動する移動
手段を更に具備したことを特徴とする請求項1に記載の
シンボル回転装置。
2. If the segment area of the character string after the rotation processing by the second rotation processing means overlaps with the segment area of the figure, the segment area of the character string is set so that these segment areas do not overlap. The symbol rotation device according to claim 1, further comprising a moving unit that moves.
【請求項3】 複数の文字列及び図形を有するシンボル
に対して回転処理を実行するシンボル回転装置におい
て、 前記各文字列毎のセグメント領域を求める第1の領域求
め手段と、 前記図形のセグメント領域を求める第2の領域求め手段
と、 前記複数の文字列を所定の規則にしたがってグルーピン
グするグルーピング手段と、 前記グルーピング手段によりグループ化された文字列の
セグメント領域を求める第3の領域求め手段と、 前記シンボルについて、前記第2の領域求め手段により
求められたセグメント領域の中心点を中心として所定の
回転方向に角度αをもって回転処理を実行する第1の回
転処理手段と、 前記第1の回転処理手段による回転処理後のシンボル中
の文字列について、前記第1の領域求め手段により求め
られたセグメント領域または前記第3の領域求め手段に
より求められたセグメント領域の中心点を中心として、
回転処理前と同一の表示方向となるように角度βをもっ
て回転処理を実行する第2の回転処理手段と、 を具備したことを特徴とするシンボル回転装置。
3. A symbol rotation device for performing a rotation process on a symbol having a plurality of character strings and graphics, a first area determination means for determining a segment area for each of the character strings, and a segment area of the graphics. A second area obtaining means for obtaining the character string; a grouping means for grouping the plurality of character strings in accordance with a predetermined rule; a third area obtaining means for obtaining a segment area of the character string grouped by the grouping means; First rotation processing means for performing a rotation processing on the symbol in a predetermined rotation direction at an angle α around a center point of the segment area determined by the second area determination means; and the first rotation processing. For the character string in the symbol after the rotation processing by the means, the segment obtained by the first area obtaining means. About the central point of the segment regions obtained by the region or the third region determined means,
A second rotation processing means for performing a rotation process at an angle β so as to have the same display direction as before the rotation process.
【請求項4】 前記第2の領域求め手段により求められ
た図形のセグメント領域の各辺を延長して、当該図形近
傍の領域を分割する分割手段を更に具備し、前記グルー
ピング手段は、 前記分割手段による分割処理後の各領域を基準にして前
記複数の文字列をグルーピングすることを特徴とする請
求項3に記載のシンボル回転装置。
4. The apparatus according to claim 1, further comprising: a dividing unit that extends each side of the segment region of the graphic obtained by the second region obtaining unit to divide an area near the graphic. 4. The symbol rotation device according to claim 3, wherein the plurality of character strings are grouped based on each area after the division processing by the means.
【請求項5】 前記第2の回転処理手段による回転処理
後の文字列のセグメント領域が前記図形のセグメント領
域と重複する場合は、これら各セグメント領域が重複し
ないように当該文字列のセグメント領域を移動する移動
手段を更に具備したことを特徴とする請求項3または4
に記載のシンボル回転装置。
5. When the segment area of the character string after the rotation processing by the second rotation processing means overlaps with the segment area of the graphic, the segment area of the character string is adjusted so that these segment areas do not overlap. 5. The apparatus according to claim 3, further comprising moving means for moving.
The symbol rotation device according to claim 1.
【請求項6】 前記移動手段による移動処理後の複数の
文字列のセグメント領域が重複する場合は、これら各セ
グメント領域が重複しないように前記第1の領域求め手
段または前記第3の領域求め手段により求められたセグ
メント領域単位で、当該文字列のセグメント領域を移動
する文字列移動手段を更に具備したことを特徴とする請
求項5に記載のシンボル回転装置。
6. When the segment areas of a plurality of character strings after the moving process by the moving means overlap, the first area obtaining means or the third area obtaining means so that these segment areas do not overlap. 6. The symbol rotation device according to claim 5, further comprising: a character string moving unit that moves a segment area of the character string in units of the segment area obtained by:
【請求項7】 文字列及び図形を有するシンボルに対し
て回転処理を実行するシンボル回転方法において、 前記文字列のセグメント領域を求める第1の領域求め工
程と、 前記図形のセグメント領域を求める第2の領域求め工程
と、 前記シンボルについて、前記第2の領域求め工程により
求められたセグメント領域の中心点を中心として所定の
回転方向に角度αをもって回転処理を実行する第1の回
転処理工程と、 前記第1の回転処理工程による回転処理後のシンボル中
の文字列について、前記第1の領域求め工程により求め
られたセグメント領域の中心点を中心として、回転処理
前と同一の表示方向となるように角度βをもって回転処
理を実行する第2の回転処理工程と、 を含むことを特徴とするシンボル回転方法。
7. A symbol rotation method for performing a rotation process on a symbol having a character string and a graphic, wherein: a first area obtaining step of obtaining a segment area of the character string; and a second area obtaining step of obtaining a segment area of the graphic. A first rotation processing step of performing a rotation processing on the symbol at an angle α in a predetermined rotation direction around a center point of the segment area obtained by the second area calculation step; The display direction of the character string in the symbol after the rotation processing in the first rotation processing step is the same as the display direction before the rotation processing centering on the center point of the segment area obtained in the first area obtaining step. And a second rotation processing step of performing a rotation processing at an angle β.
【請求項8】 前記第2の回転処理工程による回転処理
後の文字列のセグメント領域が前記図形のセグメント領
域と重複する場合は、これら各セグメント領域が重複し
ないように当該文字列のセグメント領域を移動する移動
工程を更に含むことを特徴とする請求項7に記載のシン
ボル回転方法。
8. When the segment area of the character string after the rotation processing in the second rotation processing step overlaps with the segment area of the graphic, the segment area of the character string is changed so that these segment areas do not overlap. The method according to claim 7, further comprising a moving step of moving.
【請求項9】 複数の文字列及び図形を有するシンボル
に対して回転処理を実行するシンボル回転方法におい
て、 前記各文字列毎のセグメント領域を求める第1の領域求
め工程と、 前記図形のセグメント領域を求める第2の領域求め工程
と、 前記複数の文字列を所定の規則にしたがってグルーピン
グするグルーピング工程と、 前記グルーピング工程によりグループ化された文字列の
セグメント領域を求める第3の領域求め工程と、 前記シンボルについて、前記第2の領域求め工程により
求められたセグメント領域の中心点を中心として所定の
回転方向に角度αをもって回転処理を実行する第1の回
転処理工程と、 前記第1の回転処理工程による回転処理後のシンボル中
の文字列について、前記第1の領域求め工程により求め
られたセグメント領域または前記第3の領域求め工程に
より求められたセグメント領域の中心点を中心として、
回転処理前と同一の表示方向となるように角度βをもっ
て回転処理を実行する第2の回転処理工程と、 を含むことを特徴とするシンボル回転方法。
9. A symbol rotation method for performing a rotation process on a symbol having a plurality of character strings and graphics, a first area determination step of determining a segment area for each of the character strings, and a segment area of the graphics. A second area obtaining step of obtaining a plurality of character strings; a grouping step of grouping the plurality of character strings according to a predetermined rule; and a third area obtaining step of obtaining a segment area of the character strings grouped by the grouping step. A first rotation processing step of performing a rotation processing on the symbol at an angle α in a predetermined rotation direction around a center point of the segment area obtained in the second area calculation step; and the first rotation processing. For the character string in the symbol after the rotation process in the step, the segment obtained in the first area obtaining step About the central point of the segment regions obtained by the region or the third region determined step,
A second rotation processing step of performing a rotation processing at an angle β so as to have the same display direction as before the rotation processing.
【請求項10】 前記第2の領域求め工程により求めら
れた図形のセグメント領域の各辺を延長して、当該図形
近傍の領域を分割する分割工程を更に含み、 前記グルーピング工程は、 前記分割工程による分割処理後の各領域を基準にして前
記複数の文字列をグルーピングすることを特徴とする請
求項9に記載のシンボル回転方法。
10. The method according to claim 10, further comprising: a dividing step of extending each side of the segment area of the graphic obtained by the second area obtaining step to divide an area near the graphic. 10. The symbol rotation method according to claim 9, wherein the plurality of character strings are grouped on the basis of each area after the division processing.
【請求項11】 前記第2の回転処理工程による回転処
理後の文字列のセグメント領域が前記図形のセグメント
領域と重複する場合は、これら各セグメント領域が重複
しないように当該文字列のセグメント領域を移動する移
動工程を更に含むことを特徴とする請求項9または10
に記載のシンボル回転方法。
11. When the segment area of the character string after the rotation processing in the second rotation processing step overlaps with the segment area of the graphic, the segment area of the character string is changed so that these segment areas do not overlap. 11. The method according to claim 9, further comprising a moving step of moving.
Symbol rotation method described in 1.
【請求項12】 前記移動工程による移動処理後の複数
の文字列のセグメント領域が重複する場合は、これら各
セグメント領域が重複しないように前記第1の領域求め
工程または前記第3の領域求め工程により求められたセ
グメント領域単位で、当該文字列のセグメント領域を移
動する文字列移動工程を更に含むことを特徴とする請求
項11に記載のシンボル回転方法。
12. When the segment areas of a plurality of character strings after the moving process in the moving step overlap, the first area obtaining step or the third area obtaining step such that these segment areas do not overlap. 12. The symbol rotation method according to claim 11, further comprising a character string moving step of moving a segment area of the character string in units of the segment area obtained by the above.
【請求項13】 請求項7乃至12のいずれか一つに記
載された方法をコンピュータに実行させるプログラム。
13. A program for causing a computer to execute the method according to claim 7. Description:
【請求項14】 請求項7乃至12のいずれか一つに記
載された方法にしたがってシンボルの回転処理を実行す
ることを特徴とするCADシステム。
14. A CAD system for executing a symbol rotation process according to the method according to claim 7. Description:
【請求項15】 請求項13のプログラムを実行するこ
とにより、請求項7乃至12のいずれか一つに記載され
た方法にしたがってシンボルの回転処理を実行すること
を特徴とするCADシステム。
15. A CAD system which executes symbol rotation processing according to the method according to any one of claims 7 to 12 by executing the program according to claim 13.
【請求項16】 請求項7乃至12のいずれか一つに記
載された方法にしたがってシンボルの回転処理を実行す
ることを特徴とする図形編集システム。
16. A graphic editing system which executes a rotation process of a symbol according to the method according to any one of claims 7 to 12.
【請求項17】 請求項13のプログラムを実行するこ
とにより、請求項7乃至12のいずれか一つに記載され
た方法にしたがってシンボルの回転処理を実行すること
を特徴とする図形編集システム。
17. A graphic editing system which executes a symbol rotation process in accordance with the method according to any one of claims 7 to 12 by executing the program according to claim 13.
JP2001178881A 2001-06-13 2001-06-13 Symbol rotation device Expired - Fee Related JP4664534B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001178881A JP4664534B2 (en) 2001-06-13 2001-06-13 Symbol rotation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001178881A JP4664534B2 (en) 2001-06-13 2001-06-13 Symbol rotation device

Publications (2)

Publication Number Publication Date
JP2002373179A true JP2002373179A (en) 2002-12-26
JP4664534B2 JP4664534B2 (en) 2011-04-06

Family

ID=19019510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001178881A Expired - Fee Related JP4664534B2 (en) 2001-06-13 2001-06-13 Symbol rotation device

Country Status (1)

Country Link
JP (1) JP4664534B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008299724A (en) * 2007-06-01 2008-12-11 Canon Inc Image information display method, image information processing device, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06251092A (en) * 1993-02-24 1994-09-09 Mitsubishi Electric Corp Drawing input device
JPH07282074A (en) * 1994-04-04 1995-10-27 N T T Data Tsushin Kk Index character string output device for two-dimensional graphic
JPH10154174A (en) * 1996-09-24 1998-06-09 Fujitsu Ltd Character string automatic editing system
JPH10283383A (en) * 1997-04-04 1998-10-23 Daitetsuku:Kk Graphic processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06251092A (en) * 1993-02-24 1994-09-09 Mitsubishi Electric Corp Drawing input device
JPH07282074A (en) * 1994-04-04 1995-10-27 N T T Data Tsushin Kk Index character string output device for two-dimensional graphic
JPH10154174A (en) * 1996-09-24 1998-06-09 Fujitsu Ltd Character string automatic editing system
JPH10283383A (en) * 1997-04-04 1998-10-23 Daitetsuku:Kk Graphic processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008299724A (en) * 2007-06-01 2008-12-11 Canon Inc Image information display method, image information processing device, and program

Also Published As

Publication number Publication date
JP4664534B2 (en) 2011-04-06

Similar Documents

Publication Publication Date Title
JP3800524B2 (en) Display control method, program using the same, and information processing apparatus
JPH10188014A (en) Picture editing method and its device
JP3599198B2 (en) Figure editing device
JPH10256386A (en) Generation of mask pattern data
JP2002373179A (en) Symbol rotating device, symbol rotating method, program for allowing computer to execute the method, cad system and graphic editing system
JP3227056B2 (en) Graphic processing method and graphic processing device
JP4854332B2 (en) Graphic display program and graphic display method
JP3677985B2 (en) PROGRAMMING CONTROLLER PROGRAMMING DEVICE, CONFIGURATION / CONNECTION METHOD, AND RECORDING MEDIUM
JPH10228492A (en) Cad system
JP3674905B2 (en) Document editing device
JP2023159907A (en) Information processing method, information processing device, and information processing program
JP2004302669A (en) Object display device
JP3781923B2 (en) Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program
JP3288818B2 (en) Drawing device drive system
JPH01255937A (en) Method for setting execution control conditions
JP2003296373A (en) Cad program for disaster prevention facility
JPH1166136A (en) Device and method for automatically correcting cam data, and recording medium recorded with automatic correcting program
JPH1196040A (en) Process execution system and recording medium
JP2007233802A (en) Screen controller and screen control method for event-driven application, and program therefor
JPH0822490A (en) Selecting method for layer and editing method for layer attribute
JPH05143656A (en) Method and device for storing graphic data
JPH10188024A (en) Graphic editing device, its method and recording medium
JPH063800A (en) Image processing method
JPH05266159A (en) Method for automatically evading duplicate coordinate input
JPH10293771A (en) Electronic circuit drawing input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110104

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110107

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees