JP3009895B2 - Deformation pattern generation method and apparatus and display system - Google Patents

Deformation pattern generation method and apparatus and display system

Info

Publication number
JP3009895B2
JP3009895B2 JP1116188A JP11618889A JP3009895B2 JP 3009895 B2 JP3009895 B2 JP 3009895B2 JP 1116188 A JP1116188 A JP 1116188A JP 11618889 A JP11618889 A JP 11618889A JP 3009895 B2 JP3009895 B2 JP 3009895B2
Authority
JP
Japan
Prior art keywords
outer frame
pattern
deformed
coordinate system
deformation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1116188A
Other languages
Japanese (ja)
Other versions
JPH02296292A (en
Inventor
秀文 笠原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1116188A priority Critical patent/JP3009895B2/en
Publication of JPH02296292A publication Critical patent/JPH02296292A/en
Application granted granted Critical
Publication of JP3009895B2 publication Critical patent/JP3009895B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、任意形状のパターンを発生する装置、特に
デザイン文字や模様等の変形パターン発生方法とその装
置及び表示システムに関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for generating a pattern having an arbitrary shape, and more particularly, to a method for generating a deformed pattern such as a design character or a pattern, an apparatus thereof, and a display system.

〔従来の技術〕[Conventional technology]

従来の文字拡大、縮小装置は、水平、垂直方向に対し
て任意の倍率を与えて実現している。拡大では、倍率>
1,縮小では倍率<1とすればよい。
The conventional character enlargement / reduction device is realized by giving an arbitrary magnification in the horizontal and vertical directions. Magnification>
1, In the case of reduction, the magnification may be smaller than 1.

他の従来例には形状変換装置がある。形状変換装置
は、原データ(文字)に対してある種の演算処理を施し
て形状変換を行わせる。ある種の演算処理とは、座標変
換等の処理を云う。
Another conventional example is a shape conversion device. The shape conversion device performs a certain type of arithmetic processing on the original data (characters) to perform shape conversion. A certain kind of arithmetic processing refers to processing such as coordinate conversion.

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

上記各従来例は、任意形状の文字等のパターンに変換
できない問題点を持つ。例えば、文字のデザインでは、
極めて数多くの文字の形態の変形(デフォルム)が行わ
れる。こうした文字等のパターンをデザインする観点で
の任意形状への変換要求は強い。
Each of the above-mentioned conventional examples has a problem that it cannot be converted into a pattern such as an arbitrary-shaped character. For example, in character design,
A very large number of character forms are deformed. There is a strong demand for conversion to an arbitrary shape from the viewpoint of designing such a pattern of characters and the like.

本発明の目的は、デザイナーが文字等のパターンを種
々変形するように、パターンの任意形態への変形を可能
とする変形パターン発生方法とその装置及び表示システ
ムを提供するものである。
An object of the present invention is to provide a deformed pattern generating method, an apparatus and a display system for enabling a pattern to be deformed into an arbitrary form so that a designer can deform a pattern such as a character in various ways.

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

本発明は、変形外枠情報と変形座標系情報を与えて、
変形座標系に従って変形外枠に沿って文字等の原パター
ンがおさまるように原パターンを変形せしめるようにし
た。ここで、変形外枠情報とは、四角形とか円とかその
ものであり、原パターンはこの四角形とか円とかに沿う
ようにデザインすることになる。従って、変形外枠情報
は、デザインそのものの基礎となるものであり、四角形
とか円とかに限らず種々存在する。
The present invention provides deformation outer frame information and deformation coordinate system information,
According to the modified coordinate system, the original pattern is deformed so that the original pattern such as a character is accommodated along the deformed outer frame. Here, the deformed outer frame information is a square or a circle itself, and the original pattern is designed so as to conform to the square or the circle. Therefore, the deformed outer frame information is the basis of the design itself, and is not limited to a square or a circle but exists in various forms.

更に、本発明は、原パターンの外枠の大きさで変形外
枠の大きさを正規化し、かくして原パターン上のパター
ン情報を変形外枠内にそのまま割り付けるようにした。
Further, in the present invention, the size of the deformed outer frame is normalized by the size of the outer frame of the original pattern, and thus the pattern information on the original pattern is directly allocated in the deformed outer frame.

〔作用〕[Action]

本発明によれば、変形外枠情報を与えると、原パター
ンはその変形外枠に沿うように変形を与え、デザインパ
ターンが形成される。
According to the present invention, when the deformed outer frame information is given, the original pattern is deformed along the deformed outer frame to form a design pattern.

更に本発明によれば、変形外枠の大きさは原パターン
外枠の大きさで正規化され、正規化後の変形外枠の座標
に沿うように原パターンをそのまま割り付ければ、デザ
インパターンが形成される。
Further, according to the present invention, the size of the deformed outer frame is normalized by the size of the original pattern outer frame, and if the original pattern is allocated as it is along the coordinates of the deformed outer frame after the normalization, the design pattern becomes It is formed.

〔実施例〕〔Example〕

第1図は本発明の全体システム図を示す。共通バス6
に、CPU1、主メモリ2、入力装置3、プリンタ4、CRT5
が接続されている。本実施例では、入力装置3から変形
外枠情報、及び変形後の変形座標系情報を与える。CPU1
は、主メモリ2中のソフトウエアに従った処理を行う。
このソフトウエアは、原パターン外枠の大きさから上記
指定座標系に沿っての変形外枠の大きさの正規化処理、
及び正規化した変形外枠座標系への原パターンの情報の
割り付け処理を行う。
FIG. 1 shows an overall system diagram of the present invention. Common bus 6
CPU1, main memory 2, input device 3, printer 4, CRT5
Is connected. In the present embodiment, the deformed outer frame information and the deformed coordinate system information after the deformation are provided from the input device 3. CPU1
Performs processing according to software in the main memory 2.
This software normalizes the size of the deformed outer frame along the specified coordinate system from the size of the original pattern outer frame,
And assigning information of the original pattern to the normalized deformed outer frame coordinate system.

CRT5は、原パターンの表示,原パターン外枠の表示,
変形外枠の表示,変形外枠への変形後のパターンの表示
等を行う。プリンタ6は必要な印字を行う。
CRT5 displays the original pattern, displays the outer frame of the original pattern,
The display of the deformed outer frame, the display of the pattern after the deformation to the deformed outer frame, and the like are performed. The printer 6 performs necessary printing.

尚、原パターン,原パターン外枠,変形外枠,変形後
のパターン等の各種情報は主メモリ2に格納しておいて
もよいが、フロッピディスク等の補助メモリに格納させ
て、使いたい時に読み出してもよい。
Various information such as the original pattern, the original pattern outer frame, the deformed outer frame, and the pattern after the deformation may be stored in the main memory 2. However, when the information is stored in an auxiliary memory such as a floppy disk, It may be read.

第2図,第3図は本実施例によるパターン変形例であ
り、第2図は原パターン9が文字“A"の例であり、この
原パターン外枠7が正方形の例を示す。かかる原パター
ン9及び外枠7に対して、右図の如く長方形と三角形と
を積み重ねた系の四角形の変形外枠8へ文字Aがおさま
るように変形したい場合がある。
2 and 3 show a pattern modification according to the present embodiment. FIG. 2 shows an example in which the original pattern 9 is a character "A" and the original pattern outer frame 7 is a square. There is a case where the original pattern 9 and the outer frame 7 are desired to be deformed so that the character A can be accommodated in a rectangular deformed outer frame 8 in which a rectangle and a triangle are stacked as shown in the right figure.

更に、第3図は、原パターンが山の表示パターン9の
例であり、そのパターン外枠7は正方形の例である。こ
れに対し、右図に示す如く台形外枠8に沿うように表示
パターン9を変形させたい場合がある。
FIG. 3 shows an example in which the original pattern is a mountain display pattern 9, and the pattern outer frame 7 is a square example. On the other hand, there are cases where it is desired to deform the display pattern 9 along the trapezoidal outer frame 8 as shown in the right figure.

本実施例は、かかる第2図,第3図の如き変形処理を
行う点に特徴がある。
The present embodiment is characterized in that such deformation processing as shown in FIGS. 2 and 3 is performed.

そこで、本実施例での正規化処理、及び座標割り付け
を第4図,第5図で説明する。
Therefore, the normalization processing and coordinate assignment in the present embodiment will be described with reference to FIGS.

第4図は原パターンの外枠7が長方形の例であり、横
方向の長さd1,縦方向の長さd2の例を示す。変形外枠8
は長方形の例であり、横方向の長さD1,縦方向の長さD2
の例を示す。かかる外枠7と8との間での正規化処理
は、外枠8に対して、先ず、変形座標系を指定する。こ
の座標系を指定しないと、外枠8をどのような方向で利
用するか不明となるからである。図では、外枠7の座標
系X,Yに対して、外枠8の座標系をXと同一方向をx座
標系,Yと同一方向をy座標系に設定せしめた。尚、x,y
が直交座標系であれば、x,yのうちの一軸のみを指定す
れば、他の一軸は外枠8に沿って自動的に決定できる故
に、外部から特に入力させる必要はない。前記で入力装
置3が一軸方向指定を行うと述べたのは、このx,yのう
ちの一軸を外部から指定するとの意である。
FIG. 4 shows an example in which the outer frame 7 of the original pattern is a rectangle, and has a horizontal length d 1 and a vertical length d 2 . Deformed outer frame 8
Is an example of a rectangle, the length in the horizontal direction D 1 , the length in the vertical direction D 2
Here is an example. In the normalization process between the outer frames 7 and 8, first, a deformed coordinate system is specified for the outer frame 8. If this coordinate system is not specified, it is unclear in which direction the outer frame 8 will be used. In the figure, with respect to the coordinate systems X and Y of the outer frame 7, the coordinate system of the outer frame 8 is set to the x coordinate system in the same direction as X, and the same direction as Y is set to the y coordinate system. X, y
Is an orthogonal coordinate system, if only one of the axes x and y is designated, the other axis can be automatically determined along the outer frame 8, so that there is no need to input from outside. The reason that the input device 3 specifies the one-axis direction in the above means that one of the axes x and y is specified from the outside.

次に本来の正規化処理を行う。正規化とは、他方の座
標系を一方の座標系に合わせるとのことであり、本実施
例では、変形座標系のスケールを原座標系のスケールに
合わせることを云う。そのために、下記の正規化処理を
行う。
Next, the original normalization processing is performed. Normalization means that the other coordinate system is adjusted to one coordinate system. In the present embodiment, the scale of the deformed coordinate system is adjusted to the scale of the original coordinate system. For this purpose, the following normalization processing is performed.

このx0,y0はx方向、y方向の正規化後の単位座標で
ある。即ち、(1)式の正規化処理をすることによっ
て、外枠7と8とが互いにスケール上一致したことにな
る。例えば、d1=16個(画素の個数であり、1画素の大
きさは固定である故、16個は長さを示す)であり、D1
32個(同上)とすれば、x0=2となる。即ち、16個の画
素は、外枠8上では2画素を単位とした16個の画素と完
全に座標系が対応する。d2,D2についても同様である。
X 0 and y 0 are unit coordinates after normalization in the x and y directions. That is, by performing the normalization processing of the expression (1), the outer frames 7 and 8 match each other on a scale. For example, d 1 = 16 (the number of pixels, 16 is the length because the size of one pixel is fixed), and D 1 =
Assuming 32 (same as above), x 0 = 2. In other words, the 16 pixels completely correspond to the 16 pixels in units of 2 pixels on the outer frame 8 in the coordinate system. The same applies to d 2 and D 2 .

以上のことを総括すると、本実施例の正規化処理によ
り、外枠7がd1×d2の画素を持つとすれば、外枠8へ沿
うように変形するには、D1×D2の外枠8に対しては、D1
/d1及びD2/d2の単位に座標分割すればよいことを意味す
る。この分割後の座標系は、完全に外枠7の座標系と一
致することになる。従って、この正規化処理後にあって
は、外枠7内の原パターンを外枠8の正規化後の座標系
にそのまま対応させて割り付ければ、外枠8に沿った変
形パターンを得ることができる。
To summarize the above, assuming that the outer frame 7 has pixels of d 1 × d 2 by the normalization processing of the present embodiment, to deform along the outer frame 8, D 1 × D 2 D 1 for the outer frame 8
/ d 1 and the unit of D 2 / d 2 means that may be coordinate division. The coordinate system after the division completely matches the coordinate system of the outer frame 7. Therefore, after the normalization process, if the original pattern in the outer frame 7 is assigned to the coordinate system after the normalization of the outer frame 8 as it is, a deformed pattern along the outer frame 8 can be obtained. it can.

第5図は、第4図に比して外枠8が完全長方形ではな
く、2つの大小の長方形を積み上げた六角形の例を示
す。この外枠8は完全長方形ではない故に、正規化処理
に工夫を要する。
FIG. 5 shows an example in which the outer frame 8 is not a perfect rectangle as compared with FIG. 4, but is a hexagon in which two large and small rectangles are stacked. Since the outer frame 8 is not a perfect rectangle, it is necessary to devise normalization processing.

先ず、変形座標系x,yを与える。図では原座標系X,Yと
一致する方向の座標系とした。一軸方向としては、x方
向を与えた。先ず、x方向の正規化処理を行う。
First, a deformed coordinate system x, y is given. In the figure, the coordinate system has a direction that matches the original coordinate system X, Y. The x direction was given as the uniaxial direction. First, normalization processing in the x direction is performed.

x0=D1/d1 …(2) これにより、大きさD1は単位D1/d1でd1個に分割され
たことになる。
x 0 = D 1 / d 1 (2) Thus, the size D 1 is divided into d 1 units D 1 / d 1 .

次に、▲▼を大きさd2で正規化する。Next, normalized ▲ ▼ with sizes d 2.

y01=D2/d2 …(3) これにより、▲▼は単位D2/d2でd2個に分割
されたことになる。この単位D2/d2によるd2個の分割
は、P0P1P2P7P5の長方形について行われる。
y 01 = D 2 / d 2 (3) Thus, ▲ ▼ is divided into d 2 units D 2 / d 2 . The unit D 2 / d 2 d 2 pieces of divided by is performed for a rectangular P 0 P 1 P 2 P 7 P 5.

次に、▲▼を大きさd2で正規化する。Next, normalized ▲ ▼ with sizes d 2.

y02=D3/d2 …(4) これにより、▲▼は単位D3/d2でd2個に分割
されたことになる。この単位D3/d2によるd2個の分割
は、P2P3P4P7の長方形について行われる。
y 02 = D 3 / d 2 (4) Thus, ▲ ▼ is divided into d 2 units D 3 / d 2 . The division of d 2 by this unit D 3 / d 2 is performed on a rectangle of P 2 P 3 P 4 P 7 .

第5図に関しては別の正規化方法もある。 With respect to FIG. 5, there is another normalization method.

▲▼のd2個の分割は、P0P1P2P6の四角形のみ
とし、P6P2P3P4P5について▲▼をd2個で分割す
るやり方である。
▲ ▼ of d 2 pieces of split is a way of only the square P 0 P 1 P 2 P 6 , divides ▲ ▼ About P 6 P 2 P 3 P 4 P 5 with two d.

かかる第5図は、長方形の外枠7に対して変形外枠が
P1P2P3の如く一種の段差を持つ例であり外枠7内の原パ
ターンが外枠8内に沿って正しく収納される如く変形さ
れるものであるか否かは問題がある。しかし、考え方と
しての基本を示したのが第5図であると理解すべきであ
ろう。
In FIG. 5, the deformed outer frame is a rectangular outer frame 7.
It is an example having a kind of step like P 1 P 2 P 3 , and there is a problem whether the original pattern in the outer frame 7 is deformed so as to be correctly stored along the outer frame 8. However, it should be understood that FIG. 5 shows the basic idea.

第6図は原外枠7が長方形の例であり、右図の変形外
枠8が台形の例である。かかる変形外枠8に対して変形
座標系x,yを与える。原外枠7は4×4に画素分割され
ているものとすると、変形外枠8の底辺x方向に対して
も4等分の分割を行い、y方向に対しても4等分の分割
を行い、且つ頂部のx方向に対しても4等分の分割を行
う。そして、頂部の4等分割点と底部の4等分割点とを
対応して結べば、第6図右図のような座標分割が得られ
る。
FIG. 6 shows an example in which the original outer frame 7 is rectangular, and the deformed outer frame 8 in the right figure is an example of trapezoid. The deformation coordinate system x, y is given to the deformation outer frame 8. Assuming that the original outer frame 7 is divided into 4 × 4 pixels, the base of the deformed outer frame 8 is also divided into four equal parts in the x direction, and also divided into four equal parts in the y direction. Then, division into four equal parts is also performed in the x direction at the top. Then, if the top quadrant and the bottom quadrant are connected correspondingly, coordinate division as shown in the right diagram of FIG. 6 can be obtained.

この第6図で左図も右図も4×4の16分割されたこと
になる。従って、位置d11は位置D11,位置d12は位置D12,
…,位置d44は位置D44に対応する。そこで、外枠7内の
原パターンを外枠8内に対応位置毎に割り付ける。この
割り付けによって、外枠8内に形成されたパターンは外
枠8に沿った変形パターンとなる。尚、割り付けに際し
ては色(R,G,B)等の属性情報があれば、この属性情報
を合わせて割り付ける。
In FIG. 6, both the left figure and the right figure are divided into 4 × 4 16 parts. Therefore, the position d 11 is located D 11, position d 12 is located D 12,
..., position d 44 corresponds to the position D 44. Therefore, the original pattern in the outer frame 7 is assigned to the corresponding position in the outer frame 8. By this allocation, the pattern formed in the outer frame 8 becomes a deformation pattern along the outer frame 8. When attribute information such as color (R, G, B) is present, the attribute information is also assigned.

以下で各種文字についてのデザイン文字の形成例を述
べる。
Hereinafter, examples of forming design characters for various characters will be described.

第7図は、漢字「亜」を原文字とした例である。この
原文字は、24×24の大きさとし、原文字枠7は正方形と
した。
FIG. 7 shows an example in which the kanji character “A” is used as an original character. The original characters were 24 × 24, and the original character frame 7 was square.

第8図は変形外枠8が円形例の場合を示す。但し、円
形といっても純粋な円形ではなくディジタル的な凹凸を
伴う円形である。かかる円形外枠8を与えた場合にも、
変形文字「亜」10を作成することができる。
FIG. 8 shows a case where the deformed outer frame 8 is a circular example. However, the circular shape is not a pure circular shape but a circular shape with digital irregularities. When such a circular outer frame 8 is given,
A variant character "A" 10 can be created.

第9図及び第10図は、2つの長方形の組合せより成る
変形外枠8を与えた場合を示す。この例は、第5図に示
した例であり、第5図の2つの正規化処理例に対応す
る。即ち、第9図が第1の正規化処理例に従ったもので
あり、第10図が第2の正規化処理例に従ったものであ
る。かかる2つの正規化処理は座標軸x,yの軸の決め方
によって定まる。第9図及び第10図ではそれぞれの座標
軸の与え方を示した。
FIG. 9 and FIG. 10 show a case where a modified outer frame 8 composed of a combination of two rectangles is given. This example is the example shown in FIG. 5, and corresponds to the two normalization processing examples in FIG. That is, FIG. 9 is based on the first normalization processing example, and FIG. 10 is based on the second normalization processing example. These two normalization processes are determined by how to determine the coordinate axes x and y. 9 and 10 show how to give each coordinate axis.

第11図、第12図は漢字「岡林」に対する円形外枠8、
及び楕円外枠8の例を示す。
Figures 11 and 12 show the circular outer frame 8 for the kanji "Okabayashi".
And examples of the elliptical outer frame 8.

第13図、第14図、第15図は更に別の変形例を示す。第
13図は正三角形を外枠8とする例であり、特に(イ)図
は正三角形外枠8を2等分して得られた左右の直角三角
形8A,8Bに沿って対称的に漢字「大」を変形された例を
示す。同様に(ロ)図は、漢字列「文字列」を直角三角
形8A,8Bに沿って対称的に変形させた例を示す。
FIG. 13, FIG. 14, and FIG. 15 show still another modified example. No.
FIG. 13 shows an example in which an equilateral triangle is used as the outer frame 8. In particular, FIG. 13 (a) shows a symmetrical Chinese character "A" along right and left right triangles 8A and 8B obtained by dividing the equilateral triangle outer frame 8 into two equal parts. An example in which "large" is transformed is shown. Similarly, (b) shows an example in which the kanji string “character string” is symmetrically deformed along the right triangles 8A and 8B.

第14図(イ),(ロ)は、図に示すように右側の辺分
方向にy軸をとり、これに直角方向にx軸をとった場合
での変形例を示す。
FIGS. 14 (a) and 14 (b) show a modified example in which the y-axis is taken in the direction of the right side and the x-axis is taken in a direction perpendicular to this, as shown in the figure.

第15図(イ),(ロ)は、正三角形外枠8の中点と角
頂点とを結んで得られる3つの二等分三角形8A,8B,8Cに
ついてそれぞれ独立に座標系を図のように与えた場合で
の変形例を示す。
FIGS. 15 (a) and 15 (b) show the coordinate systems of three bisecting triangles 8A, 8B and 8C obtained by connecting the midpoint and the corner vertices of the outer frame 8 of the equilateral triangle independently. Here is a modified example in the case where the above is given.

第16図は原文字「国」を与えた場合での外枠8の相異
による各種の変形例を示し、第17図(イ),(ロ),
(ハ)は正三角形を外枠8とした場合での座標系の与え
方による変形文字例を示す。尚、(ハ)は輪郭方向での
変形例を示す。
FIG. 16 shows various modifications due to the difference of the outer frame 8 when the original character "country" is given, and FIG. 17 (a), (b),
(C) shows an example of a modified character depending on how to give a coordinate system when an equilateral triangle is used as the outer frame 8. (C) shows a modification in the contour direction.

第18図(イ),(ロ),(ハ),(ニ)は文字列の相
異による変形例を示した。
FIGS. 18 (a), (b), (c) and (d) show modified examples due to differences in character strings.

正規化処理による等分割処理を具体的に説明する。第
6図以外の等分割例に関するものとする。
The equalization process by the normalization process will be specifically described. It is assumed that the example relates to an equal division example other than FIG.

第19図は、矩形の原外枠7から台形変形外枠8への変
形例を示す。
FIG. 19 shows a modification from the rectangular original outer frame 7 to the trapezoidal deformed outer frame 8.

(i).先ず、x方向に対してD1/d1で均等分割する。
各分割点D1jは、D1j=(D1/d1)jとなる。但し、j=
1,2,…である。これによって、外枠8のx方向の区分
は、外枠7のX方向の区分と同じとなる。
(I). First, equally divided D 1 / d 1 with respect to the x-direction.
Each division point D 1j becomes D 1j = (D 1 / d 1 ) j. Where j =
1,2, ... Thus, the section of the outer frame 8 in the x direction is the same as the section of the outer frame 7 in the X direction.

(ii).次に、y方向にD2/d2で均等分割する。(Ii). Then, equally divided D 2 / d 2 in the y-direction.

各分割点D2iは、D2i=(D2/d2)iとなる。但し、i
=1,2,…である。これによって、外枠8のy方向の区分
は、外枠8のY方向の区分と同じとなる。
Each division point D 2i is D 2i = (D 2 / d 2 ) i. Where i
= 1,2, ... Thus, the section of the outer frame 8 in the y direction is the same as the section of the outer frame 8 in the Y direction.

(iii).y方向に均等分割された各点D2iに関してx方向
の幅Diを求める。
(Iii) in the .y direction with respect to each point D 2i which is equally divided Request width D i in the x direction.

(iv).Diをx方向に対して(Di=d1)で均等分割す
る。この処理を底辺から頂点(D3の位置)まで繰り返
す。
Equally divided (iv) a .D i to the x-direction (D i = d 1). This process is repeated from the bottom to the apex (D 3 position).

(v).この結果、変形外枠8内は、外枠7内の区分と
同一数の区分となる。
(V). As a result, the inside of the deformed outer frame 8 has the same number of sections as the sections in the outer frame 7.

第20図は、変形座標系を直交座標系ではなく斜交座標
系x,yにとった例である。この例では、y方向の長さD4
は、 この長さD4に対して(D4/d2)で均等分割する。この均
等分割した各点D4iに対してx方向の幅Diを求め、これ
を(Di/d1)で均等分割する。
FIG. 20 is an example in which the deformed coordinate system is not an orthogonal coordinate system but an oblique coordinate system x, y. In this example, the length in the y direction D 4
Is Equally divided (D 4 / d 2) with respect to the length D 4. The determined width D i in the x direction for each point D 4i obtained by equally dividing this equally divided at (D i / d 1).

第21図は、変形外枠8が直角三角形の例である。この
例は、第19図又は第20図でD3=0とした例であり、考え
方は同じである。
FIG. 21 is an example in which the deformed outer frame 8 is a right triangle. This example is an example in which D 3 = 0 in FIG. 19 or FIG. 20, and the concept is the same.

第22図は変形外枠8が台形と三角形との積み上げた形
状である例を示す。
FIG. 22 shows an example in which the deformed outer frame 8 is formed by stacking a trapezoid and a triangle.

(i).x方向を(D1/d1)で均等分割し、y方向を(D2/
d2)で均等分割する。
(I) The .x direction is equally divided by (D 1 / d 1 ), and the y direction is (D 2 /
d 2 ) Divide evenly.

(ii).y方向の分割点D2iでの幅Diを求める。これを(D
1/d1)で均等分割する。この処理をy方向のすべての分
割点について行う。かくして、外枠7内の区分と同一区
分の外枠8が得られる。
(Ii) determining the width D i in .y direction of the dividing points D 2i. This is (D
1 / d 1 ). This process is performed for all division points in the y direction. Thus, the outer frame 8 having the same section as the section in the outer frame 7 is obtained.

第23図は、変形外枠8が一般の三角形の例である。こ
の場合も、x方向を(D1/d1)で均等分割し、y方向を
(D2/d2)で均等分割する。次いで、y方向の分割点D2i
での幅Diを求め。これを(D1/d1)で均等分割する。こ
の処理をy方向の全分割点を行う。かくして、外枠7内
の区分と同一区分の外枠8が得られる。
FIG. 23 shows an example in which the deformed outer frame 8 is a general triangle. Again, equally divided in the x-direction in (D 1 / d 1), to subdivide y direction (D 2 / d 2). Next, the division point D 2i in the y direction
Find the width Di at This is equally divided by (D 1 / d 1 ). This process is performed for all division points in the y direction. Thus, the outer frame 8 having the same section as the section in the outer frame 7 is obtained.

第24図は、一般四角形の変形外枠の例である。この場
合も、x,y方向の均等分割を行い、y方向の各分割点に
つき幅を求め、次に(D1/d1)による均等分割を行う。
最後に、全分割点について同様の処理を行う。
FIG. 24 is an example of a modified quadrangular outer frame. Also in this case, the equal division in the x and y directions is performed, the width is obtained for each division point in the y direction, and then the equal division is performed by (D 1 / d 1 ).
Finally, the same processing is performed for all division points.

第25図と第26図は互いに同一外枠で且つy方向に対称
化した外枠例である。この場合も同様に処理する。
FIG. 25 and FIG. 26 are examples of outer frames having the same outer frame and being symmetrical in the y direction. In this case, the same processing is performed.

尚、第19図〜第26図で示した辺の長さD1,D2,D11,D21,
……等の数値は計算に利用する定数である。但し、数式
は簡単のため省略した。
The length D 1 of the side shown in FIG. 19-FIG. 26, D 2, D 11, D 21,
Numerical values such as... Are constants used for calculation. However, the formula is omitted for simplicity.

本発明では各種の他の実施例が存在する。 There are various other embodiments of the present invention.

(イ).本実施例では、ドット形式のパターン例を扱っ
てきたが、ベクトルフォント形式の文字等パターンにも
適用できる。ベクトルフォント形式とは、文字の各要素
についてその開始点、方向、属性を与えるやり方であ
る。属性とは直線とか、円とか、色とかの情報をいう。
かかるベクトルフォント形式の文字に対しては、開始要
素を基準として座標系を与えるやり方、任意の要素を基
準として座標系を与えるやり方、各要素とは別個の座標
系が与えるやり方等がある。
(I). In this embodiment, the example of the pattern in the dot format has been dealt with, but the present invention can be applied to a pattern such as a character in a vector font format. The vector font format is a method of giving a starting point, a direction, and an attribute to each element of a character. The attribute is information such as a straight line, a circle, and a color.
For such a character in the vector font format, there are a method of giving a coordinate system on the basis of a starting element, a method of giving a coordinate system on the basis of an arbitrary element, and a method of giving a coordinate system separate from each element.

(ロ).本実施例では、変形座標系x,yを直交座標系と
したが、斜交座標系でも適用できる。
(B). In the present embodiment, the deformed coordinate system x, y is an orthogonal coordinate system, but the present invention can be applied to an oblique coordinate system.

(ハ).座標系の与え方として一軸指定としたが、二軸
同時指定でもよい。特に、斜交座標系の場合には二次同
時指定が好適である。
(C). Although one axis is designated as a method of giving the coordinate system, two axes may be designated simultaneously. In particular, in the case of an oblique coordinate system, the secondary simultaneous designation is preferable.

(ニ).変形座標系x,yを原座標系で正規化し、原座標
系の区分数と一致させた(等分割)が、パターンが拡大
する変形であれば、変形後のパターンは粗いものとな
る。従って、補間処理と組み合わせれば、密なるパター
ンを得ることができる。補間処理としては、一次補間、
二次補間等各種の補間がありうる。
(D). The deformed coordinate system x, y is normalized in the original coordinate system and matched with the number of divisions in the original coordinate system (equal division). However, if the pattern expands, the deformed pattern becomes coarse. Therefore, when combined with the interpolation processing, a dense pattern can be obtained. The interpolation process includes linear interpolation,
There can be various interpolations such as quadratic interpolation.

(ホ).補間処理と同様な考え方ともなるが、等分割に
した後に更に各区分を複数に分割してデータを埋め合せ
るやり方もある。また、最初から原座標区分に合わせる
のではなく、あるパラメータを導入しておき、このパラ
メータに従って変形座標系を区分してもよい。パラメー
タとは、変形座標系x,yと変形外枠とで定まるものであ
り、変形パターンをできるだけ連続的にデフォルメさせ
るための定数である。
(E). Although the concept is the same as that of the interpolation processing, there is also a method of dividing each section into a plurality of sections after equal division and filling the data. Instead of matching the original coordinate system from the beginning, a certain parameter may be introduced, and the deformed coordinate system may be classified according to this parameter. The parameter is determined by the deformation coordinate system x, y and the deformation outer frame, and is a constant for deforming the deformation pattern as continuously as possible.

(へ).原パターンの外枠は矩形としたが、円や任意の
形状等であってもよい。
(What). The outer frame of the original pattern is rectangular, but may be a circle, an arbitrary shape, or the like.

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

本発明によれば、変形外枠を与え、且つ変形座標系を
与えることによって、この変形座標系のもとで変形外枠
に合致した変形パターンを形成できた。この変形パター
ンは、いわゆるデザイン化されたものとなり、デザイン
化の自動化にも役立つ。
According to the present invention, by providing a deformed outer frame and a deformed coordinate system, a deformed pattern that matches the deformed outer frame can be formed under the deformed coordinate system. This deformed pattern is a so-called designed one, and is useful for automation of designing.

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

第1図は本発明の発生装置の実施例図、第2図及び第3
図は本実施例による変形パターン例図、第4図及び第5
図並びに第6図は外枠との対比による各種の変形例を示
す図、第7図は特定文字の表示例図、第8図及び第9図
並びに第10図は、第7図の特定文字に対する変形文字例
図、第11図及び第12図は他の特定文字に対する変形文字
例図、第13図及び第14図並びに第15図は、変形座標系の
とり方による変形文字例を示す図、第16図及び第17図並
びに第18図は他の変換文字例図、第19図〜第26図は各種
の均等区分処理を示す図である。 1……CPU、2……MM、3……入力装置、4……プリン
タ、5……CRT。
FIG. 1 is a diagram showing an embodiment of a generator according to the present invention, FIG. 2 and FIG.
FIGS. 4A and 4B show an example of a deformation pattern according to this embodiment.
FIG. 6 and FIG. 6 are diagrams showing various modified examples based on comparison with the outer frame, FIG. 7 is a display example of specific characters, FIGS. 8, 9 and 10 are specific characters of FIG. FIGS. 11 and 12 are modified character example diagrams for other specific characters, and FIGS. 13, 14 and 15 are diagrams showing modified character examples based on how to take a modified coordinate system. FIGS. 16, 17, and 18 are diagrams showing other examples of converted characters, and FIGS. 19 to 26 are diagrams showing various equal division processes. 1 ... CPU, 2 ... MM, 3 ... Input device, 4 ... Printer, 5 ... CRT.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 11/00 - 11/80 G09G 5/00 - 5/40 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06T 11/00-11/80 G09G 5/00-5/40

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定枠内に定義されたパターンを変形し、
変形パターンを発生する変形パターン発生方法におい
て、 変形外枠情報と変形座標系情報とを入力する処理と、所
定外枠の区分になるように変形座標系に従って変形外枠
を複数のブロックに区分する処理と、この複数の区分単
位に所定外枠内のパターンを割りつけ、前記複数のブロ
ックと同数のブロックの変形パターンを得る処理と、よ
り成る変形パターン発生方法。
(1) deforming a pattern defined in a predetermined frame,
In a deformation pattern generating method for generating a deformation pattern, a process of inputting deformation outer frame information and deformation coordinate system information, and dividing the deformation outer frame into a plurality of blocks according to the deformation coordinate system so as to be a predetermined outer frame. And a process of allocating a pattern in a predetermined outer frame to the plurality of division units to obtain a deformation pattern of the same number of blocks as the plurality of blocks.
【請求項2】矩形の所定外枠内に定義されたパターンを
変形し、変形パターンを発生する変形パターン発生方法
において、 変形外枠情報と変形座標系情報とを入力する処理と、所
定外枠の横及び縦の区分になるように変形座標系に従っ
て変形外枠を複数のブロックに区分する処理と、この区
分単位に所定外枠内のパターンを割りつけ、前記複数の
ブロックと同の数プロックの変形パターンを得る処理
と、より成る変形パターン発生方法。
2. A deformed pattern generating method for deforming a pattern defined within a rectangular predetermined outer frame and generating a deformed pattern, comprising: a step of inputting deformed outer frame information and deformed coordinate system information; A process of dividing the deformed outer frame into a plurality of blocks according to the deformed coordinate system so as to be in the horizontal and vertical divisions, and allocating a pattern in a predetermined outer frame to each of the divided units to obtain the same number of blocks as the plurality of blocks. And a method for generating a deformation pattern.
【請求項3】矩形外枠内に定義されたパターンを与える
手段と、 変形外枠情報と変形座標系情報との1軸方向情報を入力
する手段と、 所定外枠の横及び縦の区分になるように1軸方向より得
られる変形座標系に従って変形外側を複数のブロックに
区分する手段と、 この区分単位に所定外枠内のパターンを割りつけ、前記
複数のブロックと同数のプロックの変形パターンを得る
手段と、より成る変形パターン発生装置。
3. A means for providing a pattern defined in a rectangular outer frame; a means for inputting one-axis direction information of deformed outer frame information and deformed coordinate system information; Means for dividing the outside of the deformation into a plurality of blocks in accordance with a deformation coordinate system obtained from one axis direction, and allocating a pattern in a predetermined outer frame to each of the division units, and forming the same number of blocks as the plurality of blocks. And a deformed pattern generator comprising:
JP1116188A 1989-05-11 1989-05-11 Deformation pattern generation method and apparatus and display system Expired - Fee Related JP3009895B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1116188A JP3009895B2 (en) 1989-05-11 1989-05-11 Deformation pattern generation method and apparatus and display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1116188A JP3009895B2 (en) 1989-05-11 1989-05-11 Deformation pattern generation method and apparatus and display system

Publications (2)

Publication Number Publication Date
JPH02296292A JPH02296292A (en) 1990-12-06
JP3009895B2 true JP3009895B2 (en) 2000-02-14

Family

ID=14681006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1116188A Expired - Fee Related JP3009895B2 (en) 1989-05-11 1989-05-11 Deformation pattern generation method and apparatus and display system

Country Status (1)

Country Link
JP (1) JP3009895B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3164617B2 (en) * 1991-11-07 2001-05-08 株式会社日立製作所 Apparatus and method for deforming character / graphics
JPH05143050A (en) * 1991-11-25 1993-06-11 Casio Electron Mfg Co Ltd Outline font pattern generating device

Also Published As

Publication number Publication date
JPH02296292A (en) 1990-12-06

Similar Documents

Publication Publication Date Title
EP0344827B1 (en) Method of and apparatus for converting outline data to raster data
US5615316A (en) Printing control method and apparatus
TW201439667A (en) Electron beam writing device, electron beam writing method, and recording medium
US5524198A (en) Character or graphic processing method and apparatus
JP3630934B2 (en) Texture recording method
US4849907A (en) Draw processing method and apparatus
JP3009895B2 (en) Deformation pattern generation method and apparatus and display system
EP1109133B1 (en) CAD Data compressing method and apparatus thereof
US6064403A (en) Apparatus for and method of performing image-drawing processing
JP2598903B2 (en) 3D character typesetting device
JP2580759B2 (en) Data conversion method
JPH09198499A (en) Method and device for processing picture
JP2997509B2 (en) Document creation device
JP2808318B2 (en) Layouter for flyers and catalogs
JP2801246B2 (en) Character processing apparatus and method
JPH06223061A (en) Word processor
JP2002042160A (en) Device and method for processing three-dimensional shape and storage medium storing program for performing this method
JP2596204B2 (en) High-speed layout device for image data
JPH06274648A (en) Image generator
JPH07256973A (en) Printing device
JPS62271187A (en) Vector drawing system
JP2002007382A (en) Method and system for allocating and laying out frames
JPH0935081A (en) Method and device for image processing
JPH09198024A (en) Character processing device and method therefor
JPH06282606A (en) Picture layout device

Legal Events

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